86 Commits

Author SHA1 Message Date
ac0969baf6 Convert new UserGen into POST. Fix misformed armored keys. Example encrypt/decrypt. 2022-05-23 04:21:01 -07:00
789f9fbdb1 Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
d48ee9ced4 Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
755874b100 Advanced maker options v2 (#110)
* Add escrow/invoice time customization

* Add accordion for Expiry times

* Add current price on order maker

* Add deposit timeout limit on order page

* Minor aestetic fixes

* Implement pause/unpause and expiry reasons

* Add renew order

* Add highlight buy/sell on maker page

* Fix order renewal. Improve book visuals and response.

* Fix double renew requests

* Fix cancel orders. Fix paused status to delay

* Fix paused order layout and loading spinner

* Add telegram message: order is in chat
2022-04-29 18:54:20 +00:00
433952cbf4 Fix lnpayment deletion at profile deletion. Fix precision premium rank. 2022-04-24 04:20:05 -07:00
f00bafb5d8 Rework concurrent payments. in_flight true/false 2022-04-18 06:57:03 -07:00
8265dc1dc4 Make method picker functional. Add Swap methods and icons. 2022-03-30 03:57:56 -07:00
8ae2406275 Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
bf80986005 Implement min_amount max_amount model props and validation 2022-03-21 16:27:36 -07:00
ca79ea9914 Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00
d31bd63edc Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
a36f23b572 Add maker selects public duration 2022-03-18 14:21:13 -07:00
f383d20c37 Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
255dae188d Implement withdraw rewards (backend & frontend) 2022-03-06 08:08:28 -08:00
4ee6778e11 Implement referral attributes and logics 2022-03-05 10:45:42 -08:00
dea2b665fb Route refCode url to api/user and display rewards 2022-03-05 09:32:27 -08:00
f111130273 Fix overflow on markettick value with some currencies 2022-03-05 03:48:47 -08:00
df320ea4d0 Add telegram functionality to backend. Messages: welcome and order taken. 2022-02-21 15:41:36 -08:00
fc4ccd5281 Re-format all python code 2022-02-17 11:50:10 -08:00
f8f306101e Fix cancel lnpayment at WFM. Add svgs, BTC currency flag. Fix pretty numbers 2022-02-16 18:45:18 -08:00
06b7741015 Fix minimum value, adjust decimal places and digits for BTC scales 2022-02-16 14:09:40 -08:00
1e0bd51f1f Add BTC (rBTC, wBTC, swaps...). Fix setup guide and env-sample. 2022-02-16 14:02:21 -08:00
e392f14b18 Add requested currencies COP, PEN, UYU, PYG and BOB 2022-02-15 13:52:30 -08:00
rs
fb5ef28b5d Fix admin panel avatars and avatar static removal at robot deletion 2022-02-15 13:03:46 +00:00
04c9466c3e Unlink avatars from prod static 2022-02-12 07:46:58 -08:00
1a6aa8a9ee Improve failure logics. Add platform rating. 2022-02-04 10:07:09 -08:00
716e838442 Add in order user activity status badge 2022-01-30 11:45:37 -08:00
2263ec7153 Add penalty live countdown. Fix unilateral cancellation after escrow 2022-01-26 03:44:45 -08:00
5a677067f7 Record expiry height into lnpayment and admin panel 2022-01-25 06:46:02 -08:00
25ab5fdf2e Add invoice expiry paddingas temporary fix for order expire at invoice expire. 2022-01-24 10:34:52 -08:00
4d0c62734c Add preliminary routing failure frontend components 2022-01-23 13:56:26 -08:00
b934534e1e Implement collaborative cancellation 2022-01-23 11:02:25 -08:00
6377b052ce Add sounds to tradebox 2022-01-23 04:30:41 -08:00
28abd0380f FIx collection of typos 2022-01-22 09:01:57 -08:00
4eaad57475 background process debugging 2022-01-20 09:30:29 -08:00
5e0639cfb3 Make payment_hash the primary key of LNpayment model 2022-01-18 08:57:55 -08:00
e31bc1adad Bug fix invoice follow. Copy user token button. 2022-01-18 05:20:19 -08:00
28d18a4842 Add background order updates. Add confirm boxes for Dispute and Fiat Received 2022-01-17 15:11:41 -08:00
eddd4674f6 Add admin background task: follow all active hold invoices 2022-01-17 08:41:55 -08:00
9d883ccc4d Add expiration logics. Add dispute statements. 2022-01-16 13:54:42 -08:00
2cbc82a535 Convert cached currency to relation children of order 2022-01-16 08:06:53 -08:00
185cc71e91 Improve market price fetching and caching 2022-01-16 07:18:23 -08:00
7ba2fcc921 Add celery background and scheduled tasks. Add user cleansing task 2022-01-16 04:31:25 -08:00
135c4c59e5 Add UI info and icons on order pager 2022-01-14 04:00:53 -08:00
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
2523e5ef09 Add needed LNNode routines and LNpayments status. First full trade demonstrated 2022-01-12 04:57:03 -08:00
a3375df6e5 Work on lightning functionality: locks, settles, cancels, validates. Trading almost working on testnet 2022-01-11 16:02:17 -08:00
8bc8f539d0 Work on LN bonds. Maker bond works. Yet, this is not the best way probably. 2022-01-11 12:49:53 -08:00
17df987630 Rework lightning module. Add version info 2022-01-11 06:36:43 -08:00
9f65a5adb6 Add validating LN invoices and generaing hold invoices 2022-01-10 17:02:06 -08:00