Commit Graph

62 Commits

Author SHA1 Message Date
koalasat
70fc02b242
Fix telegram bot 2024-07-18 14:06:57 +02:00
koalasat
fbfa7a060b
Fix telegram bot 2024-07-18 12:05:04 +02:00
koalasat
fd1f82f2f5
Fix telegram bot 2024-07-18 01:34:34 +02:00
KoalaSat
1757a9781a
Feat: add notifications api endpoint (#1347)
* Notifications Endpoint

* Fix tests

* CR

* Check tests

* Fix Tests

* Fix Chat

* Remove unused notifications

* Fix chat

* Fix chat

* Fix chat
2024-06-27 16:47:23 +00:00
Reckless_Satoshi
ae27b18d30
Dev: replace isort, black, flake8 with ruff (#1057) 2024-01-09 01:22:50 +00:00
Reckless_Satoshi
62ef86f1b4
Add order expiry tests 2023-11-22 13:16:25 +00:00
Reckless_Satoshi
4383d14f88
feat(coordinator): add verbose order logs as table to admin (#764)
* add logs field

* Log some order events

* Add more logs. Format as table.

* Add more logs

* Add admin panel hyperlinks to order logs

* Add lasts set of logs

* Some fixes
2023-08-06 17:48:20 +00:00
Reckless_Satoshi
60c72e4239
Add tracking of old locked invoices to follow-invoices 2023-05-22 03:43:43 -07:00
Reckless_Satoshi
547a7212a0
Do not watch all locked invoices in follow-invoices 2023-05-20 07:52:30 -07:00
Reckless_Satoshi
b0ffe150c0
Refactor expiry_height into follow_invoices 2023-05-13 08:51:22 -07:00
Reckless_Satoshi
70b6d88321
Improve lookup invoice status updates delay 2023-05-13 08:38:13 -07:00
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
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
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
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
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
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
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
7643e524f1
Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
redphix
4d5c60239f
Conform to pep8 rules (#295)
* Conform to pep8 rules

* Fix some more flake8 linting errors
2022-10-20 20:53:51 +00:00
Lint Action
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +00:00
Reckless_Satoshi
5281176e3c
Add use_tor boolean to envvars 2022-08-08 08:58:06 -07: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
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
14b4c16fa3
Fix for UI & Spanish translation. Implement concurrent invoice payments. 2022-04-15 17:04:17 -07:00
Reckless_Satoshi
fae1f1317e
Fix TG retry welcome bug 2022-03-26 08:23:34 -07:00
Reckless_Satoshi
a36f23b572
Add maker selects public duration 2022-03-18 14:21:13 -07:00
Reckless_Satoshi
8001e148d7
Fix copy not loading. Send publish message only one 2022-03-11 07:40:04 -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
b70679a7b7
Hot fix telegram watcher. No message in results 2022-03-01 05:56:37 -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
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
9025b2e07d
Fix clean-orders failure when trade_escrow has not been generated 2022-02-20 06:38:29 -08:00
Reckless_Satoshi
fc4ccd5281
Re-format all python code 2022-02-17 11:50:10 -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
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
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
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
6377b052ce
Add sounds to tradebox 2022-01-23 04:30:41 -08:00