Fixed an issue that prevented to edit accounts
This commit is contained in:
parent
efd7e840b6
commit
1bcf86b698
5 changed files with 30 additions and 27 deletions
|
@ -11,14 +11,14 @@ Dialog {
|
||||||
ConfigurationGroup {
|
ConfigurationGroup {
|
||||||
id: account
|
id: account
|
||||||
path: "/apps/harbour-nextcloudnotes/accounts/" + accountId
|
path: "/apps/harbour-nextcloudnotes/accounts/" + accountId
|
||||||
/*Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
nameField.text = value("name", "", String)
|
nameField.text = value("name", "", String)
|
||||||
serverField.text = value("server", "https://", String)
|
serverField.text = value("server", "https://", String)
|
||||||
usernameField.text = value("username", "", String)
|
usernameField.text = value("username", "", String)
|
||||||
passwordField.text = value("password", "", String)
|
passwordField.text = value("password", "", String)
|
||||||
//unsecureConnectionTextSwitch.checked = value("unencryptedConnection", false, Boolean)
|
//unsecureConnectionTextSwitch.checked = value("unencryptedConnection", false, Boolean)
|
||||||
unencryptedConnectionTextSwitch.checked = value("allowUnencryptedConnection", false, Boolean)
|
unencryptedConnectionTextSwitch.checked = value("allowUnencryptedConnection", false, Boolean)
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
canAccept: (nameField.text.length > 0 && serverField.acceptableInput && usernameField.text.length > 0 && passwordField.text.length > 0)
|
canAccept: (nameField.text.length > 0 && serverField.acceptableInput && usernameField.text.length > 0 && passwordField.text.length > 0)
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
# * date Author's Name <author's email> version-release
|
# * date Author's Name <author's email> version-release
|
||||||
# - Summary of changes
|
# - Summary of changes
|
||||||
|
|
||||||
|
* Mon Dec 11 2018 Scharel Clemens <harbour-nextcloudnotes@scharel.name> 0.2-5
|
||||||
|
- Fixed an issue that prevented to edit accounts
|
||||||
|
|
||||||
* Mon Dec 10 2018 Scharel Clemens <harbour-nextcloudnotes@scharel.name> 0.2-4
|
* Mon Dec 10 2018 Scharel Clemens <harbour-nextcloudnotes@scharel.name> 0.2-4
|
||||||
- Added Swedish translation (Thanks to @eson57)
|
- Added Swedish translation (Thanks to @eson57)
|
||||||
- Added German translation
|
- Added German translation
|
||||||
|
|
|
@ -14,10 +14,10 @@ Name: harbour-nextcloudnotes
|
||||||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||||
Summary: Nextcloud Notes
|
Summary: Nextcloud Notes
|
||||||
Version: 0.2
|
Version: 0.2
|
||||||
Release: 4
|
Release: 5
|
||||||
Group: Qt/Qt
|
Group: Applications/Editors
|
||||||
License: LICENSE
|
License: MIT
|
||||||
URL: http://example.org/
|
URL: https://github.com/scharel/harbour-nextcloudnotes
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source100: harbour-nextcloudnotes.yaml
|
Source100: harbour-nextcloudnotes.yaml
|
||||||
Requires: sailfishsilica-qt5 >= 0.10.9
|
Requires: sailfishsilica-qt5 >= 0.10.9
|
||||||
|
@ -28,7 +28,7 @@ BuildRequires: pkgconfig(Qt5Quick)
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Short description of my Sailfish OS Application
|
A client app for the Nextcloud Notes server app
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
Name: harbour-nextcloudnotes
|
Name: harbour-nextcloudnotes
|
||||||
Summary: Nextcloud Notes
|
Summary: Nextcloud Notes
|
||||||
Version: 0.2
|
Version: 0.2
|
||||||
Release: 4
|
Release: 5
|
||||||
# The contents of the Group field should be one of the groups listed here:
|
# The contents of the Group field should be one of the groups listed here:
|
||||||
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
||||||
Group: Qt/Qt
|
Group: Applications/Editors
|
||||||
URL: http://example.org/
|
URL: https://github.com/scharel/harbour-nextcloudnotes
|
||||||
License: LICENSE
|
License: MIT
|
||||||
# This must be generated before uploading a package to a remote build service.
|
# This must be generated before uploading a package to a remote build service.
|
||||||
# Usually this line does not need to be modified.
|
# Usually this line does not need to be modified.
|
||||||
Sources:
|
Sources:
|
||||||
- '%{name}-%{version}.tar.bz2'
|
- '%{name}-%{version}.tar.bz2'
|
||||||
Description: |
|
Description: |
|
||||||
Short description of my Sailfish OS Application
|
A client app for the Nextcloud Notes server app
|
||||||
Configure: none
|
Configure: none
|
||||||
# The qtc5 builder inserts macros to allow QtCreator to have fine
|
# The qtc5 builder inserts macros to allow QtCreator to have fine
|
||||||
# control over qmake/make execution
|
# control over qmake/make execution
|
||||||
|
|
|
@ -435,77 +435,77 @@
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="143"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="144"/>
|
||||||
<source>Appearance</source>
|
<source>Appearance</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="147"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="148"/>
|
||||||
<source>Last edited</source>
|
<source>Last edited</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="147"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="148"/>
|
||||||
<source>Category</source>
|
<source>Category</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="147"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="148"/>
|
||||||
<source>Title alphabetically</source>
|
<source>Title alphabetically</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="148"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="149"/>
|
||||||
<source>Sort notes by</source>
|
<source>Sort notes by</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="149"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="150"/>
|
||||||
<source>This will also change how the notes are grouped</source>
|
<source>This will also change how the notes are grouped</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="170"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="171"/>
|
||||||
<source>Show separator</source>
|
<source>Show separator</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="171"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="172"/>
|
||||||
<source>Show a separator line between the notes</source>
|
<source>Show a separator line between the notes</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="181"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="182"/>
|
||||||
<source>lines</source>
|
<source>lines</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="182"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="183"/>
|
||||||
<source>Number of lines in the preview</source>
|
<source>Number of lines in the preview</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="187"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="188"/>
|
||||||
<source>Editing</source>
|
<source>Editing</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="190"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="191"/>
|
||||||
<source>Monospaced font</source>
|
<source>Monospaced font</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="191"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="192"/>
|
||||||
<source>Use a monospeced font to edit a note</source>
|
<source>Use a monospeced font to edit a note</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="196"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="197"/>
|
||||||
<source>Capital 'X' in checkboxes</source>
|
<source>Capital 'X' in checkboxes</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/pages/SettingsPage.qml" line="197"/>
|
<location filename="../qml/pages/SettingsPage.qml" line="198"/>
|
||||||
<source>For interoperability with other apps such as Joplin</source>
|
<source>For interoperability with other apps such as Joplin</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue