-
Notifications
You must be signed in to change notification settings - Fork 685
Client does not recognize maintenance mode #714
Comments
Same for the Android Client I guess, cc @davivel This is an enhancement for the clients. |
Related: owncloud/android#1722 |
@cdamken , I don't understand what you mean with "previous to backlog"? Would you recommend this is dealt with higher priority? |
@davivel , after talking to @felixboehm , we agreed that this is clearly a bug and not an enhancement. Although this should cause no serious trouble, it would be extremely nice to see this resolved in the next release. |
At this point, we should clarify "next release". In the case of iOS, release 3.5.0 is taking an extraordinary time to be ready, and we can't delay it anymore. Besides, the release after that needs to be really focused in granting correct operation for iOS 10. We are not sure yet of how many problems will appear, if it's not too much maybe we can sneak this in. Maybe. The fact that it's labelled as a bug or an enhancement makes no difference about the complexity to have it solved. |
@davivel can you give an estimate on the complexity? |
Complexity comes from the scope I'm considering is "whenever the iOS app accesses to the server, if this in maintenance mode, alert the user about this state". That leads me to two worries:
If we could narrow down the scope, for instance, report only when the app is opened and/or when the user switches the account, the complexity would be lesser. Summarizing: UX in the client is not defined, and I'm assuming a worst-case scenario. |
... a third point to consider is if there is multi account |
True, this is stuff per-account. |
Yes, status.php is read during the creation of the account, and also every time the root folder of an account is refreshed. |
Couldn't you use that for updating the status in the client? (Just in case you're not already doing exactly that) |
(note that 503 might come at any time at any request, without having checked status.php in the last few requests. So the more clear indication for maintenance mode is 503 on any request) |
This bug could be fixed implementing a http response interceptor, evaluating the code and showing a message about the maintenance mode when the code is 503. We don't need to take into account all the views or accounts, the interceptor catches the response wherever the user is browsing. I've just started working on it in Android. Edit: I've just seen that is ready to test on iOS. |
BugWith maintenance mode enabled in server:
Both are correctly set as av. offline locally, but the way the user is notified should be the same. Device: iPhone 6Plus v10.1.1 CC @ggdiez |
The same happens with uploads, we have different behaviours:
Instant uploads are kind of different although they are uploads as well. Users do not know whether the server is in maintenance mode or not, so their pics and videos have to be queued in order not to lose them. Device: iPhone 6Plus v10.1.1 CC @ggdiez |
In a shibboleth server with maintenance mode enabled:
The following error is shown:
Could be prevented the login action in this case? Device: iPhone 6Plus v10.1.1 CC @ggdiez |
@jesmrec when the user create a new txt file I think that it's better that the upload will be queued, the user has done the effort to write a text, show a message with the maintenance mode and discard the text file I think that is worse. |
@ggdiez i agree in that behaviour for txt files. |
@jesmrec Added support to maintenance mode in SAML login. Ready to test. |
Approved |
solved and merged. closing... |
Steps to reproduce
Expected behaviour
The iOS client should inform the user that the server currently in maintenance mode or unreachable.
Actual behaviour
The client shows no message and displays folders as empty
Affected software versions
All
Tell us what could be improved:
Have the client display a notification when the server is unavailable (HTTP 503)
BUGS & IMPROVEMENTS
PR:
#821
owncloud/ios-library#144
The text was updated successfully, but these errors were encountered: