From 27e46f6f265f994a23d899e79eaf81cdf046593a Mon Sep 17 00:00:00 2001 From: Kim Neunert Date: Thu, 2 Jun 2022 17:45:46 +0200 Subject: [PATCH 1/6] Release-notes for v1.10.1 --- docs/release-notes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index fcc7aebb8f..26e3597f47 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,11 @@ +## v1.10.1 Juni 02, 2022 +- Feature: Basic auth in electron #1730 (djpnewton) +- Feature: Multisig beginner guide #1731 (relativisticelectron) +- Bugfix: Corrected build instructions and made virtuelenv name dynamic #1735 (relativisticelectron) +- Bugfix: issues while using specter as library #1740 (k9ert) +- Bugfix: PDF backup does not open for multisig #1741 (k9ert) +- UIUX: fix typo in error_logs #1739 (Bufo) + ## v1.10.0 Mai 27, 2022 - Feature: adding has_service() method to user #1732 (Kim Neunert) - Feature: Choose file button for labels import #1682 (Manolis) From 7ab14f2e217b907cb0382fce79a23bfbb021bf3b Mon Sep 17 00:00:00 2001 From: Kim Neunert Date: Fri, 3 Jun 2022 10:08:55 +0200 Subject: [PATCH 2/6] corrected release-notes --- docs/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 26e3597f47..a710622455 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,4 +1,4 @@ -## v1.10.1 Juni 02, 2022 +## v1.10.2 Juni 03, 2022 - Feature: Basic auth in electron #1730 (djpnewton) - Feature: Multisig beginner guide #1731 (relativisticelectron) - Bugfix: Corrected build instructions and made virtuelenv name dynamic #1735 (relativisticelectron) From fa20169b57936404a20bcbe95cc919a8e49d4b3f Mon Sep 17 00:00:00 2001 From: Manolis Mandrapilias <70536101+moneymanolis@users.noreply.github.com> Date: Sun, 5 Jun 2022 20:57:31 +0200 Subject: [PATCH 3/6] UIUX: Fixed html character codes for multisig guide & polishment of about page (#1743) * fixed unknown html character codes in links for multisig guide and documentation * some front end polishment of the about page. --- src/cryptoadvance/specter/static/styles.css | 1 - src/cryptoadvance/specter/templates/base.jinja | 12 ++++++------ .../wallet/new_wallet/new_wallet_type.jinja | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/cryptoadvance/specter/static/styles.css b/src/cryptoadvance/specter/static/styles.css index 7318cc2e30..3247216fcd 100644 --- a/src/cryptoadvance/specter/static/styles.css +++ b/src/cryptoadvance/specter/static/styles.css @@ -235,7 +235,6 @@ nav.side > a.item.active, nav.side > div > a.item.active{ max-width: 90%; padding-left: 1em; padding-right: 1em; - padding-top: .5em; margin-bottom: 1em; background-color: #263044; border: 1px solid #CCCCCC; diff --git a/src/cryptoadvance/specter/templates/base.jinja b/src/cryptoadvance/specter/templates/base.jinja index dda0fc82b3..59ca4df921 100644 --- a/src/cryptoadvance/specter/templates/base.jinja +++ b/src/cryptoadvance/specter/templates/base.jinja @@ -127,8 +127,8 @@ {% endif %}
-

{{ _("Specter Desktop is a convenient wallet interface to better use your Bitcoin Core node. It’s good for singlesig wallets, but comes with a special focus on multisignature setups for different hardware wallets and air-gapped signing devices.") }} - Learn 🕮 {{ _("here") }} more about multisig. +

{{ _("Specter Desktop is a convenient wallet interface to better use your Bitcoin Core node. It’s good for singlesig wallets, but comes with a special focus on multisignature setups for different hardware wallets and air-gapped signing devices.") }}

+ 📙 Learn {{ _("here") }} more about multisig.

@@ -243,14 +243,14 @@
{% endif %} -

{{ _('Have a look at our 🕮 help or FAQ') }}



- {{ _("Still having issues?") }}
+

👀{{ _(' Have a look at our documentation and the FAQ') }}


+ 🙇{{ _(" Still having issues?") }}
-

{{ _('Feel free to open an issue on the GitHub or ask in the Specter Community telegram chat') }}

+

{{ _('Feel free to open an issue on GitHub or ask in the Specter Community telegram chat') }}

-

+

{{ _('Help wanted: Do you like Specter?') }}


@@ -175,6 +175,7 @@ // subtract_from (the actual input field) this.ld.subtractFromInput = this.subtractFromInput.cloneNode(true); this.ld.subtractFromInput.type = "hidden"; + this.ld.subtractFromInput.name = "subtract_from"; this.appendChild(this.ld.subtractFromInput); // This is just for exposure to the jinja template for displaying, not needed for the form POST @@ -208,7 +209,7 @@ this.rbfUpdated(); }) - this.subtractFromInput.addEventListener("click", (event) => { + this.subtractFromInput.addEventListener("change", (event) => { this.subtractUpdated(); }) @@ -332,6 +333,11 @@ } catch(e) {console.log(e)} } + + setSubtractFrom(recipient) { + this.subtractFromInput.value = recipient + } + // Updates Light DOM values for the form subtractUpdated() { if (this.subtract.checked) { diff --git a/src/cryptoadvance/specter/templates/wallet/send/new/wallet_send.jinja b/src/cryptoadvance/specter/templates/wallet/send/new/wallet_send.jinja index 9cf66020db..26997ec54f 100644 --- a/src/cryptoadvance/specter/templates/wallet/send/new/wallet_send.jinja +++ b/src/cryptoadvance/specter/templates/wallet/send/new/wallet_send.jinja @@ -387,6 +387,8 @@ } async function setMaxAmount(i) { + FeeSelectionComponent.showSubtractFrom(true) + FeeSelectionComponent.setSubtractFrom(i + 1) let amountInput = document.getElementById('amount_' + i); if (!validAddress(i)) { return; From 14cb11b0509f906a69346e528122b91242e951f1 Mon Sep 17 00:00:00 2001 From: relativisticelectron <60378539+relativisticelectron@users.noreply.github.com> Date: Sun, 19 Jun 2022 14:28:37 +0200 Subject: [PATCH 6/6] Feature: combined test script for cypress and pytest (#1749) * Added test script * renamed * cypress run * Delete cypress output folders Co-authored-by: k9ert --- utils/test-all-linux.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 utils/test-all-linux.sh diff --git a/utils/test-all-linux.sh b/utils/test-all-linux.sh new file mode 100755 index 0000000000..b1f18e9bbb --- /dev/null +++ b/utils/test-all-linux.sh @@ -0,0 +1,23 @@ +#!/bin/bash + + +pip3 install virtualenv +virtualenv --python=python3 .env +source .env/bin/activate +pip3 install -r requirements.txt --require-hashes +pip3 install -e . +python3 setup.py install # also compiles the babel translation-files + + +pip3 install -r test_requirements.txt +./tests/install_noded.sh --bitcoin binary +./tests/install_noded.sh --elements binary + + +export PATH=./tests/elements/bin/:./tests/bitcoin/bin/:$PATH + +rm -Rf ./cypress/videos ./cypress/screenshots + +./utils/test-cypress.sh run +pytest +