Commit Graph

486 Commits

Author SHA1 Message Date
Reckless_Satoshi
b76b333413
Fix clean onchain_payment, also deletes 'created' objects. Fix rewards timeout 2022-07-10 04:04:27 -07:00
Reckless_Satoshi
b33b45f7b3
Fix do_accounting. Improve ProfileAdmin load time. 2022-07-03 10:39:40 -07:00
Reckless_Satoshi
a98ff65638
Fix UI. Hide unneeded expiry bars. Refresh book always. Round to 8 BTC decimals. 2022-07-02 12:51:29 -07:00
satsbaba
41f3df570e
Hotfix for weighted median premium (#180)
* hotfix for empty array handling
2022-07-01 14:48:17 +00:00
Reckless_Satoshi
b5dd4fbea5
Improve clarity on order not available message 2022-07-01 04:22:26 -07:00
Reckless_Satoshi
eaa40417ad
Fix format and PT style. Optimize OrderAdmin load. 2022-06-29 05:58:34 -07:00
Reckless_Satoshi
6952bedbf6
Merge PR 'Replace weighted average to weighted median. #173' into main 2022-06-29 02:42:31 -07:00
Reckless_Satoshi
0866109072
Fix bug on weighted median 2022-06-29 02:41:59 -07:00
Reckless_Satoshi
2f5bb6e9ae
Add explicit min/max amounts on mining fee rate error 2022-06-27 07:22:10 -07:00
satsbaba
f4caa98eef
replaced weighted mean to weighted median
This commit changes the weighted mean to the weighted median for the calculation of the premium displayed on the robosats.
2022-06-25 12:47:35 +02:00
satsbaba
f2f90bd948
replaced weighted mean to weighted median
This commit changes the weighted mean to the weighted median for the calculation of the premium displayed on the robosats.
2022-06-25 12:44:32 +02:00
Gravity2106
70fe9d6dcb
Update messages.py (#167) 2022-06-22 13:09:41 +00:00
Reckless_Satoshi
bd70d94d4a
Add MarketTicks endpoint /api/ticks. Fix do_accounting. 2022-06-21 13:25:03 -07:00
Reckless_Satoshi
e525b84c9e
Fix payments cleansing 2022-06-21 06:32:35 -07:00
Reckless_Satoshi
c12c18a5c7
Update wallet docs relating to Muun 2022-06-21 05:07:45 -07:00
Reckless_Satoshi
c397ff63e5
Add rewards and referral code on usergen api responses 2022-06-21 04:47:29 -07:00
Reckless_Satoshi
20432dfce1
Add nickmane on every TG message 2022-06-20 13:31:28 -07:00
Reckless_Satoshi
6f7cfb5147
Fix avatar persistance and login issues. Add onchain payment cleanup. 2022-06-20 10:56:56 -07:00
Reckless_Satoshi
009c88a988
Add Statistics to documentation site. Add order made on onchain admin panel. 2022-06-20 01:42:41 -07:00
Reckless_Satoshi
f1c4754868
Fix bad reply after submitting invoice 2022-06-19 07:32:00 -07:00
Reckless_Satoshi
164a960b62
Merge branch 'onchain-buyer-payouts' into main #160 2022-06-17 05:19:59 -07:00
Reckless_Satoshi
2289274251
Improve toggle button onchain/LN, add bad address messages 2022-06-17 04:36:27 -07:00
Reckless_Satoshi
43b85d79d4
Fix invoice payouts. Add onchain summary to accounting days. 2022-06-16 15:48:35 -07:00
Reckless_Satoshi
5c87c5ad85
Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
Reckless_Satoshi
efed6b3c0a
Pay buyer onchain-tx 2022-06-16 08:31:30 -07:00
Reckless_Satoshi
d05ce86189
Merge pull request #162 from Gravity2106/patch-1
Fix Spanish TG message
2022-06-14 18:24:37 +00:00
Reckless_Satoshi
8f93c8f7b6
Add address submission and validation checks 2022-06-13 15:27:09 -07:00
Reckless_Satoshi
dc9d5e5e2a
Add frontend input address components 2022-06-11 09:21:53 -07:00
Reckless_Satoshi
b1d68a39f7
Add onchain logics pt3 2022-06-09 10:41:21 -07:00
Reckless_Satoshi
9da33b60e6
Lower time between retries to 1min. Disable ResetMC. Increase timeout. 2022-06-09 03:56:17 -07:00
Reckless_Satoshi
31730e0a05
Exclude BTC swaps from avg premium calculation 2022-06-07 14:05:34 -07:00
Reckless_Satoshi
cf82a4d6ae
Add onchain logics pt2 2022-06-06 13:37:51 -07:00
Reckless_Satoshi
1905d147bf
Reset mission control only on no routes found failure 2022-06-06 11:00:50 -07:00
Reckless_Satoshi
8d0b518222
Add onchain logics pt1 2022-06-06 10:57:04 -07:00
Reckless_Satoshi
f538d26355
Create Balance model and log task 2022-06-06 02:32:39 -07:00
Gravity2106
fe2b3918f1
Update messages.py 2022-06-06 02:09:06 +02:00
Reckless_Satoshi
4ac3618fd7
Add routing timeout to .env 2022-06-05 09:15:40 -07:00
Reckless_Satoshi
08f73ad923
Fix autoscroll, allow plaintext chat, forbid collab cancelation on wrong status 2022-06-04 14:26:53 -07:00
Reckless_Satoshi
ec167b6573
Fix chatroom names. Fix users entering old chats 2022-06-03 02:39:48 -07:00
Reckless_Satoshi
8663fb3423
Add TG messages for dispute open and collaborative cancellation 2022-06-02 15:32:01 -07:00
Reckless_Satoshi
7623d30670
Add new PGP keys validation on backend. Raise default bond size to 3% and minimum to 2% 2022-06-01 16:49:27 -07:00
Reckless_Satoshi
5534ada1be
Fix robot PGP keys created in a future time 2022-06-01 14:44:58 -07:00
Reckless_Satoshi
6fa145c185
Create task to delete canceled LNpayments older than 3 days 2022-05-31 03:35:36 -07:00
Reckless_Satoshi
8b7e05a24d
Create task to delete older than 3 days encrypted messages 2022-05-31 02:23:01 -07:00
Reckless_Satoshi
bedac53e29
Fix missing PGP keys when early login. Fix avatar not found when make/book is clicked. 2022-05-30 14:19:16 -07:00
Reckless_Satoshi
5b214c3b9c
Validate length of token_hash. Increase expiry times of routing status. 2022-05-30 07:08:32 -07:00
Reckless_Satoshi
d1f671cf66
Validate PGP keys with GnuPG when a new robot is created 2022-05-30 06:34:27 -07:00
Reckless_Satoshi
6f2aed095d
Make pgp keys read-only on admin panel. Improve homepage copy button behaviour. 2022-05-30 04:19:12 -07:00
Reckless_Satoshi
f304fa27f9
Fix empty invoice unhandled error 2022-05-28 06:05:26 -07:00
Reckless_Satoshi
d24e01f1f5
Add validation of invoice based on total cost of routing hints 2022-05-26 16:35:45 -07:00
Reckless_Satoshi
4da6a43a59
PGP ID is second hash of token 2022-05-26 14:16:02 -07:00
Reckless_Satoshi
3cb544ef10
Fix bug 'dispute cannot be open in this stage'. Update Dockerfile 2022-05-25 00:46:57 -07:00
Reckless_Satoshi
ac0969baf6
Convert new UserGen into POST. Fix misformed armored keys. Example encrypt/decrypt. 2022-05-23 04:21:01 -07:00
Reckless_Satoshi
789f9fbdb1
Add pub_key and enc_priv_key fields. Store in cookies. Bug: misformed 2022-05-22 15:12:25 -07:00
Reckless_Satoshi
191dfe0d3b
Upgrade userGen, only token_sha256 used. Deprecate token user generation. 2022-05-22 12:30:12 -07:00
Reckless_Satoshi
d48ee9ced4
Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
Reckless_Satoshi
b24bd4c2db
Constrain open dispute valid status 2022-05-15 23:47:22 -07:00
Reckless_Satoshi
1b4d42cfdf
Implement last order always shown on robot profile 2022-05-09 15:34:10 -07:00
Reckless_Satoshi
83c8d80da3
Add exchange historical endpoint api/historical 2022-05-09 10:35:04 -07:00
Reckless_Satoshi
718f42abf9
Fix active order shows on profile in Sending Satoshis status 2022-05-08 09:52:19 -07:00
Reckless_Satoshi
e4e33d39f5
Fix charged maker bond at cancel before taker bond is locked 2022-05-05 11:15:14 -07:00
Reckless_Satoshi
2b44d32b01
Store robot token in cookies. Add renew order after success for makers. 2022-05-03 13:21:04 -07:00
ibertario
b36155fbd6
BTC instead of Sats on Stats For Nerds (#98)
* Update views.py

* Update BottomBar.js
2022-05-01 18:09:17 +00:00
Reckless_Satoshi
1f920c9268
Fix DEL in clean orders. Add cancel button to paused order 2022-05-01 10:05:58 -07:00
Reckless_Satoshi
419fadc125
Add new icons, add new limits. Fix minor bugs. 2022-05-01 06:41:55 -07:00
Reckless_Satoshi
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
Reckless_Satoshi
433952cbf4
Fix lnpayment deletion at profile deletion. Fix precision premium rank. 2022-04-24 04:20:05 -07:00
Reckless_Satoshi
5c06cab195
Rework concurrent payments. in_flight true/false 2022-04-18 15:19:58 -07:00
Reckless_Satoshi
f00bafb5d8
Rework concurrent payments. in_flight true/false 2022-04-18 06:57:03 -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
Reckless_Satoshi
b85b78c722
Fix payment method delete bug, improve viz (better icons, better shadows) 2022-03-30 13:01:26 -07:00
Reckless_Satoshi
8265dc1dc4
Make method picker functional. Add Swap methods and icons. 2022-03-30 03:57:56 -07:00
Reckless_Satoshi
baf76025c2
Add autocomplete, icons, custom selector 2022-03-29 16:16:59 -07:00
Reckless_Satoshi
fae1f1317e
Fix TG retry welcome bug 2022-03-26 08:23:34 -07:00
Reckless_Satoshi
6ce9957694
mend 2022-03-24 17:30:40 -07:00
Reckless_Satoshi
dc5f228fce
Fix percentile computing for ranges, fix limit adjusts by premium 2022-03-24 17:09:55 -07:00
Reckless_Satoshi
cb7dcab147
Remove input numeric arrows 2022-03-24 10:29:51 -07:00
Reckless_Satoshi
5aa0304d32
Improve amount specification UI 2022-03-24 08:43:31 -07:00
Reckless_Satoshi
8ae2406275
Implement backend handle range amounts, order take amount input and order book ranges 2022-03-22 10:49:57 -07:00
Reckless_Satoshi
bf80986005
Implement min_amount max_amount model props and validation 2022-03-21 16:27:36 -07:00
Reckless_Satoshi
d4023bfd0d
Add preliminary daily accounting 2022-03-21 05:13:57 -07:00
Reckless_Satoshi
3d9ef5fc58
Add limits API endpoint 2022-03-20 16:46:36 -07:00
Reckless_Satoshi
ca79ea9914
Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00
Reckless_Satoshi
5730ec0383
Add any-domain referral, ontop UnsafeAlert and control panel(app) 2022-03-19 09:33:01 -07:00
Reckless_Satoshi
d31bd63edc
Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
Reckless_Satoshi
a36f23b572
Add maker selects public duration 2022-03-18 14:21:13 -07:00
Reckless_Satoshi
f42292a012
Add amboss as mainnet node link 2022-03-14 10:57:06 -07:00
Reckless_Satoshi
feacb485fb
Change 'today' stats for 'last 24h' 2022-03-13 05:00:21 -07:00
Reckless_Satoshi
806a56c7f9
Remodel price endpoint to only return latest markettick 2022-03-12 06:55:29 -08:00
Reckless_Satoshi
f383d20c37
Implement public API non-KYC BTC prices 2022-03-12 03:24:11 -08:00
Reckless_Satoshi
408516241d
Fix message your order is public 2022-03-11 07:55:55 -08:00
Reckless_Satoshi
8001e148d7
Fix copy not loading. Send publish message only one 2022-03-11 07:40:04 -08:00
Reckless_Satoshi
6373957774
Telegram notification only when taker bond is locked 2022-03-11 07:24:39 -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
a616e4945e
Fix reward withdrawal failure handling 2022-03-09 03:35:50 -08:00
Reckless_Satoshi
ce25a6b3c7
Reward robots for counterpart slashed bonds 2022-03-07 13:46:52 -08:00
Reckless_Satoshi
5726b82634
Fix user cleaning & add loading ref_link 2022-03-06 11:12:47 -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
ec7aac2e00
Implement give rewards scheduler 2022-03-05 12:51:16 -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
c385be123f
Display total book liquidity in summary stats 2022-03-05 05:46:22 -08:00
Reckless_Satoshi
06b86796ca
Safe order flow from contract additions to profile 2022-03-05 04:21:01 -08:00
Reckless_Satoshi
533809749c
Gracefully fail to log a market_tick 2022-03-05 04:19:56 -08:00
Reckless_Satoshi
44d593e6d1
Merge branch 'main' of github.com:Reckless-Satoshi/robosats into main 2022-03-05 03:49:03 -08:00
Reckless_Satoshi
f111130273
Fix overflow on markettick value with some currencies 2022-03-05 03:48:47 -08:00
Reckless_Satoshi
f46e229213
Fee flooring to rounding 2022-03-03 16:43:54 -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
8ca497f7b4
Fix some TG messages do not arrive 2022-03-01 13:34:25 -08:00
Reckless_Satoshi
b70679a7b7
Hot fix telegram watcher. No message in results 2022-03-01 05:56:37 -08:00
Reckless_Satoshi
4d2cf584eb
Fix message the order is public for avatars that are re-used 2022-03-01 05:38:04 -08:00
Reckless_Satoshi
fba6749500
Implement max public orders limit 2022-02-25 12:08:22 -08:00
Reckless_Satoshi
67a108e0ac
Fix bugs, second dispute statement is awaited. 2022-02-24 13:59:16 -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
aa1994b1f1
Fix bug for multiple order maker telegram enabling. Add TG to admin panel. 2022-02-24 05:01:17 -08:00
Reckless_Satoshi
30e35f8973
Asynchronous TG messages. Add taker_cancelled and taker_expired messages. 2022-02-23 08:15:48 -08:00
Reckless_Satoshi
a9575c2338
Add order_expired and trade_successful telegram messages 2022-02-22 09:50:01 -08:00
Reckless_Satoshi
b9b71dc842
Fixes for telegra messaing errors in production 2022-02-21 18:12:42 -08:00
Reckless_Satoshi
d018aeec0a
Fix no text provided 2022-02-21 17:50:32 -08:00
Reckless_Satoshi
3906ed73aa
Fix non enabled telegram order taken 2022-02-21 16:55:31 -08:00
Reckless_Satoshi
d146f522f3
Add frontend enable telegram button. Torify all requests. 2022-02-21 16:50:25 -08:00
Reckless_Satoshi
df320ea4d0
Add telegram functionality to backend. Messages: welcome and order taken. 2022-02-21 15:41:36 -08:00
Reckless_Satoshi
1feebacbc1
Make avatar persists when revisiting homepage 2022-02-21 02:05:19 -08:00
Reckless_Satoshi
9025b2e07d
Fix clean-orders failure when trade_escrow has not been generated 2022-02-20 06:38:29 -08:00
Reckless_Satoshi
23eabffeca
Settle bonds at dispute opening. Avoids channel force closure in long resolution disputes. 2022-02-20 03:39:28 -08:00
Reckless_Satoshi
78f5c1cbdc
Fix info API wording and magnitudes, settled -> contracted 2022-02-19 09:18:47 -08:00
Reckless_Satoshi
fc4ccd5281
Re-format all python code 2022-02-17 11:50:10 -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
06b7741015
Fix minimum value, adjust decimal places and digits for BTC scales 2022-02-16 14:09:40 -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
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
Reckless_Satoshi
d77b8404c6
Merge branch 'stabilize-runtime' of github.com:Reckless-Satoshi/robosats into stabilize-runtime 2022-02-13 09:55:52 -08:00
Reckless_Satoshi
3ce5d8304c
Typo robosat -> robot. Shorten welcome back msg 2022-02-13 09:55:44 -08:00
rs
a9a344fddf Fix taker bond is not return on maker cancel. Update all libs. Add extra hosts. 2022-02-13 16:43:49 +00:00
rs
04e097536e Add allowed local host alias 2022-02-12 23:09:13 +00: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
96be0d8f80
Dockerize dev stack, now fully functional 2022-02-09 11:45:11 -08:00
Reckless_Satoshi
ee7786c5c1
Add lnd v0.14.2 docker 2022-02-09 07:21:51 -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
715d7ebf6d
Handle LND down response to clients 2022-02-08 02:05:22 -08:00
Reckless_Satoshi
3eff1f38ff
Serve statics into dev/prod 2022-02-07 05:37:16 -08:00
Reckless_Satoshi
f830c4df15
Init dockerization of dev environment with docker-compose 2022-02-07 03:21:59 -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
71532d52d0
Add maker status on book page 2022-02-03 10:06:30 -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
716e838442
Add in order user activity status badge 2022-01-30 11:45:37 -08:00
Reckless_Satoshi
13517047e0
Fix irresponsive taker invoice when a maker/seller is not active 2022-01-30 07:50:22 -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
5ab97453f0
Add user profile bottom left icon with active order reminder 2022-01-29 11:51:26 -08:00
Reckless_Satoshi
c3b8030d24
Implement responsive foot bar 2022-01-28 06:30:45 -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
d2dbc0d249
Add async background catches expiry height 2022-01-25 07:20:56 -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
be5b32c451
Add retry time and lnpayment properties for routing failure 2022-01-23 13:12:30 -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
4eaad57475
background process debugging 2022-01-20 09:30:29 -08:00
Reckless_Satoshi
7c0e3a74fa
Fix premium percentile computation 2022-01-19 12:55:24 -08:00
Reckless_Satoshi
848a513bc3
Add easter egg; Satoshi and Nakamoto as nouns in nick generator 2022-01-19 11:54:57 -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
285f85aaf2
Add check if attribute order exists when triggering an order status 2022-01-18 14:17:41 -08:00
Reckless_Satoshi
7a6c29fe64
Silence initialization of nick generator 2022-01-18 12:52:10 -08:00
Reckless_Satoshi
a0b38d831f
Fix bug penalizing a non existing taker 2022-01-18 10:40:56 -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
ce9845cbc2
Users stay logged in when re-entering home if there is an active order or is an old account 2022-01-18 09:42:45 -08:00
Reckless_Satoshi
5e0639cfb3
Make payment_hash the primary key of LNpayment model 2022-01-18 08:57:55 -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
a005b3509d
Add meta onion-location pointer 2022-01-17 16:50:54 -08:00
Reckless_Satoshi
ae3a8cc0f5
Rework active order validation to only a subset of status 2022-01-17 15:22:44 -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
0db73c7c82
Convert order cleaning task into admin command 2022-01-17 10:11:44 -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
9009f35269
Fix bug when caching np.nan prices 2022-01-16 11:16:11 -08:00
Reckless_Satoshi
28bfaee937
Add background task for expired orders removal 2022-01-16 10:32:34 -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
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
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
ad58f66968
Add second market price API. Median price is used. 2022-01-14 06:57:56 -08:00
Reckless_Satoshi
032d3a1369
Add taker bond lock expiry 2022-01-14 06:19:54 -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
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
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
55c5f62078
Add number active robosats, avg premium and daily volume to Info endpoint 2022-01-10 17:36:34 -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
db36277456
Fix live premium bug in book 2022-01-10 11:11:45 -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
9bc6757ba3
Revamp UI 2022-01-09 17:12:58 -08:00
Reckless_Satoshi
a518daf8cc
Fix bookview gets either any currency or any type 2022-01-09 13:54:13 -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
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
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
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