subsurface/mobile-widgets/qml
jan Iversen 4b713ece96 mobile UI/login: do not revert to old credentials.
If the user asked to change credentials it is equivalent to a signout,
so no need to store old credentials. This simplification allows removal
of the temporary credentials in qmlPrefs.

this commits secures the user is locked in the login page, until one
of 3 things happen:

- enter verified credentials (divelist is loaded from cloud)
- select no-cloud mode (divelist is loaded from local)
- enter new credentials, PIN page shows, enter PIN or
  cancel (back to enter credentials).

This is consistent even if the program is restarted.

Old version had a non consistent way:
A user enters new credentials,
  sees the PIN screen,
  but does not receive the email immediately,
  so works with other applications (causing the mobile app to close)

Having received the email with the PiN,
  the user starts mobile again,
  BUT does not see the PIN screen, instead the old credentials are used.

Signed-off-by: Jan Iversen <jani@apache.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-12-24 10:17:45 -08:00
..
icons Mobile/filtering: add icons for filter and sort 2018-10-23 22:45:29 +01:00
About.qml update year to 2019 in about screens 2019-01-02 09:45:01 -08:00
CloudCredentials.qml mobile-widgets: make saveCredentials() an atom 2019-12-25 03:15:52 +09:00
CopySettings.qml Mobile: UI for selecting what to copy-paste 2018-12-21 09:13:37 +02:00
DiveDetails.qml Mobile: derive the index from the dive id 2019-11-08 20:50:05 +01:00
DiveDetailsEdit.qml Mobile: allow editing dive number 2019-10-21 15:50:41 -04:00
DiveDetailsView.qml Mobile: ensure there's some space between date and depth/duration 2019-11-08 20:50:05 +01:00
DiveList.qml Mobile: modify filter so that all models get notified 2019-11-08 20:50:05 +01:00
DownloadedDiveDelegate.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
DownloadFromDiveComputer.qml mobile-widgets/qml: remove use of eval() 2019-12-24 03:52:40 +09:00
Export.qml mobile/qml: Integrate/activate diveshare in Export 2019-12-12 21:35:55 -05:00
GpsList.qml QML UI, trivial: set proper background color GPS list 2018-10-07 17:43:34 +03:00
HintsTextEdit.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
Log.qml Mobile: fix cacheBuffer for log window 2019-10-26 11:38:26 -07:00
main.qml mobile UI/login: do not revert to old credentials. 2019-12-24 10:17:45 -08:00
MapPage.qml Mobile: don't make sub-pages fill the parent 2019-10-13 11:32:27 -07:00
mobile-resources.qrc mobile-widgets/qml: add divelogsde stylesheet to resources 2019-12-11 12:36:43 -05:00
qmldir mobile-widgets/qml: add qmldir to include map-widget 2019-11-26 09:44:13 -08:00
qtquickcontrols2.conf QML UI: Fully port dive edit to Kirigami2 2017-04-01 09:35:51 +02:00
Settings.qml mobile-widget: use qPref variable 2019-12-18 13:26:29 +09:00
SsrfButton.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
SsrfCheckBox.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00
SsrfSwitch.qml Mobile UI: make SsrfSwitch resizable 2018-10-21 14:43:41 -04:00
SsrfTextField.qml Mobile: use appendTextToLog to get timestamps in logs 2019-11-03 04:02:00 -08:00
StartPage.qml mobile-widgets/qml: use showPin/oldStatus consistently 2019-12-24 08:25:51 +09:00
ThemeTest.qml Mobile QML UI: bump Kirigami imports to 2.4 2018-10-01 05:29:46 -07:00