Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GUI] Validate wallet password on enter key press #1163

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

Warrows
Copy link

@Warrows Warrows commented Dec 4, 2019

Before the new UI it was possible to validate the wallet password by pressing the "enter"/"return" key. We return this simple flow.

@Warrows Warrows added the GUI label Dec 4, 2019
@Warrows Warrows requested a review from furszy December 4, 2019 12:24
@Warrows Warrows self-assigned this Dec 4, 2019
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4b95c9e

The same could be applied to other dialogs as well.
For example, with this, it is possible to validate a password change with the enter key, but after that, this other dialog appears:

Screenshot from 2019-12-09 15-55-55

and it forces the user to use the mouse to click "OK".

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4b95c9e

@random-zebra random-zebra added this to the 4.0.0 milestone Dec 11, 2019
Warrows added a commit to Warrows/PIVX that referenced this pull request Dec 11, 2019
…press

4b95c9e [GUI] Validate wallet password on enter key press (warrows)

Pull request description:

  Before the new UI it was possible to validate the wallet password by pressing the "enter"/"return" key. We return this simple flow.

ACKs for top commit:
  random-zebra:
    ACK 4b95c9e
  Fuzzbawls:
    ACK 4b95c9e

Tree-SHA512: f0a092557611a7130a65e5213a21786f65c589136545435ccf4b7c42555002273bdc47f81ec4bb292bbc595886c91cc7667ef02f5abde58537f3945fa89477f4
@Warrows Warrows merged commit 4b95c9e into PIVX-Project:master Dec 11, 2019
@Warrows Warrows deleted the 2019-12_ask-paswword-enter branch December 11, 2019 11:30
Fuzzbawls pushed a commit that referenced this pull request Dec 14, 2019
random-zebra added a commit that referenced this pull request Dec 15, 2019
fa1987b [GUI] ColdStaking widget: fix "total staking" amount (random-zebra)
7ad5385 Update copyright headers (Fuzzbawls)
31433e2 [Docs] 4.0.0 release notes (Fuzzbawls)
8cfd8b5 [GUI] Border image workaround. (furszy)
82069c3 [Qt] Update translations from transifex (Fuzzbawls)
1894425 [GUI][Wallet] Allow spending of P2CS without coincontrol selection Github-Pull: #1193 Rebased-From: b8e4df8 (random-zebra)
102dfd5 [Consensus] Define MainNet changeover block for PIVX v4.0 Github-Pull: #1191 Rebased-From: 8f7dd00 (random-zebra)
9b9dc62 [GUI][BUG] Accept P2CS locked coins in coincontrol (random-zebra)
9d9909b [GUI] Use QRegexValidator instead of the QDoubleValidator to validate QEditLine amounts. (furszy)
ed0a93a [GUI] Feature/Bug CoinControl Update on Open (Liquid369)
6009c24 [GUI] Validate wallet password on enter key press (warrows)
3caf895 [Network] Add SPORK 17 and 18 to the fMissingSporks flag + move the validation below the old protocol and the connected to ourself check. No need to send the message if we are going to end up disconnecting from the peer. (furszy)
a7205ad [GUI] set focus when showing dialogs (random-zebra)
5f0d3e6 [GUI][Trivial] Make amount optional in staking address gen dialog Github-Pull: #1185 Rebased-From: a2d67d6 (random-zebra)
630e040 [GUI][Trivial] Fix tx detail dialog expanding policy Github-Pull: #1187 Rebased-From: 7e5253d (random-zebra)
96f240b [GUI][Trivial] move caps lock warning in askpassphrase dialog Github-Pull: #1186 Rebased-From: 5bd5bbc (random-zebra)
08ee144 [GUI][Bug] cold staking screen, fixing show receive addresses list in owner address editLine. (furszy)
c71bc13 [GUI] Remove every pushButton focus property. (furszy)
01c95c6 [Doc] Remove stale image files (Fuzzbawls)
3cafa3a [Doc] Update gitian building docs (Fuzzbawls)
90d27bd [Utils] Update gitian-build.py for multi-os compatibility (Fuzzbawls)
ddbceb4 Dead link to wrong PIVX website (NoobieDev12)
c99d712 [Build] Add random-zebra gitian GPG public key fingerprint Github-Pull: #1180 Rebased-From: a88bff8 (random-zebra)
6cae0c9 [Trivial] fix minColdStakingAmount comment and type Github-Pull: #1174 Rebased-From: 35a5065 (random-zebra)
a7f6d17 [GUI][Trivial] access Params() only from walletModel Github-Pull: #1174 Rebased-From: 4ad9492 (random-zebra)
d41f9c6 [Cleanup] Remove extra calls to getDisplayUnit in ColdStakingWidget Github-Pull: #1174 Rebased-From: 5c3162b (random-zebra)
5c1a1a9 [GUI] Cold Staking Widget: set minColdStakingAmount from chain params Github-Pull: #1174 Rebased-From: 2369644 (random-zebra)
c8e1762 [GUI] Removing cold staking "unconfirmed balance will not be shown" warning label. (furszy)
3a302aa [Wallet] GetAvailableP2CSCoins permitting unconfirmed tx. (furszy)
53901c0 [GUI] Cold staking, always update staking total amount (furszy)
9527147 [GUI][Bug] Cold staking screen, delegations list, total amount was not being updated. This solves the issue + re organize the UI form to present it aligned to the texts in the left. (furszy)
c3d8f60 [Qt] properly copy IPv6 externalip MN info (Fuzzbawls)
b1641f4 [Trivial] Clean time offset warning when it gets back within range Github-Pull: #1167 Rebased-From: c24d2b1 (random-zebra)
c3ec18b [Qt] Periodic make translate (Fuzzbawls)
02b2a04 [GUI][Model] Do not request password when the wallet is unlocked to lock it for staking only (furszy)
3971d91 [GUI] Custom change address, editable box getting focus when the dialog is launched. (furszy)
6565097 [GUI] Masternodes wizard, IPv6 correctly stored between brackets. (furszy)
6cb9217 [GUI] tooltip css changes. (furszy)
4dff02c [GUI] Decreasing the tooltip padding for #1076 windows issue. (furszy)
0e2dd1d Rewording text under Change Wallet Passphrase Github-Pull: #1151 Rebased-From: 95bba7a (NoobieDev12)
38d3218 [GUI][Trivial] Rewording of Error message while trying to send with the transaction with wallet unlocked for staking only (NoobieDev12)
107a452 [Travis] Increase functional tests reserved time (Warrows)
7d94126 [Bug] Coded properly the URI from file read.. (furszy)
32a32f3 [GUI] Regtest corrections. (furszy)
b4d5b57 [Bug] Fix segfault on GUI initialization for cold staker wallet (random-zebra)
33c7084 [GUI] Cold staking, alert user if the owner address is not from the wallet. (furszy)
de5cf4a [Deployment] Windows taskbar icon pixelated. (furszy)
5dbb514 [GUI] Inform if open pivx conf and open backups folder failed due some OS incapacity/restriction. Plus minor cleanup over the touched files. (furszy)
ffd7dce [Qt] Fix segfault when running GUI client with --help or -? (Fuzzbawls)
3d39ce6 Revert "[Params] TESTNET ONLY, do not merge in master." (Fuzzbawls)

Pull request description:

  This updates the `4.0` branch with the PRs that have been merged since the branch-off point. Additionally, it reverts the locking to testnet (2e85666).

  List of included PRs:
  #1139
  #1125
  #1127
  #1121
  #1142
  #1141
  #1131
  #1157
  #1159
  #1151
  #1156
  #1158
  #1161
  #1160
  #1162
  #1167
  #1166
  #1165
  #1174
  #1180
  #1179
  #1176
  #1173
  #1178
  #1186
  #1187
  #1185
  #1183
  #1177
  #1163
  #1190
  #1124
  #1192
  #1191
  #1193
  #1195
  #1188
  #1181
  #1197
  #1194

ACKs for top commit:
  Warrows:
    utACK fa1987b, diff looks good.
  random-zebra:
    utACK fa1987b and merging...

Tree-SHA512: f65d04e5764fda9a9899276bb0de8d2b8b6e8152d471d32a8fccfd7f79acdd526d4f9b03d848f07c54defe0173448c01b573e39e26164281cfd05c66c9e9af5a
furszy added a commit that referenced this pull request Mar 20, 2020
37e73fe [Doc] Add GUI dailogs keyboard navigation to the release notes (random-zebra)
52157ce [GUI] Guard access to TxDetailDialog::acceptTx (random-zebra)
7ec6c13 [GUI] Set focus in DefaultDialog and detect Enter/Esc (random-zebra)
436fea2 [GUI] Set focus in TxDetailDialog and detect Enter/Esc (random-zebra)

Pull request description:

  Ref: #1163 (review)

  Completes the ability to accept/dismiss modal dialogs with the keyboard, including:
  - confirmation dialogs (`DefaultDialog`)
  - tx detail / tx confirmation dialogs (`TxDetailDialog`)

ACKs for top commit:
  furszy:
    ACK 37e73fe

Tree-SHA512: 0d0771e8b9891a5d3555c835564feadee2dd4f9d23b0733361e9279448f559eee1865369693d428e210c40f48ad80c544f757c4ec01cdf6f7f57a999e3e2a056
akshaynexus added a commit to ZENZO-Ecosystem/ZENZO-Core that referenced this pull request Mar 22, 2020
… ESC

37e73fe [Doc] Add GUI dailogs keyboard navigation to the release notes (random-zebra)
52157ce [GUI] Guard access to TxDetailDialog::acceptTx (random-zebra)
7ec6c13 [GUI] Set focus in DefaultDialog and detect Enter/Esc (random-zebra)
436fea2 [GUI] Set focus in TxDetailDialog and detect Enter/Esc (random-zebra)

Pull request description:

  Ref: PIVX-Project#1163 (review)

  Completes the ability to accept/dismiss modal dialogs with the keyboard, including:
  - confirmation dialogs (`DefaultDialog`)
  - tx detail / tx confirmation dialogs (`TxDetailDialog`)

ACKs for top commit:
  furszy:
    ACK 37e73fe

Tree-SHA512: 0d0771e8b9891a5d3555c835564feadee2dd4f9d23b0733361e9279448f559eee1865369693d428e210c40f48ad80c544f757c4ec01cdf6f7f57a999e3e2a056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants