* 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
* 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>
* Add advanced options to LN payout form
* Complete amount calcs
* Temporary working solution for lnproxy web only (uses text instead of json)
* Update LNpayment model and logics to use user's routing budget
* Add handle lnproxyserver networks (i2p, tor, clearnet) / (mainnet,testnet)
* Small fixes
* 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
* Add /api/chat route and GET method
* Add message POST method
* Wrap /api/chat GET in /api/order GET
* Add send channel message on POST request
* Fix OAS schema bug
* Add initial api docs using drf-spectacular
This commit adds the inital and basic docs using drf-spectacular.
It also adds some serializers to be used for automatically
generating response objects by drf-spectacular
* Update api docs with correct request and response objects
- TODO: /order route
* Fix typo in api docs
* Separate OpenAPI schemas into it's own file
* Update drf-spectacular and add API intro and logo
* Update API docs for GET /order
* Add api docs for POST /order route
* Update serializers.py
* Fix logic of checking whether non-participants can view order details
* Fix for no participants to not get lengthy responses on public orders
Co-authored-by: Reckless_Satoshi <reckless.satoshi@protonmail.com>
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
* 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
if no parameters are passed to `/api/book` then just return
orders of ALL currency of ANY type.
Currently, if no query parameters are passed, then the API returns
500 status code
* Add stealth invoice switch to profile
* Add stealth invoice including only order uuid
* Add explanatory tooltip for stealth invoices and fix code smells
* Removed coinaddrvalidator dependency
* Return generic "Ivalid address" error message instead of the error returned by bitcoind when validating an address
* Modified messages related to bitcoin addresses validation
* Added params to connect to bitcoin core daemon. Needed by api.utils.validate_onchain_address()
* Fixes issue#194
* Modified BITCOIND_RPCUSER and BITCOIND_RPCPASSWORD to default development environment
* Modified BITCOIND_RPCURL port number to default development environment