* 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