This PR brings the ability of having your own callbacks for extensions, depending on other extensions and callbacks now have a return_style either collect (default) or middleware
* Bugfix: Make ViewModels to work for more than 1 ext
* same fix for WeclomeVM
* Don't use Exception but SpecterInternalException
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.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>
* 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>
* upgrade hwi to 2.1.1 to fix#1840
* comment on pip-compile in developments.md
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* changed class name
* Working requirements.in
* Reordered lines to see changes better
* Working minimal upgrades
* Added hashes
* - Upgraded python to 3.10 and bitcoin to v23.0
- Added libzmq to build process, to enable future use cases such as https://github.com/cryptoadvance/specter-desktop/issues/778
- added --without-gui to remove configure warning that gui will not be built.
* Added line-break
* - Updated the embit version to 0.4.13
- pushed python-bitcoind image
* - Build registry.gitlab.com/c8527/specter/cirrus-jammy:20220504
- updated docker references
* - added cypress-base-ubuntu-jammy
* - added cypress-python
* - fixed unchanged registry path
* Fixed wrong path
* readme change
* Fixed path
* Changed github-changelog
* changes registrar links
* Fixed bitcoin version
* Set reset bitcoin version to 22
* Set bitcoin version to 22.0
* Fixed black issue via https://github.com/psf/black/issues/2964#issuecomment-1080974737
* Revert for changelog
* Upgraded pytest because otherwise I get the error https://github.com/pytest-dev/pytest/discussions/9195
* Added temporary fix for upgraded hwi version. Should be fixed in https://github.com/cryptoadvance/specter-desktop/pull/1693
* more verbosity for page generation
* doc about python 3.10
* docs: update TOC
* yet another library necessary
* black
* Corrected tag
* Fixed wrong python version introduced in the merge commit
* Use same babel version across requirements and test_requirements
* Created the reuqirements.txt with python 3.8 such, that that netlify can create the python docs in python 3.8, while everything elese works also with python 3.10
* testing https://peps.python.org/pep-0508/#environment-markers
* CHanged just the txt
* Added comments
* electron docker build successful
* rename image to cypress-python:v9.7.0
* doc
* docker file rename
* fix pyinstaller pip error by changing requirements.in
* reference jammy electron dockerfile
See https://github.com/electron-userland/electron-builder/pull/6922#issuecomment-1234420845
* updated all references to dockerimages
* fix release-build
* fix the image-version to something else than latest. pin all the stuff!
* revert to old image to avoid glibc issues
Co-authored-by: Kim Neunert <k9ert@gmx.de>
Co-authored-by: k9ert <k9ert@users.noreply.github.com>
* Small correction to the virtualenv arg for setting the Python version
* python version updated
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* namespaces not workng
* working
* working, but no json yet
* access disabled by default
* json output works
* better error message
* added quick dir lookup
* vars json return works
* dir and vars
* allow exec
* cleanup and warning
* typo
* better warning
* fix pytest
* rename and cleanup
* run_script works now
* cleanup
* pytest fix
* added comments for regtest restriction
* added additional is_admin check
* renamed file
* possibility to inject any template (js code) into base.jinja from the extension
* moved endpoint to ext
* moved the console to service
* added config in extension
* disabled the allowed_chains check again
* added help text in console
* add flask and flask_login to the console
* Adding Console to devhelper
* Adding documentation and improving the hooks
* black
Co-authored-by: Kim Neunert <k9ert@gmx.de>
* Upgrade pyinstaller from 4.9 to 5.2
* adjust pefile to satify pyinstaller dependency
* note about MacOS in build-instructions.md
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* Docs: some doc fixes, refactorings and ext clarification
* Further fixes and recovering search
* Only main heading has one # so that navigation works
* remove about
* docs: update TOC
* Adjust release-notes script
* remove authors plugin properly
* corrections & simplifications
* cli_text.py updated
* architecture.md edited
* extensions and some small fixes
* docs: update TOC
Co-authored-by: k9ert <k9ert@users.noreply.github.com>
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
* Making more than one Blueprint possible
* making many blueprints backwards compatible with one, reactivating all extension in the config
* bugfixes for hasty commit should fix testspyte
* fix tests and backwards-comp
* docs
* bugfix
* default blueprint anhd better error feedback
* documentation
* Added pictures
* Added text
* wrote more in the guide
* Added links to vendors websites
* Added more links
* Added fingerprints in fig
* added links ot other guides
* Improved arrows
* Added links
* Better sub-bullets
* Changed the Testing part
* typos
* Chore: Adjusted releasing process and adding liquidissuer (#1716)
* refactor build-linux to avoid build-ci.sh
* adding set_setup_py_version to release_helper
* yet another tiny release-helper
* adjusted for win-compatibility
* fix windows build again
* fix directory-change
* part2
* kick
* kick
* kick
* kick
* dependencie for ./utils
* revert before_script
* unix, not linux
* fix buildscript
* restore version.txt
* fix
* fex exe
* bugfix: not exiting directory
* kick
* kick
* kick
* adding liquidissuer
* docstrings
* fix upload locations
* some docs
* ommit external exts in DevelopmentConfig
* simplifying startup for external exts
* macos improvements
* Merge branch 'master' of github.com:cryptoadvance/specter-desktop into liquidissuer
* last build-script adjustements
* fixed params gain
* reapply lost sys changes
* upgrade liquidissuer
* remove unnecessary print statement.
* remove unnecessary EXTENSION_LIST reduction in Development
* Bugfix: disable gunicorn for windows
* fix version.py
* black
* fix build
* last fixes for the macos-script
* Update src/cryptoadvance/specter/util/reflection.py
* Better formatting for cli
* a bit of reformating for cli_ext
* ignoring elements test
* skip test
* fix link to specterext-dice
* Removed link
* Added point about fewer devices
added more details
* Improved link
* Added seed plate comparision link
* Changed list character
* Added link in frint-end
* - changed text to multisig guide
- Replaced FAQ link by a link to the docs
* Added second link to multisig guide.
* Added video plugin to mkdocs
* Added requirement mkdocs-video
* Added mkdocs-video in the script
* reset requirements
* solved https://github.com/cryptoadvance/specter-desktop/issues/1736
* Added link in Readme
* changed video link
* Fixed sublist identation
* Changed video guide text
* Explained fingerprint
* Improved registering multisig setup
* Add picture about registering
* updated pic
* Merged the table from the tradeoff.md into the guide
* typo fix
* Fixed link
* Replaced https://deploy-preview-1731--specter-desktop-docs.netlify.app by https://specter-desktop-docs.netlify.app
Co-authored-by: Kim Neunert <k9ert@gmx.de>