Merge lp://qastaging/~nataliabidart/ubuntuone-control-panel/raise-and-handle-unauthorized into lp://qastaging/ubuntuone-control-panel
Status: | Merged |
---|---|
Approved by: | Natalia Bidart |
Approved revision: | 135 |
Merged at revision: | 129 |
Proposed branch: | lp://qastaging/~nataliabidart/ubuntuone-control-panel/raise-and-handle-unauthorized |
Merge into: | lp://qastaging/ubuntuone-control-panel |
Diff against target: |
757 lines (+218/-44) 14 files modified
ubuntuone/controlpanel/backend.py (+29/-2) ubuntuone/controlpanel/dbus_service.py (+29/-21) ubuntuone/controlpanel/gtk/gui.py (+19/-5) ubuntuone/controlpanel/gtk/package_manager.py (+3/-2) ubuntuone/controlpanel/gtk/tests/test_gui.py (+29/-1) ubuntuone/controlpanel/gtk/tests/test_gui_basic.py (+9/-0) ubuntuone/controlpanel/gtk/tests/test_package_manager.py (+2/-2) ubuntuone/controlpanel/integrationtests/__init__.py (+1/-2) ubuntuone/controlpanel/integrationtests/test_dbus_service.py (+29/-0) ubuntuone/controlpanel/integrationtests/test_webclient.py (+11/-1) ubuntuone/controlpanel/replication_client.py (+1/-1) ubuntuone/controlpanel/tests/test_backend.py (+43/-5) ubuntuone/controlpanel/utils.py (+1/-1) ubuntuone/controlpanel/webclient.py (+12/-1) |
To merge this branch: | bzr merge lp://qastaging/~nataliabidart/ubuntuone-control-panel/raise-and-handle-unauthorized |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Roberto Alsina (community) | Approve | ||
Roman Yepishev (community) | fieldtest | Approve | |
Review via email:
|
Commit message
- If servers reply with a 401, clear credentials and ask user to authenticate (LP: #726612).
Description of the change
To test IRL, you need to do a little tweak in the source code due to bug #751895.
- edit ubuntuone/
- killall ubuntuone-
- in 2 terminals, run both the backend and the frontend from this branch:
DEBUG=True PYTHONPATH=. ./bin/ubuntuone
DEBUG=True PYTHONPATH=. ./bin/ubuntuone
While you have your panel opened, go to https:/
You should be redirected to the overview page and you should get your U1 credentials cleared from your local system.
+1