Commit graph

28 commits

Author SHA1 Message Date
k9ert
fdd1cd8f3c
ci: retire Cirrus + GitLab, consolidate on GitHub Actions (#2610)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 18:32:29 +02:00
k9ert
a24df2eb50
ci: add GHA test workflow + GPG-verify bitcoind/elementsd downloads (#2606)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-17 20:50:12 +02:00
k9ert
3e277689ef
ci: upgrade Node.js 12→18, migrate CI images to GHCR (#2602)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:06:26 +02:00
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
k9ert
1df72dc56f
Chore: Remove necessity of apt-get update in cypress build (#2177)
Co-authored-by: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com>
2023-02-13 12:41:20 +01:00
k9ert
eb7f094626
Chore: port uiux/fixes/release_process to master (#2114)
* upgrading python and electron/-builder

* python on top of focal based electron-builder #2118

* adding necessary python build dependencies
2023-02-03 13:37:40 +01:00
relativisticelectron
a8f1b808ee
Chore: Upgrade to python 3.10 (#1688)
* 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>
2022-09-13 10:44:49 +02:00
relativisticelectron
a82eddfe7f
UIUX: Easier adding and deleting of recipients (#1782)
* Using a new web component for recipients

Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
2022-08-02 09:15:32 +02:00
Kim Neunert
8fef82d8f4
Chore: upgrade cypress to 9.5.4 part2 (#1676)
* upgrade cypress to 9.5.4

* fix cache

* fix relative path

* update docker-image reference, reverse cache change
2022-04-26 10:27:46 +02:00
Kim Neunert
cb8968b5fb
Chore: Ci improvements (#103) (#1403)
* Ci improvements (#103)

* pin bitcoin to new v0.21.1 tag

* fix binary installation

* for binary install, pytest.ini is the file to use

* kick

* adjusted Dockerfile to have at least wget to download artifacts

* investigate test_hwibridge timing out

* restest with v0.20.1

* implements timeout, hope that was reason to hang

* remove livelogging again

* fix hanging test

* Enable bitcoind-log-output on demand

* Timeouts now raising SpecterErrors

* catch a bit more generic Exception

* increase timeout

* fix abandontx test

* simplified code

* increase timeout

* increased timeout also for pytest

* separate timeouts for liquid/bitcoin

* forget checkin

* increase timeout for bitcoin as well

* bugfix: node specific timeouts

* increase timeout for elm hotwallet

* Now timeouts for all occurences of broadcasting

* global vars done right

* Yet another ReadTimeoutError to take account for

* fix assertion

* fix not-defined issue

* proper status_code checking instead of error_code

* increase wait-time

* increase btc:mine wait to 15 s

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>

* rollback to v0.20.1

* rollback - it is a src-install, stupid

* mixed up bitcoin and elements

* forgot to fix reference

* rollback test_abandon_purged_tx

* increase timeout to 30 s

* increase Liquid on cypress to 40s

Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-09-19 22:33:13 +02:00
Kim Neunert
3a845b38b4
Bugfix: CI failure because of missing wget dependency (#1375)
* proper failure if binary not existing

* include wget

* include wget in runtime adding

* check binary prerequisites

* echo calculated version

* node_impl bugfix

* part 2

* gitignore
2021-09-01 14:25:30 +02:00
Kim Neunert
ed5d2ab756
Chore: Automatic Testing and Documentation for Liquid (#1286)
* pin to newer version

* kick

* rename script and check prerequisites

* fail early and Dockerfile

* reduce threads again

* fix packages (not yet in DOCKERFILE)

* debug-log failed rpc-calls

* make funds available and fix address

* fix test

* fix test ... now explicitely ask to not confirm

* complete send test

* test single and multisig elem wallets

* testing also nested singlesig

* updates

* complete and fix multisig-tests

* fix tests

* ensure conn.json

* elements log in cirrus

* increase wait time for elements mining

* remove elm-log-stdout again

* start documenting

* increase timeout for last send

* log exception

* doc update

* small changes

* refactor Mining Testcode

* move images to dedicated folder

Co-authored-by: benk10 <ben.kaufman10@gmail.com>
2021-08-03 14:52:18 +02:00
Kim Neunert
e10cea0456
Feature: Api framework (#1232)
* Included API end points

Included 3 API end points:

###/api/specter ["GET"]
Basic Specter info from app.specter class

###/api/full_txlist/ ["GET"]
Full Transaction list for all wallets

###"/api/wallet_info/<wallet_alias>/ ["GET"]
More detailed wallet info and transactions from the app.specter.wallet_manager class

* Update src/cryptoadvance/specter/controller.py

Include `wallet.check_unused()`

Co-authored-by: benk10 <ben.kaufman10@gmail.com>

* API Update

Made a few changes:
- Flattened the wallet list to be similar to full transaction list
- included versioning on url `/v1alpha/`
- Included `wallet.utxo` data
- Improved `safe_serialize` for better json output

Pending Updates:
- Create a separate file for API (as a blueprint)
- Explore using Flask-restful for improved authentication (downside is that it is another dependency - not sure if already a requirement for specter)

* adding a rest-api

* Implemented API end points inside of example.py

* Merging with remote

* Fixed API.md

* Removing example-resources

* migrating to focal due to cryptography needs newer pip

* fix the image

* black and tidy up

* Deleted more useless stuff

* first take for psbt (still broken)

* get tests to work

* fix devices_signed undefined

* fix part2

* fix part 3

* fix part 4

* Rest Get-Requests for psbt working

* fix part 5

* extending psbt_creator with json format

* tests finished. bitcoind_regtest changed to scope session

* speed up tests

* fix tests

* tiny test for LiquidRpc, probes improvements

* try fixing testing-infra

* kick

* finally fix infra, hopefully

* removing assertion

* refactoring and fixing API

* fix the rest-tests

* fix last liquid failing test

* polishing: error_handling via decorator

* split-up docs

* fix requirements.in

* polishing REST-API

* optimize startup for internal_nodes

* Update src/cryptoadvance/specter/internal_node.py

Co-authored-by: benk10 <ben.kaufman10@gmail.com>

Co-authored-by: Alpha Zeta <40473443+pxsocs@users.noreply.github.com>
Co-authored-by: benk10 <ben.kaufman10@gmail.com>
Co-authored-by: Alpha Zeta <alphazeta@protonmail.com>
Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2021-07-08 13:10:14 -05:00
Kim Neunert
7418c5cf32
release_notes for 1.5.0 (#1256)
* release_notes for 1.5.0

* fix rgitlab-release-process

* fix release-script for gitlab (part2)
2021-06-28 14:01:42 -05:00
benk10
19d940dd04
Merge in Liquid branch (#1174) 2021-05-20 18:26:10 +03:00
benk10
05115660e1
Refactor setup wizard (#1120)
* Refactor setup wizard

* Add cypress tests for setup of bitcoind and tor

* Remove old setup wizard UI

* Update spec_setup_wizard.js

* Update spec_setup_wizard.js

* Update .cirrus.yml

* Update .cirrus.yml

* Update .cirrus.yml

* Update .cirrus.yml

* fix libevent-2.1.so.7: cannot open shared object file

* hack in Dockerfile and screenshots/videos

* Update spec_setup_tor.js

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update setup.py

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update src/cryptoadvance/specter/server_endpoints/setup.py

Co-authored-by: Kim Neunert <kneunert@gmail.com>

* Update setup.py

* Delete data folder if existing

* Stage management and bug fixes

* Fix test

* Update spec_setup_wizard.js

Co-authored-by: k9ert <k9ert@gmx.de>
Co-authored-by: Kim Neunert <kneunert@gmail.com>
2021-04-23 23:08:58 +02:00
Kim Neunert
149b420e2e
Replace Travis with Cirrus
* initial cirrus config

* cirrus

* f*ck caching

* images and deleting travis

* check

* bugfix weird ci-issue (directory exists)

* kick

* revert

* kick

* fix

Co-authored-by: benk10 <ben.kaufman10@gmail.com>
2021-04-15 11:04:47 +02:00
@RandyMcMillan
621cfe0302
docker docs: fix up Readme.md files (#792)
* docs: fix up changelog Readme.md

* docs: fixup electron-builder README.md

* docs: fixup python-bitcoind Readme.md
2020-12-24 08:07:26 +02:00
Kim Neunert
8f1ba50499
Dependencies (#687)
* Bump docker from 4.1.0 to 4.3.1

Bumps [docker](https://github.com/docker/docker-py) from 4.1.0 to 4.3.1.
- [Release notes](https://github.com/docker/docker-py/releases)
- [Commits](https://github.com/docker/docker-py/compare/4.1.0...4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump pytest from 5.2.2 to 6.1.2

Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.2 to 6.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump requests from 2.23.0 to 2.25.0

Bumps [requests](https://github.com/psf/requests) from 2.23.0 to 2.25.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.23.0...v2.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Migrate to Bitcoind v0.20.1

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-26 20:25:21 +01:00
Kim Neunert
aa9d2d7590
release-script (#594)
* release-script

* make it more explicit

* reshuffle and some params

* refactoring to separate workflows
2020-11-17 11:52:00 +01:00
Kim Neunert
e05068f91a
changed python version on electron builder (#573)
Bugfix: python version fix on electron build-node
2020-11-02 20:39:45 +01:00
Kim Neunert
8623688d65
Preparation of release ... Update release-notes.md (#507)
* Update release-notes.md

* added dockerfile for changelog and updated release-notes

* Update release-notes.md

* Update release-notes.md

Co-authored-by: benk10 <ben.kaufman10@gmail.com>
2020-11-02 12:02:17 +02:00
benk10
9a25cd4dd5 Fix docker 2020-10-26 18:22:23 +02:00
benk10
7fca3333e9
Use Electron for desktop app (#473)
* Add codesigning for macos app

* Add dock icon and fix fullscreen on mac

* Revert "Add dock icon and fix fullscreen on mac"

This reverts commit 7598cab644.

* Use electron for mac

* Download from GH, splash screen

* fixes

* Fix reopening after closing window

* Screen based default size

* Fix quit issue

* Fix camera access

* Add file hash verification

* Add auto generate of hash for macos release

* Only download for mac

* Preferencs and HWIBriidge mode

* Bugfixes

* Fix certificate errors

* Windows support

* Add tor support

* set version js script

* Fix windows release script

* Update docs and delete old app

* Update main.js

* Add error handling

* update unix build

* update windows binary

* Update build-osx.sh

* Update .gitlab-ci.yml

* delete accidental import

* switch to electron-builder

* kick

* kick

* kick

* kick

* remove docker info thing

* pip -> pip3

* fix pip again

* disable snap

* fix

* remove specterd-binaries (and hotwallet . typo), fix build

* test windows build

* Bugfix: move update_pending_psbt into try/except block

* Add specterd specific settings

* Show tor URL in HWIBridge mode (if --tor specified)

* Finish CI

* Build specterd only windows ci

Co-authored-by: Kim Neunert <k9ert@gmx.de>
Co-authored-by: Stepan Snigirev <snigirev.stepan@gmail.com>
2020-10-26 12:10:13 +01:00
Kim Neunert
24677b5255
Fixing the linux-binary-build (#396) 2020-09-18 10:02:48 +02:00
Kim Neunert
903d804462
proper pinning of bitcoind-version in different branches 2020-06-14 14:16:35 +02:00
Kim Neunert
efab27450f finishing the gitlab integration 2019-12-09 11:43:33 +01:00
Kim Neunert
9e7c08816b gitlab integration 2019-12-05 17:42:15 +01:00