Merge lp:~jonas-drange/ubuntu-system-settings/allow-insecure-hotspot into lp:ubuntu-system-settings
| Status: | Merged | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Ken VanDine on 2015-09-10 | ||||||||||||
| Approved revision: | 1527 | ||||||||||||
| Merged at revision: | 1526 | ||||||||||||
| Proposed branch: | lp:~jonas-drange/ubuntu-system-settings/allow-insecure-hotspot | ||||||||||||
| Merge into: | lp:ubuntu-system-settings | ||||||||||||
| Diff against target: |
846 lines (+421/-106) 14 files modified
debian/control (+2/-2) plugins/hotspot/CMakeLists.txt (+2/-0) plugins/hotspot/HotspotSetup.qml (+95/-42) plugins/hotspot/PageComponent.qml (+3/-10) plugins/hotspot/hotspot.settings (+2/-1) plugins/hotspot/plugin/CMakeLists.txt (+8/-0) plugins/hotspot/plugin/hotspot-plugin.cpp (+88/-0) plugins/hotspot/plugin/hotspot-plugin.h (+39/-0) tests/autopilot/ubuntu_system_settings/__init__.py (+15/-0) tests/autopilot/ubuntu_system_settings/tests/__init__.py (+70/-41) tests/autopilot/ubuntu_system_settings/tests/connectivity.py (+12/-0) tests/autopilot/ubuntu_system_settings/tests/systemimage.py (+48/-0) tests/autopilot/ubuntu_system_settings/tests/test_hotspot.py (+22/-9) tests/autopilot/ubuntu_system_settings/tests/test_plugins.py (+15/-1) |
||||||||||||
| To merge this branch: | bzr merge lp:~jonas-drange/ubuntu-system-settings/allow-insecure-hotspot | ||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-09-10 | |
| Ken VanDine | 2015-08-31 | Approve on 2015-09-10 | |
| Matthew Paul Thomas | 2015-08-31 | Needs Fixing on 2015-09-03 | |
| Pete Woods | 2015-09-04 | Pending | |
|
Review via email:
|
|||
Commit Message
[hotspot] allow insecure hotspot, hide hotspot for mako, make autopilot tests run on mako, and change packaging so we get a newer Connectivity API (provided by indicator-network).
Description of the Change
* Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes
* Did you build your software in a clean sbuild/pbuilder chroot or ppa?
Yes
* Did you build your software in a clean sbuild/pbuilder armhf chroot or ppa?
Yes
* Has your component "TestPlan” been executed successfully on emulator, N4?
Yes
* Has a 5 minute exploratory testing run been executed on N4?
N/A
* If you changed the packaging (debian), did you subscribe a core-dev to this MP?
Yes, and Ken VanDine is subscribed.
* If you changed the UI, did you subscribe the design-reviewers to this MP?
Yes (mpt)
* What components might get impacted by your changes?
Hotspot
* Have you requested review by the teams of these owning components?
N/A
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1517
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1518
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Ken VanDine (ken-vandine) wrote : | # |
The latest CI run did have a hotspot related failure:
ubuntu_
The other failures look unrelated
| Jonas G. Drange (jonas-drange) wrote : | # |
> The latest CI run did have a hotspot related failure:
> ubuntu_
> etup
>
> The other failures look unrelated
Right, we need a newer Connectivity API for insecure setup to work, so this is expected. I'll bump deps to make the CI fail completely.
| Jonas G. Drange (jonas-drange) wrote : | # |
On 3 September 2015 at 13:18, Matthew Paul Thomas <email address hidden> wrote:
> Review: Needs Fixing
>
> …
> If you check the checkbox, the password field should be focused
> automatically.
>
Not sure I understand your comment, but I've added a note about this being
a workaround with reference to lp:1415023
> How is settingsValid() ever true when passwordRequire
>
settingsValid tests if 1) ssid is a string (not "") and 2) if the
passwordRequired checkbox is checked, it sees if the password length is >=
8.
Could you file a bug about hexadecimal passwords so we can have a
discussion about it? I want to make sure NetworkManager/
handle it before implementing it. Thanks!
As for the rest, I would love another peek at the updated diff (r1519).
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1519
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1520. By Jonas G. Drange on 2015-09-06
-
create plugin for hotspot
- 1521. By Jonas G. Drange on 2015-09-08
-
refactor test classes for re-use, refactor dynamic visibility logic
- 1522. By Jonas G. Drange on 2015-09-08
-
remove mako exceptions in setup code now that the plugin is hidden altogether
- 1523. By Jonas G. Drange on 2015-09-08
-
remove visibility exception in test objects, prune diff
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1522
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Jonas G. Drange (jonas-drange) wrote : | # |
I, very informally, measured the start up time of System Settings on mako before and after adding the dynamic visibility of the hotspot entry.
Static hotspot visibility, start up time (in seconds):
4.8
4.7
4.7
4.6
4.6
5.1
Dynamic hotspot visibility, start up time (in seconds):
4.8
4.9
5.1
5.1
4.9
4.7
A 0.1 to 0.3 seconds penalty was added.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1523
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1524. By Jonas G. Drange on 2015-09-08
-
unnecessary comment
- 1525. By Jonas G. Drange on 2015-09-08
-
make mako comment clearer
- 1526. By Jonas G. Drange on 2015-09-09
-
remove qstringlist and qdebug include
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1526
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Ken VanDine (ken-vandine) wrote : | # |
There are 2 places where the strings don't match the design (not necessarily part of this MR, but lets fix it here)
HotSpotSetup.qml
- i18n.tr("Change hotspot setup") : i18n.tr("Setup hotspot")
+ i18n.tr("Change Hotspot Setup") : i18n.tr("Set Up Hotspot")
PageComponent.qml
- i18n.tr("Change password/setup…") : i18n.tr("Set up hotspot…")
+ i18n.tr("Change Password/Setup…") : i18n.tr("Set Up Hotspot…")
- 1527. By Jonas G. Drange on 2015-09-10
-
be consistent in casing and setup vs set up
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1527
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://


FAILED: Continuous integration, rev:1515 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/2379/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 3934 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-amd64- ci/154 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-i386- ci/563 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 3220 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 3931 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 3931/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 22965
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- system- settings- ci/2379/ rebuild
http://