author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
630,870
02.02.2023 18:20:02
0
7d42676785e0d807c43f2b156a8371b5668abd26
qt tx dialog: make scid and addr texts clickable in IO fields based on:
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -242,7 +242,7 @@ class AddressSynchronizer(Logger, EventListener):\nconflicting_txns -= {tx_hash}\nreturn conflicting_txns\n- def get_transaction(self, txid: str) ->...
Python
MIT License
spesmilo/electrum
qt tx dialog: make scid and addr texts clickable in IO fields based on: https://github.com/Electron-Cash/Electron-Cash/commit/7eea0b6dae3d8ebc3823ceb7abf6093119b915c0 https://github.com/Electron-Cash/Electron-Cash/commit/52d845017c99d5c9a02df6b9af7825d2111b8def
630,870
03.02.2023 14:42:31
0
c2c02391a23c7bc9d062e475c585f20a462b2409
qt tx dialog: add context menus to IO fields based on:
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/main_window.py", "new_path": "electrum/gui/qt/main_window.py", "diff": "@@ -1085,7 +1085,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):\ndef do_copy(self, content: str, *, title: str = None) -> None:\nself.app...
Python
MIT License
spesmilo/electrum
qt tx dialog: add context menus to IO fields based on: https://github.com/Electron-Cash/Electron-Cash/commit/46df4190c8a32fbada777d82e8663b01d062b739
630,870
02.02.2023 19:16:38
0
04a5aaeddc07eb0c51a39f84e1f6f3d00da5bda2
transaction: (trivial) add comment about is_cb_input vs is_cb_output follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/transaction.py", "new_path": "electrum/transaction.py", "diff": "@@ -254,7 +254,7 @@ class TxInput:\ndef is_coinbase_output(self) -> bool:\n\"\"\"Whether the coin being spent is an output of a coinbase tx.\n- This matters for coin maturity.\n+ This ma...
Python
MIT License
spesmilo/electrum
transaction: (trivial) add comment about is_cb_input vs is_cb_output follow-up d6febb5c1243f3f80d5a79af9aa39312c8166c91, 96ac199f5cb27b6f3158c922afbb1322c5660121
630,992
03.02.2023 16:26:25
-3,600
dc1441d129f249cc0339f9af9a35ae6083b028ea
qml: make sure to keep ref to instance
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelBackups.qml", "new_path": "electrum/gui/qml/components/ChannelBackups.qml", "diff": "@@ -54,7 +54,7 @@ Pane {\nLayout.preferredWidth: parent.width\nLayout.fillHeight: true\nclip: true\n- model: Daemon.currentWallet.channelMod...
Python
MIT License
spesmilo/electrum
qml: make sure to keep ref to instance
630,870
03.02.2023 15:50:16
0
3dadfadcabdc2f9acb0d57c93e6a46739720b0c8
qt tx dialog: readd "insert_tx_io" code-factorisation recently rm-ed follow-up
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/transaction_dialog.py", "new_path": "electrum/gui/qt/transaction_dialog.py", "diff": "@@ -152,7 +152,7 @@ class TxInOutWidget(QWidget):\nlnk.setAnchor(True)\nlnk.setUnderlineStyle(QTextCharFormat.SingleUnderline)\ntf_used_recv, tf_used_change, ...
Python
MIT License
spesmilo/electrum
qt tx dialog: readd "insert_tx_io" code-factorisation recently rm-ed follow-up 7d42676785e0d807c43f2b156a8371b5668abd26
630,992
03.02.2023 17:07:31
-3,600
ee5dec0c59db97b732a8bdf1185e4b7289f48925
qml: correctly update channel list after channel backup import, and correctly delete channel backup
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qechanneldetails.py", "new_path": "electrum/gui/qml/qechanneldetails.py", "diff": "@@ -199,6 +199,9 @@ class QEChannelDetails(QObject, QtEventListener):\n@pyqtSlot()\ndef deleteChannel(self):\n+ if self.isBackup:\n+ self._wallet.wallet.lnworke...
Python
MIT License
spesmilo/electrum
qml: correctly update channel list after channel backup import, and correctly delete channel backup
630,870
03.02.2023 16:00:16
0
b9f4758853d5c0de8b344347977cd926ed9e5a75
qt tx dialog: add "Copy Outpoint" to both IO ctx menus
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/transaction_dialog.py", "new_path": "electrum/gui/qt/transaction_dialog.py", "diff": "@@ -283,7 +283,7 @@ class TxInOutWidget(QWidget):\nmenu.addAction(_(\"Coinbase Input\")).setDisabled(True)\nelse:\nshow_list += [(_(\"Show Prev Tx\"), lambda:...
Python
MIT License
spesmilo/electrum
qt tx dialog: add "Copy Outpoint" to both IO ctx menus
630,992
03.02.2023 17:13:11
-3,600
3cd32129217f45e8ac35b039ad960fec721ac142
qml: show correct delete confirm text for channel backups
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ChannelDetails.qml", "new_path": "electrum/gui/qml/components/ChannelDetails.qml", "diff": "@@ -242,7 +242,9 @@ Pane {\nvisible: channeldetails.canDelete\nonClicked: {\nvar dialog = app.messageDialog.createObject(root, {\n- text: qs...
Python
MIT License
spesmilo/electrum
qml: show correct delete confirm text for channel backups
630,992
03.02.2023 17:27:12
-3,600
f8e43b3149cf82b0cd5dcfc49cb9a2de3dcfc99a
qml: styling MessageDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/MessageDialog.qml", "new_path": "electrum/gui/qml/components/MessageDialog.qml", "diff": "@@ -28,7 +28,12 @@ ElDialog {\ncolor: \"#aa000000\"\n}\n+ padding: 0\n+\n+ ColumnLayout {\nColumnLayout {\n+ Layout.margins: constants.padding...
Python
MIT License
spesmilo/electrum
qml: styling MessageDialog
630,870
03.02.2023 17:09:51
0
dd141c7fa017deaeffabd9b3b6a340b1da1ac487
libsecp256k1: add runtime support for both 0.2.x and <0.2.0 lib vers related:
[ { "change_type": "MODIFY", "old_path": "electrum/ecc_fast.py", "new_path": "electrum/ecc_fast.py", "diff": "@@ -38,16 +38,18 @@ class LibModuleMissing(Exception): pass\ndef load_library():\nif sys.platform == 'darwin':\n- library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.0.dylib...
Python
MIT License
spesmilo/electrum
libsecp256k1: add runtime support for both 0.2.x and <0.2.0 lib vers related: https://github.com/spesmilo/electrum/pull/8185 https://github.com/bitcoin-core/secp256k1/pull/1055
630,870
03.02.2023 17:11:16
0
7d83335e34d7ea4752145b47e086a9fbe45742ad
bump libsecp256k1 version now there are tags :O
[ { "change_type": "MODIFY", "old_path": "contrib/android/p4a_recipes/libsecp256k1/__init__.py", "new_path": "contrib/android/p4a_recipes/libsecp256k1/__init__.py", "diff": "@@ -6,9 +6,9 @@ assert LibSecp256k1Recipe.python_depends == []\nclass LibSecp256k1RecipePinned(LibSecp256k1Recipe):\n- version =...
Python
MIT License
spesmilo/electrum
bump libsecp256k1 version now there are tags :O
630,870
03.02.2023 17:36:46
0
c66411f47e4cb7344b55d6ee7720bf763472e181
contrib/make_libsecp256k1.sh: rm Makefile patch unneeded since and in fact buggy since related
[ { "change_type": "MODIFY", "old_path": "contrib/make_libsecp256k1.sh", "new_path": "contrib/make_libsecp256k1.sh", "diff": "@@ -43,7 +43,6 @@ info \"Building $pkgname...\"\ngit checkout \"${LIBSECP_VERSION}^{commit}\"\nif ! [ -x configure ] ; then\n- echo \"libsecp256k1_la_LDFLAGS = -no-undefined\" ...
Python
MIT License
spesmilo/electrum
contrib/make_libsecp256k1.sh: rm Makefile patch unneeded since https://github.com/bitcoin-core/secp256k1/commit/c0cd7de6d4e497c0e678f7098079727188e81de8 and in fact buggy since https://github.com/bitcoin-core/secp256k1/commit/0bd3e4243caa3c000e6afe3ea5533b97565557c4 related https://github.com/spesmilo/electrum/pull/8...
630,870
04.02.2023 01:36:19
0
0eea47c78dd53b44863f8e88e9bed133edc83f6e
libsecp256k1: update hardcoded .so lib name in binaries follow-up
[ { "change_type": "MODIFY", "old_path": "contrib/build-linux/appimage/make_appimage.sh", "new_path": "contrib/build-linux/appimage/make_appimage.sh", "diff": "@@ -76,12 +76,12 @@ info \"installing python.\"\n)\n-if [ -f \"$DLL_TARGET_DIR/libsecp256k1.so.0\" ]; then\n+if [ -f \"$DLL_TARGET_DIR/libsecp...
Python
MIT License
spesmilo/electrum
libsecp256k1: update hardcoded .so lib name in binaries (#8186) follow-up 7d83335e34d7ea4752145b47e086a9fbe45742ad
631,041
05.02.2023 10:30:09
-3,600
9ef9b9b76817dd905327224fa8772a17335bd529
Add ex.signet.bublina.. option for signet explorer
[ { "change_type": "MODIFY", "old_path": "electrum/util.py", "new_path": "electrum/util.py", "diff": "@@ -897,6 +897,8 @@ signet_block_explorers = {\n{'tx': 'tx/', 'addr': 'address/'}),\n'wakiyamap.dev': ('https://signet-explorer.wakiyamap.dev/',\n{'tx': 'tx/', 'addr': 'address/'}),\n+ 'ex.signet.bubl...
Python
MIT License
spesmilo/electrum
Add ex.signet.bublina.. option for signet explorer
631,041
05.02.2023 10:32:11
-3,600
c7a7c54ccd00610c92c0163e94ac6c2333f9fe94
Add another signet electrum server Running electrs v0.9.11 currently. TLS via nginx. Always up-to-date info at
[ { "change_type": "MODIFY", "old_path": "electrum/servers_signet.json", "new_path": "electrum/servers_signet.json", "diff": "\"s\": \"50002\",\n\"t\": \"50001\",\n\"version\": \"1.4\"\n+ },\n+ \"bublina.eu.org\": {\n+ \"pruning\": \"-\",\n+ \"s\": \"60003\",\n+ \"t\": \"50001\",\n+ \"version\": \"1.4...
Python
MIT License
spesmilo/electrum
Add another signet electrum server Running electrs v0.9.11 currently. TLS via nginx. Always up-to-date info at http://ln.uk.ms/signet.txt
630,870
05.02.2023 22:49:12
0
046609c5d2ef16701fc9d5b8153cb57070dbb808
lnpeer: add note about thread-safety, and some checks I was calling methods from the Qt console (e.g. peer.pay()) and seeing weird behaviour... htlc_switch() (running on asyncio thread) was racing with pay() (running on GUI thread).
[ { "change_type": "MODIFY", "old_path": "electrum/lnpeer.py", "new_path": "electrum/lnpeer.py", "diff": "@@ -63,6 +63,8 @@ LN_P2P_NETWORK_TIMEOUT = 20\nclass Peer(Logger):\n+ # note: in general this class is NOT thread-safe. Most methods are assumed to be running on asyncio thread.\n+\nLOGGING_SHORTC...
Python
MIT License
spesmilo/electrum
lnpeer: add note about thread-safety, and some checks I was calling methods from the Qt console (e.g. peer.pay()) and seeing weird behaviour... htlc_switch() (running on asyncio thread) was racing with pay() (running on GUI thread).
630,992
06.02.2023 12:43:54
-3,600
036a5997c7d26fc0b5da10b5e94e673159feb89c
qml: fix confusion when dialogs not on top of activeDialog stack are closed
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/ElDialog.qml", "new_path": "electrum/gui/qml/components/controls/ElDialog.qml", "diff": "@@ -16,7 +16,12 @@ Dialog {\nif (opened) {\napp.activeDialogs.push(abstractdialog)\n} else {\n+ if (app.activeDialogs.indexOf(abstract...
Python
MIT License
spesmilo/electrum
qml: fix confusion when dialogs not on top of activeDialog stack are closed
630,992
06.02.2023 13:12:14
-3,600
7adc8b1fbbef801ae30f48a1c3d37c8e38bc2351
qml: fix issues with close channel
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/CloseChannelDialog.qml", "new_path": "electrum/gui/qml/components/CloseChannelDialog.qml", "diff": "@@ -9,6 +9,7 @@ import \"controls\"\nElDialog {\nid: dialog\n+\nwidth: parent.width\nheight: parent.height\n@@ -22,7 +23,7 @@ ElDial...
Python
MIT License
spesmilo/electrum
qml: fix issues with close channel
630,870
06.02.2023 17:55:56
0
d3a10c422550ec863b5d9359e6286cfa48548474
commands: allow cmd to launch new gui window for wallet e.g. imagine electrum Qt gui is already running, with some wallet (wallet_1) open, running `$ ./run_electrum --testnet -w ~/.electrum/testnet/wallets/wallet_2` should open a new window, for wallet_2. related
[ { "change_type": "MODIFY", "old_path": "electrum/daemon.py", "new_path": "electrum/daemon.py", "diff": "@@ -305,9 +305,12 @@ class CommandsServer(AuthenticatedServer):\nreturn True\nasync def gui(self, config_options):\n+ # note: \"config_options\" is coming from the short-lived CLI-invocation,\n+ #...
Python
MIT License
spesmilo/electrum
commands: allow cmd to launch new gui window for wallet e.g. imagine electrum Qt gui is already running, with some wallet (wallet_1) open, running `$ ./run_electrum --testnet -w ~/.electrum/testnet/wallets/wallet_2` should open a new window, for wallet_2. related https://github.com/spesmilo/electrum/issues/8188#issue...
630,992
06.02.2023 21:39:41
-3,600
ad26d809a4bdaa9fd552ead33d48d035b80407f3
qml: update history in more cases when saving/removing tx
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qetxdetails.py", "new_path": "electrum/gui/qml/qetxdetails.py", "diff": "@@ -354,6 +354,7 @@ class QETxDetails(QObject, QtEventListener):\nself._wallet.wallet.adb.remove_transaction(txid)\nself._wallet.wallet.save_db()\n+ self._wallet.historyM...
Python
MIT License
spesmilo/electrum
qml: update history in more cases when saving/removing tx
630,992
06.02.2023 22:47:15
-3,600
049a59f57a510394c3f4186811aa910350c621e7
qml: move fee bump button below fee amount
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -105,15 +105,20 @@ Pane {\nFormattedAmount {\nLayout.fillWidth: true\namount: txdetails.fee\n- singleLine: !(txdetails.canBump || txdetails.canCpfp...
Python
MIT License
spesmilo/electrum
qml: move fee bump button below fee amount
630,992
06.02.2023 22:47:41
-3,600
a84450386112b45a56717ec3a178d0329e113e1f
qml: move separator visible property binding to its component so our master index ref is stable
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/controls/ButtonContainer.qml", "new_path": "electrum/gui/qml/components/controls/ButtonContainer.qml", "diff": "@@ -24,16 +24,11 @@ Container {\ncontentRoot.children.push(verticalSeparator.createObject(_layout, {\npheight: rowheight...
Python
MIT License
spesmilo/electrum
qml: move separator visible property binding to its component so our master index ref is stable
630,992
06.02.2023 23:57:44
-3,600
2cfcf5035d8db57eeccbf03370ebde0a829d884f
qml: add rocket.png for fee bump icon
[ { "change_type": "ADD", "old_path": "electrum/gui/icons/rocket.png", "new_path": "electrum/gui/icons/rocket.png", "diff": "Binary files /dev/null and b/electrum/gui/icons/rocket.png differ\n" }, { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/RbfBumpFeeDialog.qml", ...
Python
MIT License
spesmilo/electrum
qml: add rocket.png for fee bump icon
630,992
07.02.2023 00:13:03
-3,600
b2d4a2a81f417c463ba47bdf314e338e5600d485
qml: fix show mempool depth when unconfirmed
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -143,12 +143,12 @@ Pane {\nLabel {\ntext: qsTr('Mempool depth')\ncolor: Material.accentColor\n- visible: !txdetails.isMined && txdetails.canBroadca...
Python
MIT License
spesmilo/electrum
qml: fix show mempool depth when unconfirmed
630,992
07.02.2023 00:21:21
-3,600
b9b0ada15defae7c8c290d1889cb711e6ecf1978
qml: better fix
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -143,12 +143,12 @@ Pane {\nLabel {\ntext: qsTr('Mempool depth')\ncolor: Material.accentColor\n- visible: !txdetails.isMined && !txdetails.canBroadc...
Python
MIT License
spesmilo/electrum
qml: better fix
630,992
07.02.2023 11:10:28
-3,600
9d4e00d582532d2330c39db433c167c2172d3c39
qml: styling ImportAddressesKeysDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ImportAddressesKeysDialog.qml", "new_path": "electrum/gui/qml/components/ImportAddressesKeysDialog.qml", "diff": "@@ -9,6 +9,10 @@ import \"controls\"\nElDialog {\nid: root\n+ title: Daemon.currentWallet.isWatchOnly\n+ ? qsTr('Impor...
Python
MIT License
spesmilo/electrum
qml: styling ImportAddressesKeysDialog
630,992
07.02.2023 11:18:27
-3,600
2dff6a10cacc7fcaab2f81f94a6829a694e8e829
qml: fix issue with number of addresses in model
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeaddresslistmodel.py", "new_path": "electrum/gui/qml/qeaddresslistmodel.py", "diff": "@@ -73,7 +73,7 @@ class QEAddressListModel(QAbstractListModel):\nr_addresses = self.wallet.get_receiving_addresses()\nc_addresses = self.wallet.get_change_a...
Python
MIT License
spesmilo/electrum
qml: fix issue with number of addresses in model
630,992
07.02.2023 11:40:31
-3,600
9d02f6ee4c5b5651c509c756c86c857c0abf7ab0
qml: shorten text for adding addresses/keys and add add.png icon
[ { "change_type": "ADD", "old_path": "electrum/gui/icons/add.png", "new_path": "electrum/gui/icons/add.png", "diff": "Binary files /dev/null and b/electrum/gui/icons/add.png differ\n" }, { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/WalletDetails.qml", "new_path"...
Python
MIT License
spesmilo/electrum
qml: shorten text for adding addresses/keys and add add.png icon
630,992
07.02.2023 11:49:57
-3,600
393dcde7ae12d87e39e52c7970ac7d075a2a9328
qml: set a minimum button size
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/GenericShareDialog.qml", "new_path": "electrum/gui/qml/components/GenericShareDialog.qml", "diff": "@@ -76,6 +76,7 @@ ElDialog {\nLayout.alignment: Qt.AlignHCenter\nFlatButton {\n+ Layout.minimumWidth: dialog.width * 1/4\ntext: qsTr...
Python
MIT License
spesmilo/electrum
qml: set a minimum button size
630,992
07.02.2023 11:54:10
-3,600
73004b4993162a9a94da55f7cffd5ebd22f9c93a
qml: button min size
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ExportTxDialog.qml", "new_path": "electrum/gui/qml/components/ExportTxDialog.qml", "diff": "@@ -69,6 +69,7 @@ ElDialog {\nLayout.alignment: Qt.AlignHCenter\nFlatButton {\n+ Layout.minimumWidth: dialog.width * 1/4\ntext: qsTr('Copy')...
Python
MIT License
spesmilo/electrum
qml: button min size
630,992
07.02.2023 12:23:14
-3,600
78d68d00e0640ae58f88875e2683cfc00f88e1a8
qml: override default Material styling for toolbar, use grays
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/main.qml", "new_path": "electrum/gui/qml/components/main.qml", "diff": "@@ -2,6 +2,7 @@ import QtQuick 2.6\nimport QtQuick.Layouts 1.0\nimport QtQuick.Controls 2.3\nimport QtQuick.Controls.Material 2.0\n+import QtQuick.Controls.Mate...
Python
MIT License
spesmilo/electrum
qml: override default Material styling for toolbar, use grays
630,992
07.02.2023 13:50:26
-3,600
c3c308ec0b5f107bf402e670a56bad5e8380f96b
qml: qewallet logger add wallet name
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qewallet.py", "new_path": "electrum/gui/qml/qewallet.py", "diff": "@@ -79,6 +79,8 @@ class QEWallet(AuthMixin, QObject, QtEventListener):\nsuper().__init__(parent)\nself.wallet = wallet\n+ self._logger = get_logger(f'{__name__}.[{wallet}]')\n+...
Python
MIT License
spesmilo/electrum
qml: qewallet logger add wallet name
630,992
07.02.2023 13:51:26
-3,600
5eb7bcebef9c36300db9b2edd6e1e9e9c695dea8
qml: remove ugly notification popup, add wallet name to notifications
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Constants.qml", "new_path": "electrum/gui/qml/components/Constants.qml", "diff": "@@ -27,11 +27,14 @@ Item {\nreadonly property int fingerWidth: 64 // TODO: determine finger width from screen dimensions and resolution\n- property co...
Python
MIT License
spesmilo/electrum
qml: remove ugly notification popup, add wallet name to notifications
630,870
08.02.2023 00:40:46
0
71697afabd1a378d810154535c15c5c3b422237e
invoices: get_outputs to use .outputs field if available It is wasteful to create new PartialTxOutput objects if we already have an outputs field. Btw apparently lightning invoices too have an outputs field.
[ { "change_type": "MODIFY", "old_path": "electrum/invoices.py", "new_path": "electrum/invoices.py", "diff": "import time\n-from typing import TYPE_CHECKING, List, Optional, Union, Dict, Any\n+from typing import TYPE_CHECKING, List, Optional, Union, Dict, Any, Sequence\nfrom decimal import Decimal\nim...
Python
MIT License
spesmilo/electrum
invoices: get_outputs to use .outputs field if available It is wasteful to create new PartialTxOutput objects if we already have an outputs field. Btw apparently lightning invoices too have an outputs field.
630,870
08.02.2023 00:45:18
0
1e3f9b942f66f990d96a135fc1bee707a5222823
qt: MyTreeView.refresh_all to use maybe_defer_update In particular, window.timer_actions() calls request_list.refresh_all() and invoice_list.refresh_all(), every 0.5 seconds. We avoid doing this at least when those lists are not visible anyway.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/util.py", "new_path": "electrum/gui/qt/util.py", "diff": "@@ -813,6 +813,8 @@ class MyTreeView(QTreeView):\nreturn row\ndef refresh_all(self):\n+ if self.maybe_defer_update():\n+ return\nfor row in range(0, self.std_model.rowCount()):\nitem = s...
Python
MIT License
spesmilo/electrum
qt: MyTreeView.refresh_all to use maybe_defer_update In particular, window.timer_actions() calls request_list.refresh_all() and invoice_list.refresh_all(), every 0.5 seconds. We avoid doing this at least when those lists are not visible anyway.
630,992
07.02.2023 14:16:29
-3,600
f3b3a40ffeaecf0a069ece3a1768531356d401cf
qml: add wallet button icon
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/AddressDetails.qml", "new_path": "electrum/gui/qml/components/AddressDetails.qml", "diff": "@@ -157,7 +157,7 @@ Pane {\n}\nToolButton {\nicon.source: '../../icons/share.png'\n- icon.color: 'transparent'\n+ enabled: modelData\nonClic...
Python
MIT License
spesmilo/electrum
qml: add wallet button icon
630,969
08.02.2023 11:22:02
-3,600
6e8e8798c767299f93290d2c4a25c4eb284b0985
feerounding_icon: use transparent background, and disable if not visible
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -183,9 +183,10 @@ class TxEditor(WindowModalDialog):\nself.show_message(title=_('Fee rounding'), msg=text)\nself.feerounding_icon = QToolButton()\n- self.fee...
Python
MIT License
spesmilo/electrum
feerounding_icon: use transparent background, and disable if not visible
630,969
08.02.2023 11:34:48
-3,600
53b7cc3f90e4037cb134ac1c5eb0d7684e673305
use shared prefix for config keys related to tx editor
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -97,9 +97,9 @@ class TxEditor(WindowModalDialog):\nvbox.addLayout(buttons)\nself.set_io_visible(self.config.get('show_tx_io', False))\n- self.set_fee_edit_vi...
Python
MIT License
spesmilo/electrum
use shared prefix for config keys related to tx editor
630,992
08.02.2023 12:51:24
-3,600
c5883c7cdb6c78fb909d804210544fcf0c0a484e
text guis low hanging fruit
[ { "change_type": "MODIFY", "old_path": "electrum/gui/stdio.py", "new_path": "electrum/gui/stdio.py", "diff": "@@ -25,7 +25,7 @@ class ElectrumGui(BaseElectrumGui, EventListener):\ndef __init__(self, *, config, daemon, plugins):\nBaseElectrumGui.__init__(self, config=config, daemon=daemon, plugins=pl...
Python
MIT License
spesmilo/electrum
text guis low hanging fruit
630,969
08.02.2023 13:28:03
-3,600
1d00b56b64eef3107abb02f2441752c0eb757af9
make ConfirmTxDialog resizeable
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -377,24 +377,29 @@ class TxEditor(WindowModalDialog):\nhbox.addWidget(self.pref_button)\nreturn hbox\n+ def resize_to_fit_content(self):\n+ # fixme: calling ...
Python
MIT License
spesmilo/electrum
make ConfirmTxDialog resizeable
630,992
08.02.2023 17:12:20
-3,600
6cb6531fd9849e319cfc27157a89c41484c1395f
qml: add swap progress dialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Channels.qml", "new_path": "electrum/gui/qml/components/Channels.qml", "diff": "@@ -112,7 +112,7 @@ Pane {\nvisible: Daemon.currentWallet.lightningCanSend.satsInt > 0 || Daemon.currentWallet.lightningCanReceive.satInt > 0\nicon.sour...
Python
MIT License
spesmilo/electrum
qml: add swap progress dialog
630,992
08.02.2023 17:31:08
-3,600
6b8f9f8fe24aaf6a4532411dfe6f64abfc6d6bad
qml: allow ln node connect string without port, default to 9735
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qechannelopener.py", "new_path": "electrum/gui/qml/qechannelopener.py", "diff": "@@ -135,7 +135,11 @@ class QEChannelOpener(QObject, AuthMixin):\ndef nodeid_to_lnpeer(self, nodeid):\nnode_pubkey, host_port = extract_nodeid(nodeid)\n+ if host_p...
Python
MIT License
spesmilo/electrum
qml: allow ln node connect string without port, default to 9735
630,870
08.02.2023 23:08:01
0
90f1279d9ae2739ae5bc22a294c5c9169fefc00f
addr_sync: (trivial) don't use private utxo._is_coinbase_output
[ { "change_type": "MODIFY", "old_path": "electrum/address_synchronizer.py", "new_path": "electrum/address_synchronizer.py", "diff": "@@ -845,14 +845,14 @@ class AddressSynchronizer(Logger, EventListener):\nc = u = x = 0\nmempool_height = self.get_local_height() + 1 # height of next block\n- for utxo ...
Python
MIT License
spesmilo/electrum
addr_sync: (trivial) don't use private utxo._is_coinbase_output
630,870
08.02.2023 23:37:11
0
227ccc65d4cb8586a9699abbe0bdf1d920b1d536
perf: load matplotlib on-demand it takes ~1.7 seconds to import electrum.plot, slowing down app-startup considerably
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/history_list.py", "new_path": "electrum/gui/qt/history_list.py", "diff": "@@ -61,12 +61,6 @@ if TYPE_CHECKING:\n_logger = get_logger(__name__)\n-try:\n- from electrum.plot import plot_history, NothingToPlotException\n-except:\n- _logger.info(\"...
Python
MIT License
spesmilo/electrum
perf: load matplotlib on-demand it takes ~1.7 seconds to import electrum.plot, slowing down app-startup considerably
630,870
08.02.2023 23:37:51
0
72d750c51c1e4c0d0217454eaa93aa254ec2c8e2
plot history: also include lightning items ``` 6.15 | E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter Traceback (most recent call last): File "/home/user/wspace/electrum/electrum/gui/qt/history_list.py", line 637, in plot_history_dialog plt = plot_history(list(self.hm.transactions.values...
[ { "change_type": "MODIFY", "old_path": "electrum/plot.py", "new_path": "electrum/plot.py", "diff": "@@ -23,7 +23,8 @@ def plot_history(history):\nhist_in = defaultdict(int)\nhist_out = defaultdict(int)\nfor item in history:\n- if not item['confirmations']:\n+ is_lightning = item.get(\"lightning\", F...
Python
MIT License
spesmilo/electrum
plot history: also include lightning items ``` 6.15 | E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter Traceback (most recent call last): File "/home/user/wspace/electrum/electrum/gui/qt/history_list.py", line 637, in plot_history_dialog plt = plot_history(list(self.hm.transactio...
630,992
09.02.2023 01:13:05
-3,600
1e60cb740ff15ddad1a344b861e5a19706a14cbb
qml: fixes TextHighlightPane
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/AddressDetails.qml", "new_path": "electrum/gui/qml/components/AddressDetails.qml", "diff": "@@ -22,7 +22,7 @@ Pane {\nspacing: 0\nFlickable {\n- Layout.preferredWidth: parent.width\n+ Layout.fillWidth: true\nLayout.fillHeight: true\...
Python
MIT License
spesmilo/electrum
qml: fixes TextHighlightPane
630,992
09.02.2023 01:17:13
-3,600
c9b6917ab7af5792e968c7fc7047438c92f6883b
qml: Addresses fills page
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/Addresses.qml", "new_path": "electrum/gui/qml/components/Addresses.qml", "diff": "@@ -10,21 +10,17 @@ import \"controls\"\nPane {\nid: rootItem\npadding: 0\n- width: parent.width\nColumnLayout {\nid: layout\n- width: parent.width\n-...
Python
MIT License
spesmilo/electrum
qml: Addresses fills page
630,992
09.02.2023 01:34:54
-3,600
11439fb3fdeb96959dbbe8a5a15d33e1dd0743af
qml: don't stack exception dialogs when multiple exceptions happen
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/main.qml", "new_path": "electrum/gui/qml/components/main.qml", "diff": "@@ -32,6 +32,7 @@ ApplicationWindow\nproperty variant activeDialogs: []\nproperty bool _wantClose: false\n+ property var _exceptionDialog\nheader: ToolBar {\nid...
Python
MIT License
spesmilo/electrum
qml: don't stack exception dialogs when multiple exceptions happen
630,969
09.02.2023 10:52:09
-3,600
8c001883485f035c07e82e3e330078aecc855d48
TxEditor: set locktime
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -77,6 +77,7 @@ class TxEditor(WindowModalDialog):\nself.is_preview = False\nself.locktime_e = LockTimeEdit(self)\n+ self.locktime_e.valueEdited.connect(self....
Python
MIT License
spesmilo/electrum
TxEditor: set locktime
630,969
09.02.2023 11:07:37
-3,600
95433cd153193c437e0ad7fa7a100fbdef4a47b1
TxEditor: update_extra_fees, overloaded by ConfirmTxDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -480,13 +480,8 @@ class TxEditor(WindowModalDialog):\nfee_rate = fee // tx.estimated_size()\n#self.feerate_label.setText(self.main_window.format_amount(fee_r...
Python
MIT License
spesmilo/electrum
TxEditor: update_extra_fees, overloaded by ConfirmTxDialog
630,969
09.02.2023 11:15:31
-3,600
a740a8a004db363b36379350ae80720bb5fd5fbc
TxEditor: move set_locktime
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -492,6 +492,13 @@ class TxEditor(WindowModalDialog):\nelse:\nself.toggle_send_button(True)\n+ def set_locktime(self):\n+ if not self.tx:\n+ return\n+ locktim...
Python
MIT License
spesmilo/electrum
TxEditor: move set_locktime
630,969
09.02.2023 11:29:10
-3,600
13222c479cd68dbeb85fd34a2414bd20f30124a2
TxEditor: make trigger_update not private, call it on rbf combo changed.
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -77,7 +77,7 @@ class TxEditor(WindowModalDialog):\nself.is_preview = False\nself.locktime_e = LockTimeEdit(self)\n- self.locktime_e.valueEdited.connect(self....
Python
MIT License
spesmilo/electrum
TxEditor: make trigger_update not private, call it on rbf combo changed.
630,992
09.02.2023 12:20:50
-3,600
31523449b338b43f162e084f731a9b4b18df6901
qml: OTP dialog improvements
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/OtpDialog.qml", "new_path": "electrum/gui/qml/components/OtpDialog.qml", "diff": "@@ -44,27 +44,30 @@ ElDialog {\ninputMethodHints: Qt.ImhSensitiveData | Qt.ImhDigitsOnly\nechoMode: TextInput.Password\nfocus: true\n+ enabled: !_wait...
Python
MIT License
spesmilo/electrum
qml: OTP dialog improvements
630,992
09.02.2023 12:42:09
-3,600
d1a40c47cf520f7a8b284150ef58aa9560f985a8
qml: fix max toggle in InvoiceDialog
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/InvoiceDialog.qml", "new_path": "electrum/gui/qml/components/InvoiceDialog.qml", "diff": "@@ -313,23 +313,24 @@ ElDialog {\n}\nLabel {\n- text: Config.baseUnit\n- color: Material.accentColor\nLayout.fillWidth: amountMax.visible ? fa...
Python
MIT License
spesmilo/electrum
qml: fix max toggle in InvoiceDialog
630,969
09.02.2023 14:17:58
-3,600
ad83eaaba19cc6f2a1f9418c5a1d9a4924b9149f
TxEditor: rework update methods, separate _update_message from _update_send_button
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -67,6 +67,9 @@ class TxEditor(WindowModalDialog):\nself.make_tx = make_tx\nself.output_value = output_value\nself.tx = None # type: Optional[PartialTransacti...
Python
MIT License
spesmilo/electrum
TxEditor: rework update methods, separate _update_message from _update_send_button
630,969
09.02.2023 14:58:57
-3,600
a4928ea6eda84a59eca243db17503ad87171fab4
TxEditor: various tweaks
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/confirm_tx_dialog.py", "new_path": "electrum/gui/qt/confirm_tx_dialog.py", "diff": "@@ -181,6 +181,7 @@ class TxEditor(WindowModalDialog):\nself.fee_target = QLabel('')\nself.fee_slider = FeeSlider(self, self.config, self.fee_slider_callback)\n...
Python
MIT License
spesmilo/electrum
TxEditor: various tweaks
630,969
01.02.2023 11:27:41
-3,600
d1eb909bee758c44d0782f1dda1147663d801c16
UTXO tab: simplify freeze menus
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/utxo_list.py", "new_path": "electrum/gui/qt/utxo_list.py", "diff": "@@ -212,34 +212,30 @@ class UTXOList(MyTreeView):\nreturn\nself.add_copy_menu(menu, idx)\n# \"Freeze coin\"\n+ menu_freeze = menu.addMenu(_(\"Freeze\"))\nif not self.wallet.is_...
Python
MIT License
spesmilo/electrum
UTXO tab: simplify freeze menus
630,969
10.02.2023 13:02:58
-3,600
965ccedc88f60dd968b56e61ed2b4c85ee3524a0
tx dialog clean-up: remove 'finalized' field and related code
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qt/transaction_dialog.py", "new_path": "electrum/gui/qt/transaction_dialog.py", "diff": "@@ -136,11 +136,6 @@ class TxInOutWidget(QWidget):\nself.tx = tx\ninputs_header_text = _(\"Inputs\") + ' (%d)'%len(self.tx.inputs())\n- #if not self.finalized...
Python
MIT License
spesmilo/electrum
tx dialog clean-up: remove 'finalized' field and related code
630,992
09.02.2023 12:57:26
-3,600
3cb9ded1ca3558da7fe303ac4c5b31cf8ff0ac9b
qml: fix flickable margins TxDetails and WalletDetails
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/TxDetails.qml", "new_path": "electrum/gui/qml/components/TxDetails.qml", "diff": "@@ -36,16 +36,17 @@ Pane {\nFlickable {\nLayout.fillWidth: true\nLayout.fillHeight: true\n- Layout.topMargin: constants.paddingLarge\n- Layout.leftMar...
Python
MIT License
spesmilo/electrum
qml: fix flickable margins TxDetails and WalletDetails
630,992
10.02.2023 10:05:39
-3,600
02fd25141ea8fff75075fff7be244c8fb3ee8b98
qml: ConfirmTxDialog layout fixes
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -57,6 +57,8 @@ ElDialog {\nLabel {\nid: amountLabel\n+ Layout.fillWidth: true\n+ Layout.minimumWidth: implicitWidth\ntext: qsTr('Amount...
Python
MIT License
spesmilo/electrum
qml: ConfirmTxDialog layout fixes
630,992
10.02.2023 11:36:36
-3,600
1bfc4f1529b0b0b5649c362748ee96bcc45590e0
qml: android notification params
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/qeapp.py", "new_path": "electrum/gui/qml/qeapp.py", "diff": "@@ -116,7 +116,7 @@ class QEAppController(BaseCrashReporter, QObject):\nexcept queue.Empty:\npass\n- def notifyAndroid(self, message):\n+ def notifyAndroid(self, wallet_name, message...
Python
MIT License
spesmilo/electrum
qml: android notification params
630,992
10.02.2023 13:28:27
-3,600
8ccc4801f7b3aa8b5d0ba83f2b8783500f471faa
qml: ConfirmTxDialog styling slider, avoid running off small screens
[ { "change_type": "MODIFY", "old_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "new_path": "electrum/gui/qml/components/ConfirmTxDialog.qml", "diff": "@@ -174,8 +174,9 @@ ElDialog {\nInfoTextArea {\nLayout.columnSpan: 2\n- Layout.preferredWidth: parent.width * 3/4\n- Layout.alignment: Qt....
Python
MIT License
spesmilo/electrum
qml: ConfirmTxDialog styling slider, avoid running off small screens
1,420
23.01.2017 10:37:18
-39,600
add1ca4f7cbd5dafdc5bf56ab35563877d6dacfd
Remove error when config doesn't have source_profile
[ { "change_type": "MODIFY", "old_path": "login.go", "new_path": "login.go", "diff": "@@ -43,13 +43,6 @@ func LoginCommand(app *kingpin.Application, input LoginCommandInput) {\nreturn\n}\n- if profileConfig, ok := profiles[input.Profile]; ok {\n- if _, hasSourceProfile := profileConfig[\"source_profil...
Go
MIT License
99designs/aws-vault
Remove error when config doesn't have source_profile
1,420
24.01.2017 14:55:34
-39,600
addb646bd26632a4d9e0a9d517414e91153d8308
Provide an admin policy for federated login
[ { "change_type": "MODIFY", "old_path": "login.go", "new_path": "login.go", "diff": "@@ -21,6 +21,8 @@ import (\n\"gopkg.in/alecthomas/kingpin.v2\"\n)\n+const allowAllIAMPolicy = `{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"*\",\"Resource\":\"*\"}]}`\n+\ntype LoginCo...
Go
MIT License
99designs/aws-vault
Provide an admin policy for federated login
1,331
01.02.2017 21:03:56
-39,600
ae2abe58572fd35482c0a337e0cab2bd28b2ab32
Use the file descriptor from os.Stdin instead of 1
[ { "change_type": "MODIFY", "old_path": "keyring/file.go", "new_path": "keyring/file.go", "diff": "@@ -21,7 +21,7 @@ func terminalPrompt(prompt string) (string, error) {\n}\nfmt.Printf(\"%s: \", prompt)\n- b, err := terminal.ReadPassword(1)\n+ b, err := terminal.ReadPassword(int(os.Stdin.Fd()))\nif e...
Go
MIT License
99designs/aws-vault
Use the file descriptor from os.Stdin instead of 1
1,331
01.02.2017 21:04:14
-39,600
21e9679b5447e431555cd14f03b895a26faaae35
Return errors on error
[ { "change_type": "MODIFY", "old_path": "keyring/file.go", "new_path": "keyring/file.go", "diff": "@@ -55,12 +55,12 @@ func (k *fileKeyring) dir() (string, error) {\nstat, err := os.Stat(dir)\nif os.IsNotExist(err) {\n- os.MkdirAll(dir, 0700)\n+ err = os.MkdirAll(dir, 0700)\n} else if err != nil && !...
Go
MIT License
99designs/aws-vault
Return errors on error
1,331
15.03.2017 10:16:35
-39,600
b8ce434c683351e17bcdfebce62951e6885771f4
Update jose2go dep
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/dvsekhvalnov/jose2go/README.md", "new_path": "vendor/github.com/dvsekhvalnov/jose2go/README.md", "diff": "@@ -10,9 +10,12 @@ Extensively unit tested and cross tested (100+ tests) for compatibility with [jo\n## Status\n-Used in production. GA ...
Go
MIT License
99designs/aws-vault
Update jose2go dep
1,413
16.03.2017 22:12:37
-3,600
74590938705c95df79694f59cf55551fcf729caf
Separate installNetworkAlias into platform-specific files
[ { "change_type": "ADD", "old_path": null, "new_path": "alias_darwin.go", "diff": "+// build: darwin\n+\n+package main\n+\n+import \"os/exec\"\n+\n+func installNetworkAlias() ([]byte, error) {\n+ return exec.Command(\"ifconfig\", \"lo0\", \"alias\", \"169.254.169.254\").CombinedOutput()\n+}\n" }, ...
Go
MIT License
99designs/aws-vault
Separate installNetworkAlias into platform-specific files
1,413
17.03.2017 13:07:03
-3,600
1e00ea22c26e0dfb9f2f0b81ffe1bceb085801e7
Updated linux command to use ip
[ { "change_type": "MODIFY", "old_path": "alias_linux.go", "new_path": "alias_linux.go", "diff": "@@ -5,5 +5,5 @@ package main\nimport \"os/exec\"\nfunc installNetworkAlias() ([]byte, error) {\n- return exec.Command(\"ifconfig\", \"lo:0\", \"169.254.169.254\").CombinedOutput()\n+ return exec.Command(\...
Go
MIT License
99designs/aws-vault
Updated linux command to use ip
1,413
17.03.2017 13:10:13
-3,600
20a84d5ffbf7e2a11c42a18dbfffc01984a82423
Fix windows syntax error
[ { "change_type": "MODIFY", "old_path": "alias_windows.go", "new_path": "alias_windows.go", "diff": "@@ -5,5 +5,5 @@ package main\nimport \"fmt\"\nfunc installNetworkAlias() ([]byte, error) {\n- return make([]byte, 0, fmt.Errorf(\"Server mode is unsupported on windows.\")\n+ return make([]byte, 0), f...
Go
MIT License
99designs/aws-vault
Fix windows syntax error
1,344
23.03.2017 12:48:34
-39,600
14d98805f65473980f11441964ae655a6408cf96
Verify vendor in CI
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "language: go\n+install: ./ci/install.sh\n+\ngo:\n- 1.7\n" }, { "change_type": "ADD", "old_path": null, "new_path": "ci/install.sh", "diff": "+#!/bin/bash\n+\n+rm -rf $(find vendor/* -maxdept...
Go
MIT License
99designs/aws-vault
Verify vendor in CI
1,344
23.03.2017 12:50:31
-39,600
c9525ad183f15d38a57c3c85931f1aaa77f67764
Dont be evil
[ { "change_type": "MODIFY", "old_path": "vendor/github.com/aulanov/go.dbus/auth.go", "new_path": "vendor/github.com/aulanov/go.dbus/auth.go", "diff": "@@ -52,7 +52,6 @@ type Auth interface {\n// connections, this method must be called before sending any messages to the\n// bus. Auth must not be calle...
Go
MIT License
99designs/aws-vault
Dont be evil
1,396
07.04.2017 20:26:15
25,200
a532d4dc47ce4a9990929d1edc7d75c9c4d859a0
Add a note on configuring Linux I had to search the github issues to find this out.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -57,6 +57,13 @@ AWS_SESSION_TOKEN=%%%\nAWS_SECURITY_TOKEN=%%%\n```\n+### Backends\n+\n+You can choose different secret storage backends, which may be particularly useful on Linux.\n+By default, Linux uses an enc...
Go
MIT License
99designs/aws-vault
Add a note on configuring Linux I had to search the github issues to find this out.
1,396
17.04.2017 15:11:00
25,200
5ccaf730ac181b1370eecef0687e6f23989cdfc2
add a USAGE document
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -26,6 +26,8 @@ The macOS release is code-signed, and you can verify this with `codesign`:\n## Usage\n+See the [USAGE](./USAGE.md) document for more help and tips.\n+\n```bash\n# Store AWS credentials for the \"h...
Go
MIT License
99designs/aws-vault
add a USAGE document
1,396
17.04.2017 20:24:11
25,200
1ea02b7d99db7fc450a711135dd3e714243be6b8
shell quoting
[ { "change_type": "MODIFY", "old_path": "USAGE.md", "new_path": "USAGE.md", "diff": "@@ -36,7 +36,7 @@ You can create an overriding script (make it higher precedence in your PATH) tha\n#!/bin/bash\nset -euo pipefail\n-AWS_PROFILE=${AWS_DEFAULT_PROFILE:-work}\n+AWS_PROFILE=\"${AWS_DEFAULT_PROFILE:-wor...
Go
MIT License
99designs/aws-vault
shell quoting
1,420
07.06.2017 15:00:47
-36,000
ab33877e124e97e2c6914ac6abbb0e976930206d
Add a better error message when there are no creds
[ { "change_type": "MODIFY", "old_path": "login.go", "new_path": "login.go", "diff": "@@ -61,7 +61,7 @@ func LoginCommand(app *kingpin.Application, input LoginCommandInput) {\nval, err := creds.Get()\nif err != nil {\nif awsErr, ok := err.(awserr.Error); ok && awsErr.Code() == \"NoCredentialProviders\...
Go
MIT License
99designs/aws-vault
Add a better error message when there are no creds
1,420
07.06.2017 15:30:10
-36,000
c06945e3565f404276001bf504f164820100a5a4
Mention the source_profile in error messages
[ { "change_type": "MODIFY", "old_path": "config.go", "new_path": "config.go", "diff": "@@ -7,6 +7,7 @@ import (\n\"path/filepath\"\n\"strings\"\n+ \"github.com/aws/aws-sdk-go/aws/awserr\"\n\"github.com/mitchellh/go-homedir\"\n\"github.com/vaughan0/go-ini\"\n)\n@@ -65,3 +66,22 @@ func sourceProfile(p ...
Go
MIT License
99designs/aws-vault
Mention the source_profile in error messages
1,420
07.06.2017 15:33:12
-36,000
933458bbdba724adf3b485b8dc647dcc973a9585
Clarify list command
[ { "change_type": "MODIFY", "old_path": "main.go", "new_path": "main.go", "diff": "@@ -52,7 +52,7 @@ func configureAddCommand(app *kingpin.Application, g *globalFlags) {\nfunc configureListCommand(app *kingpin.Application, g *globalFlags) {\ninput := LsCommandInput{}\n- cmd := app.Command(\"list\", \...
Go
MIT License
99designs/aws-vault
Clarify list command
1,420
07.06.2017 15:35:55
-36,000
36ca12ecbed8a448b8eb14aa1783b4922664d68b
Add clearer message for non-assumed role login
[ { "change_type": "MODIFY", "old_path": "login.go", "new_path": "login.go", "diff": "@@ -70,7 +70,8 @@ func LoginCommand(app *kingpin.Application, input LoginCommandInput) {\nlog.Printf(\"No session token found, calling GetFederationToken\")\nstsCreds, err := getFederationToken(val, input.FederationT...
Go
MIT License
99designs/aws-vault
Add clearer message for non-assumed role login
1,406
03.07.2017 13:43:34
-3,600
5d8477f596c6a51a10e0c0a0c82ae7a65d24b546
Add configurable ENV support for assume-role-ttl
[ { "change_type": "MODIFY", "old_path": "main.go", "new_path": "main.go", "diff": "@@ -97,6 +97,7 @@ func configureExecCommand(app *kingpin.Application, g *globalFlags) {\ncmd.Flag(\"assume-role-ttl\", \"Expiration time for aws assumed role\").\nDefault(\"15m\").\n+ OverrideDefaultFromEnvar(\"AWS_ASS...
Go
MIT License
99designs/aws-vault
Add configurable ENV support for assume-role-ttl
1,420
05.08.2017 14:43:53
-36,000
45b75d78b16025bc464395db532cf79d4a6bac0d
Replace the obj-C horror with keybase's library
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "package keyring\n-// https://developer.apple.com/library/mac/documentation/Security/Reference/keychainservices/index.html\n-\n-/*\n-#cgo CFLAGS: -mmacosx-version-min=10.6 -D__MAC_OS_X_VERSION_MA...
Go
MIT License
99designs/aws-vault
Replace the obj-C horror with keybase's library
1,420
05.08.2017 18:43:29
-36,000
49c84bbdd605b56aee1b4ff673ed98057eec7984
Remove keychainAccessGroup
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "package keyring\nimport (\n- \"fmt\"\n\"log\"\ngokeychain \"github.com/keybase/go-keychain\"\n)\n-const (\n- keychainAccessGroup = \"ACE1234DEF.com.99designs.aws-vault\"\n-)\n-\ntype keychain st...
Go
MIT License
99designs/aws-vault
Remove keychainAccessGroup
1,420
07.08.2017 22:26:51
-36,000
b8fe427848c17e786344af7e87fc133afe42ee06
Use the original credentials for key rotation, not a session
[ { "change_type": "MODIFY", "old_path": "rotate.go", "new_path": "rotate.go", "diff": "package main\nimport (\n- \"fmt\"\n\"log\"\n\"github.com/99designs/aws-vault/keyring\"\n@@ -43,13 +42,14 @@ func RotateCommand(app *kingpin.Application, input RotateCommandInput) {\nMfaToken: input.MfaToken,\nMfaPr...
Go
MIT License
99designs/aws-vault
Use the original credentials for key rotation, not a session
1,420
08.08.2017 08:04:42
-36,000
54476e3841460855ffc402dd8342497e9a42060a
Support using profiles for rotating credentials
[ { "change_type": "MODIFY", "old_path": "provider.go", "new_path": "provider.go", "diff": "@@ -33,6 +33,7 @@ type VaultOptions struct {\nMfaPrompt prompt.PromptFunc\nNoSession bool\nProfiles profiles\n+ MasterCreds *credentials.Value\n}\nfunc (o VaultOptions) Validate() error {\n@@ -170,6 +171,10 @@ ...
Go
MIT License
99designs/aws-vault
Support using profiles for rotating credentials
1,420
09.08.2017 15:47:01
-36,000
85a79e4261d8c822bb22043a8bbbe06c0fabf035
Fixed regression that prompted for keychain access for sessions
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "@@ -79,9 +79,12 @@ func (k *keychain) Set(item Item) error {\nkcItem.SetSynchronizable(gokeychain.SynchronizableNo)\nkcItem.SetAccessible(gokeychain.AccessibleWhenUnlocked)\nkcItem.UseKeychain(k...
Go
MIT License
99designs/aws-vault
Fixed regression that prompted for keychain access for sessions
1,420
09.08.2017 16:09:53
-36,000
d84f6636db253a52f9b273170b103538e782da32
Remove chain provider, it's not good practice
[ { "change_type": "MODIFY", "old_path": "config.go", "new_path": "config.go", "diff": "@@ -83,5 +83,5 @@ func formatCredentialError(p string, from profiles, err error) string {\nsourceDescr, source)\n}\n- return fmt.Sprintf(\"Failed to get credentials for %s: %v\", err, sourceDescr)\n+ return fmt.Spr...
Go
MIT License
99designs/aws-vault
Remove chain provider, it's not good practice
1,420
10.08.2017 14:35:05
-36,000
4868b434f590a42a321da7a3e657be651a101190
Use SetMatchSearchList for search
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "@@ -42,7 +42,7 @@ func (k *keychain) Get(key string) (Item, error) {\nquery.SetMatchLimit(gokeychain.MatchLimitOne)\nquery.SetReturnAttributes(true)\nquery.SetReturnData(true)\n- query.UseKeycha...
Go
MIT License
99designs/aws-vault
Use SetMatchSearchList for search
1,420
10.08.2017 18:28:27
-36,000
027897b151d780923158412760885b72c1fba696
Use SetMatchSearchList vs UseKeychain One is for adding, one is for search. Before this change items were incorrectly added to the default keychain.
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "@@ -42,7 +42,7 @@ func (k *keychain) Get(key string) (Item, error) {\nquery.SetMatchLimit(gokeychain.MatchLimitOne)\nquery.SetReturnAttributes(true)\nquery.SetReturnData(true)\n- query.UseKeycha...
Go
MIT License
99designs/aws-vault
Use SetMatchSearchList vs UseKeychain One is for adding, one is for search. Before this change items were incorrectly added to the default keychain.
1,420
10.08.2017 18:44:25
-36,000
ab90f80e093f85baa1d67ecceae3f03f0683ac5b
Drop support for the env and shared credentials provider
[ { "change_type": "MODIFY", "old_path": "provider.go", "new_path": "provider.go", "diff": "@@ -172,24 +172,20 @@ func (p *VaultProvider) Retrieve() (credentials.Value, error) {\nfunc (p *VaultProvider) getMasterCreds() (credentials.Value, error) {\nsource := sourceProfile(p.profile, p.profiles)\n- cr...
Go
MIT License
99designs/aws-vault
Drop support for the env and shared credentials provider
1,420
12.08.2017 14:26:01
-36,000
76381cecf35c65a20865855d2f3ac22b148cf784
Keychain doesn't overwrite, needs delete on duplicate
[ { "change_type": "MODIFY", "old_path": "keyring/keychain.go", "new_path": "keyring/keychain.go", "diff": "package keyring\nimport (\n+ \"fmt\"\n\"log\"\ngokeychain \"github.com/keybase/go-keychain\"\n@@ -82,9 +83,24 @@ func (k *keychain) Set(item Item) error {\nkcItem.SetAccess(&gokeychain.Access{Se...
Go
MIT License
99designs/aws-vault
Keychain doesn't overwrite, needs delete on duplicate
1,420
10.08.2017 18:31:19
-36,000
b709ddd974f372e697f2a40655fbb5832e46c0fa
Prevent a request for master credentials When a session is requested from the keychain, the master credentials shouldn't be requested. Instead we should be prompting for access to the session keychain item.
[ { "change_type": "MODIFY", "old_path": "vault/config.go", "new_path": "vault/config.go", "diff": "@@ -83,5 +83,5 @@ func FormatCredentialError(profileKey string, from Profiles, err error) string {\nsourceDescr, source)\n}\n- return fmt.Sprintf(\"Failed to get credentials for %s: %v\", err, sourceDes...
Go
MIT License
99designs/aws-vault
Prevent a request for master credentials When a session is requested from the keychain, the master credentials shouldn't be requested. Instead we should be prompting for access to the session keychain item.
1,420
10.08.2017 18:33:18
-36,000
50263f5076b0aa989f2ad9340dea1a0a1ba510ff
Don't implicitly trust aws-vault for access to cached sessions
[ { "change_type": "MODIFY", "old_path": "vault/sessions.go", "new_path": "vault/sessions.go", "diff": "@@ -68,7 +68,7 @@ func (s *KeyringSessions) Store(profile string, session sts.Credentials, duratio\nLabel: \"aws-vault session for \" + profile,\nDescription: \"aws-vault session for \" + profile,\n...
Go
MIT License
99designs/aws-vault
Don't implicitly trust aws-vault for access to cached sessions
1,420
10.08.2017 18:41:21
-36,000
c867a32b0452b17ea4c9012c75eb4395549f3156
Add RetrieveWithoutSessionToken() to handle NoSession
[ { "change_type": "MODIFY", "old_path": "vault/provider.go", "new_path": "vault/provider.go", "diff": "@@ -151,6 +151,48 @@ func (p *VaultProvider) Retrieve() (credentials.Value, error) {\nreturn value, nil\n}\n+// RetrieveWithoutSessionToken returns credentials that are either the master credentials...
Go
MIT License
99designs/aws-vault
Add RetrieveWithoutSessionToken() to handle NoSession
1,420
17.09.2017 13:39:22
-36,000
74160d01f6c10b342472b2311945e90296fa2b69
UserName is nil for root user
[ { "change_type": "MODIFY", "old_path": "cli/rotate.go", "new_path": "cli/rotate.go", "diff": "@@ -71,9 +71,14 @@ func RotateCommand(app *kingpin.Application, input RotateCommandInput) {\nreturn\n}\n+ var userName = \"root\"\n+ if userOutput.User.UserName != nil {\n+ userName = *userOutput.User.UserN...
Go
MIT License
99designs/aws-vault
UserName is nil for root user
1,409
18.09.2017 08:46:29
-36,000
ac5ccc1952229b6a2e75e2a33b0d5cc8f2f71607
Fallback to Arn when Username doesn't exist
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -7,6 +7,7 @@ import (\n\"log\"\n\"net/http\"\n\"net/url\"\n+ \"strings\"\n\"time\"\n\"github.com/99designs/aws-vault/prompt\"\n@@ -200,20 +201,17 @@ func LoginCommand(app *kingpin.Application, input LoginC...
Go
MIT License
99designs/aws-vault
Fallback to Arn when Username doesn't exist
1,409
18.09.2017 09:25:25
-36,000
facc1cadc7ff0484455934867872802478e4e741
Generatlise getCurrentUserName
[ { "change_type": "MODIFY", "old_path": "cli/login.go", "new_path": "cli/login.go", "diff": "@@ -206,8 +206,13 @@ func getFederationToken(creds credentials.Value, d time.Duration) (*sts.Credenti\n})\nclient := sts.New(sess)\n+ currentUsername, err := getCurrentUserName(sess)\n+ if err != nil {\n+ ret...
Go
MIT License
99designs/aws-vault
Generatlise getCurrentUserName
1,420
18.09.2017 10:17:24
-36,000
18af62d4636b513e82da656a671de5f57e372895
Add an error when trying to add credentials to source_profile profile
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -38,6 +38,18 @@ func ConfigureAddCommand(app *kingpin.Application) {\nfunc AddCommand(app *kingpin.Application, input AddCommandInput) {\nvar accessKeyId, secretKey string\n+ profiles, err := awsConfigFile.Par...
Go
MIT License
99designs/aws-vault
Add an error when trying to add credentials to source_profile profile
1,420
23.09.2017 12:08:19
-36,000
f6576cc606a0e14de071766de5266f042d76dd12
Add an IsSessionKey check and tests
[ { "change_type": "MODIFY", "old_path": "vault/sessions.go", "new_path": "vault/sessions.go", "diff": "@@ -7,6 +7,7 @@ import (\n\"errors\"\n\"fmt\"\n\"log\"\n+ \"regexp\"\n\"strings\"\n\"time\"\n@@ -14,6 +15,12 @@ import (\n\"github.com/aws/aws-sdk-go/service/sts\"\n)\n+var sessionKeyPattern = regex...
Go
MIT License
99designs/aws-vault
Add an IsSessionKey check and tests
1,420
24.09.2017 19:51:36
-36,000
e4d1705e815906f2c2c592843e32668e1ba72153
Consolidate profiles and aws config, add tests
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -38,15 +38,12 @@ func ConfigureAddCommand(app *kingpin.Application) {\nfunc AddCommand(app *kingpin.Application, input AddCommandInput) {\nvar accessKeyId, secretKey string\n- profiles, err := awsConfigFile.Pa...
Go
MIT License
99designs/aws-vault
Consolidate profiles and aws config, add tests
1,420
12.10.2017 08:41:09
-39,600
e83ea3bbaa10f7fdc958fc21c81963cfb9cb0315
Add tests around parsing config
[ { "change_type": "MODIFY", "old_path": "cli/add.go", "new_path": "cli/add.go", "diff": "@@ -38,10 +38,7 @@ func ConfigureAddCommand(app *kingpin.Application) {\nfunc AddCommand(app *kingpin.Application, input AddCommandInput) {\nvar accessKeyId, secretKey string\n- if _, hasProfile := awsConfig.Prof...
Go
MIT License
99designs/aws-vault
Add tests around parsing config