Compare commits

..

18 Commits

Author SHA1 Message Date
luigi1111
bbe4fe3763 Merge pull request #3999
87f9d28 Dockerfile: fix hash (selsta)
2022-08-10 14:20:04 -05:00
selsta
87f9d28fea Dockerfile: fix hash 2022-08-10 19:47:56 +02:00
luigi1111
58ddd8c2bc Merge pull request #3998
91959d3 build: prepare v0.18.1.0 (selsta)
2022-08-10 12:21:43 -05:00
luigi1111
264d3694c5 Merge pull request #3995
7184c45 main: only check mining status when using local node (selsta)
2022-08-10 12:19:48 -05:00
luigi1111
79d56af921 Merge pull request #3994
fc26150 libwalletqt: refresh once on wallet opening (selsta)
2022-08-10 12:19:26 -05:00
luigi1111
e668995673 Merge pull request #3988
f796be3 trim restore height at info -> change height input (plowsof)
2022-08-10 12:19:05 -05:00
luigi1111
8b2fe88824 Merge pull request #3985
fa3b49c Windows installer: Welcome image for 0.18 (rbrunner7)
2022-08-10 12:18:43 -05:00
luigi1111
80830584d1 Merge pull request #3978
9e6f116 TxUtils: don't show resolve for float (reemuru)
2022-08-10 12:18:08 -05:00
luigi1111
ae21f79040 Merge pull request #3973
b70a984 README: Update copyright to 2022 (garth-xmr)
2022-08-10 12:17:33 -05:00
luigi1111
b7ab50759a Merge pull request #3734
0ded8dc Settings: option to skip stop local node screen (selsta)
2022-08-10 12:17:06 -05:00
selsta
91959d3e2e build: prepare v0.18.1.0 2022-08-10 19:15:20 +02:00
selsta
7184c45043 main: only check mining status when using local node 2022-08-06 23:32:11 +02:00
selsta
fc261502d1 libwalletqt: refresh once on wallet opening
Co-authored-by: tobtoht <thotbot@protonmail.com>
2022-08-06 21:58:21 +02:00
plowsof
f796be37ce trim restore height at info -> change height input
If you accidentally copy and paste a date with a new line character 
```
2022-01-01

```
The gui will restore from 2022. I ran into this problem when helping someone just now, after giving them the correct date to copy and paste so they can restore quicker xD caused some confusion.

the reg exp method used here 064c145aa8/wizard/WizardRestoreWallet1.qml (L277) prevents you from copy and pasting the 'wrong' string which might be annoying
2022-07-28 01:57:41 +01:00
rbrunner7
fa3b49ca91 Windows installer: Welcome image for 0.18 2022-07-25 20:28:20 +02:00
reemuru
9e6f116bc9 TxUtils: don't show resolve for float
Add parseFloat() checks so that the 'Resolve' button
for OpenAlias remains hidden. Also add a length check
for one character with a dot. IP addresses will not be
respected, but the whole point of domain names and OA is
for facilitating human readable / user friendly information.

Co-authored-by: selsta <selsta@users.noreply.github.com>
2022-07-22 10:21:29 -04:00
garth-xmr
b70a9842f5 README: Update copyright to 2022 2022-07-17 19:10:50 +00:00
selsta
0ded8dcf25 Settings: option to skip stop local node screen 2021-11-15 06:31:34 +01:00
11 changed files with 27 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ project(monero-gui)
message(STATUS "Initiating compile using CMake ${CMAKE_VERSION}")
set(VERSION_MAJOR "18")
set(VERSION_MINOR "0")
set(VERSION_MINOR "1")
set(VERSION_REVISION "0")
set(VERSION "0.${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REVISION}")

View File

@@ -12,9 +12,9 @@ RUN apt update && \
RUN update-alternatives --set x86_64-w64-mingw32-g++ $(which x86_64-w64-mingw32-g++-posix) && \
update-alternatives --set x86_64-w64-mingw32-gcc $(which x86_64-w64-mingw32-gcc-posix)
RUN git clone -b v0.18.0.0 --depth 1 https://github.com/monero-project/monero && \
RUN git clone -b v0.18.1.0 --depth 1 https://github.com/monero-project/monero && \
cd monero && \
git reset --hard b6a029f222abada36c7bc6c65899a4ac969d7dee && \
git reset --hard 727bc5b6878170332bf2d838f2c60d1c8dc685c8 && \
cp -a contrib/depends / && \
cd .. && \
rm -rf monero

View File

@@ -1,6 +1,6 @@
# Monero GUI
Copyright (c) 2014-2019, The Monero Project
Copyright (c) 2014-2022, The Monero Project
## Table of Contents
* [Development resources](#development-resources)
@@ -108,7 +108,7 @@ Packaging for your favorite distribution would be a welcome contribution!
```
git clone --branch master --recursive https://github.com/monero-project/monero-gui.git
```
\* `master` - replace with the desired version tag (e.g. `v0.18.0.0`) to build the release binaries.
\* `master` - replace with the desired version tag (e.g. `v0.18.1.0`) to build the release binaries.
3. Prepare build environment
```
cd monero-gui
@@ -131,7 +131,7 @@ Packaging for your favorite distribution would be a welcome contribution!
```
git clone --branch master --recursive https://github.com/monero-project/monero-gui.git
```
\* `master` - replace with the desired version tag (e.g. `v0.18.0.0`) to build the release binaries.
\* `master` - replace with the desired version tag (e.g. `v0.18.1.0`) to build the release binaries.
3. Prepare build environment
```
cd monero-gui

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 KiB

After

Width:  |  Height:  |  Size: 440 KiB

View File

@@ -71,9 +71,8 @@ function checkSignature(signature) {
function isValidOpenAliasAddress(address) {
address = address.trim()
var dot = address.indexOf('.')
if (dot < 0)
return false
// we can get an awful lot of valid domains, including non ASCII chars... accept anything
return true
// there should be something after the .
// make sure it is not some kind of floating number
return address.length > 2 && isNaN(parseFloat(address)) && address.indexOf('.') >= 0
}

View File

@@ -481,7 +481,9 @@ ApplicationWindow {
walletInitialized = true
// check if daemon was already mining and add mining logo if true
middlePanel.advancedView.miningView.update();
if (!persistentSettings.useRemoteNode || persistentSettings.allowRemoteNodeMining) {
middlePanel.advancedView.miningView.update();
}
}
}
@@ -1364,6 +1366,7 @@ ApplicationWindow {
}
property bool askDesktopShortcut: isLinux
property bool askStopLocalNode: true
property string language: 'English (US)'
property string language_wallet: 'English'
property string locale: 'en_US'
@@ -2128,7 +2131,7 @@ ApplicationWindow {
showProcessingSplash(qsTr("Checking local node status..."));
const handler = function(running) {
hideProcessingSplash();
if (running) {
if (running && persistentSettings.askStopLocalNode) {
showDaemonIsRunningDialog(closeAccepted);
} else {
closeAccepted();

2
monero

Submodule monero updated: b6a029f222...727bc5b687

View File

@@ -191,7 +191,7 @@ Rectangle {
inputDialog.onAcceptedCallback = function() {
var _restoreHeight;
if (inputDialog.inputText) {
_restoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(inputDialog.inputText);
_restoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(inputDialog.inputText.trim());
}
if (!isNaN(_restoreHeight)) {
if(_restoreHeight >= 0) {

View File

@@ -155,6 +155,12 @@ Rectangle {
onMoved: persistentSettings.lockOnUserInActivityInterval = value
}
MoneroComponents.CheckBox {
checked: persistentSettings.askStopLocalNode
onClicked: persistentSettings.askStopLocalNode = !persistentSettings.askStopLocalNode
text: qsTr("Ask to stop local node during program exit") + translationManager.emptyString
}
//! Manage pricing
RowLayout {
MoneroComponents.CheckBox {

View File

@@ -545,6 +545,7 @@ bool Wallet::refresh(bool historyAndSubaddresses /* = true */)
void Wallet::startRefresh()
{
m_refreshEnabled = true;
m_refreshNow = true;
}
void Wallet::pauseRefresh()
@@ -1142,6 +1143,7 @@ Wallet::Wallet(Monero::Wallet *w, QObject *parent)
, m_subaddressModel(nullptr)
, m_subaddressAccount(new SubaddressAccount(m_walletImpl->subaddressAccount(), this))
, m_subaddressAccountModel(nullptr)
, m_refreshNow(false)
, m_refreshEnabled(false)
, m_refreshing(false)
, m_scheduler(this)
@@ -1195,10 +1197,11 @@ void Wallet::startRefreshThread()
{
const auto now = std::chrono::steady_clock::now();
const auto elapsed = now - last;
if (elapsed >= refreshInterval)
if (elapsed >= refreshInterval || m_refreshNow)
{
refresh(false);
last = std::chrono::steady_clock::now();
m_refreshNow = false;
}
}

View File

@@ -473,6 +473,7 @@ private:
QString m_daemonPassword;
QString m_proxyAddress;
mutable QMutex m_proxyMutex;
std::atomic<bool> m_refreshNow;
std::atomic<bool> m_refreshEnabled;
std::atomic<bool> m_refreshing;
WalletListenerImpl *m_walletListener;