lp:~kissiel/checkbox/password-dialog
- Get this branch:
- bzr branch lp:~kissiel/checkbox/password-dialog
Branch merges
- Zygmunt Krynicki (community): Approve
-
Diff: 473 lines (+358/-24)5 files modifiedcheckbox-touch/components/CheckboxTouchApplication.qml (+5/-0)
checkbox-touch/components/PasswordDialog.qml (+88/-0)
checkbox-touch/main.qml (+51/-22)
checkbox-touch/py/checkbox_touch.py (+30/-2)
checkbox-touch/py/sudo_with_pass_ctrl.py (+184/-0)
Branch information
Recent revisions
- 3597. By Maciej Kisielewski
-
checkbox-touch: make checkbox-touch ask for password
This patch adds PasswordDialog to mainView of Checkbox-Touch. The dialog is
popped whenever Checkbox-Touch stumbles upon a job with user field defined.
This patch also stores (redundant) flag on qml side, informing whether password
has already been sent to CheckboxTouchApp on python side. This optimisation
saves hustle of storing the password on QML side and resending it every time
it's required by the execution controller.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3596. By Maciej Kisielewski
-
checkbox-touch: add rememberPassword to App component on QML side
This patch adds rememberPassword function to qml side of things. It uses direct
py.call to dodge any logging of password string.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3595. By Maciej Kisielewski
-
checkbox-touch: use custom execution controllers
This patch make Checkbox-Touch use two execution controllers to run jobs. For
'current-user' jobs it uses UserJobExecutionController, and for jobs with
'user' field present it uses RootViaSudoWithPassExecutionCo ntroller. Signed-off-by: Maciej Kisielewski <email address hidden>
- 3594. By Maciej Kisielewski
-
checkbox-touch: add storing of password in CheckboxTouchAp
plication This patch adds storing of password in instances of CheckboxTouchAp
plication. Signed-off-by: Maciej Kisielewski <email address hidden>
- 3593. By Maciej Kisielewski
-
checkbox-touch: add PasswordDialog
This patch introduces new popup that prompts user for password. The dialog
comes embedded in a Component, which in turn is contained in an Item for ease
of use. - 3592. By Maciej Kisielewski
-
checkbox-touch: add RootViaSudoWith
PassExecutionCo ntroller This patch adds execution controller that uses sudo to obtain root and writes
password to subprocess' stdin.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3591. By Maciej Kisielewski
-
checkbox-touch: move perform*Test calls to distinctive function
This patch moves code related to picking the correct perform*Test function
depending on plugin type, to performTest function. This simplifies the code to
come.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3590. By Maciej Kisielewski
-
checkbox-touch: add job's user field to 'test' model
This patch makes 'get_next_test' attach user field to the 'test' model return
through pyotherside to qml.Signed-off-by: Maciej Kisielewski <email address hidden>
- 3589. By Sylvain Pineau
-
"automatic merge of lp:~sylvain-pineau/checkbox/14.04-client-testplan/ by tarmac [r=apulido]
[bug=][ author= sylvain- pineau] "
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox