Fernando Porazzi
37d5111779
Pretty numbers ( #99 )
...
* Create pn helper function inside utils folder
The function pn() is being defined a few times in different components. This commit is the first of two commits to solve this issue.
This commit only creates the function inside the utils folder.
Jest is also being introduced for unit tests.
* Use pn from utils folder
This commit removes the multiple definitions of pn found across the project and imports the helper function whenever needed.
2022-04-20 13:58:55 -07:00
Reckless_Satoshi
42cf915dea
Fix re-taken order asks for new buyer invoice
2022-04-16 12:50:40 -07:00
Reckless_Satoshi
14b4c16fa3
Fix for UI & Spanish translation. Implement concurrent invoice payments.
2022-04-15 17:04:17 -07:00
Fernando Porazzi
7bca5ecdc7
Extract getCookie function into its own file ( #94 )
...
The getCookie function was being implemented a couple of times across the pages. These changes create a single implementation and imports the helper function whenever needed.
2022-04-15 16:22:49 +00:00
Reckless_Satoshi
96c6358d4e
Internationalization ( #85 )
...
* Implement react i18n-next
* Add XHR i18n backend, include currencies_dict in APP
* Implement i18n 2/9. Add site description
* Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled.
* Implement i18n 4/9 MakerPage.
* Implement i18n 5/9 OrderPage
* Implement i18n 6/9 Chat
* Implement i18n 9/9 Book, Bottom Bar, Profile, Misc, Info
* Add Contributing translation guidelines
2022-04-05 14:25:53 +00:00
Reckless_Satoshi
0be7bccc0d
Fix dark theme chat and qr margins
2022-03-24 15:18:01 -07:00
Reckless_Satoshi
5ee28f9564
Add dark mode, text input for amount range, basic/advance tabs
2022-03-24 06:41:32 -07:00
Reckless_Satoshi
a3b19d871f
Add UI, switch rewards, switch advanced, allow bondless, robologo
2022-03-15 11:20:57 -07:00
Reckless_Satoshi
8001e148d7
Fix copy not loading. Send publish message only one
2022-03-11 07:40:04 -08:00
Reckless_Satoshi
11ab92016f
Implement X-of-Y steps in TradeBox
2022-03-11 06:33:07 -08:00
Reckless_Satoshi
69f6735f86
Improve chat status communication
2022-03-10 13:35:16 -08:00
Reckless_Satoshi
3d130129f1
Dispute amount are claimable via UI. Fix FSE does not expire.
2022-03-09 06:13:53 -08:00
Reckless_Satoshi
4179a856bc
Shift app content up. Add explainer on slashed bonds rewards.
2022-03-08 12:15:27 -08:00
Reckless_Satoshi
255dae188d
Implement withdraw rewards (backend & frontend)
2022-03-06 08:08:28 -08:00
Reckless_Satoshi
b38f18d6d5
Upgrade fee computation for maker/takers
2022-03-03 07:40:56 -08:00
Reckless_Satoshi
3902159b67
Improve frontend notifications. Add resolved messages. Add unlocked/settled bonds. Fix bug with statements submission.
2022-02-24 12:47:46 -08:00
Reckless_Satoshi
d051312e84
Add info dialog for enabling telegram notifications. Update docs.
2022-02-22 02:34:48 -08:00
Reckless_Satoshi
d146f522f3
Add frontend enable telegram button. Torify all requests.
2022-02-21 16:50:25 -08:00
Reckless_Satoshi
03bfc487ea
Clarificatory patch. You MUST provide a contact in disputes. Fiat INSTANT methods are needed.
2022-02-20 03:12:57 -08:00
Reckless_Satoshi
f8f306101e
Fix cancel lnpayment at WFM. Add svgs, BTC currency flag. Fix pretty numbers
2022-02-16 18:45:18 -08:00
Reckless_Satoshi
3ce5d8304c
Typo robosat -> robot. Shorten welcome back msg
2022-02-13 09:55:44 -08:00
Reckless_Satoshi
db2d7cc922
Small fixes
2022-02-06 06:50:42 -08:00
Reckless_Satoshi
1a6aa8a9ee
Improve failure logics. Add platform rating.
2022-02-04 10:07:09 -08:00
Reckless_Satoshi
b39529d91e
Avoid giving new robot to a user who is expecting still a payment
2022-02-03 13:51:42 -08:00
Reckless_Satoshi
fd0b0faac6
Revamp maker page
2022-01-31 16:45:58 -08:00
Reckless_Satoshi
bd8d2d8512
Add memory to textInput premium/satoshis
2022-01-31 14:42:43 -08:00
Reckless_Satoshi
64115a8bb5
Remodel usergen form. Add fee limit hparams.
2022-01-30 05:18:32 -08:00
Reckless_Satoshi
292addc081
Fix stateless tradebox
2022-01-29 06:42:54 -08:00
Reckless_Satoshi
6f95d2541c
Implement payout invoice from QR camera
2022-01-27 16:17:20 -08:00
Reckless_Satoshi
51e21f7f6b
Implement responsive order page
2022-01-27 14:51:57 -08:00
Reckless_Satoshi
5a677067f7
Record expiry height into lnpayment and admin panel
2022-01-25 06:46:02 -08:00
Reckless_Satoshi
2d1a2e4c5c
Add logics for payment retry, first iteration.
2022-01-24 14:53:55 -08:00
Reckless_Satoshi
51d65fd15e
Implement CLTV_expiries for each hold invoice duration. Invoice expiry matches status time to lock it.
2022-01-24 09:54:44 -08:00
Reckless_Satoshi
4d0c62734c
Add preliminary routing failure frontend components
2022-01-23 13:56:26 -08:00
Reckless_Satoshi
8919b7937b
Cosmetic fixes
2022-01-23 12:23:25 -08:00
Reckless_Satoshi
b934534e1e
Implement collaborative cancellation
2022-01-23 11:02:25 -08:00
Reckless_Satoshi
6377b052ce
Add sounds to tradebox
2022-01-23 04:30:41 -08:00
Reckless_Satoshi
8a43d3359d
Simplify orderpage vars, improve tradebox response times
2022-01-22 15:05:03 -08:00
Reckless_Satoshi
300a385589
Fix chat reloading after confirming fiat sent
2022-01-19 14:44:31 -08:00
Reckless_Satoshi
7218b9b0d3
Logics update: escrow settles exactly at buyer payout time.
2022-01-19 11:37:10 -08:00
Reckless_Satoshi
bfa0cd84d1
Update readme
2022-01-19 05:32:54 -08:00
Reckless_Satoshi
980a385528
Premium percentile computing
2022-01-18 10:24:45 -08:00
Reckless_Satoshi
ad6ee9d4de
Improve Order Expired behaviour
2022-01-18 07:45:04 -08:00
Reckless_Satoshi
c58070f437
Improve logics around locked bonds. Add frontend confirm cancel dialog.
2022-01-18 07:23:57 -08:00
Reckless_Satoshi
28d18a4842
Add background order updates. Add confirm boxes for Dispute and Fiat Received
2022-01-17 15:11:41 -08:00
Reckless_Satoshi
eddd4674f6
Add admin background task: follow all active hold invoices
2022-01-17 08:41:55 -08:00
Reckless_Satoshi
9d883ccc4d
Add expiration logics. Add dispute statements.
2022-01-16 13:54:42 -08:00
Reckless_Satoshi
8e609b9e47
Add dynamic refresh rate to OrderPage based on order status
2022-01-15 04:00:11 -08:00
Reckless_Satoshi
032d3a1369
Add taker bond lock expiry
2022-01-14 06:19:54 -08:00
Reckless_Satoshi
806c469b64
Add tradebox icons
2022-01-14 05:31:54 -08:00
Reckless_Satoshi
135c4c59e5
Add UI info and icons on order pager
2022-01-14 04:00:53 -08:00
Reckless_Satoshi
abb1bdd0be
Add dynamic countdown. Attach countdown to expiry progress bar.
2022-01-13 16:43:26 -08:00
Reckless_Satoshi
18a8038466
Work on tradebox. Chat bugs and copy to clipboard
2022-01-13 12:41:48 -08:00
Reckless_Satoshi
64df2c7ce6
Add provisional frontend chat. The chat is totally unsafe as of now. Does not store messages either.
2022-01-13 11:22:54 -08:00
Reckless_Satoshi
bd7c82fc11
Add currencies. Fix info view
2022-01-12 06:26:26 -08:00
Reckless_Satoshi
2523e5ef09
Add needed LNNode routines and LNpayments status. First full trade demonstrated
2022-01-12 04:57:03 -08:00
Reckless_Satoshi
8bc8f539d0
Work on LN bonds. Maker bond works. Yet, this is not the best way probably.
2022-01-11 12:49:53 -08:00
Reckless_Satoshi
9f65a5adb6
Add validating LN invoices and generaing hold invoices
2022-01-10 17:02:06 -08:00
Reckless_Satoshi
e493f22842
add lnd grpc
2022-01-10 10:47:16 -08:00
Reckless_Satoshi
bb9cafadd8
Upgrade MUI to V5
2022-01-09 14:17:15 -08:00
Reckless_Satoshi
8e5233267f
Work frontend trade pipeline
2022-01-09 12:05:19 -08:00
Reckless_Satoshi
48862a7677
Fix bugs
2022-01-09 07:28:12 -08:00
Reckless_Satoshi
5dcb249bb3
Invoice input
2022-01-09 06:07:05 -08:00
Reckless_Satoshi
185e0af496
Merge with json-dicts
2022-01-09 04:35:19 -08:00
Reckless_Satoshi
198f551ad6
Work tradebox logics
2022-01-09 04:14:11 -08:00
Reckless_Satoshi
71107a7432
Refresh orders
2022-01-08 17:23:13 -08:00
Reckless_Satoshi
476fcf1d6f
Add trade escrow box
2022-01-08 09:19:30 -08:00
Reckless_Satoshi
3a8e172a73
Add maker waiting room
2022-01-08 07:34:09 -08:00
Reckless_Satoshi
5fb776aca7
Add TradeBox and QR client side generation
2022-01-08 05:08:03 -08:00
Reckless_Satoshi
7b6b486552
updated env-sample
2022-01-07 16:29:04 -08:00