Commit Graph

111 Commits

Author SHA1 Message Date
Reckless_Satoshi
1a6aa8a9ee
Improve failure logics. Add platform rating. 2022-02-04 10:07:09 -08:00
Reckless_Satoshi
716e838442
Add in order user activity status badge 2022-01-30 11:45:37 -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
25ab5fdf2e
Add invoice expiry paddingas temporary fix for order expire at invoice expire. 2022-01-24 10:34:52 -08:00
Reckless_Satoshi
4d0c62734c
Add preliminary routing failure frontend components 2022-01-23 13:56:26 -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
28abd0380f
FIx collection of typos 2022-01-22 09:01:57 -08:00
Reckless_Satoshi
4eaad57475
background process debugging 2022-01-20 09:30:29 -08:00
Reckless_Satoshi
5e0639cfb3
Make payment_hash the primary key of LNpayment model 2022-01-18 08:57:55 -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
2cbc82a535
Convert cached currency to relation children of order 2022-01-16 08:06:53 -08:00
Reckless_Satoshi
185cc71e91
Improve market price fetching and caching 2022-01-16 07:18:23 -08:00
Reckless_Satoshi
7ba2fcc921
Add celery background and scheduled tasks. Add user cleansing task 2022-01-16 04:31:25 -08:00
Reckless_Satoshi
135c4c59e5
Add UI info and icons on order pager 2022-01-14 04:00:53 -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
2523e5ef09
Add needed LNNode routines and LNpayments status. First full trade demonstrated 2022-01-12 04:57:03 -08:00
Reckless_Satoshi
a3375df6e5
Work on lightning functionality: locks, settles, cancels, validates. Trading almost working on testnet 2022-01-11 16:02:17 -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
17df987630
Rework lightning module. Add version info 2022-01-11 06:36:43 -08:00
Reckless_Satoshi
9f65a5adb6
Add validating LN invoices and generaing hold invoices 2022-01-10 17:02:06 -08:00
Reckless_Satoshi
9c2f50dacf
Init work on Lightning functionality 2022-01-10 15:27:48 -08:00
Reckless_Satoshi
de66040893
Add cancel taker penalty time 2022-01-10 04:10:32 -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
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
LowEntropyFace
ec823586c1 merge with branch logics-second-iteration 2022-01-08 20:18:11 -05: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
eb9042eaa4
Add Non-KYC Bitcoin price historical records 2022-01-07 14:46:30 -08:00
Reckless_Satoshi
b472b4928c
More logics, bug hunt 2022-01-07 11:22:07 -08: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
6a1a906bea
Cosmetic 2022-01-06 15:33:55 -08:00
Reckless_Satoshi
31b19ce18c
Work on order cancel 2022-01-06 14:39:59 -08:00
Reckless_Satoshi
34e05465c2
Add more logics bareframes 2022-01-06 12:33:40 -08:00
Reckless_Satoshi
a1771ae5ea
Add environmental variables to .env 2022-01-06 08:54:37 -08:00
Reckless_Satoshi
805b12de65
Add preliminary pricing for t0 and maker bond. Add reverse on_delete Cascade Orders -> Htlcs 2022-01-06 08:20:04 -08:00
Reckless_Satoshi
5505476ea4
Add logics for Invoice update/creation and maker_hodl_invoice 2022-01-06 05:55:47 -08:00
Reckless_Satoshi
46c129bf80
Add logics module 2022-01-06 04:32:17 -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
9ade961e0f
Work on update order endpoint and taker requests 2022-01-04 16:13:08 -08:00
Reckless_Satoshi
78886c8c9c
Rework admin pannel and extended users 2022-01-04 07:58:10 -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
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
e087d0b686
Add payment method field 2022-01-02 01:40:19 -08:00
Reckless_Satoshi
76a45bc8d5
Create API endpoint for POST make order
Added the Order model with a rough approxiation to the fields needed. The field status can be read lineally as the progression trough the app pipeline. The view serves POSTs requests to enter new orders into the db.
2022-01-01 14:40:08 -08:00
Reckless_Satoshi
6b8b8c4511
Create api django app 2022-01-01 14:13:27 -08:00