subsurface/qt-mobile
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
..
qml QML-UI: re-architect the way we access network resources 2015-12-04 19:51:35 -08:00
qmlmanager.cpp QML-UI: re-architect the way we access network resources 2015-12-04 19:51:35 -08:00
qmlmanager.h QML-UI: re-architect the way we access network resources 2015-12-04 19:51:35 -08:00
qmlprofile.cpp QML UI: fix profile scaling 2015-12-02 11:28:35 -08:00
qmlprofile.h Cache diveprofile widget in the diveprofile QtQuick item 2015-11-11 19:06:00 -08:00