Commit graph

6 commits

Author SHA1 Message Date
k9ert
ef364ce1bc
Chore: refurbish release infrastructure (#2198)
* change release infra

* syntax error

* fix buildscript (hopefully)

* fix pip generation too

* fix build (hopefully)

* fix bloated sdid (mainly MANIFEST.in)

* adjust tests, remove importlib_meta

* fix dependency issue in release jobs

* fix tests and remove pytest.ini entirely

* fix install_noded script

* fix test

* fix tests

* stupid versioin parsing does not work!

* try to fix version guessing

* and again
2023-02-15 14:58:33 +01:00
Kim Neunert
51be7f122a
Chore: Build Script improvements (#1612)
* some build-improvements

* build-script improvements part2

* revert unintended changes

* refactor build-scripts

* MacOS specific changes
2022-03-21 11:21:36 +01:00
Kim Neunert
e2ad1eaea1
Bugfix: Very last fixes for Service swan (#1537)
* Feature: Voltoro trading first commit

* fix create_order issue

* fix url and better error-handling

* basic balances tab

* Add deposit vaultoro page

* activating services

* Service management

* Improve settings page and default to it if token unset

* Fix history tab

* Fix trade error handling

* Add withdraw

* calling specter-cloud for creating vaultoro orders

* Improve trade screen and fixes

* sidebar fix

* black

* refactor Service integration

* refactor to have Service Classes like manifests

* maturity

* dynamic initialisation of service-classes and blueprints

* fix sidebar_services

* migrated templates and static into vaultoro folder

* refactor config to manifest

* some minor things

* swan initial

* rename and fix test

* adding ServiceApiKeyStorageUserAware

* fix

* store the access token

* directory indirection to shield templates from each others blueprint

* first attempts with automatic withdrawals

* proper tab highlighting

* Interim commit

* Update service_apikey_storage.py

* Update oauth2_success.jinja

* Awaiting refresh_token support

* Service logo display on Addresses

* Associate addr with a Service

* address-data component reorg

Separates the presentation html from the data as much as possible.

* Services data/icon added to tx History

* Now hitting the updated Swan endpoint to save deposit addrs

* Simplified injecting Services data into JS

* Reducing js calls back to server in tx-data; templatizing utxo in/outs

* renaming "reserving" to "associating" an Address with a Service.
* rename `manifest.py` files to `service.py`.
* rename "api_data" to "service_data" to make the storage a bit more generalized. `ServiceApiKeyStorage` is now `ServiceEncryptedStorage` to match.
* Beginning of factoring out Swan api to its own `api.py` file; need to rectify with `swan_client.py`.

* interim commit

* Removed tx-table/row/data changes and address-table/row/data

Kept only the bare minimum changes required to display the Services icon, plus optimizations.

* interim commit

* Interim commit

* Cleanup commit

* Update controller.py

* Update services.md

* Update services.md

* deleted no longer used CustomElement

* Adding services docs to mkdocs

* Configuration for Services

* more clever configuration

* fix test

* deleted swan_client

* Changing the address abbreviation format to 7...7 and little big fix for not vertically aligned addresses in Firefox.

* Better state management if Auth method changes

* Cleanup, better user messaging; pulling Service methods out of controller and User

* Redirect to services endpoint after setting up authentication.

* PR cleanup, bug fixes, test suite updates

* Fixed test case problem

* First fix for delete API key button.

* Service hooks; Option to fully remove Swan Integration; Logout clears plaintext_user_secret

* Restoring bugfix from @moneymanolis

* black

* cleanup and black

* Make service-decovery in AppImage work

* import hashlib, maybe fix cypress

* Update service_encrypted_storage.py

* further bugfix on update

* TODO: remove debugging in client.py before first release

* testing env setup markdown

* make service-list more resilient

* tiny bit more logging in case of issues.

* Swan api firewall fix

* Restoring lost services-related code in wallets_api.py; bugfix on service_data mismatch

* Bugfix on updated completed autowithdrawal addr labels

* publish markdown on doc-page

* Still awaiting final Swan prod tests

* move ServiceManager outside Specter.__init__()

* Update config.py

* Applying Kim's prop patch

* Disabling extension loading from cwd in prod

* build-script adjustments for clarity and right order

* More comprehensive input validation for the rate limit in the auth settings.

* monkey patch rthooks for a successfull MacOS-build

* fix build-ci.sh

* Refactor service_manager and templates where they belong to

* Swan - different fronend-links links for dev/prod

* include templates and services in sdist

* implement dynamic loading but from list in config

* No dynamic cwd services in appimages

* tidy up

Co-authored-by: benk10 <ben.kaufman10@gmail.com>
Co-authored-by: kdmukai <kdmukai@gmail.com>
Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
2022-01-26 22:11:26 +01:00
Kim Neunert
752e3a55ee
Bugfix: fixes #1357 as pip3 installation of tar.gz-package was broken (#1374)
* adding po-files to tar.gz-package

* explanation for tar.gz-based pip installation
2021-09-14 16:12:17 +02:00
Kim Neunert
130a68242a
removing blobs and adjusting automations (#1299)
* removing blobs and adjusting automations

* .gitignore

* clearing upo .gitignore

* including in build-folder (fix setup.py) and in bdist-packages (MANIFEST.in)

* remove print

Co-authored-by: benk10 <ben.kaufman10@gmail.com>
2021-07-15 12:09:18 -05:00
Kim Neunert
556ec5f961
Releasing procedure with pip (#69)
* automate pip-packages-gen + upload for gittags
release documentation
proper package including and  static + templates

* Change import- and start  logic, removed cli.py

* project-renaming to cryptoadvance.specter
propoer packaging
include proper dependencies

* Adding requirements.txt

* Specify maintainers and thanks to contributors

* Removing test-url for pip-uload. This is now live!
2020-02-20 13:00:53 +01:00