33 Commits

Author SHA1 Message Date
41a77ec9e5 Update ca.json (#634)
Some sentences updated.
2023-05-31 12:00:04 +00:00
052865c53b Add selfhosted client custom builds (#630)
Add scripts for selfhosted client
2023-05-29 15:58:12 +00:00
e1ea7289b0 Fix tradebox phrase to be swap/fiat ambivalent 2023-05-26 05:44:54 -07:00
9a1007775f Fix bug with negative premium textfield (#614)
Fixing the type handlePremiumChange function to handle the discount to the right type (React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>)

Using the correct type of handlePremiumChange function, then deconstructing the "value" var from the event.target

Using Number(value) in declaration of "newPremium", instead of using multiplication with number and string

To not affect another methods using "premium" var, I used isNaN func to make a check and set the initial value of "premium" var to zero (if is NaN) or newPremium (when valid number is entered)

The fix in the bug is the line "premium: isNaN(newPremium) || value === '' ? '' : premium," in setMaker. That makes the "premium" var to be set to zero when the input is empty or not a number, allowing the user to input the "-" (minus sign) and not entering 0 as before.
2023-05-26 10:32:22 +00:00
cdc5f3deef Add collect_phrases pre-commit hook; run new collect phrases (#610) 2023-05-22 08:26:48 +00:00
899062ae70 Rename repository 2023-05-09 06:07:16 -07:00
e6ddcf9e4b Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512)
* Add RobotTokenSHA256 middleware for in-the-fly robot generation/login

* Add RobotView, fix middleware, upgrade frontend

* Token header as base91

* Add OAS schema of RobotView

* Use RobotView on new fetchRobot(), mimick old fetchRobot() functionality

* Upgrade websockets for token based authentication

* Small fixes

* Add frontend token entropy checks, add token on route /robot/<token>

* Rename admin panel

* Collect phrases
2023-05-05 10:12:38 +00:00
0477885998 Add maker summary to collected phrases 2023-05-02 03:54:18 -07:00
fc4f3e1593 Add undo confirm fiat sent action (#461)
* Add undo confirm fiat sent action

* Collect phrases

* Small fixes
2023-04-28 09:19:18 +00:00
b227df7c7c Improve preliminary sats summary, add taker satoshis (#429)
* Improve preliminary sats summary, add taker satoshis

* Collect phrases
2023-04-21 11:10:47 +00:00
e783dea305 Fixes "no robot", add launchers on Android. (#411)
* Update robohash repo url to RoboSats org

* Add external launchers

* Fix no-robot issue due to timing of initial fetchInfo

* Collect new phrases
2023-04-09 18:48:25 +00:00
be060dff34 Update ca.json (#409)
New version sentences translated
2023-04-06 09:45:23 +00:00
ab617ce608 Migrate mui-x components to v6 (#408)
* Migrate mui-x components to v6

* Collect phrases
2023-04-03 18:38:52 +00:00
399f8102f2 Add notification for new in-app chat messages (#403)
* Add TG message for new in-app chat messages

* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
bac276dd0d Add backend phrases 2023-03-18 13:32:24 -07:00
42f208fad4 Fix race condition onchain (#388)
* Fix race condition swaps

* Collect new phrases

* Increase random delay interval
2023-03-14 17:23:11 +00:00
b6129bb46f Enhance clarity for swaps (#382)
* Improve clarity of swap orders

* Add descriptive send/receive amounts for swaps on Maker Page

* Add descriptive send/receive amounts for swaps on OrderDetails

* Collect new phrases

* Small fixes
2023-03-09 20:10:49 +00:00
57a47a408c Add fiat sent confirmation dialog (#383)
* Add confirmation dialog for fiat Sent

* Collect new phrases

* Small fixes

* Small fixes
2023-03-09 13:19:24 +00:00
c0b8a6d3ac Add robot garage (#370)
* Add garage model

* Add robot select to profile

* Replace Robot for Garage init

* Add Garage inners, not re-rendering

* Revert

* Collect new phrases and small fixes

* Small fixes

* Fix unencrypted # hack on Turtle chat

* Small fixes and collect phrases
2023-03-02 11:01:06 +00:00
d88c2a5eff Add App context (#369)
* Refactor fetchRobot

* Add appcontext

* Robot recovery fixes

* Add usecontext on maker and settings forms

* Add usecontext to booktable

* Add useContext to order page and main dialogs

* Small fixes
2023-02-24 19:17:13 +00:00
d815fb8a8e Update ca.json (#365)
Remaining sentences translated
2023-02-24 11:44:10 +00:00
95f4e1708c Add delay tor connected status, remove token from profile dialog 2023-02-22 07:55:51 -08:00
d9e2e9c947 Add automatic i18n phrases collector (#359)
* Init RobotPage

* Add onboarding component and generate token step

* Add robot generation step

* Add onboarding step 3

* Add Welcome componenent

* Minor fixes

* Add recovery component

* Add robot profile component

* Small fixes

* Add TOR loading component

* Small fixes

* Fix tor loading and add highres animations on android

* Lint

* Fix robot profile order buttons

* Add collect phrases alpha

* Run collect_phrases

* Add collect-phrases script to pre-commit config
2023-02-21 17:33:52 +00:00
f290fef0fd Update ca.json (#336)
Updated Android app phrases
2022-12-23 13:46:17 +00:00
cafc63bc05 Revert pre-commit fix on locale files 2022-10-25 11:17:08 -07:00
7643e524f1 Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
ddd9f3fc32 Add MakerForm functional component (#265)
* Create maker form model

* Add MakerForm functional component

* Add advance options switch

* Add range slider

* Add timers, bond size, helpers and submit button

* Style maker form

* Add filter toolbar to maker page

* Add new Maker Page

* Fix MakerPage

* Add match maker

* Add order filter util, run lint:fix

* Fix book filter by payment method

* Add confirmation dialogs

* Add Book page as functional component

* Load orders and limits on app start (homepage)

* Turn BookPage and MakerPage into modules

* Add translation keys

* Fixes

* More fixes
2022-10-14 12:10:12 +00:00
ae193f19a4 Refactor avatars (#251) 2022-09-22 16:23:21 -07:00
4effae5ca0 Update ca.json
Stealth invoices capability updated.
2022-09-22 14:56:14 +02:00
37b8fdd233 Add version mismatch detection, refactor GH workflows, draft release.yml, increase prettier scope (#250)
* Refactor GH workflows

* Add version mismatch checker and UpdateClient Dialog

* Fix finalize release workflow

* Increase prettier scope

* Increase prettier coverage, add some static to prettierignore

* Add CodeQL on PR
2022-09-21 07:03:38 -07:00
1b8f91457c Add explicit fiat amounts and other fixes 2022-07-28 14:14:37 -07:00
74387018ea Update ca.json (#188)
Sentences related to On-Chain capability updated.

* Update ca.json
2022-07-23 14:58:46 +00:00
2eb72654cf Load languages.json from http backend 2022-07-17 13:42:29 -07:00