aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
AgeCommit message (Collapse)Author
2017-10-03Replace save|restoreWindowGeometry with Qt functionsMeshCollider
Github-Pull: #11335 Rebased-From: 13baf7217bf8394ae02efc376208ae86eac4d0f6
2017-08-07scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal ↵practicalswift
instead of the macro NULL -BEGIN VERIFY SCRIPT- sed -i 's/\<NULL\>/nullptr/g' src/*.cpp src/*.h src/*/*.cpp src/*/*.h src/qt/*/*.cpp src/qt/*/*.h src/wallet/*/*.cpp src/wallet/*/*.h src/support/allocators/*.h sed -i 's/Prefer nullptr, otherwise SAFECOOKIE./Prefer NULL, otherwise SAFECOOKIE./g' src/torcontrol.cpp sed -i 's/tor: Using nullptr authentication/tor: Using NULL authentication/g' src/torcontrol.cpp sed -i 's/METHODS=nullptr/METHODS=NULL/g' src/test/torcontrol_tests.cpp src/torcontrol.cpp sed -i 's/nullptr certificates/NULL certificates/g' src/qt/paymentserver.cpp sed -i 's/"nullptr"/"NULL"/g' src/torcontrol.cpp src/test/torcontrol_tests.cpp -END VERIFY SCRIPT-
2017-07-20[Qt] Use wallet 0 in rpc console if running with multiple walletsJonas Schnelli
2017-06-22Fixed multiple typosDimitris Tsapakidis
A few "a->an" and "an->a". "Shows, if the supplied default SOCKS5 proxy" -> "Shows if the supplied default SOCKS5 proxy". Change made on 3 occurrences. "without fully understanding the ramification of a command" -> "without fully understanding the ramifications of a command". Removed duplicate words such as "the the".
2017-06-09Remove duplicate includespracticalswift
2017-05-17Merge #10395: Replace boost::function with std::function (C++11)Pieter Wuille
1b936f5 Replace boost::function with std::function (C++11) (practicalswift) Tree-SHA512: c4faec8cf3f801842010976115681f68ffa08fbc97ba50b22e95c936840f47e1b3bd8d7fd2f5b4e094b5a46bf3d29fc90b69d975a99e77322c0d19f8a00d53d3
2017-05-13Replace boost::function with std::function (C++11)practicalswift
2017-05-08Add OSX keystroke to clear RPCConsoleSpencer Lievens
Currently only Ctrl-L is mentioned in help, but, (⌘)-L functions on OSX and isn't mentioned.
2017-05-02Merge #10093: [Qt] Don't add arguments of sensitive command to console windowJonas Schnelli
7278537 [Qt] Don't add arguments of sensitive command to console window (Jonas Schnelli) Tree-SHA512: 3e5aa19a3f157caf383a0fd7dbf9b0d298d31ddaf8e24e3d1a8b913e19f54f3b69e115f98a21f3e3a14e5ccb368b59de061490ed39718299456a04989f8e3366
2017-04-12net: define NodeId as an int64_tCory Fields
This should make occurances of NodeId wrapping essentially impossible for real-world usage.
2017-03-27[Qt] Don't add arguments of sensitive command to console windowJonas Schnelli
2017-03-27Merge #10060: [Qt] Ensure an item exists on the rpcconsole stack before addingJonas Schnelli
4df76e2 Ensure an item exists on the rpcconsole stack before adding (Andrew Chow) Tree-SHA512: f3fd5e70da186949aff794f6e2ba122da2145331212dcc5e0595285bee9dc3aa6b400b15e8eeec4476099965b74f46c4ef80f8ed1e05d490580167b002b9a5e7
2017-03-24Ensure an item exists on the rpcconsole stack before addingAndrew Chow
Ensures that there is an item on the rpcconsole stack before adding something to the current stack so that a segmentation fault does not occur.
2017-03-23Merge #9500: [Qt][RPC] Autocomplete commands for 'help' command in debug consoleJonas Schnelli
6d8fe35 'help' rpc commands autocomplete (Andrew Chow) Tree-SHA512: 289bc4fa16a1c0291262998caa18556f1c5aa89662c85528606dc03b596b8833a0fb2c5c9c068b6dcf2adb3a136d4f154591d4a95b8c3313638b77355aaed955
2017-01-25net: Consistently use GetTimeMicros() for inactivity checksSuhas Daftuar
The use of mocktime in test logic means that comparisons between GetTime() and GetTimeMicros()/1000000 are unreliable since the former can use mocktime values while the latter always gets the system clock; this changes the networking code's inactivity checks to consistently use the system clock for inactivity comparisons. Also remove some hacks from setmocktime() that are no longer needed, now that we're using the system clock for nLastSend and nLastRecv.
2017-01-09'help' rpc commands autocompleteAndrew Chow
Adds autocompletion of the commands for when getting the help of a command by using `help <command>`
2017-01-09Rename lambda argument name to prevent shadowing.Pavel Janík
2017-01-04Merge #9450: Increment MIT licence copyright header year on files modified ↵Wladimir J. van der Laan
in 2016 27765b6 Increment MIT Licence copyright header year on files modified in 2016 (isle2983)
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
Edited via: $ contrib/devtools/copyright_header.py update .
2016-12-29GUI/RPCConsole: Include importmulti in history sensitive-command filterLuke Dashjr
2016-12-29Qt/RPCConsole: Use RPCParseCommandLine to perform command filteringLuke Dashjr
2016-12-29Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to ↵Luke Dashjr
sensitive commands
2016-12-29Qt/RPCConsole: Make it possible to parse a command without executing itLuke Dashjr
2016-12-29Qt/RPCConsole: Truncate filtered commands to just the command name, rather ↵Luke Dashjr
than skip it entirely in history
2016-12-29Qt/RPCConsole: Add signmessagewithprivkey to list of commands filtered from ↵Luke Dashjr
history
2016-12-29Qt/RPCConsole: Refactor command_may_contain_sensitive_data function out of ↵Luke Dashjr
RPCConsole::on_lineEdit_returnPressed
2016-12-29Bugfix: Do not add sensitive information to history for realLuke Dashjr
Original code was missing braces, and short-circuited before checking everything after importprivkey
2016-12-29Qt/RPCConsole: Don't store commands with potentially sensitive information ↵Jonas Schnelli
in the history Filters importprivkey, signrawtransaction, walletpassphrase, walletpassphrasechange, and encryptwallet
2016-12-29Qt/RPCConsole: Save current command entry when browsing historyJonas Schnelli
Shell-like, but doesn't store changed history commands until executing it.
2016-12-19Merge #9329: [Qt] Console: allow empty argumentsWladimir J. van der Laan
390bd14 [Qt] Console: don't allow empty arguments when using the comma-syntax (Jonas Schnelli) 6a32c0f Qt/Test: Check handling of empty arguments in RPC debug console (Luke Dashjr) 89c8d2c [Qt] Console: allow empty arguments (Jonas Schnelli)
2016-12-14[Qt] Console: don't allow empty arguments when using the comma-syntaxJonas Schnelli
2016-12-13[Qt] Console: allow empty argumentsJonas Schnelli
2016-12-12[Qt] Console: add security warningJonas Schnelli
2016-12-08Merge #9255: qt: layoutAboutToChange signal is called layoutAboutToBeChangedWladimir J. van der Laan
f36349e qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsole (Wladimir J. van der Laan) 297cc20 qt: layoutAboutToChange signal is called layoutAboutToBeChanged (Wladimir J. van der Laan)
2016-12-08Merge #9266: Bugfix: Qt/RPCConsole: Put column enum in the right placesWladimir J. van der Laan
df17fe0 Bugfix: Qt/RPCConsole: Put column enum in the right places (Luke Dashjr)
2016-12-07qt: Remove on_toggleNetworkActiveButton_clicked from RPCConsoleWladimir J. van der Laan
There is no network toggle button (anymore?) in the RPC console. Removes another warning (#9250).
2016-12-02Bugfix: Qt/RPCConsole: Put column enum in the right placesLuke Dashjr
QModelIndex::data argument is a role, not a column
2016-12-01qt: layoutAboutToChange signal is called layoutAboutToBeChangedWladimir J. van der Laan
This was misnamed, resulting in a warning message and missing functionality. I'm not sure what the change in behavior will be here, this needs testing. Also remove connection to non-existing slot "test". This was used for testing if the signal arrived. It is no longer necessary. Fixes: 2016-12-01 10:04:06 GUI: QObject::connect: No such signal PeerTableModel::layoutAboutToChange() in qt/rpcconsole.cpp:518 2016-12-01 10:04:06 GUI: QObject::connect: (receiver name: 'RPCConsole') 2016-12-01 10:04:06 GUI: QObject::connect: No such slot RPCConsole::test() in qt/rpcconsole.cpp:781 2016-12-01 10:04:06 GUI: QObject::connect: (receiver name: 'RPCConsole')
2016-11-23qt: Prevent thread/memory leak on exiting RPCConsoleWladimir J. van der Laan
Make ownership of the QThread object clear, so that the RPCConsole can wait for the executor thread to quit before shutdown is called. This increases overall thread safety, and prevents some objects from leaking on exit.
2016-11-23qt: Plug many memory leaksWladimir J. van der Laan
None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead.
2016-11-11Merge #8996: Network activity toggleJonas Schnelli
19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
2016-11-08Fix auto-deselection of peersAndrew Chow
2016-11-08Multiple Selection for peer and ban tablesAndrew Chow
Allows multiple selection and action for the nodes in the peer and ban tables in the Debug Window.
2016-10-24Qt: Add GUI feedback and control of network activity state.Jon Lund Steffensen
Add getNetworkActive()/setNetworkActive() method to client model. Send network active status through NotifyNetworkActiveChanged. Indicate in tool tip of gui status bar network indicator whether network activity is disabled. Indicate in debug window whether network activity is disabled and add button to allow user to toggle network activity state.
2016-10-19[RPC] Give RPC commands more information about the RPC requestJonas Schnelli
2016-10-15Display minimum ping in debug window.R E Broadley
2016-10-04gui: fix ban from qt consoleCory Fields
Rather than doing a circle and re-resolving the node's IP, just use the one from nodestats directly. This requires syncing the addr field from CNode.
2016-09-23Do not shadow in src/qtPavel Janík
2016-09-20Merge #7783: [Qt] RPC-Console: support nested commands and simple value queriesWladimir J. van der Laan
1586044 [Qt] RPC-Console: support nested commands and simple value queries (Jonas Schnelli)
2016-09-08net: Add most functions needed for vNodes to CConnmanCory Fields