From 1bcf86b69858a19cc58280217c1ef979f0143856 Mon Sep 17 00:00:00 2001 From: Scharel Date: Tue, 11 Dec 2018 09:28:33 +0100 Subject: [PATCH] Fixed an issue that prevented to edit accounts --- qml/pages/LoginDialog.qml | 4 ++-- rpm/harbour-nextcloudnotes.changes | 3 +++ rpm/harbour-nextcloudnotes.spec | 10 ++++----- rpm/harbour-nextcloudnotes.yaml | 10 ++++----- translations/harbour-nextcloudnotes.ts | 30 +++++++++++++------------- 5 files changed, 30 insertions(+), 27 deletions(-) diff --git a/qml/pages/LoginDialog.qml b/qml/pages/LoginDialog.qml index 6d372a1..571afc8 100644 --- a/qml/pages/LoginDialog.qml +++ b/qml/pages/LoginDialog.qml @@ -11,14 +11,14 @@ Dialog { ConfigurationGroup { id: account path: "/apps/harbour-nextcloudnotes/accounts/" + accountId - /*Component.onCompleted: { + Component.onCompleted: { nameField.text = value("name", "", String) serverField.text = value("server", "https://", String) usernameField.text = value("username", "", String) passwordField.text = value("password", "", String) //unsecureConnectionTextSwitch.checked = value("unencryptedConnection", false, Boolean) unencryptedConnectionTextSwitch.checked = value("allowUnencryptedConnection", false, Boolean) - }*/ + } } canAccept: (nameField.text.length > 0 && serverField.acceptableInput && usernameField.text.length > 0 && passwordField.text.length > 0) diff --git a/rpm/harbour-nextcloudnotes.changes b/rpm/harbour-nextcloudnotes.changes index 919bb50..8a06f74 100644 --- a/rpm/harbour-nextcloudnotes.changes +++ b/rpm/harbour-nextcloudnotes.changes @@ -12,6 +12,9 @@ # * date Author's Name version-release # - Summary of changes +* Mon Dec 11 2018 Scharel Clemens 0.2-5 +- Fixed an issue that prevented to edit accounts + * Mon Dec 10 2018 Scharel Clemens 0.2-4 - Added Swedish translation (Thanks to @eson57) - Added German translation diff --git a/rpm/harbour-nextcloudnotes.spec b/rpm/harbour-nextcloudnotes.spec index 8c227df..4fdbf28 100644 --- a/rpm/harbour-nextcloudnotes.spec +++ b/rpm/harbour-nextcloudnotes.spec @@ -14,10 +14,10 @@ Name: harbour-nextcloudnotes %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: Nextcloud Notes Version: 0.2 -Release: 4 -Group: Qt/Qt -License: LICENSE -URL: http://example.org/ +Release: 5 +Group: Applications/Editors +License: MIT +URL: https://github.com/scharel/harbour-nextcloudnotes Source0: %{name}-%{version}.tar.bz2 Source100: harbour-nextcloudnotes.yaml Requires: sailfishsilica-qt5 >= 0.10.9 @@ -28,7 +28,7 @@ BuildRequires: pkgconfig(Qt5Quick) BuildRequires: desktop-file-utils %description -Short description of my Sailfish OS Application +A client app for the Nextcloud Notes server app %prep diff --git a/rpm/harbour-nextcloudnotes.yaml b/rpm/harbour-nextcloudnotes.yaml index 1d527a3..2c73ecc 100644 --- a/rpm/harbour-nextcloudnotes.yaml +++ b/rpm/harbour-nextcloudnotes.yaml @@ -1,18 +1,18 @@ Name: harbour-nextcloudnotes Summary: Nextcloud Notes Version: 0.2 -Release: 4 +Release: 5 # The contents of the Group field should be one of the groups listed here: # https://github.com/mer-tools/spectacle/blob/master/data/GROUPS -Group: Qt/Qt -URL: http://example.org/ -License: LICENSE +Group: Applications/Editors +URL: https://github.com/scharel/harbour-nextcloudnotes +License: MIT # This must be generated before uploading a package to a remote build service. # Usually this line does not need to be modified. Sources: - '%{name}-%{version}.tar.bz2' Description: | - Short description of my Sailfish OS Application + A client app for the Nextcloud Notes server app Configure: none # The qtc5 builder inserts macros to allow QtCreator to have fine # control over qmake/make execution diff --git a/translations/harbour-nextcloudnotes.ts b/translations/harbour-nextcloudnotes.ts index e9851a0..95145f0 100644 --- a/translations/harbour-nextcloudnotes.ts +++ b/translations/harbour-nextcloudnotes.ts @@ -435,77 +435,77 @@ - + Appearance - + Last edited - + Category - + Title alphabetically - + Sort notes by - + This will also change how the notes are grouped - + Show separator - + Show a separator line between the notes - + lines - + Number of lines in the preview - + Editing - + Monospaced font - + Use a monospeced font to edit a note - + Capital 'X' in checkboxes - + For interoperability with other apps such as Joplin