- Set second test bitcoin node RPC port to 18545 (i/o 18544) to avoid P2P port conflict with first node
- Add missing "elm" mark to test_node_controller.py::test_node_running_elements
Signed-off-by: Simon Castano <roshii@riseup.net>
Co-authored-by: k9ert <k9ert@gmx.de>
This PR fixes#2312 which are four things:
* getaddressinfo was not implemented in spectrum which results in "method not found"
* There was an unrelated KeyError which occured in Transactions where one the output was a change-address. It's a bit unknown why that hasn't occured earlier. At least it was diffcult to spot as the fetch_transactions call was way to huge and very confusing. So ...
* the fetch_transactions call was refactored in its own class, TxFetcher. As we did that, we also moved two other related files in a newly created wallet-package.
* Tiny bug around tx["amount"] which only exists as tx["flow_amount"] for transactions.
* having a very limites spectrum wallet-backend-admin tool
* remove renumbering of wallets
* enriched alias function
* add wallets_aliases property to wallet manager
* use alias when checking names at wallets endpoint
* get rid of scary "ERROR" in base.jinja
* change title for input field for creating a new wallet
* strip leading and trailing whitespaces in alias()
* pytest added
* fix pytests
* Moving Wallet Link to settings
* a bit of styling
---------
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
A feature for a notification system has been added, including websockets and SSL support, improved error handling, and better logging. There have been various bug fixes, refactoring, and documentation updates throughout the process. The feature is now complete and includes new functionality for managing and displaying notifications, as well as testing and debugging tools.m>
Co-authored-by: relativisticelectron <60378539+relativisticelectron@users.noreply.github.com>
* adding fullpath fixes spectrum issue 13
* Add Spectrum node delte capability
* refactor and enable get_subclass_for_clazz for all classes
* get rid of DeviceTypes references part 1
* get rid of DeviceTypes references part 2
* add check for device-type when changing device_type
* added return type hint
* remove fatal logging
* Change flash message
* Disable setting unsupported device typ in UI
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
Co-authored-by: moneymanolis <moneymanolis@protonmail.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>
* 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)
* fix test results, property device_manager in user, bcce in get_rpc in node, improved rpc property in node
* fix at least one test
* fix for rest test
* doc string for _get_rpc
* fix for node test
* marked test as slow in wallet managers test
* safety checks in node controller
* fix last test, revert deletion of raising exception
Co-authored-by: Kim Neunert <k9ert@gmx.de>
* remove unused params for update-method
* wallets_update_list shouldn't be an attribute
* param, docs and error_handling
* docs and propertize failed_wallets and error_management
* keep storing all wallets in wallet_manager
* adding first draft of a session-test
* updating cypress
* refine spec_mustiuser
* deactivate cypress-test
* changes in doc string of _update
* proper description
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
Co-authored-by: Manolis <70536101+moneymanolis@users.noreply.github.com>
* Added tests/bitcoin to gitignore
* Ensure locked UTXO can't be used for transactions, fix rounding error in coin selection, fix styling/text in general settings.
* overhaul of checkbox logic in utxolist including mouseover event for checkboxes, manage psbt button action added, icon info popups added,design changes in utxo- and txlist to make the display quieter
* change of balance display, scrollbars for main and tx table, bugfixes (pagination, coin selection, unsigned labeling) & some styling finetuning
* deleted locked utxo balance calculations, added doc strings regarding balances
* jinja comment added in tx table, making scrollbar less vivid, tx table settings changed to no compact view toggle and scrollbar on by default
* more granular amount properties, little test fix.
* applying new amount properties to the frontend and other parts of the code & improving balance display design
* refactored a_simple_wallet to be only used in test_rest once
* tests for amounts and test performance optimisations.
* fix spec_node_configured
* fix spec_wallet_send.js
* fix spec_wallet_utxo.js
* keep action teaser div hidden on wallets overview.
* minor bug fix in tx-table, added includeShadowDom to cypress.json, adapted spec_wallet_utxo.js to new utxo list logic and added tests of new functionality to it.
* fix spec_plugins.js and switch back to includeShadowDom false
The problem with true is, that you are no longer able to spot
when you need to apply the workaround described in
https://docs.cypress.io/api/commands/shadow#Known-Issue
as you only need to apply in a shadow-DOM.
Feel free to switch it back in any test you see fit.
Cypress.config('includeShadowDom',true)
* better organisation of wallet utxo spec file
* some wait-tweaks to cypress tests to make them run smoother on cirrus, note: cypress tests green in local dev.
* longer wait in spec_elm_multi_segwit_wallet.js
* fixing spec_elm_multi_segwit_wallet.js
* more checks whether checkboxes get selected and additional waits for cirrus in spec_wallet_utxo.js.
Co-authored-by: Kim Neunert <k9ert@gmx.de>