* Chore: generic better error_handling for API calls
* pricebar and toggle_privacy
* fetchAddressData
* Remove anoying log-msg
* fix cypress test (hopefully)
* remove unnecessary code
* return response in send_request if it is error msg
* tx-table adapted with send_request
* variable declarations of api responses
* account for booleans as response values
* typo in rpc error handler
* try catch block in send_request added & type checking fixes
* tests for errorhandling
* use Headers()
* check for null not undefined
* remove log flodding and always returning an object
* fix tests
* Improved exception handling
* specify better Types for Exception
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* device based approach + prop in specter
* Revert "device based approach + prop in specter"
This reverts commit af5d6f9fdb.
* add filter ability for nodes to reject Devices
* avoid double negation and adapt front end
* also check in new_device_type for unwanted devices
* fixes
* enable both device and device_types
* better naming
* renaming
* release test asserts
* more explicit tool-tip text for not supported device by node
Co-authored-by: Kim Neunert <k9ert@gmx.de>
* cleanup:(transactions) remove arrows and clickable headers while sorting functionality is broken in transactions table
* remove arrow for time column
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* fix data-loading code for pyinstaller binary
* more info at buildtime
* more info
* bugfix: str used wrong
* black
Co-authored-by: k9ert <kim@swanbitcoin.com>
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
* missing __init__.py
* Add Device modules to hidden imports
* make cli-arguments work in electron
* Bugfix devices not shown
* additional checks for wallet_import
* nodes template magic to improve extensibility
* smaller bugfixes
* copying the request_context for wallet_manager update method and no threading for tests
Co-authored-by: k9ert <kim@swanbitcoin.com>
* if enough addresses reserved return an empty list + tests
* client test fixed + test for reserve_addresses for swan service
* ignore_cleanup_errors=True + dev doc updated
* fix select of threshold in settings
* test for set_autowithdrawal_settings
* fix test
Co-authored-by: k9ert <kim@swanbitcoin.com>
* change Node persistence format
* Removing the Singleton
* mainly refactoring
* intermediate commit
* fix test
* Updated diagram
* fix tests
* removing simplejsons references
* fix tests
* remove update, tests working
* abstract Node
* refining Migration framework: run migrations until they suceed
* BrokenCoreConnectionException added to handle lost RPC + some minor error handling fixes
* clicking redirects to node config if there is no node connection
* AbstractNode
* BrokenCoreConnectionException added to handle lost RPC + some minor error handling fixes
* clicking redirects to node config if there is no node connection
* handling broken connection when there is no other error superseding (i.e. no wallets)
* Abstract Node improvements and issue fixing
* improving node_info handling
* fix test results, property device_manager in user, bcce in get_rpc in node, improved rpc property in node
* typos
* provide data_folders for extensions
* parametrizing include for node_info
* Remove initial_node_contribution refactoring welcome
* adding convenience methods
* extension data-storage
* Tests green
* Better failure resistence
* Enabling Node settings
* error handling
* adjust_view_model callback
* exception Handling
* Shielding core from extension flaws
* More consistent logging
* Refactoring wallets endpoints
* Make wallet_overview extendable
* butgifex and cleanup
* feedback by Manolis
* rename BusinessObject to PersistentObject
* fix Error-management and rollback information
* Nodes.md corrections
* frontend-aspects.md (small) corrections
* fix tests and address feedback and errormanagement
* fix tests, proper error-handling
* Fix test_util_reflection
* just some little addons to test_util_reflection
* fix cleanup_on_exit
* migration fix
* remove check, add redirect after saving node
* fix test (not that cool but what to do?)
* upgrade Flask as Flask-SQLAlchemy needs higher Flask version
* Revert "upgrade Flask as Flask-SQLAlchemy needs higher Flask version"
This reverts commit bf24120f89.
* update bug fixed + node manager added to node test
* cleanup external_node
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* Removing the Singleton
* Updated diagram
* fix tests
* removing simplejsons references
* adding tests for encrypted Storages
* working that only the encrypted data is removed
# Conflicts:
# src/cryptoadvance/specter/managers/service_manager.py
# src/cryptoadvance/specter/services/service.py
# src/cryptoadvance/specter/services/swan/service.py
# tests/test_services.py
* remove classmethod
* Revert "remove classmethod"
This reverts commit 7b1859d3f6.
* better unlink text
* adding check that the correct services are removed from the users
Co-authored-by: Kim Neunert <k9ert@gmx.de>
* Adding tarfile member sanitization to extractall()
* black and comment
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
Co-authored-by: k9ert <k9ert@gmx.de>
* Added jwt auth
* Added get and delete request, also added jwt functions
* Added proper naming conventions and status codes
* Added hashmap for storing key-value pair of jwt tokens
* Updated nomenclature and added descriptions to the Resources
* Implemented nested hashmap of jwt tokens
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
* Added jwt token verification which can be used inplace of basic password verification
* Implemented token expiration check
* Added time parser for converting different units to seconds
* Changed parsing method
* Adding seperate token resource instead of secure resource
* Fixed test-rest.py and added token auth to AdminResource
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
* Added new tests for jwt endpoints
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
* Added documentation for jwt_endpoints
* Added curl and python usage
* reduce differences to master for requirements.txt
* refined API Documentation
* typo
* typos
* fix test
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
Co-authored-by: Kim Neunert <k9ert@gmx.de>