2ab7c1ded4
Merge ce0421f8c8597014437a1099429c8492465d4e20 into 35cb618ec76c58816177aeda6c93b1c8769489af
2025-07-15 08:45:27 +00:00
7a2d6c4a76
cln fix invoice dropped that caused order stuck
2025-06-12 18:07:29 +02:00
ce0421f8c8
add option for timing issues in tests
...
On my powerful machine, running tests resulted in some errors.
After a bit of digging I found out that it was a timing issues.
This PR adds a config option TIMING_EXTRA_IN_TESTS that when set to
True, it take some time where it should so that the tests do not fail.
If the config option is not present (default) nothing is changed.
I had this issue very sporadically on my laptop, and every time when
running on an other powerful machine.
2025-05-28 17:49:06 +02:00
5fe80c9b44
fix ruff warning in telegram_watcher
2025-05-16 18:26:56 +02:00
0557dd6b89
fix result not present in telegram api response
2025-05-14 00:08:50 +02:00
c9c9971601
Fix invoice cleanup
2025-03-24 00:11:04 +01:00
0a8d648fa4
Better logs
2025-03-01 23:52:30 +01:00
ee4fe15c6c
Allow multiple takers
2025-02-28 21:26:08 +01:00
7d7a3a39e7
Revert "Store status notifications"
2024-10-01 19:35:57 +00:00
4f2ec020a9
Store status notifications
2024-09-16 15:54:14 +02:00
70fc02b242
Fix telegram bot
2024-07-18 14:06:57 +02:00
fbfa7a060b
Fix telegram bot
2024-07-18 12:05:04 +02:00
fd1f82f2f5
Fix telegram bot
2024-07-18 01:34:34 +02:00
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
ae27b18d30
Dev: replace isort, black, flake8 with ruff ( #1057 )
2024-01-09 01:22:50 +00:00
62ef86f1b4
Add order expiry tests
2023-11-22 13:16:25 +00:00
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
60c72e4239
Add tracking of old locked invoices to follow-invoices
2023-05-22 03:43:43 -07:00
547a7212a0
Do not watch all locked invoices in follow-invoices
2023-05-20 07:52:30 -07:00
b0ffe150c0
Refactor expiry_height into follow_invoices
2023-05-13 08:51:22 -07:00
70b6d88321
Improve lookup invoice status updates delay
2023-05-13 08:38:13 -07:00
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
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
3a49902a7c
Fix invoice-follower output logs and order_update
2023-04-30 09:32:15 -07:00
c693faacde
Optimize follow-invoices service performance ( #480 )
2023-04-30 13:46:23 +00:00
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
ee8becebd9
Add stray locked htlc handler ( #410 )
2023-04-06 10:59:50 +00:00
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
f5853c6e7b
Improve LN retry handling and logs
2023-03-16 11:11:39 -07:00
94bc44ad0e
Improve tasks reliability ( #390 )
...
* Add broadcasted flag
* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
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
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
7643e524f1
Fix all files with pre-commit
2022-10-25 11:04:12 -07:00
4d5c60239f
Conform to pep8 rules ( #295 )
...
* Conform to pep8 rules
* Fix some more flake8 linting errors
2022-10-20 20:53:51 +00:00
3d3da78f8a
Fix code style issues with Black
2022-10-20 09:56:10 +00:00
5281176e3c
Add use_tor boolean to envvars
2022-08-08 08:58:06 -07:00
1f920c9268
Fix DEL in clean orders. Add cancel button to paused order
2022-05-01 10:05:58 -07:00
5c06cab195
Rework concurrent payments. in_flight true/false
2022-04-18 15:19:58 -07:00
f00bafb5d8
Rework concurrent payments. in_flight true/false
2022-04-18 06:57:03 -07:00
14b4c16fa3
Fix for UI & Spanish translation. Implement concurrent invoice payments.
2022-04-15 17:04:17 -07:00
fae1f1317e
Fix TG retry welcome bug
2022-03-26 08:23:34 -07:00
a36f23b572
Add maker selects public duration
2022-03-18 14:21:13 -07:00
8001e148d7
Fix copy not loading. Send publish message only one
2022-03-11 07:40:04 -08:00
3d130129f1
Dispute amount are claimable via UI. Fix FSE does not expire.
2022-03-09 06:13:53 -08:00
b70679a7b7
Hot fix telegram watcher. No message in results
2022-03-01 05:56:37 -08:00
b9b71dc842
Fixes for telegra messaing errors in production
2022-02-21 18:12:42 -08:00
d018aeec0a
Fix no text provided
2022-02-21 17:50:32 -08:00
d146f522f3
Add frontend enable telegram button. Torify all requests.
2022-02-21 16:50:25 -08:00
df320ea4d0
Add telegram functionality to backend. Messages: welcome and order taken.
2022-02-21 15:41:36 -08:00
9025b2e07d
Fix clean-orders failure when trade_escrow has not been generated
2022-02-20 06:38:29 -08:00