Merge lp:~mandel/ubuntu-sso-client/qt-ssl-dialog into lp:ubuntu-sso-client
| Status: | Merged |
|---|---|
| Approved by: | Natalia Bidart on 2012-03-09 |
| Approved revision: | 940 |
| Merged at revision: | 904 |
| Proposed branch: | lp:~mandel/ubuntu-sso-client/qt-ssl-dialog |
| Merge into: | lp:ubuntu-sso-client |
| Prerequisite: | lp:~mandel/ubuntu-sso-client/webclient-use-dialog |
| Diff against target: |
844 lines (+511/-103) 7 files modified
ubuntu_sso/utils/ui.py (+6/-0) ubuntu_sso/utils/webclient/common.py (+34/-1) ubuntu_sso/utils/webclient/gsettings.py (+21/-14) ubuntu_sso/utils/webclient/qtnetwork.py (+113/-21) ubuntu_sso/utils/webclient/tests/__init__.py (+74/-6) ubuntu_sso/utils/webclient/tests/test_gsettings.py (+44/-61) ubuntu_sso/utils/webclient/tests/test_webclient.py (+219/-0) |
| To merge this branch: | bzr merge lp:~mandel/ubuntu-sso-client/qt-ssl-dialog |
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Roberto Alsina (community) | Approve on 2012-03-09 | ||
| Alejandro J. Cura (community) | 2012-03-08 | Approve on 2012-03-08 | |
|
Review via email:
|
|||
Commit Message
- Added a translatable string to give more context of the ssl cert info to the user
(LP: #948119).
- Provided the logic required for the Qt webclient implementation to detect ssl errors
and spawn the ssl dialog to allow the user accept the ssl cert exceptions
(LP: #948134).
- Changed the qt webclient implementation to use a proxy factory so that the correct
proxy is chosen according to the request (LP: #950088).
Description of the Change
This branch fixes a number of bugs:
Added a translatable string to give more context of the ssl cert info to the user.
The Qt implementation of the webclient detects ssl errors and spawns the ssl dialog to allow the user to accept the ssl cert exception.
lp:950088
Implemented the qt webclient using a proxy factory over a proxy so that the correct proxy is returned.
| Manuel de la Peña (mandel) wrote : | # |
> Very good branch.
> I can't comment on anything but typos!
>
> ---
>
> I looks like it will be a problem with SSL_DETAILS_
> translations, since the \t tabs will not likely align with the different text
> lengths of the headers. I think we should either drop tabs or use html tables,
> since QTextEdit supports those. Although I wouldn't mind this change happening
> in a later branch, in fact I recommend it :-)
>
> ----
>
> This comment is outdated: "# define here the return codes from the proxy creds
> dialogs"
>
> "formated stirng" -> "formatted string"
>
> "is used in according" -> "is used according"
>
> "accoding" -> "according"
>
> "in witch" -> "in which"
>
> "this funtion most return" ->
> "this function must return".
>
> "a proxu set for the query lets return" ->
> ^ ^
> "a proxy set for the query let's return
>
> "lets retry" -> "let's retry"
>
> "the port being listen" -> "the port where we are listening."
> "the ssl port being listen" -> "the ssl port where we are listening."
>
> "Assert the parsing anonymous settings" ->
> "Assert the parsing of anonymous settings"
>
> "for the http requets" ->
> "for the http request"
>
> "SSL support has not yet implemented" ->
> "SSL support has not yet been implemented" or "SSL support not yet
> implemented"
Fixing all those, thx!
| Manuel de la Peña (mandel) wrote : | # |
> Very good branch.
> I can't comment on anything but typos!
>
> ---
>
> I looks like it will be a problem with SSL_DETAILS_
> translations, since the \t tabs will not likely align with the different text
> lengths of the headers. I think we should either drop tabs or use html tables,
> since QTextEdit supports those. Although I wouldn't mind this change happening
> in a later branch, in fact I recommend it :-)
>
> ----
>
> This comment is outdated: "# define here the return codes from the proxy creds
> dialogs"
>
> "formated stirng" -> "formatted string"
>
> "is used in according" -> "is used according"
>
> "accoding" -> "according"
>
> "in witch" -> "in which"
>
> "this funtion most return" ->
> "this function must return".
>
> "a proxu set for the query lets return" ->
> ^ ^
> "a proxy set for the query let's return
>
> "lets retry" -> "let's retry"
>
> "the port being listen" -> "the port where we are listening."
> "the ssl port being listen" -> "the ssl port where we are listening."
>
> "Assert the parsing anonymous settings" ->
> "Assert the parsing of anonymous settings"
>
> "for the http requets" ->
> "for the http request"
>
> "SSL support has not yet implemented" ->
> "SSL support has not yet been implemented" or "SSL support not yet
> implemented"
Stupid wired brain... I'll take care of them, thx!
- 939. By Manuel de la Peña on 2012-03-09
-
Merged webclient-
use-dialog into qt-ssl-dialog. - 940. By Manuel de la Peña on 2012-03-09
-
Fixed typos.

Very good branch.
I can't comment on anything but typos!
---
I looks like it will be a problem with SSL_DETAILS_ TEMPLATE, tabs (\t) and translations, since the \t tabs will not likely align with the different text lengths of the headers. I think we should either drop tabs or use html tables, since QTextEdit supports those. Although I wouldn't mind this change happening in a later branch, in fact I recommend it :-)
----
This comment is outdated: "# define here the return codes from the proxy creds dialogs"
"formated stirng" -> "formatted string"
"is used in according" -> "is used according"
"accoding" -> "according"
"in witch" -> "in which"
"this funtion most return" ->
"this function must return".
"a proxu set for the query lets return" ->
^ ^
"a proxy set for the query let's return
"lets retry" -> "let's retry"
"the port being listen" -> "the port where we are listening."
"the ssl port being listen" -> "the ssl port where we are listening."
"Assert the parsing anonymous settings" ->
"Assert the parsing of anonymous settings"
"for the http requets" ->
"for the http request"
"SSL support has not yet implemented" ->
"SSL support has not yet been implemented" or "SSL support not yet implemented"