subsurface/qt-mobile/qml
Dirk Hohndel fd78f8dc1a QML-UI: re-architect the way we access network resources
We really need to verify that the credentials are valid before trying to access
our backend resources. Trying to do so in a clean manner caused quite a bit of
changes to how we retrieve the webservice userid and how we load the dive list
from cloud storage.

So instead of accessing the network resources directly, this adds a handler
function that first checks the validity of the credentials (by using the
rederict handler on the cloud server), and only calls the function that does
the actual work (looks up the web service userid, loads the dives) if that
succeeds.

Right now there is no good user feedback mechanism - this just gets logged on
the log page. But this is a massive improvement if there are issues with
network connectivity or if the user mistyped their credentials.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-12-04 19:51:35 -08:00
..
mobilecomponents sync with mobilecomponents 68c6dc9 2015-11-30 02:53:21 +01:00
theme Clean up dead code in units 2015-11-07 09:03:01 -08:00
CloudCredentials.qml QML-UI: use our styled elements 2015-12-03 17:57:25 -08:00
CloudStorage.qml Fix reference errors caused by moving properties around 2015-11-29 19:22:10 +01:00
dive.jpg Add banner image for the left drawer menu 2015-11-29 17:41:16 +01:00
DiveDetails.qml QML-UI: Remove button from dive details 2015-12-02 10:36:17 -08:00
DiveList.qml Fix left margin in dive list 2015-11-30 01:07:42 +01:00
DownloadFromDiveComputer.qml organize qml files in subdirectories 2015-11-07 09:00:59 -08:00
Log.qml QML UI: log the text shown on the log page 2015-12-04 19:50:54 -08:00
main.qml QML-UI: re-architect the way we access network resources 2015-12-04 19:51:35 -08:00
mobile-resources.qrc QML-UI: Split cloud credentials and other preferences 2015-12-03 14:11:30 -08:00
Preferences.qml QML-UI: use our styled elements 2015-12-03 17:57:25 -08:00
StartPage.qml QML-UI: Split cloud credentials and other preferences 2015-12-03 14:11:30 -08:00
TextButton.qml organize qml files in subdirectories 2015-11-07 09:00:59 -08:00
ThemeTest.qml port these as well to mobilecomponents 2015-11-29 17:30:41 +01:00
TopBar.qml Align subsurface logo correctly 2015-11-30 02:43:40 +01:00