22 Commits

Author SHA1 Message Date
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +00:00
c32c07eaa6 Python files style cleanup (#281)
* Remove unused imports in python files

* Add black and isort dependencies

Also added pyproject.toml for isort config, but later can be used to
configure various other python tools

* Add flake8 in requirements.txt

* Add py-linter workflow
2022-10-20 09:55:24 +00:00
1ba94b2abc Add Telegram notifications for order takers (#244)
* Create EnableTelegramDialog functional component

* Move Enable TG button to Profile dialog

* Add TG bot_name, token and state to API /info/

* Add messages for order takers to Telegram class
2022-09-15 15:42:33 +00:00
5281176e3c Add use_tor boolean to envvars 2022-08-08 08:58:06 -07:00
70fe9d6dcb Update messages.py (#167) 2022-06-22 13:09:41 +00:00
20432dfce1 Add nickmane on every TG message 2022-06-20 13:31:28 -07:00
fe2b3918f1 Update messages.py 2022-06-06 02:09:06 +02:00
8663fb3423 Add TG messages for dispute open and collaborative cancellation 2022-06-02 15:32:01 -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
806a56c7f9 Remodel price endpoint to only return latest markettick 2022-03-12 06:55:29 -08:00
6373957774 Telegram notification only when taker bond is locked 2022-03-11 07:24:39 -08:00
8ca497f7b4 Fix some TG messages do not arrive 2022-03-01 13:34:25 -08:00
4d2cf584eb Fix message the order is public for avatars that are re-used 2022-03-01 05:38:04 -08:00
67a108e0ac Fix bugs, second dispute statement is awaited. 2022-02-24 13:59:16 -08:00
aa1994b1f1 Fix bug for multiple order maker telegram enabling. Add TG to admin panel. 2022-02-24 05:01:17 -08:00
30e35f8973 Asynchronous TG messages. Add taker_cancelled and taker_expired messages. 2022-02-23 08:15:48 -08:00
a9575c2338 Add order_expired and trade_successful telegram messages 2022-02-22 09:50:01 -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
3906ed73aa Fix non enabled telegram order taken 2022-02-21 16:55:31 -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