Commit Graph

683 Commits

Author SHA1 Message Date
Reckless_Satoshi
4179a856bc
Shift app content up. Add explainer on slashed bonds rewards. 2022-03-08 12:15:27 -08:00
Reckless_Satoshi
ce25a6b3c7
Reward robots for counterpart slashed bonds 2022-03-07 13:46:52 -08:00
Reckless_Satoshi
4677f73720
Increase max trade limit to 800K Sats 2022-03-07 09:04:29 -08:00
Reckless_Satoshi
45f3c53aac
Add book scroll and pagination 2022-03-06 13:10:57 -08:00
Reckless_Satoshi
5726b82634
Fix user cleaning & add loading ref_link 2022-03-06 11:12:47 -08:00
Reckless_Satoshi
aa89fa603e
Merge branch '38-a-privacy-friendly-referral-program' into main 2022-03-06 10:26:07 -08:00
Reckless_Satoshi
56d549aa47
Fix typos OpenKeychain guide and add to chat box 2022-03-06 08:32:20 -08:00
Reckless_Satoshi
255dae188d
Implement withdraw rewards (backend & frontend) 2022-03-06 08:08:28 -08:00
Reckless_Satoshi
794d1e8f1b
Add reward invoice submit to UI 2022-03-06 03:45:06 -08:00
Reckless_Satoshi
4ee6778e11
Implement referral attributes and logics 2022-03-05 10:45:42 -08:00
Reckless_Satoshi
dea2b665fb
Route refCode url to api/user and display rewards 2022-03-05 09:32:27 -08:00
Reckless_Satoshi
e775c02011
Profile shows referral link 2022-03-05 05:46:23 -08:00
Reckless_Satoshi
c385be123f
Display total book liquidity in summary stats 2022-03-05 05:46:22 -08:00
Reckless_Satoshi
b38f18d6d5
Upgrade fee computation for maker/takers 2022-03-03 07:40:56 -08:00
Reckless_Satoshi
c4cf995dbf
Add maker_fee_split. Show maker/taker fee split in app 2022-03-03 04:47:55 -08:00
Reckless_Satoshi
c9cdc2743d
Explicit buyer & seller fees in frontend 2022-03-02 15:36:11 -08:00
Reckless_Satoshi
191a043303
Improve chat text overflow. Graceful overflow without whitespaces. 2022-03-02 05:49:12 -08:00
Reckless_Satoshi
34a5340e06
Prevent empty chat messages 2022-03-02 05:12:27 -08:00
Reckless_Satoshi
6887eed6e3
Add link to PGP tutorial in chatbox 2022-03-02 04:57:52 -08:00
Reckless_Satoshi
a4a76d1d9f
Add support for 24 new fiat currencies and gold 2022-02-28 11:20:53 -08:00
Reckless_Satoshi
3df2f58a35
clarify FIAT payment methods 2022-02-27 13:35:37 -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
1feebacbc1
Make avatar persists when revisiting homepage 2022-02-21 02:05:19 -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
eafda9ddf7
Align SVG currency icons with text 2022-02-19 10:44:02 -08:00
Reckless_Satoshi
78f5c1cbdc
Fix info API wording and magnitudes, settled -> contracted 2022-02-19 09:18:47 -08:00
Reckless_Satoshi
dbb86657ac
Make explicit BTC payment methods are swaps 2022-02-19 02:45:42 -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
1e0bd51f1f
Add BTC (rBTC, wBTC, swaps...). Fix setup guide and env-sample. 2022-02-16 14:02:21 -08:00
Reckless_Satoshi
e8b28d794d
Fix missing flags for PEN, UYU, PYG and BOB 2022-02-15 14:16:25 -08:00
Reckless_Satoshi
e392f14b18
Add requested currencies COP, PEN, UYU, PYG and BOB 2022-02-15 13:52:30 -08:00
Reckless_Satoshi
3ce5d8304c
Typo robosat -> robot. Shorten welcome back msg 2022-02-13 09:55:44 -08:00
Reckless_Satoshi
8fcad56e15
Fix LND version and correct onlion urls 2022-02-12 10:22:05 -08:00
Reckless_Satoshi
04c9466c3e
Unlink avatars from prod static 2022-02-12 07:46:58 -08:00
Reckless_Satoshi
d257848940
Add statsfornerds: alternative site, node alias, node id, 1ML link 2022-02-12 05:59:59 -08:00
Reckless_Satoshi
4a16f7debd
Fit for daphne + gunicorn. Docker default command runs dev node. 2022-02-10 11:28:59 -08:00
Reckless_Satoshi
243690899e
Add delay on annoying tooltips. Add more characters to default token. 2022-02-08 08:20:41 -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
3f6731d3e0
Improve response time of confirm fiat receive; improve failure routing handling 2022-02-03 17:37:24 -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
5d4e3c5718
Add inactive maker confirmation dialog when taking an order 2022-02-03 10:27:39 -08:00
Reckless_Satoshi
71532d52d0
Add maker status on book page 2022-02-03 10:06:30 -08:00
Reckless_Satoshi
217c105fd8
Improve several book and home tooltips and grids 2022-02-02 08:26:10 -08:00
Reckless_Satoshi
26bccdf9df
Improve order dividers, status tooltips 2022-02-02 01:29:05 -08:00
Reckless_Satoshi
260c9ec335
Add tooltips userPage, bottomBar, makerPage 2022-02-01 14:05:49 -08:00
Reckless_Satoshi
d589dc276b
Improve avatars responsiveness 2022-02-01 11:43:33 -08:00
Reckless_Satoshi
159180089e
Improve take order and cancel order responsiveness 2022-02-01 08:27:02 -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
24347682c3
Improve routing within app components 2022-01-31 04:53:20 -08:00
Reckless_Satoshi
f03210b69d
Add logos to info dialog 2022-01-30 19:04:54 -08:00
Reckless_Satoshi
611d0f399a
Disable book while robot loading 2022-01-30 12:24:14 -08:00
Reckless_Satoshi
dff011358c
Add close button on info dialog 2022-01-30 12:07:13 -08:00
Reckless_Satoshi
716e838442
Add in order user activity status badge 2022-01-30 11:45:37 -08:00
Reckless_Satoshi
58ecb607c3
Add setup background threads. Minor fixes and cosmetic. 2022-01-30 07:18:03 -08:00
Reckless_Satoshi
64115a8bb5
Remodel usergen form. Add fee limit hparams. 2022-01-30 05:18:32 -08:00
Reckless_Satoshi
c21e230c76
Implement stopper for bad token push into state 2022-01-29 12:29:33 -08:00
Reckless_Satoshi
4eb136c249
Store token in App.js state, show temporarily in profile 2022-01-29 12:21:00 -08:00
Reckless_Satoshi
5ab97453f0
Add user profile bottom left icon with active order reminder 2022-01-29 11:51:26 -08:00
Reckless_Satoshi
292addc081
Fix stateless tradebox 2022-01-29 06:42:54 -08:00
Reckless_Satoshi
c8d9062e74
Fix copy icon arrangment tiny screens 2022-01-28 12:18:31 -08:00
Reckless_Satoshi
c3b8030d24
Implement responsive foot bar 2022-01-28 06:30:45 -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
753e80c589
Fix explicit sats frontend. Fix float max sats routing fee 2022-01-27 09:43:17 -08:00
Reckless_Satoshi
6ab8f86b97
Implement responsive order book 2022-01-27 06:40:14 -08:00
Reckless_Satoshi
493684b8c9
Add lifetime settled volume. Sort admin panel cronologically 2022-01-26 10:45:24 -08:00
Reckless_Satoshi
2263ec7153
Add penalty live countdown. Fix unilateral cancellation after escrow 2022-01-26 03:44:45 -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
25ab5fdf2e
Add invoice expiry paddingas temporary fix for order expire at invoice expire. 2022-01-24 10:34:52 -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
28abd0380f
FIx collection of typos 2022-01-22 09:01:57 -08:00
Reckless_Satoshi
fb5cb8fb4a
Cancel frontend clean up. Try and go for management commands 2022-01-20 12:50:25 -08:00
Reckless_Satoshi
300a385589
Fix chat reloading after confirming fiat sent 2022-01-19 14:44:31 -08:00
Reckless_Satoshi
7c0e3a74fa
Fix premium percentile computation 2022-01-19 12:55:24 -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
f010fe9bb0
Fix today active robots 2022-01-18 09:52:48 -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
e31bc1adad
Bug fix invoice follow. Copy user token button. 2022-01-18 05:20:19 -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
28bfaee937
Add background task for expired orders removal 2022-01-16 10:32:34 -08:00
Reckless_Satoshi
185cc71e91
Improve market price fetching and caching 2022-01-16 07:18:23 -08:00
Reckless_Satoshi
a10ee97958
Fix small typos and usergen bug 2022-01-15 07:45:44 -08:00
Reckless_Satoshi
91544642ae
Add currency visual flags 2022-01-15 07:12:26 -08:00
Reckless_Satoshi
f390a8f2f1
Fix delay when bad request. Fixavg premium to weighted avg premium 2022-01-15 06:22:07 -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
a03cfdc01d
Add community pop up 2022-01-15 02:21:36 -08:00
Reckless_Satoshi
a995a4e2ea
Add Info and Stats for nerds popups 2022-01-14 16:28:19 -08:00
Reckless_Satoshi
7a6cf943ee
Rework book as datagrid 2022-01-14 13:40:54 -08:00
Reckless_Satoshi
1a99b78229
Fix small mistakes 2022-01-14 09:35:27 -08:00
Reckless_Satoshi
4087bb9936
Add bottom bar 2022-01-14 08:21:42 -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
5df2134fb2
Add ugly site info page 2022-01-12 13:22:16 -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
de66040893
Add cancel taker penalty time 2022-01-10 04:10:32 -08:00
Reckless_Satoshi
cf11583d6d
Add scrolling book 2022-01-10 02:49:21 -08:00
Reckless_Satoshi
95890c26b1
Set amount to 0 at button click if null 2022-01-10 02:36:37 -08:00
Reckless_Satoshi
22d3799680
Add amount helper text 2022-01-10 02:27:34 -08:00
Reckless_Satoshi
33df480301
Add circular loading on Orders and book 2022-01-10 02:13:54 -08:00
Reckless_Satoshi
9bc6757ba3
Revamp UI 2022-01-09 17:12:58 -08:00
Reckless_Satoshi
bb9cafadd8
Upgrade MUI to V5 2022-01-09 14:17:15 -08:00
Reckless_Satoshi
a518daf8cc
Fix bookview gets either any currency or any type 2022-01-09 13:54:13 -08:00
Reckless_Satoshi
c08c76b7d8
Fix text messages for ANY 2022-01-09 13:45:02 -08:00
Reckless_Satoshi
6400921f48
Make book show all (any/any) 2022-01-09 13:24:48 -08:00
Reckless_Satoshi
8e5233267f
Work frontend trade pipeline 2022-01-09 12:05:19 -08:00
LowEntropyFace
fb846c91d8 merge logics-second-iteration 2022-01-09 10:44:25 -05:00
Reckless_Satoshi
48862a7677
Fix bugs 2022-01-09 07:28:12 -08:00
LowEntropyFace
09bd46bb9d fix bug 2022-01-09 10:24:41 -05:00
LowEntropyFace
aa8e1f50a2 fix async user generation 2022-01-09 09:43:47 -05:00
LowEntropyFace
229294b878 change currencies.json access, fix async book filtering 2022-01-09 09:42:28 -05: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
LowEntropyFace
ec823586c1 merge with branch logics-second-iteration 2022-01-08 20:18:11 -05:00
Reckless_Satoshi
cf2422f924
Small fixes 2022-01-08 12:14:19 -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
LowEntropyFace
400fb2b21e OrderPage.js, MakerPage.js use currencies.json 2022-01-08 07:48:03 -05:00
LowEntropyFace
215af668a2 merge htlc-model 2022-01-08 06:51:55 -05:00
Reckless_Satoshi
7b6b486552
updated env-sample 2022-01-07 16:29:04 -08:00
fieryfrank
4516f1974a backend and BookPage.js use currencies.json 2022-01-07 18:48:23 -05:00
Reckless_Satoshi
9ab52853d5
Work on more logics. Rough draft finished 2022-01-07 10:22:52 -08:00
Reckless_Satoshi
8a55383761
Add more api logics
The workflow is actually more complex than I though. In fact the whole scope of the project greatly surpass my expectation of "weekend project".  Want to lay down something functional even if buggy and ugly, I'm a bad coder but this will work out!
2022-01-07 03:31:33 -08:00
Reckless_Satoshi
34e05465c2
Add more logics bareframes 2022-01-06 12:33:40 -08:00
Reckless_Satoshi
46c129bf80
Add logics module 2022-01-06 04:32:17 -08:00
Reckless_Satoshi
5640b11e6f
Handle empty books 2022-01-05 05:39:58 -08:00
Reckless_Satoshi
bd1601d59f
Bug fix, order status now as message, HTLCs relationals working 2022-01-05 04:18:54 -08:00
Reckless_Satoshi
635420c9dd
Add HTLC model and placeholder functions 2022-01-05 02:30:38 -08:00
Reckless_Satoshi
ed3605cca6
Rework minor ui and bugs 2022-01-04 18:03:03 -08:00
Reckless_Satoshi
369d9e52a7
Fix bug CSRF token! 2022-01-04 16:23:52 -08:00
Reckless_Satoshi
9ade961e0f
Work on update order endpoint and taker requests 2022-01-04 16:13:08 -08:00
Reckless_Satoshi
4d9a5023e0
Fix bugs, cards now link to order 2022-01-04 08:27:15 -08:00
Reckless_Satoshi
30dfd09f58
fix minor things, add mui style libs, figured CSRF problems some bugs left 2022-01-04 07:00:34 -08:00
Reckless_Satoshi
5b712b0765
Extend user model with profiles and set up admin panel 2022-01-04 05:47:37 -08:00
Reckless_Satoshi
0823febf73
Add order expiry time and rework book page 2022-01-04 02:21:45 -08:00
Reckless_Satoshi
a358a89e24
Add back button 2022-01-03 15:05:19 -08:00
Reckless_Satoshi
bb0d2d46f2
Remove unused front end function 2022-01-03 14:58:05 -08:00
Reckless_Satoshi
332aeeb5f8
Redesign and refactor makerPage 2022-01-03 14:56:23 -08:00
Reckless_Satoshi
44d95e768c
Create simple book order page with cards and plaintext 2022-01-03 14:52:46 -08:00
Reckless_Satoshi
7701f01936
Rework components. Initialize book component. 2022-01-03 11:15:13 -08:00
Reckless_Satoshi
e9bcd23347
Add BookView endpoint and refactor pages 2022-01-03 06:27:25 -08:00
Reckless_Satoshi
afd90f8fbf
Improve content and handling on OrderPage 2022-01-03 04:11:33 -08:00
Reckless_Satoshi
d037506138
Handle auth and welcome back for existing users 2022-01-03 01:06:51 -08:00
Reckless_Satoshi
80e0ca46fb
add login/logout, validates 1 order max, delete method for user 2022-01-02 17:38:48 -08:00
Reckless_Satoshi
225c142cd9
Style avatar css 2022-01-02 14:50:49 -08:00
Reckless_Satoshi
928d0b4796
Fix git merge conflict due to ammending pushed commit 2022-01-02 14:34:25 -08:00
Reckless_Satoshi
790e96cc1b
Improve user generator UX. Still a bit buggy. 2022-01-02 14:31:19 -08:00
Reckless_Satoshi
d7979086ed
Improve user generator UX. Still a bit buggy. 2022-01-02 13:41:22 -08:00
Reckless_Satoshi
f4644836d3
Connect UserGenPage to API. Base 32 string seems to pass quality checks, shorter do not. 2022-01-02 10:27:40 -08:00
Reckless_Satoshi
fb9fb88ab7
Implement user generator page frontend with client-side token generation
Uses crypto.getRandomValue() that at least should provide cryptographically strong random
2022-01-02 10:05:20 -08:00
Reckless_Satoshi
f0ac03e519
Add nick generator and robohash avatar generator 2022-01-02 07:19:49 -08:00
Reckless_Satoshi
c71d95ccd0
Rename boolean explicit for is_explicit/isExplicit 2022-01-02 05:38:45 -08:00
Reckless_Satoshi
c4b625a993
Fix order detail page view. Add explicit to model as pricing method boolean explicit/relative 2022-01-02 05:24:35 -08:00
Reckless_Satoshi
298efc394b
Create order detail API endpoint, create order page. Not fully working yet 2022-01-02 04:59:48 -08:00
Reckless_Satoshi
e087d0b686
Add payment method field 2022-01-02 01:40:19 -08:00
Reckless_Satoshi
27429bba21
Create frontend for order making 2022-01-01 16:37:04 -08:00
Reckless_Satoshi
1105f70f20
Create components, urls and homepage routing 2022-01-01 16:19:18 -08:00
Reckless_Satoshi
e83f0295a5
Build frontend app test page using React 2022-01-01 15:58:44 -08:00