Commit Graph

379 Commits

Author SHA1 Message Date
Reckless_Satoshi
3b77a473f8
Coordinator db performance clean up (#561)
* Improve DB writes performance and concurrency. Add order coordinator proceeds field.

* Fix checks on order GET inducing 400
2023-05-08 12:49:21 -07:00
Reckless_Satoshi
af0289c264
Fix new WS middleware for old auth method, improve auth token admin panel 2023-05-07 14:51:17 -07:00
Reckless_Satoshi
8434a256cf
Fix last_login for tokeauth, replace maker/taker_last seen for last_login 2023-05-07 08:06:35 -07:00
Reckless_Satoshi
f2de58ca36
Add hash/preimage or address/txid to trade summary report 2023-05-07 04:11:40 -07:00
Reckless_Satoshi
25f0b0eea5
Fix token auth native (#558)
* Fix token auth on Native

* Fix pre-release action
2023-05-06 13:42:48 +00:00
Reckless_Satoshi
daa1127cfc
Increase max mining fee (#551) 2023-05-05 19:44:18 +00:00
Reckless_Satoshi
811cb4181d
Delete old user rating functionality 2023-05-05 05:40:29 -07:00
Reckless_Satoshi
4d62ea1549
Delete coordinator referral program functionality 2023-05-05 05:32:52 -07:00
Reckless_Satoshi
a10f7f2e21
Add slashed return as rewards when bonded stake is uneven (#538) 2023-05-05 12:07:13 +00:00
Reckless_Satoshi
e6ddcf9e4b
Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512)
* Add RobotTokenSHA256 middleware for in-the-fly robot generation/login

* Add RobotView, fix middleware, upgrade frontend

* Token header as base91

* Add OAS schema of RobotView

* Use RobotView on new fetchRobot(), mimick old fetchRobot() functionality

* Upgrade websockets for token based authentication

* Small fixes

* Add frontend token entropy checks, add token on route /robot/<token>

* Rename admin panel

* Collect phrases
2023-05-05 10:12:38 +00:00
Reckless_Satoshi
ea6526f81c
Fix and improve admin search fields 2023-05-02 04:04:24 -07:00
Reckless_Satoshi
a1f0a85646
Small fixes 2023-05-01 10:35:55 -07:00
Reckless_Satoshi
75f04579ed
Refactor models into a module (#481)
* Refactor models into a module

* Rename Profile model as Robot

* Underscore numeric literals
2023-05-01 10:30:53 +00:00
Reckless_Satoshi
3a49902a7c
Fix invoice-follower output logs and order_update 2023-04-30 09:32:15 -07:00
Reckless_Satoshi
c693faacde
Optimize follow-invoices service performance (#480) 2023-04-30 13:46:23 +00:00
Reckless_Satoshi
4adde72fd5
Bump LND, fix BalanceLogs not found on new coordinator instance 2023-04-29 07:07:48 -07:00
Reckless_Satoshi
fc4f3e1593
Add undo confirm fiat sent action (#461)
* Add undo confirm fiat sent action

* Collect phrases

* Small fixes
2023-04-28 09:19:18 +00:00
Reckless_Satoshi
d0450fc07d
Improve admin panel loading times 2023-04-27 02:38:16 -07:00
Reckless_Satoshi
e878299ae8
Add light weight webp avatars (#457)
* Add generate webp avatars, also small size

* Use new avatars in frontend
2023-04-25 18:40:46 +00:00
Reckless_Satoshi
b1e9081ff8
Handle expired invoices that are in_flight 2023-04-25 04:46:07 -07:00
Reckless_Satoshi
b9aaf9f1bc
Add permissioned payouts mode debugging envvar 2023-04-25 03:13:28 -07:00
Reckless_Satoshi
7e47fb60bf
Add automatic dispute resolution (#437)
* Add automatic dispute resolution logic

* Small fixes
2023-04-24 11:05:52 +00:00
Reckless_Satoshi
52df958be8
Add full semver string (v) 2023-04-23 13:44:38 -07:00
Reckless_Satoshi
df7f034667
Small variable name fixes 2023-04-22 12:41:17 -07:00
Reckless_Satoshi
ac24c310c5
Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432)
* Add Versioner rpc, use versioner for LND get_version, refactor macaroon

* Move LND specific rpc calls from the follow-invoices thread to LNNode

* Move LND specific rpc calls from tasks to LNNode
2023-04-22 18:54:03 +00:00
Reckless_Satoshi
b227df7c7c
Improve preliminary sats summary, add taker satoshis (#429)
* Improve preliminary sats summary, add taker satoshis

* Collect phrases
2023-04-21 11:10:47 +00:00
Reckless_Satoshi
26a4d3860d
Fix overflow by IRT on exchange_rate DecimalField 2023-04-09 14:37:30 -07:00
Reckless_Satoshi
025d975b6c
Improve handling of long in_transition htlcs 2023-04-08 04:19:56 -07:00
Reckless_Satoshi
ee8becebd9
Add stray locked htlc handler (#410) 2023-04-06 10:59:50 +00:00
Reckless_Satoshi
399f8102f2
Add notification for new in-app chat messages (#403)
* Add TG message for new in-app chat messages

* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
Reckless_Satoshi
7fdbebb2aa
Add envvars for target_conf 2023-03-18 03:39:37 -07:00
Reckless_Satoshi
9158bd4c98
Fix reject too low mining fees (< 12 blocks conf target) 2023-03-17 15:06:15 -07:00
Reckless_Satoshi
eac5a5f714
Fix robots with tg enabled were being killed 2023-03-17 13:01:59 -07:00
Reckless_Satoshi
f5853c6e7b
Improve LN retry handling and logs 2023-03-16 11:11:39 -07:00
Reckless_Satoshi
94bc44ad0e
Improve tasks reliability (#390)
* Add broadcasted flag

* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
Reckless_Satoshi
82c8f2280b
Add MAX_SWAP_AMOUNT envvar (#389) 2023-03-14 19:54:31 +00:00
Reckless_Satoshi
42f208fad4
Fix race condition onchain (#388)
* Fix race condition swaps

* Collect new phrases

* Increase random delay interval
2023-03-14 17:23:11 +00:00
Reckless_Satoshi
ef55207812
Add envvar for spend_unconfirmed 2023-03-10 04:52:33 -08:00
Reckless_Satoshi
09027deffc
Fix order click on matches. Fix existing PGP on deleted robot rebuild. 2023-03-03 11:00:08 -08:00
Reckless_Satoshi
d88c2a5eff
Add App context (#369)
* Refactor fetchRobot

* Add appcontext

* Robot recovery fixes

* Add usecontext on maker and settings forms

* Add usecontext to booktable

* Add useContext to order page and main dialogs

* Small fixes
2023-02-24 19:17:13 +00:00
Reckless_Satoshi
6ef62a1fa4
Update minimum swap mining fee to 2 Sats/vbyte 2023-02-13 05:57:00 -08:00
Reckless_Satoshi
1c696beb5d
Fix telegram watcher (#354)
* Update telegram_watcher.py

It is used "startswith()" to check if the text start with  "/start".
"filter()" instead of "get()" to avoid an exception if there is no profile asociated with a token.
"attempts -= 1" instead of "attempts = attempts - 1"
An "error.log" file is created if "response = self.session.get" does not work

* Update telegram_watcher.py

Added instructions for the user if the format is not correct

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Update telegram_watcher.py

* Fix bugs

---------

Co-authored-by: Kote <45825337+Gravity2106@users.noreply.github.com>
2023-02-13 12:41:06 +00:00
Reckless_Satoshi
b02fdcb084
Deprecate old routing budget pipeline (#347)
Delete old routing budget routines. Clients older than 0.3.1 are now incompatible!
2023-02-10 13:34:35 +00:00
Reckless_Satoshi
0c7e1ae021
Fix reliability telegram notifications 2023-01-31 10:58:11 -08:00
Reckless_Satoshi
d3851784e2
Fix confusing prompt title for submission of payout information 2023-01-14 04:52:47 -08:00
Reckless_Satoshi
62ec832c2e
Fix routing hint checks for rewards invoices 2023-01-14 04:38:27 -08:00
Reckless_Satoshi
b7925ac5bc
Fix adjust onchain reserve closer to LND's default anchor reserve 2023-01-14 04:12:10 -08:00
Reckless_Satoshi
6feed1046c
Fix spinning wheel of death at trade summary generation w onchain payouts 2022-12-01 10:17:25 -08:00
Reckless_Satoshi
53dd8777cb
Fix claim rewards 2022-11-28 08:23:37 -08:00
Reckless_Satoshi
b4072b95da
Small fixes missing finalization time and unit trade_satoshis response 2022-11-25 16:06:40 -08:00