Merge lp:~dobey/ubuntu-sso-client/update-from-trunk into lp:ubuntu-sso-client/stable-3-0
- update-from-trunk
- Merge into stable-3-0
Proposed by
dobey
on 2012-04-10
| Status: | Merged |
|---|---|
| Approved by: | dobey on 2012-04-10 |
| Approved revision: | 835 |
| Merged at revision: | 835 |
| Proposed branch: | lp:~dobey/ubuntu-sso-client/update-from-trunk |
| Merge into: | lp:ubuntu-sso-client/stable-3-0 |
| Diff against target: |
3889 lines (+1942/-131) 134 files modified
LICENSE (+28/-0) LICENSE.OpenSSL (+137/-0) bin/ubuntu-sso-login (+14/-2) bin/ubuntu-sso-login-gtk (+13/-1) bin/ubuntu-sso-login-qt (+13/-1) bin/ubuntu-sso-proxy-creds-qt (+13/-1) bin/ubuntu-sso-ssl-certificate-qt (+13/-1) run-tests (+14/-2) run-tests.bat (+13/-0) setup.py (+13/-0) ubuntu_sso/__init__.py (+14/-1) ubuntu_sso/account.py (+14/-1) ubuntu_sso/constants.py.in (+13/-1) ubuntu_sso/credentials.py (+13/-0) ubuntu_sso/gtk/__init__.py (+13/-1) ubuntu_sso/gtk/gui.py (+13/-1) ubuntu_sso/gtk/main.py (+13/-1) ubuntu_sso/gtk/tests/__init__.py (+13/-1) ubuntu_sso/gtk/tests/test_gui.py (+13/-0) ubuntu_sso/gtk/tests/test_main.py (+13/-1) ubuntu_sso/keyring/__init__.py (+14/-1) ubuntu_sso/keyring/linux.py (+14/-2) ubuntu_sso/keyring/tests/__init__.py (+14/-1) ubuntu_sso/keyring/tests/test_common.py (+14/-1) ubuntu_sso/keyring/tests/test_linux.py (+14/-1) ubuntu_sso/keyring/tests/test_windows.py (+14/-1) ubuntu_sso/keyring/windows.py (+14/-1) ubuntu_sso/logger.py (+14/-2) ubuntu_sso/main/__init__.py (+14/-1) ubuntu_sso/main/glib.py (+13/-1) ubuntu_sso/main/linux.py (+13/-0) ubuntu_sso/main/qt.py (+13/-1) ubuntu_sso/main/tests/__init__.py (+14/-1) ubuntu_sso/main/tests/test_clients.py (+13/-0) ubuntu_sso/main/tests/test_common.py (+14/-1) ubuntu_sso/main/tests/test_qt.py (+13/-0) ubuntu_sso/main/tests/test_windows.py (+14/-1) ubuntu_sso/main/windows.py (+14/-1) ubuntu_sso/networkstate/__init__.py (+14/-1) ubuntu_sso/networkstate/linux.py (+14/-1) ubuntu_sso/networkstate/tests/__init__.py (+14/-1) ubuntu_sso/networkstate/tests/test_linux.py (+13/-0) ubuntu_sso/networkstate/tests/test_windows.py (+13/-0) ubuntu_sso/networkstate/windows.py (+13/-0) ubuntu_sso/qt/__init__.py (+13/-1) ubuntu_sso/qt/arrow.py (+13/-0) ubuntu_sso/qt/common.py (+14/-1) ubuntu_sso/qt/current_user_sign_in_page.py (+13/-1) ubuntu_sso/qt/email_verification_page.py (+13/-1) ubuntu_sso/qt/enhanced_check_box.py (+14/-2) ubuntu_sso/qt/error_page.py (+13/-1) ubuntu_sso/qt/expander.py (+13/-0) ubuntu_sso/qt/forgotten_password_page.py (+13/-1) ubuntu_sso/qt/loadingoverlay.py (+13/-1) ubuntu_sso/qt/main/__init__.py (+13/-1) ubuntu_sso/qt/main/linux.py (+13/-1) ubuntu_sso/qt/main/tests/__init__.py (+13/-1) ubuntu_sso/qt/main/tests/test_main.py (+13/-1) ubuntu_sso/qt/main/windows.py (+13/-1) ubuntu_sso/qt/network_detection_page.py (+13/-1) ubuntu_sso/qt/proxy_dialog.py (+13/-0) ubuntu_sso/qt/reset_password_page.py (+13/-1) ubuntu_sso/qt/setup_account_page.py (+13/-1) ubuntu_sso/qt/ssl_dialog.py (+13/-0) ubuntu_sso/qt/sso_wizard_page.py (+13/-0) ubuntu_sso/qt/success_page.py (+13/-1) ubuntu_sso/qt/tests/__init__.py (+18/-4) ubuntu_sso/qt/tests/login_u_p.py (+14/-1) ubuntu_sso/qt/tests/show_gui.py (+14/-1) ubuntu_sso/qt/tests/test_arrow.py (+13/-0) ubuntu_sso/qt/tests/test_common.py (+16/-3) ubuntu_sso/qt/tests/test_current_user_sign_in_page.py (+13/-1) ubuntu_sso/qt/tests/test_email_verification.py (+13/-1) ubuntu_sso/qt/tests/test_enchanced_line_edit.py (+14/-1) ubuntu_sso/qt/tests/test_enhanced_check_box.py (+14/-2) ubuntu_sso/qt/tests/test_error_page.py (+13/-1) ubuntu_sso/qt/tests/test_expander.py (+13/-0) ubuntu_sso/qt/tests/test_forgotten_password.py (+13/-1) ubuntu_sso/qt/tests/test_loadingoverlay.py (+13/-1) ubuntu_sso/qt/tests/test_network_detection.py (+13/-1) ubuntu_sso/qt/tests/test_proxy_dialog.py (+13/-0) ubuntu_sso/qt/tests/test_reset_password.py (+14/-1) ubuntu_sso/qt/tests/test_setup_account.py (+13/-1) ubuntu_sso/qt/tests/test_ssl_dialog.py (+13/-1) ubuntu_sso/qt/tests/test_sso_wizard_page.py (+14/-2) ubuntu_sso/qt/tests/test_success_page.py (+13/-1) ubuntu_sso/qt/tests/test_ubuntu_sso_wizard.py (+13/-1) ubuntu_sso/qt/ubuntu_sso_wizard.py (+13/-1) ubuntu_sso/qt/ui/__init__.py (+13/-1) ubuntu_sso/tests/__init__.py (+14/-2) ubuntu_sso/tests/test_account.py (+14/-1) ubuntu_sso/tests/test_credentials.py (+13/-0) ubuntu_sso/utils/__init__.py (+13/-1) ubuntu_sso/utils/ipc.py (+13/-1) ubuntu_sso/utils/linux.py (+13/-1) ubuntu_sso/utils/runner/__init__.py (+13/-1) ubuntu_sso/utils/runner/glib.py (+13/-1) ubuntu_sso/utils/runner/qt.py (+13/-1) ubuntu_sso/utils/runner/tests/__init__.py (+13/-1) ubuntu_sso/utils/runner/tests/test_glib.py (+13/-1) ubuntu_sso/utils/runner/tests/test_qt.py (+13/-1) ubuntu_sso/utils/runner/tests/test_runner.py (+13/-1) ubuntu_sso/utils/runner/tx.py (+13/-1) ubuntu_sso/utils/tcpactivation.py (+13/-1) ubuntu_sso/utils/tests/__init__.py (+14/-2) ubuntu_sso/utils/tests/test_common.py (+13/-1) ubuntu_sso/utils/tests/test_ipc.py (+14/-2) ubuntu_sso/utils/tests/test_parse_args.py (+13/-1) ubuntu_sso/utils/tests/test_tcpactivation.py (+14/-2) ubuntu_sso/utils/tests/test_txsecrets.py (+14/-1) ubuntu_sso/utils/tests/test_ui.py (+14/-1) ubuntu_sso/utils/tests/test_windows.py (+13/-1) ubuntu_sso/utils/txsecrets.py (+14/-1) ubuntu_sso/utils/ui.py (+13/-0) ubuntu_sso/utils/webclient/__init__.py (+14/-1) ubuntu_sso/utils/webclient/common.py (+14/-1) ubuntu_sso/utils/webclient/gsettings.py (+14/-1) ubuntu_sso/utils/webclient/libsoup.py (+14/-1) ubuntu_sso/utils/webclient/qtnetwork.py (+14/-1) ubuntu_sso/utils/webclient/restful.py (+14/-1) ubuntu_sso/utils/webclient/tests/__init__.py (+14/-2) ubuntu_sso/utils/webclient/tests/test_gsettings.py (+14/-1) ubuntu_sso/utils/webclient/tests/test_qtnetwork.py (+14/-1) ubuntu_sso/utils/webclient/tests/test_restful.py (+14/-1) ubuntu_sso/utils/webclient/tests/test_timestamp.py (+13/-0) ubuntu_sso/utils/webclient/tests/test_webclient.py (+14/-1) ubuntu_sso/utils/webclient/timestamp.py (+13/-0) ubuntu_sso/utils/webclient/txweb.py (+14/-1) ubuntu_sso/utils/windows.py (+13/-1) ubuntu_sso/xdg_base_directory/__init__.py (+14/-2) ubuntu_sso/xdg_base_directory/tests/__init__.py (+14/-1) ubuntu_sso/xdg_base_directory/tests/test_common.py (+14/-2) ubuntu_sso/xdg_base_directory/tests/test_windows.py (+14/-2) ubuntu_sso/xdg_base_directory/windows.py (+14/-2) |
| To merge this branch: | bzr merge lp:~dobey/ubuntu-sso-client/update-from-trunk |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Roberto Alsina (community) | 2012-04-10 | Approve on 2012-04-10 | |
|
Review via email:
|
|||
Commit Message
[Rodney Dawes]
- Add the needed OpenSSL license exception.
[Natalia Bidart]
- Making test more robust to prevent spurious failures.
Description of the Change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
| 1 | === added file 'LICENSE' |
| 2 | --- LICENSE 1970-01-01 00:00:00 +0000 |
| 3 | +++ LICENSE 2012-04-10 18:05:21 +0000 |
| 4 | @@ -0,0 +1,28 @@ |
| 5 | +# This is the Ubuntu One development tools package. |
| 6 | +# |
| 7 | +# Copyright (C) 2009-2012 Canonical Ltd. |
| 8 | +# |
| 9 | +# This program is free software: you can redistribute it and/or modify it |
| 10 | +# under the terms of the GNU General Public License version 3, as published |
| 11 | +# by the Free Software Foundation. |
| 12 | +# |
| 13 | +# This program is distributed in the hope that it will be useful, but |
| 14 | +# WITHOUT ANY WARRANTY; without even the implied warranties of |
| 15 | +# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 16 | +# PURPOSE. See the GNU General Public License for more details. |
| 17 | +# |
| 18 | +# You should have received a copy of the GNU General Public License along |
| 19 | +# with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | +# |
| 21 | +# In addition, as a special exception, the copyright holders give |
| 22 | +# permission to link the code of portions of this program with the |
| 23 | +# OpenSSL library under certain conditions as described in each |
| 24 | +# individual source file, and distribute linked combinations |
| 25 | +# including the two. |
| 26 | +# You must obey the GNU General Public License in all respects |
| 27 | +# for all of the code used other than OpenSSL. If you modify |
| 28 | +# file(s) with this exception, you may extend this exception to your |
| 29 | +# version of the file(s), but you are not obligated to do so. If you |
| 30 | +# do not wish to do so, delete this exception statement from your |
| 31 | +# version. If you delete this exception statement from all source |
| 32 | +# files in the program, then also delete it here. |
| 33 | |
| 34 | === added file 'LICENSE.OpenSSL' |
| 35 | --- LICENSE.OpenSSL 1970-01-01 00:00:00 +0000 |
| 36 | +++ LICENSE.OpenSSL 2012-04-10 18:05:21 +0000 |
| 37 | @@ -0,0 +1,137 @@ |
| 38 | +Certain source files in this program permit linking with the OpenSSL |
| 39 | +library (http://www.openssl.org), which otherwise wouldn't be allowed |
| 40 | +under the (A)GPL. For purposes of identifying OpenSSL, most source files |
| 41 | +giving this permission limit it to versions of OpenSSL having a license |
| 42 | +identical to that listed in this file (LICENSE.OpenSSL). It is not |
| 43 | +necessary for the copyright years to match between this file and the |
| 44 | +OpenSSL version in question. However, note that because this file is |
| 45 | +an extension of the license statements of these source files, this file |
| 46 | +may not be changed except with permission from all copyright holders |
| 47 | +of source files in this program which reference this file. |
| 48 | + |
| 49 | + LICENSE ISSUES |
| 50 | + ============== |
| 51 | + |
| 52 | + The OpenSSL toolkit stays under a dual license, i.e. both the conditions of |
| 53 | + the OpenSSL License and the original SSLeay license apply to the toolkit. |
| 54 | + See below for the actual license texts. Actually both licenses are BSD-style |
| 55 | + Open Source licenses. In case of any license issues related to OpenSSL |
| 56 | + please contact openssl-core@openssl.org. |
| 57 | + |
| 58 | + OpenSSL License |
| 59 | + --------------- |
| 60 | + |
| 61 | +/* ==================================================================== |
| 62 | + * Copyright (c) 1998-2004 The OpenSSL Project. All rights reserved. |
| 63 | + * |
| 64 | + * Redistribution and use in source and binary forms, with or without |
| 65 | + * modification, are permitted provided that the following conditions |
| 66 | + * are met: |
| 67 | + * |
| 68 | + * 1. Redistributions of source code must retain the above copyright |
| 69 | + * notice, this list of conditions and the following disclaimer. |
| 70 | + * |
| 71 | + * 2. Redistributions in binary form must reproduce the above copyright |
| 72 | + * notice, this list of conditions and the following disclaimer in |
| 73 | + * the documentation and/or other materials provided with the |
| 74 | + * distribution. |
| 75 | + * |
| 76 | + * 3. All advertising materials mentioning features or use of this |
| 77 | + * software must display the following acknowledgment: |
| 78 | + * "This product includes software developed by the OpenSSL Project |
| 79 | + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" |
| 80 | + * |
| 81 | + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to |
| 82 | + * endorse or promote products derived from this software without |
| 83 | + * prior written permission. For written permission, please contact |
| 84 | + * openssl-core@openssl.org. |
| 85 | + * |
| 86 | + * 5. Products derived from this software may not be called "OpenSSL" |
| 87 | + * nor may "OpenSSL" appear in their names without prior written |
| 88 | + * permission of the OpenSSL Project. |
| 89 | + * |
| 90 | + * 6. Redistributions of any form whatsoever must retain the following |
| 91 | + * acknowledgment: |
| 92 | + * "This product includes software developed by the OpenSSL Project |
| 93 | + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" |
| 94 | + * |
| 95 | + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
| 96 | + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 97 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 98 | + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR |
| 99 | + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 100 | + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 101 | + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 102 | + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 103 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
| 104 | + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 105 | + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| 106 | + * OF THE POSSIBILITY OF SUCH DAMAGE. |
| 107 | + * ==================================================================== |
| 108 | + * |
| 109 | + * This product includes cryptographic software written by Eric Young |
| 110 | + * (eay@cryptsoft.com). This product includes software written by Tim |
| 111 | + * Hudson (tjh@cryptsoft.com). |
| 112 | + * |
| 113 | + */ |
| 114 | + |
| 115 | + Original SSLeay License |
| 116 | + ----------------------- |
| 117 | + |
| 118 | +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 119 | + * All rights reserved. |
| 120 | + * |
| 121 | + * This package is an SSL implementation written |
| 122 | + * by Eric Young (eay@cryptsoft.com). |
| 123 | + * The implementation was written so as to conform with Netscapes SSL. |
| 124 | + * |
| 125 | + * This library is free for commercial and non-commercial use as long as |
| 126 | + * the following conditions are aheared to. The following conditions |
| 127 | + * apply to all code found in this distribution, be it the RC4, RSA, |
| 128 | + * lhash, DES, etc., code; not just the SSL code. The SSL documentation |
| 129 | + * included with this distribution is covered by the same copyright terms |
| 130 | + * except that the holder is Tim Hudson (tjh@cryptsoft.com). |
| 131 | + * |
| 132 | + * Copyright remains Eric Young's, and as such any Copyright notices in |
| 133 | + * the code are not to be removed. |
| 134 | + * If this package is used in a product, Eric Young should be given attribution |
| 135 | + * as the author of the parts of the library used. |
| 136 | + * This can be in the form of a textual message at program startup or |
| 137 | + * in documentation (online or textual) provided with the package. |
| 138 | + * |
| 139 | + * Redistribution and use in source and binary forms, with or without |
| 140 | + * modification, are permitted provided that the following conditions |
| 141 | + * are met: |
| 142 | + * 1. Redistributions of source code must retain the copyright |
| 143 | + * notice, this list of conditions and the following disclaimer. |
| 144 | + * 2. Redistributions in binary form must reproduce the above copyright |
| 145 | + * notice, this list of conditions and the following disclaimer in the |
| 146 | + * documentation and/or other materials provided with the distribution. |
| 147 | + * 3. All advertising materials mentioning features or use of this software |
| 148 | + * must display the following acknowledgement: |
| 149 | + * "This product includes cryptographic software written by |
| 150 | + * Eric Young (eay@cryptsoft.com)" |
| 151 | + * The word 'cryptographic' can be left out if the rouines from the library |
| 152 | + * being used are not cryptographic related :-). |
| 153 | + * 4. If you include any Windows specific code (or a derivative thereof) from |
| 154 | + * the apps directory (application code) you must include an acknowledgement: |
| 155 | + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" |
| 156 | + * |
| 157 | + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
| 158 | + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 159 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 160 | + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 161 | + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 162 | + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 163 | + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 164 | + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 165 | + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 166 | + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 167 | + * SUCH DAMAGE. |
| 168 | + * |
| 169 | + * The licence and distribution terms for any publically available version or |
| 170 | + * derivative of this code cannot be changed. i.e. this code cannot simply be |
| 171 | + * copied and put under another distribution licence |
| 172 | + * [including the GNU Public Licence.] |
| 173 | + */ |
| 174 | + |
| 175 | |
| 176 | === modified file 'bin/ubuntu-sso-login' |
| 177 | --- bin/ubuntu-sso-login 2012-01-17 15:09:12 +0000 |
| 178 | +++ bin/ubuntu-sso-login 2012-04-10 18:05:21 +0000 |
| 179 | @@ -1,7 +1,7 @@ |
| 180 | #!/usr/bin/env python |
| 181 | # -*- coding: utf-8 -*- |
| 182 | # |
| 183 | -# Copyright 2009-2010 Canonical Ltd. |
| 184 | +# Copyright 2009-2012 Canonical Ltd. |
| 185 | # |
| 186 | # This program is free software: you can redistribute it and/or modify it |
| 187 | # under the terms of the GNU General Public License version 3, as published |
| 188 | @@ -14,7 +14,19 @@ |
| 189 | # |
| 190 | # You should have received a copy of the GNU General Public License along |
| 191 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 192 | - |
| 193 | +# |
| 194 | +# In addition, as a special exception, the copyright holders give |
| 195 | +# permission to link the code of portions of this program with the |
| 196 | +# OpenSSL library under certain conditions as described in each |
| 197 | +# individual source file, and distribute linked combinations |
| 198 | +# including the two. |
| 199 | +# You must obey the GNU General Public License in all respects |
| 200 | +# for all of the code used other than OpenSSL. If you modify |
| 201 | +# file(s) with this exception, you may extend this exception to your |
| 202 | +# version of the file(s), but you are not obligated to do so. If you |
| 203 | +# do not wish to do so, delete this exception statement from your |
| 204 | +# version. If you delete this exception statement from all source |
| 205 | +# files in the program, then also delete it here. |
| 206 | """Start the sso service.""" |
| 207 | |
| 208 | # Invalid name "ubuntu-sso-login", pylint: disable=C0103 |
| 209 | |
| 210 | === modified file 'bin/ubuntu-sso-login-gtk' |
| 211 | --- bin/ubuntu-sso-login-gtk 2012-02-13 15:43:59 +0000 |
| 212 | +++ bin/ubuntu-sso-login-gtk 2012-04-10 18:05:21 +0000 |
| 213 | @@ -14,7 +14,19 @@ |
| 214 | # |
| 215 | # You should have received a copy of the GNU General Public License along |
| 216 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 217 | - |
| 218 | +# |
| 219 | +# In addition, as a special exception, the copyright holders give |
| 220 | +# permission to link the code of portions of this program with the |
| 221 | +# OpenSSL library under certain conditions as described in each |
| 222 | +# individual source file, and distribute linked combinations |
| 223 | +# including the two. |
| 224 | +# You must obey the GNU General Public License in all respects |
| 225 | +# for all of the code used other than OpenSSL. If you modify |
| 226 | +# file(s) with this exception, you may extend this exception to your |
| 227 | +# version of the file(s), but you are not obligated to do so. If you |
| 228 | +# do not wish to do so, delete this exception statement from your |
| 229 | +# version. If you delete this exception statement from all source |
| 230 | +# files in the program, then also delete it here. |
| 231 | """Start the sso GTK UI.""" |
| 232 | |
| 233 | # Invalid name "ubuntu-sso-login-gtk", pylint: disable=C0103 |
| 234 | |
| 235 | === modified file 'bin/ubuntu-sso-login-qt' |
| 236 | --- bin/ubuntu-sso-login-qt 2012-03-21 18:32:41 +0000 |
| 237 | +++ bin/ubuntu-sso-login-qt 2012-04-10 18:05:21 +0000 |
| 238 | @@ -14,7 +14,19 @@ |
| 239 | # |
| 240 | # You should have received a copy of the GNU General Public License along |
| 241 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 242 | - |
| 243 | +# |
| 244 | +# In addition, as a special exception, the copyright holders give |
| 245 | +# permission to link the code of portions of this program with the |
| 246 | +# OpenSSL library under certain conditions as described in each |
| 247 | +# individual source file, and distribute linked combinations |
| 248 | +# including the two. |
| 249 | +# You must obey the GNU General Public License in all respects |
| 250 | +# for all of the code used other than OpenSSL. If you modify |
| 251 | +# file(s) with this exception, you may extend this exception to your |
| 252 | +# version of the file(s), but you are not obligated to do so. If you |
| 253 | +# do not wish to do so, delete this exception statement from your |
| 254 | +# version. If you delete this exception statement from all source |
| 255 | +# files in the program, then also delete it here. |
| 256 | """Start the sso Qt UI.""" |
| 257 | |
| 258 | # Invalid name "ubuntu-sso-login-qt", pylint: disable=C0103 |
| 259 | |
| 260 | === modified file 'bin/ubuntu-sso-proxy-creds-qt' |
| 261 | --- bin/ubuntu-sso-proxy-creds-qt 2012-03-18 23:32:14 +0000 |
| 262 | +++ bin/ubuntu-sso-proxy-creds-qt 2012-04-10 18:05:21 +0000 |
| 263 | @@ -14,7 +14,19 @@ |
| 264 | # |
| 265 | # You should have received a copy of the GNU General Public License along |
| 266 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 267 | - |
| 268 | +# |
| 269 | +# In addition, as a special exception, the copyright holders give |
| 270 | +# permission to link the code of portions of this program with the |
| 271 | +# OpenSSL library under certain conditions as described in each |
| 272 | +# individual source file, and distribute linked combinations |
| 273 | +# including the two. |
| 274 | +# You must obey the GNU General Public License in all respects |
| 275 | +# for all of the code used other than OpenSSL. If you modify |
| 276 | +# file(s) with this exception, you may extend this exception to your |
| 277 | +# version of the file(s), but you are not obligated to do so. If you |
| 278 | +# do not wish to do so, delete this exception statement from your |
| 279 | +# version. If you delete this exception statement from all source |
| 280 | +# files in the program, then also delete it here. |
| 281 | """Start the QT proxy creds dialog.""" |
| 282 | |
| 283 | # Invalid name, pylint: disable=C0103 |
| 284 | |
| 285 | === modified file 'bin/ubuntu-sso-ssl-certificate-qt' |
| 286 | --- bin/ubuntu-sso-ssl-certificate-qt 2012-02-24 13:07:06 +0000 |
| 287 | +++ bin/ubuntu-sso-ssl-certificate-qt 2012-04-10 18:05:21 +0000 |
| 288 | @@ -14,7 +14,19 @@ |
| 289 | # |
| 290 | # You should have received a copy of the GNU General Public License along |
| 291 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 292 | - |
| 293 | +# |
| 294 | +# In addition, as a special exception, the copyright holders give |
| 295 | +# permission to link the code of portions of this program with the |
| 296 | +# OpenSSL library under certain conditions as described in each |
| 297 | +# individual source file, and distribute linked combinations |
| 298 | +# including the two. |
| 299 | +# You must obey the GNU General Public License in all respects |
| 300 | +# for all of the code used other than OpenSSL. If you modify |
| 301 | +# file(s) with this exception, you may extend this exception to your |
| 302 | +# version of the file(s), but you are not obligated to do so. If you |
| 303 | +# do not wish to do so, delete this exception statement from your |
| 304 | +# version. If you delete this exception statement from all source |
| 305 | +# files in the program, then also delete it here. |
| 306 | """Start the QT proxy creds dialog.""" |
| 307 | |
| 308 | # Invalid name, pylint: disable=C0103 |
| 309 | |
| 310 | === modified file 'run-tests' |
| 311 | --- run-tests 2012-03-22 13:47:52 +0000 |
| 312 | +++ run-tests 2012-04-10 18:05:21 +0000 |
| 313 | @@ -2,7 +2,7 @@ |
| 314 | # |
| 315 | # Author: Natalia Bidart <natalia.bidart@canonical.com> |
| 316 | # |
| 317 | -# Copyright 2010 Canonical Ltd. |
| 318 | +# Copyright 2010-2012 Canonical Ltd. |
| 319 | # |
| 320 | # This program is free software: you can redistribute it and/or modify it |
| 321 | # under the terms of the GNU General Public License version 3, as published |
| 322 | @@ -15,7 +15,19 @@ |
| 323 | # |
| 324 | # You should have received a copy of the GNU General Public License along |
| 325 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 326 | - |
| 327 | +# |
| 328 | +# In addition, as a special exception, the copyright holders give |
| 329 | +# permission to link the code of portions of this program with the |
| 330 | +# OpenSSL library under certain conditions as described in each |
| 331 | +# individual source file, and distribute linked combinations |
| 332 | +# including the two. |
| 333 | +# You must obey the GNU General Public License in all respects |
| 334 | +# for all of the code used other than OpenSSL. If you modify |
| 335 | +# file(s) with this exception, you may extend this exception to your |
| 336 | +# version of the file(s), but you are not obligated to do so. If you |
| 337 | +# do not wish to do so, delete this exception statement from your |
| 338 | +# version. If you delete this exception statement from all source |
| 339 | +# files in the program, then also delete it here. |
| 340 | QT_TESTS_PATH="ubuntu_sso/qt/tests, ubuntu_sso/qt/main/tests" |
| 341 | GTK_TESTS_PATH=ubuntu_sso/gtk/tests |
| 342 | WINDOWS_TESTS=test_windows.py |
| 343 | |
| 344 | === modified file 'run-tests.bat' |
| 345 | --- run-tests.bat 2012-02-24 13:39:56 +0000 |
| 346 | +++ run-tests.bat 2012-04-10 18:05:21 +0000 |
| 347 | @@ -11,6 +11,19 @@ |
| 348 | :: |
| 349 | :: You should have received a copy of the GNU General Public License along |
| 350 | :: with this program. If not, see <http://www.gnu.org/licenses/>. |
| 351 | +:: |
| 352 | +:: In addition, as a special exception, the copyright holders give |
| 353 | +:: permission to link the code of portions of this program with the |
| 354 | +:: OpenSSL library under certain conditions as described in each |
| 355 | +:: individual source file, and distribute linked combinations |
| 356 | +:: including the two. |
| 357 | +:: You must obey the GNU General Public License in all respects |
| 358 | +:: for all of the code used other than OpenSSL. If you modify |
| 359 | +:: file(s) with this exception, you may extend this exception to your |
| 360 | +:: version of the file(s), but you are not obligated to do so. If you |
| 361 | +:: do not wish to do so, delete this exception statement from your |
| 362 | +:: version. If you delete this exception statement from all source |
| 363 | +:: files in the program, then also delete it here. |
| 364 | |
| 365 | @ECHO off |
| 366 | |
| 367 | |
| 368 | === modified file 'setup.py' |
| 369 | --- setup.py 2012-04-03 14:19:34 +0000 |
| 370 | +++ setup.py 2012-04-10 18:05:21 +0000 |
| 371 | @@ -14,6 +14,19 @@ |
| 372 | # |
| 373 | # You should have received a copy of the GNU General Public License along |
| 374 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 375 | +# |
| 376 | +# In addition, as a special exception, the copyright holders give |
| 377 | +# permission to link the code of portions of this program with the |
| 378 | +# OpenSSL library under certain conditions as described in each |
| 379 | +# individual source file, and distribute linked combinations |
| 380 | +# including the two. |
| 381 | +# You must obey the GNU General Public License in all respects |
| 382 | +# for all of the code used other than OpenSSL. If you modify |
| 383 | +# file(s) with this exception, you may extend this exception to your |
| 384 | +# version of the file(s), but you are not obligated to do so. If you |
| 385 | +# do not wish to do so, delete this exception statement from your |
| 386 | +# version. If you delete this exception statement from all source |
| 387 | +# files in the program, then also delete it here. |
| 388 | """Setup.py: build, distribute, clean.""" |
| 389 | |
| 390 | # pylint: disable=W0404, W0511 |
| 391 | |
| 392 | === modified file 'ubuntu_sso/__init__.py' |
| 393 | --- ubuntu_sso/__init__.py 2012-03-19 14:04:07 +0000 |
| 394 | +++ ubuntu_sso/__init__.py 2012-04-10 18:05:21 +0000 |
| 395 | @@ -1,6 +1,6 @@ |
| 396 | # ubuntu_sso - Ubuntu Single Sign On client support for desktop apps |
| 397 | # |
| 398 | -# Copyright 2009-2010 Canonical Ltd. |
| 399 | +# Copyright 2009-2012 Canonical Ltd. |
| 400 | # |
| 401 | # This program is free software: you can redistribute it and/or modify it |
| 402 | # under the terms of the GNU General Public License version 3, as published |
| 403 | @@ -13,6 +13,19 @@ |
| 404 | # |
| 405 | # You should have received a copy of the GNU General Public License along |
| 406 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 407 | +# |
| 408 | +# In addition, as a special exception, the copyright holders give |
| 409 | +# permission to link the code of portions of this program with the |
| 410 | +# OpenSSL library under certain conditions as described in each |
| 411 | +# individual source file, and distribute linked combinations |
| 412 | +# including the two. |
| 413 | +# You must obey the GNU General Public License in all respects |
| 414 | +# for all of the code used other than OpenSSL. If you modify |
| 415 | +# file(s) with this exception, you may extend this exception to your |
| 416 | +# version of the file(s), but you are not obligated to do so. If you |
| 417 | +# do not wish to do so, delete this exception statement from your |
| 418 | +# version. If you delete this exception statement from all source |
| 419 | +# files in the program, then also delete it here. |
| 420 | """Ubuntu Single Sign On client code.""" |
| 421 | |
| 422 | import sys |
| 423 | |
| 424 | === modified file 'ubuntu_sso/account.py' |
| 425 | --- ubuntu_sso/account.py 2012-03-23 19:49:48 +0000 |
| 426 | +++ ubuntu_sso/account.py 2012-04-10 18:05:21 +0000 |
| 427 | @@ -3,7 +3,7 @@ |
| 428 | # Author: Natalia Bidart <natalia.bidart@canonical.com> |
| 429 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 430 | # |
| 431 | -# Copyright 2010 Canonical Ltd. |
| 432 | +# Copyright 2010-2012 Canonical Ltd. |
| 433 | # |
| 434 | # This program is free software: you can redistribute it and/or modify it |
| 435 | # under the terms of the GNU General Public License version 3, as published |
| 436 | @@ -16,6 +16,19 @@ |
| 437 | # |
| 438 | # You should have received a copy of the GNU General Public License along |
| 439 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 440 | +# |
| 441 | +# In addition, as a special exception, the copyright holders give |
| 442 | +# permission to link the code of portions of this program with the |
| 443 | +# OpenSSL library under certain conditions as described in each |
| 444 | +# individual source file, and distribute linked combinations |
| 445 | +# including the two. |
| 446 | +# You must obey the GNU General Public License in all respects |
| 447 | +# for all of the code used other than OpenSSL. If you modify |
| 448 | +# file(s) with this exception, you may extend this exception to your |
| 449 | +# version of the file(s), but you are not obligated to do so. If you |
| 450 | +# do not wish to do so, delete this exception statement from your |
| 451 | +# version. If you delete this exception statement from all source |
| 452 | +# files in the program, then also delete it here. |
| 453 | """Single Sign On account management. |
| 454 | |
| 455 | All the methods in Account expect unicode as parameters. |
| 456 | |
| 457 | === modified file 'ubuntu_sso/constants.py.in' |
| 458 | --- ubuntu_sso/constants.py.in 2012-02-11 19:25:01 +0000 |
| 459 | +++ ubuntu_sso/constants.py.in 2012-04-10 18:05:21 +0000 |
| 460 | @@ -13,7 +13,19 @@ |
| 461 | # |
| 462 | # You should have received a copy of the GNU General Public License along |
| 463 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 464 | - |
| 465 | +# |
| 466 | +# In addition, as a special exception, the copyright holders give |
| 467 | +# permission to link the code of portions of this program with the |
| 468 | +# OpenSSL library under certain conditions as described in each |
| 469 | +# individual source file, and distribute linked combinations |
| 470 | +# including the two. |
| 471 | +# You must obey the GNU General Public License in all respects |
| 472 | +# for all of the code used other than OpenSSL. If you modify |
| 473 | +# file(s) with this exception, you may extend this exception to your |
| 474 | +# version of the file(s), but you are not obligated to do so. If you |
| 475 | +# do not wish to do so, delete this exception statement from your |
| 476 | +# version. If you delete this exception statement from all source |
| 477 | +# files in the program, then also delete it here. |
| 478 | """Some generated constants. |
| 479 | |
| 480 | DO NO EDIT! This is a generated file. It will be built at installation time. |
| 481 | |
| 482 | === modified file 'ubuntu_sso/credentials.py' |
| 483 | --- ubuntu_sso/credentials.py 2012-02-24 19:43:28 +0000 |
| 484 | +++ ubuntu_sso/credentials.py 2012-04-10 18:05:21 +0000 |
| 485 | @@ -13,6 +13,19 @@ |
| 486 | # |
| 487 | # You should have received a copy of the GNU General Public License along |
| 488 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 489 | +# |
| 490 | +# In addition, as a special exception, the copyright holders give |
| 491 | +# permission to link the code of portions of this program with the |
| 492 | +# OpenSSL library under certain conditions as described in each |
| 493 | +# individual source file, and distribute linked combinations |
| 494 | +# including the two. |
| 495 | +# You must obey the GNU General Public License in all respects |
| 496 | +# for all of the code used other than OpenSSL. If you modify |
| 497 | +# file(s) with this exception, you may extend this exception to your |
| 498 | +# version of the file(s), but you are not obligated to do so. If you |
| 499 | +# do not wish to do so, delete this exception statement from your |
| 500 | +# version. If you delete this exception statement from all source |
| 501 | +# files in the program, then also delete it here. |
| 502 | """Credential management utilities. |
| 503 | |
| 504 | 'Credentials' provides the following fault-tolerant methods: |
| 505 | |
| 506 | === modified file 'ubuntu_sso/gtk/__init__.py' |
| 507 | --- ubuntu_sso/gtk/__init__.py 2012-01-20 15:44:50 +0000 |
| 508 | +++ ubuntu_sso/gtk/__init__.py 2012-04-10 18:05:21 +0000 |
| 509 | @@ -13,5 +13,17 @@ |
| 510 | # |
| 511 | # You should have received a copy of the GNU General Public License along |
| 512 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 513 | - |
| 514 | +# |
| 515 | +# In addition, as a special exception, the copyright holders give |
| 516 | +# permission to link the code of portions of this program with the |
| 517 | +# OpenSSL library under certain conditions as described in each |
| 518 | +# individual source file, and distribute linked combinations |
| 519 | +# including the two. |
| 520 | +# You must obey the GNU General Public License in all respects |
| 521 | +# for all of the code used other than OpenSSL. If you modify |
| 522 | +# file(s) with this exception, you may extend this exception to your |
| 523 | +# version of the file(s), but you are not obligated to do so. If you |
| 524 | +# do not wish to do so, delete this exception statement from your |
| 525 | +# version. If you delete this exception statement from all source |
| 526 | +# files in the program, then also delete it here. |
| 527 | """Ubuntu Single Sign On graphical interface.""" |
| 528 | |
| 529 | === modified file 'ubuntu_sso/gtk/gui.py' |
| 530 | --- ubuntu_sso/gtk/gui.py 2012-03-15 16:43:48 +0000 |
| 531 | +++ ubuntu_sso/gtk/gui.py 2012-04-10 18:05:21 +0000 |
| 532 | @@ -13,7 +13,19 @@ |
| 533 | # |
| 534 | # You should have received a copy of the GNU General Public License along |
| 535 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 536 | - |
| 537 | +# |
| 538 | +# In addition, as a special exception, the copyright holders give |
| 539 | +# permission to link the code of portions of this program with the |
| 540 | +# OpenSSL library under certain conditions as described in each |
| 541 | +# individual source file, and distribute linked combinations |
| 542 | +# including the two. |
| 543 | +# You must obey the GNU General Public License in all respects |
| 544 | +# for all of the code used other than OpenSSL. If you modify |
| 545 | +# file(s) with this exception, you may extend this exception to your |
| 546 | +# version of the file(s), but you are not obligated to do so. If you |
| 547 | +# do not wish to do so, delete this exception statement from your |
| 548 | +# version. If you delete this exception statement from all source |
| 549 | +# files in the program, then also delete it here. |
| 550 | """User registration GUI.""" |
| 551 | |
| 552 | import logging |
| 553 | |
| 554 | === modified file 'ubuntu_sso/gtk/main.py' |
| 555 | --- ubuntu_sso/gtk/main.py 2012-02-13 15:43:59 +0000 |
| 556 | +++ ubuntu_sso/gtk/main.py 2012-04-10 18:05:21 +0000 |
| 557 | @@ -13,7 +13,19 @@ |
| 558 | # |
| 559 | # You should have received a copy of the GNU General Public License along |
| 560 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 561 | - |
| 562 | +# |
| 563 | +# In addition, as a special exception, the copyright holders give |
| 564 | +# permission to link the code of portions of this program with the |
| 565 | +# OpenSSL library under certain conditions as described in each |
| 566 | +# individual source file, and distribute linked combinations |
| 567 | +# including the two. |
| 568 | +# You must obey the GNU General Public License in all respects |
| 569 | +# for all of the code used other than OpenSSL. If you modify |
| 570 | +# file(s) with this exception, you may extend this exception to your |
| 571 | +# version of the file(s), but you are not obligated to do so. If you |
| 572 | +# do not wish to do so, delete this exception statement from your |
| 573 | +# version. If you delete this exception statement from all source |
| 574 | +# files in the program, then also delete it here. |
| 575 | """Main module to open the GTK UI.""" |
| 576 | |
| 577 | # pylint: disable=E0611 |
| 578 | |
| 579 | === modified file 'ubuntu_sso/gtk/tests/__init__.py' |
| 580 | --- ubuntu_sso/gtk/tests/__init__.py 2012-01-20 15:44:50 +0000 |
| 581 | +++ ubuntu_sso/gtk/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 582 | @@ -13,5 +13,17 @@ |
| 583 | # |
| 584 | # You should have received a copy of the GNU General Public License along |
| 585 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 586 | - |
| 587 | +# |
| 588 | +# In addition, as a special exception, the copyright holders give |
| 589 | +# permission to link the code of portions of this program with the |
| 590 | +# OpenSSL library under certain conditions as described in each |
| 591 | +# individual source file, and distribute linked combinations |
| 592 | +# including the two. |
| 593 | +# You must obey the GNU General Public License in all respects |
| 594 | +# for all of the code used other than OpenSSL. If you modify |
| 595 | +# file(s) with this exception, you may extend this exception to your |
| 596 | +# version of the file(s), but you are not obligated to do so. If you |
| 597 | +# do not wish to do so, delete this exception statement from your |
| 598 | +# version. If you delete this exception statement from all source |
| 599 | +# files in the program, then also delete it here. |
| 600 | """Tests for the Ubuntu SSO graphical interface.""" |
| 601 | |
| 602 | === modified file 'ubuntu_sso/gtk/tests/test_gui.py' |
| 603 | --- ubuntu_sso/gtk/tests/test_gui.py 2012-03-15 16:43:48 +0000 |
| 604 | +++ ubuntu_sso/gtk/tests/test_gui.py 2012-04-10 18:05:21 +0000 |
| 605 | @@ -13,6 +13,19 @@ |
| 606 | # |
| 607 | # You should have received a copy of the GNU General Public License along |
| 608 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 609 | +# |
| 610 | +# In addition, as a special exception, the copyright holders give |
| 611 | +# permission to link the code of portions of this program with the |
| 612 | +# OpenSSL library under certain conditions as described in each |
| 613 | +# individual source file, and distribute linked combinations |
| 614 | +# including the two. |
| 615 | +# You must obey the GNU General Public License in all respects |
| 616 | +# for all of the code used other than OpenSSL. If you modify |
| 617 | +# file(s) with this exception, you may extend this exception to your |
| 618 | +# version of the file(s), but you are not obligated to do so. If you |
| 619 | +# do not wish to do so, delete this exception statement from your |
| 620 | +# version. If you delete this exception statement from all source |
| 621 | +# files in the program, then also delete it here. |
| 622 | """Tests for the GUI for registration/login.""" |
| 623 | |
| 624 | import itertools |
| 625 | |
| 626 | === modified file 'ubuntu_sso/gtk/tests/test_main.py' |
| 627 | --- ubuntu_sso/gtk/tests/test_main.py 2012-02-13 15:43:59 +0000 |
| 628 | +++ ubuntu_sso/gtk/tests/test_main.py 2012-04-10 18:05:21 +0000 |
| 629 | @@ -13,7 +13,19 @@ |
| 630 | # |
| 631 | # You should have received a copy of the GNU General Public License along |
| 632 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 633 | - |
| 634 | +# |
| 635 | +# In addition, as a special exception, the copyright holders give |
| 636 | +# permission to link the code of portions of this program with the |
| 637 | +# OpenSSL library under certain conditions as described in each |
| 638 | +# individual source file, and distribute linked combinations |
| 639 | +# including the two. |
| 640 | +# You must obey the GNU General Public License in all respects |
| 641 | +# for all of the code used other than OpenSSL. If you modify |
| 642 | +# file(s) with this exception, you may extend this exception to your |
| 643 | +# version of the file(s), but you are not obligated to do so. If you |
| 644 | +# do not wish to do so, delete this exception statement from your |
| 645 | +# version. If you delete this exception statement from all source |
| 646 | +# files in the program, then also delete it here. |
| 647 | """Tests for the main module.""" |
| 648 | |
| 649 | from twisted.trial.unittest import TestCase |
| 650 | |
| 651 | === modified file 'ubuntu_sso/keyring/__init__.py' |
| 652 | --- ubuntu_sso/keyring/__init__.py 2012-02-09 13:21:00 +0000 |
| 653 | +++ ubuntu_sso/keyring/__init__.py 2012-04-10 18:05:21 +0000 |
| 654 | @@ -4,7 +4,7 @@ |
| 655 | # Alejandro J. Cura <alecu@canonical.com> |
| 656 | # Manuel de la Pena <manuel@canonical.com> |
| 657 | # |
| 658 | -# Copyright 2011 Canonical Ltd. |
| 659 | +# Copyright 2011-2012 Canonical Ltd. |
| 660 | # |
| 661 | # This program is free software: you can redistribute it and/or modify it |
| 662 | # under the terms of the GNU General Public License version 3, as published |
| 663 | @@ -17,6 +17,19 @@ |
| 664 | # |
| 665 | # You should have received a copy of the GNU General Public License along |
| 666 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 667 | +# |
| 668 | +# In addition, as a special exception, the copyright holders give |
| 669 | +# permission to link the code of portions of this program with the |
| 670 | +# OpenSSL library under certain conditions as described in each |
| 671 | +# individual source file, and distribute linked combinations |
| 672 | +# including the two. |
| 673 | +# You must obey the GNU General Public License in all respects |
| 674 | +# for all of the code used other than OpenSSL. If you modify |
| 675 | +# file(s) with this exception, you may extend this exception to your |
| 676 | +# version of the file(s), but you are not obligated to do so. If you |
| 677 | +# do not wish to do so, delete this exception statement from your |
| 678 | +# version. If you delete this exception statement from all source |
| 679 | +# files in the program, then also delete it here. |
| 680 | """Implementations of different keyrings.""" |
| 681 | |
| 682 | import socket |
| 683 | |
| 684 | === modified file 'ubuntu_sso/keyring/linux.py' |
| 685 | --- ubuntu_sso/keyring/linux.py 2012-02-10 09:58:21 +0000 |
| 686 | +++ ubuntu_sso/keyring/linux.py 2012-04-10 18:05:21 +0000 |
| 687 | @@ -1,6 +1,6 @@ |
| 688 | # -*- coding: utf-8 -*- |
| 689 | # |
| 690 | -# Copyright (C) 2010 Canonical |
| 691 | +# Copyright (C) 2010-2012 Canonical |
| 692 | # |
| 693 | # Authors: |
| 694 | # Andrew Higginson |
| 695 | @@ -20,7 +20,19 @@ |
| 696 | # You should have received a copy of the GNU General Public License along with |
| 697 | # this program; if not, write to the Free Software Foundation, Inc., |
| 698 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 699 | - |
| 700 | +# |
| 701 | +# In addition, as a special exception, the copyright holders give |
| 702 | +# permission to link the code of portions of this program with the |
| 703 | +# OpenSSL library under certain conditions as described in each |
| 704 | +# individual source file, and distribute linked combinations |
| 705 | +# including the two. |
| 706 | +# You must obey the GNU General Public License in all respects |
| 707 | +# for all of the code used other than OpenSSL. If you modify |
| 708 | +# file(s) with this exception, you may extend this exception to your |
| 709 | +# version of the file(s), but you are not obligated to do so. If you |
| 710 | +# do not wish to do so, delete this exception statement from your |
| 711 | +# version. If you delete this exception statement from all source |
| 712 | +# files in the program, then also delete it here. |
| 713 | """Handle keys in the local kerying.""" |
| 714 | |
| 715 | import urllib |
| 716 | |
| 717 | === modified file 'ubuntu_sso/keyring/tests/__init__.py' |
| 718 | --- ubuntu_sso/keyring/tests/__init__.py 2011-02-23 21:52:55 +0000 |
| 719 | +++ ubuntu_sso/keyring/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 720 | @@ -1,7 +1,7 @@ |
| 721 | # -*- coding: utf-8 -*- |
| 722 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 723 | # |
| 724 | -# Copyright 2011 Canonical Ltd. |
| 725 | +# Copyright 2011-2012 Canonical Ltd. |
| 726 | # |
| 727 | # This program is free software: you can redistribute it and/or modify it |
| 728 | # under the terms of the GNU General Public License version 3, as published |
| 729 | @@ -14,4 +14,17 @@ |
| 730 | # |
| 731 | # You should have received a copy of the GNU General Public License along |
| 732 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 733 | +# |
| 734 | +# In addition, as a special exception, the copyright holders give |
| 735 | +# permission to link the code of portions of this program with the |
| 736 | +# OpenSSL library under certain conditions as described in each |
| 737 | +# individual source file, and distribute linked combinations |
| 738 | +# including the two. |
| 739 | +# You must obey the GNU General Public License in all respects |
| 740 | +# for all of the code used other than OpenSSL. If you modify |
| 741 | +# file(s) with this exception, you may extend this exception to your |
| 742 | +# version of the file(s), but you are not obligated to do so. If you |
| 743 | +# do not wish to do so, delete this exception statement from your |
| 744 | +# version. If you delete this exception statement from all source |
| 745 | +# files in the program, then also delete it here. |
| 746 | """Keyring tests.""" |
| 747 | |
| 748 | === modified file 'ubuntu_sso/keyring/tests/test_common.py' |
| 749 | --- ubuntu_sso/keyring/tests/test_common.py 2012-01-26 15:34:16 +0000 |
| 750 | +++ ubuntu_sso/keyring/tests/test_common.py 2012-04-10 18:05:21 +0000 |
| 751 | @@ -5,7 +5,7 @@ |
| 752 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 753 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
| 754 | # |
| 755 | -# Copyright 2010-2011 Canonical Ltd. |
| 756 | +# Copyright 2010-2012 Canonical Ltd. |
| 757 | # |
| 758 | # This program is free software: you can redistribute it and/or modify it |
| 759 | # under the terms of the GNU General Public License version 3, as published |
| 760 | @@ -18,6 +18,19 @@ |
| 761 | # |
| 762 | # You should have received a copy of the GNU General Public License along |
| 763 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 764 | +# |
| 765 | +# In addition, as a special exception, the copyright holders give |
| 766 | +# permission to link the code of portions of this program with the |
| 767 | +# OpenSSL library under certain conditions as described in each |
| 768 | +# individual source file, and distribute linked combinations |
| 769 | +# including the two. |
| 770 | +# You must obey the GNU General Public License in all respects |
| 771 | +# for all of the code used other than OpenSSL. If you modify |
| 772 | +# file(s) with this exception, you may extend this exception to your |
| 773 | +# version of the file(s), but you are not obligated to do so. If you |
| 774 | +# do not wish to do so, delete this exception statement from your |
| 775 | +# version. If you delete this exception statement from all source |
| 776 | +# files in the program, then also delete it here. |
| 777 | """Tests for the keyring common module.""" |
| 778 | |
| 779 | from twisted.trial.unittest import TestCase |
| 780 | |
| 781 | === modified file 'ubuntu_sso/keyring/tests/test_linux.py' |
| 782 | --- ubuntu_sso/keyring/tests/test_linux.py 2012-02-17 18:43:17 +0000 |
| 783 | +++ ubuntu_sso/keyring/tests/test_linux.py 2012-04-10 18:05:21 +0000 |
| 784 | @@ -5,7 +5,7 @@ |
| 785 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 786 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
| 787 | # |
| 788 | -# Copyright 2010 Canonical Ltd. |
| 789 | +# Copyright 2010-2012 Canonical Ltd. |
| 790 | # |
| 791 | # This program is free software: you can redistribute it and/or modify it |
| 792 | # under the terms of the GNU General Public License version 3, as published |
| 793 | @@ -18,6 +18,19 @@ |
| 794 | # |
| 795 | # You should have received a copy of the GNU General Public License along |
| 796 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 797 | +# |
| 798 | +# In addition, as a special exception, the copyright holders give |
| 799 | +# permission to link the code of portions of this program with the |
| 800 | +# OpenSSL library under certain conditions as described in each |
| 801 | +# individual source file, and distribute linked combinations |
| 802 | +# including the two. |
| 803 | +# You must obey the GNU General Public License in all respects |
| 804 | +# for all of the code used other than OpenSSL. If you modify |
| 805 | +# file(s) with this exception, you may extend this exception to your |
| 806 | +# version of the file(s), but you are not obligated to do so. If you |
| 807 | +# do not wish to do so, delete this exception statement from your |
| 808 | +# version. If you delete this exception statement from all source |
| 809 | +# files in the program, then also delete it here. |
| 810 | """Tests for the keyring.py module.""" |
| 811 | |
| 812 | from twisted.internet import defer |
| 813 | |
| 814 | === modified file 'ubuntu_sso/keyring/tests/test_windows.py' |
| 815 | --- ubuntu_sso/keyring/tests/test_windows.py 2011-10-28 10:41:18 +0000 |
| 816 | +++ ubuntu_sso/keyring/tests/test_windows.py 2012-04-10 18:05:21 +0000 |
| 817 | @@ -1,7 +1,7 @@ |
| 818 | # -*- coding: utf-8 -*- |
| 819 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 820 | # |
| 821 | -# Copyright 2011 Canonical Ltd. |
| 822 | +# Copyright 2011-2012 Canonical Ltd. |
| 823 | # |
| 824 | # This program is free software: you can redistribute it and/or modify it |
| 825 | # under the terms of the GNU General Public License version 3, as published |
| 826 | @@ -14,6 +14,19 @@ |
| 827 | # |
| 828 | # You should have received a copy of the GNU General Public License along |
| 829 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 830 | +# |
| 831 | +# In addition, as a special exception, the copyright holders give |
| 832 | +# permission to link the code of portions of this program with the |
| 833 | +# OpenSSL library under certain conditions as described in each |
| 834 | +# individual source file, and distribute linked combinations |
| 835 | +# including the two. |
| 836 | +# You must obey the GNU General Public License in all respects |
| 837 | +# for all of the code used other than OpenSSL. If you modify |
| 838 | +# file(s) with this exception, you may extend this exception to your |
| 839 | +# version of the file(s), but you are not obligated to do so. If you |
| 840 | +# do not wish to do so, delete this exception statement from your |
| 841 | +# version. If you delete this exception statement from all source |
| 842 | +# files in the program, then also delete it here. |
| 843 | """Test the windows keyring implementation.""" |
| 844 | |
| 845 | from json import dumps |
| 846 | |
| 847 | === modified file 'ubuntu_sso/keyring/windows.py' |
| 848 | --- ubuntu_sso/keyring/windows.py 2012-03-30 00:53:22 +0000 |
| 849 | +++ ubuntu_sso/keyring/windows.py 2012-04-10 18:05:21 +0000 |
| 850 | @@ -1,7 +1,7 @@ |
| 851 | # -*- coding: utf-8 -*- |
| 852 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 853 | # |
| 854 | -# Copyright 2011 Canonical Ltd. |
| 855 | +# Copyright 2011-2012 Canonical Ltd. |
| 856 | # |
| 857 | # This program is free software: you can redistribute it and/or modify it |
| 858 | # under the terms of the GNU General Public License version 3, as published |
| 859 | @@ -14,6 +14,19 @@ |
| 860 | # |
| 861 | # You should have received a copy of the GNU General Public License along |
| 862 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 863 | +# |
| 864 | +# In addition, as a special exception, the copyright holders give |
| 865 | +# permission to link the code of portions of this program with the |
| 866 | +# OpenSSL library under certain conditions as described in each |
| 867 | +# individual source file, and distribute linked combinations |
| 868 | +# including the two. |
| 869 | +# You must obey the GNU General Public License in all respects |
| 870 | +# for all of the code used other than OpenSSL. If you modify |
| 871 | +# file(s) with this exception, you may extend this exception to your |
| 872 | +# version of the file(s), but you are not obligated to do so. If you |
| 873 | +# do not wish to do so, delete this exception statement from your |
| 874 | +# version. If you delete this exception statement from all source |
| 875 | +# files in the program, then also delete it here. |
| 876 | """Keyring implementation on Windows.""" |
| 877 | |
| 878 | from json import loads, dumps |
| 879 | |
| 880 | === modified file 'ubuntu_sso/logger.py' |
| 881 | --- ubuntu_sso/logger.py 2012-02-07 20:57:15 +0000 |
| 882 | +++ ubuntu_sso/logger.py 2012-04-10 18:05:21 +0000 |
| 883 | @@ -5,7 +5,7 @@ |
| 884 | # Author: Stuart Langridge <stuart.langridge@canonical.com> |
| 885 | # Author: Natalia B. Bidart <natalia.bidart@canonical.com> |
| 886 | # |
| 887 | -# Copyright 2009 Canonical Ltd. |
| 888 | +# Copyright 2009-2012 Canonical Ltd. |
| 889 | # |
| 890 | # This program is free software: you can redistribute it and/or modify it |
| 891 | # under the terms of the GNU General Public License version 3, as published |
| 892 | @@ -18,7 +18,19 @@ |
| 893 | # |
| 894 | # You should have received a copy of the GNU General Public License along |
| 895 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 896 | - |
| 897 | +# |
| 898 | +# In addition, as a special exception, the copyright holders give |
| 899 | +# permission to link the code of portions of this program with the |
| 900 | +# OpenSSL library under certain conditions as described in each |
| 901 | +# individual source file, and distribute linked combinations |
| 902 | +# including the two. |
| 903 | +# You must obey the GNU General Public License in all respects |
| 904 | +# for all of the code used other than OpenSSL. If you modify |
| 905 | +# file(s) with this exception, you may extend this exception to your |
| 906 | +# version of the file(s), but you are not obligated to do so. If you |
| 907 | +# do not wish to do so, delete this exception statement from your |
| 908 | +# version. If you delete this exception statement from all source |
| 909 | +# files in the program, then also delete it here. |
| 910 | """Miscellaneous logging functions.""" |
| 911 | |
| 912 | import logging |
| 913 | |
| 914 | === modified file 'ubuntu_sso/main/__init__.py' |
| 915 | --- ubuntu_sso/main/__init__.py 2012-02-17 18:43:17 +0000 |
| 916 | +++ ubuntu_sso/main/__init__.py 2012-04-10 18:05:21 +0000 |
| 917 | @@ -1,6 +1,6 @@ |
| 918 | # -*- coding: utf-8 -*- |
| 919 | # |
| 920 | -# Copyright 2011 Canonical Ltd. |
| 921 | +# Copyright 2011-2012 Canonical Ltd. |
| 922 | # |
| 923 | # This program is free software: you can redistribute it and/or modify it |
| 924 | # under the terms of the GNU General Public License version 3, as published |
| 925 | @@ -13,6 +13,19 @@ |
| 926 | # |
| 927 | # You should have received a copy of the GNU General Public License along |
| 928 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 929 | +# |
| 930 | +# In addition, as a special exception, the copyright holders give |
| 931 | +# permission to link the code of portions of this program with the |
| 932 | +# OpenSSL library under certain conditions as described in each |
| 933 | +# individual source file, and distribute linked combinations |
| 934 | +# including the two. |
| 935 | +# You must obey the GNU General Public License in all respects |
| 936 | +# for all of the code used other than OpenSSL. If you modify |
| 937 | +# file(s) with this exception, you may extend this exception to your |
| 938 | +# version of the file(s), but you are not obligated to do so. If you |
| 939 | +# do not wish to do so, delete this exception statement from your |
| 940 | +# version. If you delete this exception statement from all source |
| 941 | +# files in the program, then also delete it here. |
| 942 | """Single Sign On client main module. |
| 943 | |
| 944 | Provides a utility which accepts requests to the Ubuntu Single Sign On |
| 945 | |
| 946 | === modified file 'ubuntu_sso/main/glib.py' |
| 947 | --- ubuntu_sso/main/glib.py 2012-02-23 13:28:12 +0000 |
| 948 | +++ ubuntu_sso/main/glib.py 2012-04-10 18:05:21 +0000 |
| 949 | @@ -13,7 +13,19 @@ |
| 950 | # |
| 951 | # You should have received a copy of the GNU General Public License along |
| 952 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 953 | - |
| 954 | +# |
| 955 | +# In addition, as a special exception, the copyright holders give |
| 956 | +# permission to link the code of portions of this program with the |
| 957 | +# OpenSSL library under certain conditions as described in each |
| 958 | +# individual source file, and distribute linked combinations |
| 959 | +# including the two. |
| 960 | +# You must obey the GNU General Public License in all respects |
| 961 | +# for all of the code used other than OpenSSL. If you modify |
| 962 | +# file(s) with this exception, you may extend this exception to your |
| 963 | +# version of the file(s), but you are not obligated to do so. If you |
| 964 | +# do not wish to do so, delete this exception statement from your |
| 965 | +# version. If you delete this exception statement from all source |
| 966 | +# files in the program, then also delete it here. |
| 967 | """GLib main loop runner.""" |
| 968 | |
| 969 | # pylint: disable=E0611,F0401 |
| 970 | |
| 971 | === modified file 'ubuntu_sso/main/linux.py' |
| 972 | --- ubuntu_sso/main/linux.py 2012-02-21 22:53:12 +0000 |
| 973 | +++ ubuntu_sso/main/linux.py 2012-04-10 18:05:21 +0000 |
| 974 | @@ -13,6 +13,19 @@ |
| 975 | # |
| 976 | # You should have received a copy of the GNU General Public License along |
| 977 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 978 | +# |
| 979 | +# In addition, as a special exception, the copyright holders give |
| 980 | +# permission to link the code of portions of this program with the |
| 981 | +# OpenSSL library under certain conditions as described in each |
| 982 | +# individual source file, and distribute linked combinations |
| 983 | +# including the two. |
| 984 | +# You must obey the GNU General Public License in all respects |
| 985 | +# for all of the code used other than OpenSSL. If you modify |
| 986 | +# file(s) with this exception, you may extend this exception to your |
| 987 | +# version of the file(s), but you are not obligated to do so. If you |
| 988 | +# do not wish to do so, delete this exception statement from your |
| 989 | +# version. If you delete this exception statement from all source |
| 990 | +# files in the program, then also delete it here. |
| 991 | """Main module implementation specific for linux. |
| 992 | |
| 993 | This module should never import from the multiplatform one (main/__init__.py), |
| 994 | |
| 995 | === modified file 'ubuntu_sso/main/qt.py' |
| 996 | --- ubuntu_sso/main/qt.py 2012-02-23 13:28:12 +0000 |
| 997 | +++ ubuntu_sso/main/qt.py 2012-04-10 18:05:21 +0000 |
| 998 | @@ -13,7 +13,19 @@ |
| 999 | # |
| 1000 | # You should have received a copy of the GNU General Public License along |
| 1001 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1002 | - |
| 1003 | +# |
| 1004 | +# In addition, as a special exception, the copyright holders give |
| 1005 | +# permission to link the code of portions of this program with the |
| 1006 | +# OpenSSL library under certain conditions as described in each |
| 1007 | +# individual source file, and distribute linked combinations |
| 1008 | +# including the two. |
| 1009 | +# You must obey the GNU General Public License in all respects |
| 1010 | +# for all of the code used other than OpenSSL. If you modify |
| 1011 | +# file(s) with this exception, you may extend this exception to your |
| 1012 | +# version of the file(s), but you are not obligated to do so. If you |
| 1013 | +# do not wish to do so, delete this exception statement from your |
| 1014 | +# version. If you delete this exception statement from all source |
| 1015 | +# files in the program, then also delete it here. |
| 1016 | """Qt main loop runner.""" |
| 1017 | |
| 1018 | # pylint: disable=E0611,F0401 |
| 1019 | |
| 1020 | === modified file 'ubuntu_sso/main/tests/__init__.py' |
| 1021 | --- ubuntu_sso/main/tests/__init__.py 2012-02-10 15:20:01 +0000 |
| 1022 | +++ ubuntu_sso/main/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 1023 | @@ -1,7 +1,7 @@ |
| 1024 | # -*- coding: utf-8 -*- |
| 1025 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 1026 | # |
| 1027 | -# Copyright 2011 Canonical Ltd. |
| 1028 | +# Copyright 2011-2012 Canonical Ltd. |
| 1029 | # |
| 1030 | # This program is free software: you can redistribute it and/or modify it |
| 1031 | # under the terms of the GNU General Public License version 3, as published |
| 1032 | @@ -14,6 +14,19 @@ |
| 1033 | # |
| 1034 | # You should have received a copy of the GNU General Public License along |
| 1035 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1036 | +# |
| 1037 | +# In addition, as a special exception, the copyright holders give |
| 1038 | +# permission to link the code of portions of this program with the |
| 1039 | +# OpenSSL library under certain conditions as described in each |
| 1040 | +# individual source file, and distribute linked combinations |
| 1041 | +# including the two. |
| 1042 | +# You must obey the GNU General Public License in all respects |
| 1043 | +# for all of the code used other than OpenSSL. If you modify |
| 1044 | +# file(s) with this exception, you may extend this exception to your |
| 1045 | +# version of the file(s), but you are not obligated to do so. If you |
| 1046 | +# do not wish to do so, delete this exception statement from your |
| 1047 | +# version. If you delete this exception statement from all source |
| 1048 | +# files in the program, then also delete it here. |
| 1049 | """Test the different main implementations.""" |
| 1050 | |
| 1051 | import sys |
| 1052 | |
| 1053 | === modified file 'ubuntu_sso/main/tests/test_clients.py' |
| 1054 | --- ubuntu_sso/main/tests/test_clients.py 2012-02-10 15:20:01 +0000 |
| 1055 | +++ ubuntu_sso/main/tests/test_clients.py 2012-04-10 18:05:21 +0000 |
| 1056 | @@ -13,6 +13,19 @@ |
| 1057 | # |
| 1058 | # You should have received a copy of the GNU General Public License along |
| 1059 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1060 | +# |
| 1061 | +# In addition, as a special exception, the copyright holders give |
| 1062 | +# permission to link the code of portions of this program with the |
| 1063 | +# OpenSSL library under certain conditions as described in each |
| 1064 | +# individual source file, and distribute linked combinations |
| 1065 | +# including the two. |
| 1066 | +# You must obey the GNU General Public License in all respects |
| 1067 | +# for all of the code used other than OpenSSL. If you modify |
| 1068 | +# file(s) with this exception, you may extend this exception to your |
| 1069 | +# version of the file(s), but you are not obligated to do so. If you |
| 1070 | +# do not wish to do so, delete this exception statement from your |
| 1071 | +# version. If you delete this exception statement from all source |
| 1072 | +# files in the program, then also delete it here. |
| 1073 | """Tests for the main SSO client code.""" |
| 1074 | |
| 1075 | from twisted.internet import defer |
| 1076 | |
| 1077 | === modified file 'ubuntu_sso/main/tests/test_common.py' |
| 1078 | --- ubuntu_sso/main/tests/test_common.py 2012-03-26 11:24:59 +0000 |
| 1079 | +++ ubuntu_sso/main/tests/test_common.py 2012-04-10 18:05:21 +0000 |
| 1080 | @@ -1,6 +1,6 @@ |
| 1081 | # -*- coding: utf-8 -*- |
| 1082 | # |
| 1083 | -# Copyright 2009-2011 Canonical Ltd. |
| 1084 | +# Copyright 2009-2012 Canonical Ltd. |
| 1085 | # |
| 1086 | # This program is free software: you can redistribute it and/or modify it |
| 1087 | # under the terms of the GNU General Public License version 3, as published |
| 1088 | @@ -13,6 +13,19 @@ |
| 1089 | # |
| 1090 | # You should have received a copy of the GNU General Public License along |
| 1091 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1092 | +# |
| 1093 | +# In addition, as a special exception, the copyright holders give |
| 1094 | +# permission to link the code of portions of this program with the |
| 1095 | +# OpenSSL library under certain conditions as described in each |
| 1096 | +# individual source file, and distribute linked combinations |
| 1097 | +# including the two. |
| 1098 | +# You must obey the GNU General Public License in all respects |
| 1099 | +# for all of the code used other than OpenSSL. If you modify |
| 1100 | +# file(s) with this exception, you may extend this exception to your |
| 1101 | +# version of the file(s), but you are not obligated to do so. If you |
| 1102 | +# do not wish to do so, delete this exception statement from your |
| 1103 | +# version. If you delete this exception statement from all source |
| 1104 | +# files in the program, then also delete it here. |
| 1105 | """Tests for the main SSO client code.""" |
| 1106 | |
| 1107 | import logging |
| 1108 | |
| 1109 | === modified file 'ubuntu_sso/main/tests/test_qt.py' |
| 1110 | --- ubuntu_sso/main/tests/test_qt.py 2012-02-17 17:58:30 +0000 |
| 1111 | +++ ubuntu_sso/main/tests/test_qt.py 2012-04-10 18:05:21 +0000 |
| 1112 | @@ -13,6 +13,19 @@ |
| 1113 | # |
| 1114 | # You should have received a copy of the GNU General Public License along |
| 1115 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1116 | +# |
| 1117 | +# In addition, as a special exception, the copyright holders give |
| 1118 | +# permission to link the code of portions of this program with the |
| 1119 | +# OpenSSL library under certain conditions as described in each |
| 1120 | +# individual source file, and distribute linked combinations |
| 1121 | +# including the two. |
| 1122 | +# You must obey the GNU General Public License in all respects |
| 1123 | +# for all of the code used other than OpenSSL. If you modify |
| 1124 | +# file(s) with this exception, you may extend this exception to your |
| 1125 | +# version of the file(s), but you are not obligated to do so. If you |
| 1126 | +# do not wish to do so, delete this exception statement from your |
| 1127 | +# version. If you delete this exception statement from all source |
| 1128 | +# files in the program, then also delete it here. |
| 1129 | """Qt specific tests for the main module.""" |
| 1130 | |
| 1131 | # pylint: disable=F0401 |
| 1132 | |
| 1133 | === modified file 'ubuntu_sso/main/tests/test_windows.py' |
| 1134 | --- ubuntu_sso/main/tests/test_windows.py 2012-02-07 14:44:58 +0000 |
| 1135 | +++ ubuntu_sso/main/tests/test_windows.py 2012-04-10 18:05:21 +0000 |
| 1136 | @@ -1,6 +1,6 @@ |
| 1137 | # -*- coding: utf-8 -*- |
| 1138 | # |
| 1139 | -# Copyright 2011 Canonical Ltd. |
| 1140 | +# Copyright 2011-2012 Canonical Ltd. |
| 1141 | # |
| 1142 | # This program is free software: you can redistribute it and/or modify it |
| 1143 | # under the terms of the GNU General Public License version 3, as published |
| 1144 | @@ -13,6 +13,19 @@ |
| 1145 | # |
| 1146 | # You should have received a copy of the GNU General Public License along |
| 1147 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1148 | +# |
| 1149 | +# In addition, as a special exception, the copyright holders give |
| 1150 | +# permission to link the code of portions of this program with the |
| 1151 | +# OpenSSL library under certain conditions as described in each |
| 1152 | +# individual source file, and distribute linked combinations |
| 1153 | +# including the two. |
| 1154 | +# You must obey the GNU General Public License in all respects |
| 1155 | +# for all of the code used other than OpenSSL. If you modify |
| 1156 | +# file(s) with this exception, you may extend this exception to your |
| 1157 | +# version of the file(s), but you are not obligated to do so. If you |
| 1158 | +# do not wish to do so, delete this exception statement from your |
| 1159 | +# version. If you delete this exception statement from all source |
| 1160 | +# files in the program, then also delete it here. |
| 1161 | """Windows specific tests for the main module.""" |
| 1162 | |
| 1163 | # pylint: disable=F0401 |
| 1164 | |
| 1165 | === modified file 'ubuntu_sso/main/windows.py' |
| 1166 | --- ubuntu_sso/main/windows.py 2012-02-11 01:51:57 +0000 |
| 1167 | +++ ubuntu_sso/main/windows.py 2012-04-10 18:05:21 +0000 |
| 1168 | @@ -1,6 +1,6 @@ |
| 1169 | # -*- coding: utf-8 -*- |
| 1170 | # |
| 1171 | -# Copyright 2011 Canonical Ltd. |
| 1172 | +# Copyright 2011-2012 Canonical Ltd. |
| 1173 | # |
| 1174 | # This program is free software: you can redistribute it and/or modify it |
| 1175 | # under the terms of the GNU General Public License version 3, as published |
| 1176 | @@ -13,6 +13,19 @@ |
| 1177 | # |
| 1178 | # You should have received a copy of the GNU General Public License along |
| 1179 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1180 | +# |
| 1181 | +# In addition, as a special exception, the copyright holders give |
| 1182 | +# permission to link the code of portions of this program with the |
| 1183 | +# OpenSSL library under certain conditions as described in each |
| 1184 | +# individual source file, and distribute linked combinations |
| 1185 | +# including the two. |
| 1186 | +# You must obey the GNU General Public License in all respects |
| 1187 | +# for all of the code used other than OpenSSL. If you modify |
| 1188 | +# file(s) with this exception, you may extend this exception to your |
| 1189 | +# version of the file(s), but you are not obligated to do so. If you |
| 1190 | +# do not wish to do so, delete this exception statement from your |
| 1191 | +# version. If you delete this exception statement from all source |
| 1192 | +# files in the program, then also delete it here. |
| 1193 | """Main module implementation specific for windows. |
| 1194 | |
| 1195 | This module should never import from the multiplatform one (main/__init__.py), |
| 1196 | |
| 1197 | === modified file 'ubuntu_sso/networkstate/__init__.py' |
| 1198 | --- ubuntu_sso/networkstate/__init__.py 2011-11-11 19:20:59 +0000 |
| 1199 | +++ ubuntu_sso/networkstate/__init__.py 2012-04-10 18:05:21 +0000 |
| 1200 | @@ -1,7 +1,7 @@ |
| 1201 | # -*- coding: utf-8 -*- |
| 1202 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 1203 | # |
| 1204 | -# Copyright 2011 Canonical Ltd. |
| 1205 | +# Copyright 2011-2012 Canonical Ltd. |
| 1206 | # |
| 1207 | # This program is free software: you can redistribute it and/or modify it |
| 1208 | # under the terms of the GNU General Public License version 3, as published |
| 1209 | @@ -14,6 +14,19 @@ |
| 1210 | # |
| 1211 | # You should have received a copy of the GNU General Public License along |
| 1212 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1213 | +# |
| 1214 | +# In addition, as a special exception, the copyright holders give |
| 1215 | +# permission to link the code of portions of this program with the |
| 1216 | +# OpenSSL library under certain conditions as described in each |
| 1217 | +# individual source file, and distribute linked combinations |
| 1218 | +# including the two. |
| 1219 | +# You must obey the GNU General Public License in all respects |
| 1220 | +# for all of the code used other than OpenSSL. If you modify |
| 1221 | +# file(s) with this exception, you may extend this exception to your |
| 1222 | +# version of the file(s), but you are not obligated to do so. If you |
| 1223 | +# do not wish to do so, delete this exception statement from your |
| 1224 | +# version. If you delete this exception statement from all source |
| 1225 | +# files in the program, then also delete it here. |
| 1226 | """Platform specific network status.""" |
| 1227 | |
| 1228 | import sys |
| 1229 | |
| 1230 | === modified file 'ubuntu_sso/networkstate/linux.py' |
| 1231 | --- ubuntu_sso/networkstate/linux.py 2012-02-23 18:42:45 +0000 |
| 1232 | +++ ubuntu_sso/networkstate/linux.py 2012-04-10 18:05:21 +0000 |
| 1233 | @@ -4,7 +4,7 @@ |
| 1234 | # |
| 1235 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 1236 | # |
| 1237 | -# Copyright 2010 Canonical Ltd. |
| 1238 | +# Copyright 2010-2012 Canonical Ltd. |
| 1239 | # |
| 1240 | # This program is free software: you can redistribute it and/or modify it |
| 1241 | # under the terms of the GNU General Public License version 3, as published |
| 1242 | @@ -17,6 +17,19 @@ |
| 1243 | # |
| 1244 | # You should have received a copy of the GNU General Public License along |
| 1245 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1246 | +# |
| 1247 | +# In addition, as a special exception, the copyright holders give |
| 1248 | +# permission to link the code of portions of this program with the |
| 1249 | +# OpenSSL library under certain conditions as described in each |
| 1250 | +# individual source file, and distribute linked combinations |
| 1251 | +# including the two. |
| 1252 | +# You must obey the GNU General Public License in all respects |
| 1253 | +# for all of the code used other than OpenSSL. If you modify |
| 1254 | +# file(s) with this exception, you may extend this exception to your |
| 1255 | +# version of the file(s), but you are not obligated to do so. If you |
| 1256 | +# do not wish to do so, delete this exception statement from your |
| 1257 | +# version. If you delete this exception statement from all source |
| 1258 | +# files in the program, then also delete it here. |
| 1259 | """Implementation of network state detection.""" |
| 1260 | |
| 1261 | import dbus |
| 1262 | |
| 1263 | === modified file 'ubuntu_sso/networkstate/tests/__init__.py' |
| 1264 | --- ubuntu_sso/networkstate/tests/__init__.py 2011-02-24 02:46:19 +0000 |
| 1265 | +++ ubuntu_sso/networkstate/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 1266 | @@ -1,7 +1,7 @@ |
| 1267 | # -*- coding: utf-8 -*- |
| 1268 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 1269 | # |
| 1270 | -# Copyright 2011 Canonical Ltd. |
| 1271 | +# Copyright 2011-2012 Canonical Ltd. |
| 1272 | # |
| 1273 | # This program is free software: you can redistribute it and/or modify it |
| 1274 | # under the terms of the GNU General Public License version 3, as published |
| 1275 | @@ -14,4 +14,17 @@ |
| 1276 | # |
| 1277 | # You should have received a copy of the GNU General Public License along |
| 1278 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1279 | +# |
| 1280 | +# In addition, as a special exception, the copyright holders give |
| 1281 | +# permission to link the code of portions of this program with the |
| 1282 | +# OpenSSL library under certain conditions as described in each |
| 1283 | +# individual source file, and distribute linked combinations |
| 1284 | +# including the two. |
| 1285 | +# You must obey the GNU General Public License in all respects |
| 1286 | +# for all of the code used other than OpenSSL. If you modify |
| 1287 | +# file(s) with this exception, you may extend this exception to your |
| 1288 | +# version of the file(s), but you are not obligated to do so. If you |
| 1289 | +# do not wish to do so, delete this exception statement from your |
| 1290 | +# version. If you delete this exception statement from all source |
| 1291 | +# files in the program, then also delete it here. |
| 1292 | """Test the different networkstatus implementations.""" |
| 1293 | |
| 1294 | === modified file 'ubuntu_sso/networkstate/tests/test_linux.py' |
| 1295 | --- ubuntu_sso/networkstate/tests/test_linux.py 2012-02-23 18:42:45 +0000 |
| 1296 | +++ ubuntu_sso/networkstate/tests/test_linux.py 2012-04-10 18:05:21 +0000 |
| 1297 | @@ -17,6 +17,19 @@ |
| 1298 | # |
| 1299 | # You should have received a copy of the GNU General Public License along |
| 1300 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1301 | +# |
| 1302 | +# In addition, as a special exception, the copyright holders give |
| 1303 | +# permission to link the code of portions of this program with the |
| 1304 | +# OpenSSL library under certain conditions as described in each |
| 1305 | +# individual source file, and distribute linked combinations |
| 1306 | +# including the two. |
| 1307 | +# You must obey the GNU General Public License in all respects |
| 1308 | +# for all of the code used other than OpenSSL. If you modify |
| 1309 | +# file(s) with this exception, you may extend this exception to your |
| 1310 | +# version of the file(s), but you are not obligated to do so. If you |
| 1311 | +# do not wish to do so, delete this exception statement from your |
| 1312 | +# version. If you delete this exception statement from all source |
| 1313 | +# files in the program, then also delete it here. |
| 1314 | """Tests for the network state detection code.""" |
| 1315 | |
| 1316 | from collections import defaultdict |
| 1317 | |
| 1318 | === modified file 'ubuntu_sso/networkstate/tests/test_windows.py' |
| 1319 | --- ubuntu_sso/networkstate/tests/test_windows.py 2012-03-27 03:00:33 +0000 |
| 1320 | +++ ubuntu_sso/networkstate/tests/test_windows.py 2012-04-10 18:05:21 +0000 |
| 1321 | @@ -13,6 +13,19 @@ |
| 1322 | # |
| 1323 | # You should have received a copy of the GNU General Public License along |
| 1324 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1325 | +# |
| 1326 | +# In addition, as a special exception, the copyright holders give |
| 1327 | +# permission to link the code of portions of this program with the |
| 1328 | +# OpenSSL library under certain conditions as described in each |
| 1329 | +# individual source file, and distribute linked combinations |
| 1330 | +# including the two. |
| 1331 | +# You must obey the GNU General Public License in all respects |
| 1332 | +# for all of the code used other than OpenSSL. If you modify |
| 1333 | +# file(s) with this exception, you may extend this exception to your |
| 1334 | +# version of the file(s), but you are not obligated to do so. If you |
| 1335 | +# do not wish to do so, delete this exception statement from your |
| 1336 | +# version. If you delete this exception statement from all source |
| 1337 | +# files in the program, then also delete it here. |
| 1338 | """Tests for the network manager.""" |
| 1339 | |
| 1340 | from ctypes import windll |
| 1341 | |
| 1342 | === modified file 'ubuntu_sso/networkstate/windows.py' |
| 1343 | --- ubuntu_sso/networkstate/windows.py 2012-03-27 03:00:33 +0000 |
| 1344 | +++ ubuntu_sso/networkstate/windows.py 2012-04-10 18:05:21 +0000 |
| 1345 | @@ -13,6 +13,19 @@ |
| 1346 | # |
| 1347 | # You should have received a copy of the GNU General Public License along |
| 1348 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1349 | +# |
| 1350 | +# In addition, as a special exception, the copyright holders give |
| 1351 | +# permission to link the code of portions of this program with the |
| 1352 | +# OpenSSL library under certain conditions as described in each |
| 1353 | +# individual source file, and distribute linked combinations |
| 1354 | +# including the two. |
| 1355 | +# You must obey the GNU General Public License in all respects |
| 1356 | +# for all of the code used other than OpenSSL. If you modify |
| 1357 | +# file(s) with this exception, you may extend this exception to your |
| 1358 | +# version of the file(s), but you are not obligated to do so. If you |
| 1359 | +# do not wish to do so, delete this exception statement from your |
| 1360 | +# version. If you delete this exception statement from all source |
| 1361 | +# files in the program, then also delete it here. |
| 1362 | """Network status implementation on Windows.""" |
| 1363 | |
| 1364 | |
| 1365 | |
| 1366 | === modified file 'ubuntu_sso/qt/__init__.py' |
| 1367 | --- ubuntu_sso/qt/__init__.py 2012-03-16 14:51:36 +0000 |
| 1368 | +++ ubuntu_sso/qt/__init__.py 2012-04-10 18:05:21 +0000 |
| 1369 | @@ -13,7 +13,19 @@ |
| 1370 | # |
| 1371 | # You should have received a copy of the GNU General Public License along |
| 1372 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1373 | - |
| 1374 | +# |
| 1375 | +# In addition, as a special exception, the copyright holders give |
| 1376 | +# permission to link the code of portions of this program with the |
| 1377 | +# OpenSSL library under certain conditions as described in each |
| 1378 | +# individual source file, and distribute linked combinations |
| 1379 | +# including the two. |
| 1380 | +# You must obey the GNU General Public License in all respects |
| 1381 | +# for all of the code used other than OpenSSL. If you modify |
| 1382 | +# file(s) with this exception, you may extend this exception to your |
| 1383 | +# version of the file(s), but you are not obligated to do so. If you |
| 1384 | +# do not wish to do so, delete this exception statement from your |
| 1385 | +# version. If you delete this exception statement from all source |
| 1386 | +# files in the program, then also delete it here. |
| 1387 | """The Qt graphical interface for the Ubuntu Single Sign On Client.""" |
| 1388 | |
| 1389 | import collections |
| 1390 | |
| 1391 | === modified file 'ubuntu_sso/qt/arrow.py' |
| 1392 | --- ubuntu_sso/qt/arrow.py 2012-02-29 12:17:37 +0000 |
| 1393 | +++ ubuntu_sso/qt/arrow.py 2012-04-10 18:05:21 +0000 |
| 1394 | @@ -13,6 +13,19 @@ |
| 1395 | # |
| 1396 | # You should have received a copy of the GNU General Public License along |
| 1397 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1398 | +# |
| 1399 | +# In addition, as a special exception, the copyright holders give |
| 1400 | +# permission to link the code of portions of this program with the |
| 1401 | +# OpenSSL library under certain conditions as described in each |
| 1402 | +# individual source file, and distribute linked combinations |
| 1403 | +# including the two. |
| 1404 | +# You must obey the GNU General Public License in all respects |
| 1405 | +# for all of the code used other than OpenSSL. If you modify |
| 1406 | +# file(s) with this exception, you may extend this exception to your |
| 1407 | +# version of the file(s), but you are not obligated to do so. If you |
| 1408 | +# do not wish to do so, delete this exception statement from your |
| 1409 | +# version. If you delete this exception statement from all source |
| 1410 | +# files in the program, then also delete it here. |
| 1411 | """Widget written in Qt that works as a GtkArrow.""" |
| 1412 | |
| 1413 | from PyQt4.QtGui import QPainter, QStyle, QStyleOption, QWidget |
| 1414 | |
| 1415 | === modified file 'ubuntu_sso/qt/common.py' |
| 1416 | --- ubuntu_sso/qt/common.py 2012-03-16 18:31:45 +0000 |
| 1417 | +++ ubuntu_sso/qt/common.py 2012-04-10 18:05:21 +0000 |
| 1418 | @@ -2,7 +2,7 @@ |
| 1419 | # |
| 1420 | # Author: Diego Sarmentero <diego.sarmentero@canonical.com> |
| 1421 | # |
| 1422 | -# Copyright 2011 Canonical Ltd. |
| 1423 | +# Copyright 2011-2012 Canonical Ltd. |
| 1424 | # |
| 1425 | # This program is free software: you can redistribute it and/or modify it |
| 1426 | # under the terms of the GNU General Public License version 3, as published |
| 1427 | @@ -15,6 +15,19 @@ |
| 1428 | # |
| 1429 | # You should have received a copy of the GNU General Public License along |
| 1430 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1431 | +# |
| 1432 | +# In addition, as a special exception, the copyright holders give |
| 1433 | +# permission to link the code of portions of this program with the |
| 1434 | +# OpenSSL library under certain conditions as described in each |
| 1435 | +# individual source file, and distribute linked combinations |
| 1436 | +# including the two. |
| 1437 | +# You must obey the GNU General Public License in all respects |
| 1438 | +# for all of the code used other than OpenSSL. If you modify |
| 1439 | +# file(s) with this exception, you may extend this exception to your |
| 1440 | +# version of the file(s), but you are not obligated to do so. If you |
| 1441 | +# do not wish to do so, delete this exception statement from your |
| 1442 | +# version. If you delete this exception statement from all source |
| 1443 | +# files in the program, then also delete it here. |
| 1444 | """Common functionality used by the UI modules.""" |
| 1445 | |
| 1446 | import re |
| 1447 | |
| 1448 | === modified file 'ubuntu_sso/qt/current_user_sign_in_page.py' |
| 1449 | --- ubuntu_sso/qt/current_user_sign_in_page.py 2012-03-15 19:16:15 +0000 |
| 1450 | +++ ubuntu_sso/qt/current_user_sign_in_page.py 2012-04-10 18:05:21 +0000 |
| 1451 | @@ -13,7 +13,19 @@ |
| 1452 | # |
| 1453 | # You should have received a copy of the GNU General Public License along |
| 1454 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1455 | - |
| 1456 | +# |
| 1457 | +# In addition, as a special exception, the copyright holders give |
| 1458 | +# permission to link the code of portions of this program with the |
| 1459 | +# OpenSSL library under certain conditions as described in each |
| 1460 | +# individual source file, and distribute linked combinations |
| 1461 | +# including the two. |
| 1462 | +# You must obey the GNU General Public License in all respects |
| 1463 | +# for all of the code used other than OpenSSL. If you modify |
| 1464 | +# file(s) with this exception, you may extend this exception to your |
| 1465 | +# version of the file(s), but you are not obligated to do so. If you |
| 1466 | +# do not wish to do so, delete this exception statement from your |
| 1467 | +# version. If you delete this exception statement from all source |
| 1468 | +# files in the program, then also delete it here. |
| 1469 | """Page to allow the user to login into Ubuntu Single Sign On.""" |
| 1470 | |
| 1471 | from functools import partial |
| 1472 | |
| 1473 | === modified file 'ubuntu_sso/qt/email_verification_page.py' |
| 1474 | --- ubuntu_sso/qt/email_verification_page.py 2012-03-15 19:16:15 +0000 |
| 1475 | +++ ubuntu_sso/qt/email_verification_page.py 2012-04-10 18:05:21 +0000 |
| 1476 | @@ -13,7 +13,19 @@ |
| 1477 | # |
| 1478 | # You should have received a copy of the GNU General Public License along |
| 1479 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1480 | - |
| 1481 | +# |
| 1482 | +# In addition, as a special exception, the copyright holders give |
| 1483 | +# permission to link the code of portions of this program with the |
| 1484 | +# OpenSSL library under certain conditions as described in each |
| 1485 | +# individual source file, and distribute linked combinations |
| 1486 | +# including the two. |
| 1487 | +# You must obey the GNU General Public License in all respects |
| 1488 | +# for all of the code used other than OpenSSL. If you modify |
| 1489 | +# file(s) with this exception, you may extend this exception to your |
| 1490 | +# version of the file(s), but you are not obligated to do so. If you |
| 1491 | +# do not wish to do so, delete this exception statement from your |
| 1492 | +# version. If you delete this exception statement from all source |
| 1493 | +# files in the program, then also delete it here. |
| 1494 | """Email Verification page UI.""" |
| 1495 | |
| 1496 | from functools import partial |
| 1497 | |
| 1498 | === modified file 'ubuntu_sso/qt/enhanced_check_box.py' |
| 1499 | --- ubuntu_sso/qt/enhanced_check_box.py 2012-03-13 14:40:27 +0000 |
| 1500 | +++ ubuntu_sso/qt/enhanced_check_box.py 2012-04-10 18:05:21 +0000 |
| 1501 | @@ -2,7 +2,7 @@ |
| 1502 | |
| 1503 | # Authors: Diego Sarmentero <diego.sarmentero@canonical.com> |
| 1504 | # |
| 1505 | -# Copyright 2011 Canonical Ltd. |
| 1506 | +# Copyright 2011-2012 Canonical Ltd. |
| 1507 | # |
| 1508 | # This program is free software: you can redistribute it and/or modify it |
| 1509 | # under the terms of the GNU General Public License version 3, as published |
| 1510 | @@ -15,7 +15,19 @@ |
| 1511 | # |
| 1512 | # You should have received a copy of the GNU General Public License along |
| 1513 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1514 | - |
| 1515 | +# |
| 1516 | +# In addition, as a special exception, the copyright holders give |
| 1517 | +# permission to link the code of portions of this program with the |
| 1518 | +# OpenSSL library under certain conditions as described in each |
| 1519 | +# individual source file, and distribute linked combinations |
| 1520 | +# including the two. |
| 1521 | +# You must obey the GNU General Public License in all respects |
| 1522 | +# for all of the code used other than OpenSSL. If you modify |
| 1523 | +# file(s) with this exception, you may extend this exception to your |
| 1524 | +# version of the file(s), but you are not obligated to do so. If you |
| 1525 | +# do not wish to do so, delete this exception statement from your |
| 1526 | +# version. If you delete this exception statement from all source |
| 1527 | +# files in the program, then also delete it here. |
| 1528 | """Customized Check Box to support links.""" |
| 1529 | |
| 1530 | from PyQt4 import QtGui, QtCore |
| 1531 | |
| 1532 | === modified file 'ubuntu_sso/qt/error_page.py' |
| 1533 | --- ubuntu_sso/qt/error_page.py 2012-02-23 19:49:02 +0000 |
| 1534 | +++ ubuntu_sso/qt/error_page.py 2012-04-10 18:05:21 +0000 |
| 1535 | @@ -13,7 +13,19 @@ |
| 1536 | # |
| 1537 | # You should have received a copy of the GNU General Public License along |
| 1538 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1539 | - |
| 1540 | +# |
| 1541 | +# In addition, as a special exception, the copyright holders give |
| 1542 | +# permission to link the code of portions of this program with the |
| 1543 | +# OpenSSL library under certain conditions as described in each |
| 1544 | +# individual source file, and distribute linked combinations |
| 1545 | +# including the two. |
| 1546 | +# You must obey the GNU General Public License in all respects |
| 1547 | +# for all of the code used other than OpenSSL. If you modify |
| 1548 | +# file(s) with this exception, you may extend this exception to your |
| 1549 | +# version of the file(s), but you are not obligated to do so. If you |
| 1550 | +# do not wish to do so, delete this exception statement from your |
| 1551 | +# version. If you delete this exception statement from all source |
| 1552 | +# files in the program, then also delete it here. |
| 1553 | """Email Verification page UI.""" |
| 1554 | |
| 1555 | from ubuntu_sso.qt.sso_wizard_page import SSOWizardPage |
| 1556 | |
| 1557 | === modified file 'ubuntu_sso/qt/expander.py' |
| 1558 | --- ubuntu_sso/qt/expander.py 2012-03-01 14:49:41 +0000 |
| 1559 | +++ ubuntu_sso/qt/expander.py 2012-04-10 18:05:21 +0000 |
| 1560 | @@ -13,6 +13,19 @@ |
| 1561 | # |
| 1562 | # You should have received a copy of the GNU General Public License along |
| 1563 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1564 | +# |
| 1565 | +# In addition, as a special exception, the copyright holders give |
| 1566 | +# permission to link the code of portions of this program with the |
| 1567 | +# OpenSSL library under certain conditions as described in each |
| 1568 | +# individual source file, and distribute linked combinations |
| 1569 | +# including the two. |
| 1570 | +# You must obey the GNU General Public License in all respects |
| 1571 | +# for all of the code used other than OpenSSL. If you modify |
| 1572 | +# file(s) with this exception, you may extend this exception to your |
| 1573 | +# version of the file(s), but you are not obligated to do so. If you |
| 1574 | +# do not wish to do so, delete this exception statement from your |
| 1575 | +# version. If you delete this exception statement from all source |
| 1576 | +# files in the program, then also delete it here. |
| 1577 | """A Expander widget similar to the GtkExpander.""" |
| 1578 | |
| 1579 | from PyQt4.QtCore import pyqtSignal |
| 1580 | |
| 1581 | === modified file 'ubuntu_sso/qt/forgotten_password_page.py' |
| 1582 | --- ubuntu_sso/qt/forgotten_password_page.py 2012-03-13 03:10:00 +0000 |
| 1583 | +++ ubuntu_sso/qt/forgotten_password_page.py 2012-04-10 18:05:21 +0000 |
| 1584 | @@ -13,7 +13,19 @@ |
| 1585 | # |
| 1586 | # You should have received a copy of the GNU General Public License along |
| 1587 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1588 | - |
| 1589 | +# |
| 1590 | +# In addition, as a special exception, the copyright holders give |
| 1591 | +# permission to link the code of portions of this program with the |
| 1592 | +# OpenSSL library under certain conditions as described in each |
| 1593 | +# individual source file, and distribute linked combinations |
| 1594 | +# including the two. |
| 1595 | +# You must obey the GNU General Public License in all respects |
| 1596 | +# for all of the code used other than OpenSSL. If you modify |
| 1597 | +# file(s) with this exception, you may extend this exception to your |
| 1598 | +# version of the file(s), but you are not obligated to do so. If you |
| 1599 | +# do not wish to do so, delete this exception statement from your |
| 1600 | +# version. If you delete this exception statement from all source |
| 1601 | +# files in the program, then also delete it here. |
| 1602 | """Forgotten Password page UI.""" |
| 1603 | |
| 1604 | from functools import partial |
| 1605 | |
| 1606 | === modified file 'ubuntu_sso/qt/loadingoverlay.py' |
| 1607 | --- ubuntu_sso/qt/loadingoverlay.py 2012-03-30 18:49:37 +0000 |
| 1608 | +++ ubuntu_sso/qt/loadingoverlay.py 2012-04-10 18:05:21 +0000 |
| 1609 | @@ -13,7 +13,19 @@ |
| 1610 | # |
| 1611 | # You should have received a copy of the GNU General Public License along |
| 1612 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1613 | - |
| 1614 | +# |
| 1615 | +# In addition, as a special exception, the copyright holders give |
| 1616 | +# permission to link the code of portions of this program with the |
| 1617 | +# OpenSSL library under certain conditions as described in each |
| 1618 | +# individual source file, and distribute linked combinations |
| 1619 | +# including the two. |
| 1620 | +# You must obey the GNU General Public License in all respects |
| 1621 | +# for all of the code used other than OpenSSL. If you modify |
| 1622 | +# file(s) with this exception, you may extend this exception to your |
| 1623 | +# version of the file(s), but you are not obligated to do so. If you |
| 1624 | +# do not wish to do so, delete this exception statement from your |
| 1625 | +# version. If you delete this exception statement from all source |
| 1626 | +# files in the program, then also delete it here. |
| 1627 | """Loading animation over a widget.""" |
| 1628 | |
| 1629 | from PyQt4 import QtGui, QtCore |
| 1630 | |
| 1631 | === modified file 'ubuntu_sso/qt/main/__init__.py' |
| 1632 | --- ubuntu_sso/qt/main/__init__.py 2012-03-21 18:32:41 +0000 |
| 1633 | +++ ubuntu_sso/qt/main/__init__.py 2012-04-10 18:05:21 +0000 |
| 1634 | @@ -13,7 +13,19 @@ |
| 1635 | # |
| 1636 | # You should have received a copy of the GNU General Public License along |
| 1637 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1638 | - |
| 1639 | +# |
| 1640 | +# In addition, as a special exception, the copyright holders give |
| 1641 | +# permission to link the code of portions of this program with the |
| 1642 | +# OpenSSL library under certain conditions as described in each |
| 1643 | +# individual source file, and distribute linked combinations |
| 1644 | +# including the two. |
| 1645 | +# You must obey the GNU General Public License in all respects |
| 1646 | +# for all of the code used other than OpenSSL. If you modify |
| 1647 | +# file(s) with this exception, you may extend this exception to your |
| 1648 | +# version of the file(s), but you are not obligated to do so. If you |
| 1649 | +# do not wish to do so, delete this exception statement from your |
| 1650 | +# version. If you delete this exception statement from all source |
| 1651 | +# files in the program, then also delete it here. |
| 1652 | """Main module to open the QT UI.""" |
| 1653 | |
| 1654 | import sys |
| 1655 | |
| 1656 | === modified file 'ubuntu_sso/qt/main/linux.py' |
| 1657 | --- ubuntu_sso/qt/main/linux.py 2012-03-22 12:35:57 +0000 |
| 1658 | +++ ubuntu_sso/qt/main/linux.py 2012-04-10 18:05:21 +0000 |
| 1659 | @@ -13,7 +13,19 @@ |
| 1660 | # |
| 1661 | # You should have received a copy of the GNU General Public License along |
| 1662 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1663 | - |
| 1664 | +# |
| 1665 | +# In addition, as a special exception, the copyright holders give |
| 1666 | +# permission to link the code of portions of this program with the |
| 1667 | +# OpenSSL library under certain conditions as described in each |
| 1668 | +# individual source file, and distribute linked combinations |
| 1669 | +# including the two. |
| 1670 | +# You must obey the GNU General Public License in all respects |
| 1671 | +# for all of the code used other than OpenSSL. If you modify |
| 1672 | +# file(s) with this exception, you may extend this exception to your |
| 1673 | +# version of the file(s), but you are not obligated to do so. If you |
| 1674 | +# do not wish to do so, delete this exception statement from your |
| 1675 | +# version. If you delete this exception statement from all source |
| 1676 | +# files in the program, then also delete it here. |
| 1677 | """Main method to be used on linux.""" |
| 1678 | |
| 1679 | |
| 1680 | |
| 1681 | === modified file 'ubuntu_sso/qt/main/tests/__init__.py' |
| 1682 | --- ubuntu_sso/qt/main/tests/__init__.py 2012-03-22 12:35:57 +0000 |
| 1683 | +++ ubuntu_sso/qt/main/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 1684 | @@ -13,5 +13,17 @@ |
| 1685 | # |
| 1686 | # You should have received a copy of the GNU General Public License along |
| 1687 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1688 | - |
| 1689 | +# |
| 1690 | +# In addition, as a special exception, the copyright holders give |
| 1691 | +# permission to link the code of portions of this program with the |
| 1692 | +# OpenSSL library under certain conditions as described in each |
| 1693 | +# individual source file, and distribute linked combinations |
| 1694 | +# including the two. |
| 1695 | +# You must obey the GNU General Public License in all respects |
| 1696 | +# for all of the code used other than OpenSSL. If you modify |
| 1697 | +# file(s) with this exception, you may extend this exception to your |
| 1698 | +# version of the file(s), but you are not obligated to do so. If you |
| 1699 | +# do not wish to do so, delete this exception statement from your |
| 1700 | +# version. If you delete this exception statement from all source |
| 1701 | +# files in the program, then also delete it here. |
| 1702 | """The test suite for the Qt UI for SSO.""" |
| 1703 | |
| 1704 | === modified file 'ubuntu_sso/qt/main/tests/test_main.py' |
| 1705 | --- ubuntu_sso/qt/main/tests/test_main.py 2012-03-23 15:28:50 +0000 |
| 1706 | +++ ubuntu_sso/qt/main/tests/test_main.py 2012-04-10 18:05:21 +0000 |
| 1707 | @@ -13,7 +13,19 @@ |
| 1708 | # |
| 1709 | # You should have received a copy of the GNU General Public License along |
| 1710 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1711 | - |
| 1712 | +# |
| 1713 | +# In addition, as a special exception, the copyright holders give |
| 1714 | +# permission to link the code of portions of this program with the |
| 1715 | +# OpenSSL library under certain conditions as described in each |
| 1716 | +# individual source file, and distribute linked combinations |
| 1717 | +# including the two. |
| 1718 | +# You must obey the GNU General Public License in all respects |
| 1719 | +# for all of the code used other than OpenSSL. If you modify |
| 1720 | +# file(s) with this exception, you may extend this exception to your |
| 1721 | +# version of the file(s), but you are not obligated to do so. If you |
| 1722 | +# do not wish to do so, delete this exception statement from your |
| 1723 | +# version. If you delete this exception statement from all source |
| 1724 | +# files in the program, then also delete it here. |
| 1725 | """Tests for the main module.""" |
| 1726 | |
| 1727 | from PyQt4 import QtCore |
| 1728 | |
| 1729 | === modified file 'ubuntu_sso/qt/main/windows.py' |
| 1730 | --- ubuntu_sso/qt/main/windows.py 2012-03-22 12:35:57 +0000 |
| 1731 | +++ ubuntu_sso/qt/main/windows.py 2012-04-10 18:05:21 +0000 |
| 1732 | @@ -13,7 +13,19 @@ |
| 1733 | # |
| 1734 | # You should have received a copy of the GNU General Public License along |
| 1735 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1736 | - |
| 1737 | +# |
| 1738 | +# In addition, as a special exception, the copyright holders give |
| 1739 | +# permission to link the code of portions of this program with the |
| 1740 | +# OpenSSL library under certain conditions as described in each |
| 1741 | +# individual source file, and distribute linked combinations |
| 1742 | +# including the two. |
| 1743 | +# You must obey the GNU General Public License in all respects |
| 1744 | +# for all of the code used other than OpenSSL. If you modify |
| 1745 | +# file(s) with this exception, you may extend this exception to your |
| 1746 | +# version of the file(s), but you are not obligated to do so. If you |
| 1747 | +# do not wish to do so, delete this exception statement from your |
| 1748 | +# version. If you delete this exception statement from all source |
| 1749 | +# files in the program, then also delete it here. |
| 1750 | """Main method to be used on windows.""" |
| 1751 | |
| 1752 | from PyQt4 import QtGui |
| 1753 | |
| 1754 | === modified file 'ubuntu_sso/qt/network_detection_page.py' |
| 1755 | --- ubuntu_sso/qt/network_detection_page.py 2012-03-09 17:27:30 +0000 |
| 1756 | +++ ubuntu_sso/qt/network_detection_page.py 2012-04-10 18:05:21 +0000 |
| 1757 | @@ -13,7 +13,19 @@ |
| 1758 | # |
| 1759 | # You should have received a copy of the GNU General Public License along |
| 1760 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1761 | - |
| 1762 | +# |
| 1763 | +# In addition, as a special exception, the copyright holders give |
| 1764 | +# permission to link the code of portions of this program with the |
| 1765 | +# OpenSSL library under certain conditions as described in each |
| 1766 | +# individual source file, and distribute linked combinations |
| 1767 | +# including the two. |
| 1768 | +# You must obey the GNU General Public License in all respects |
| 1769 | +# for all of the code used other than OpenSSL. If you modify |
| 1770 | +# file(s) with this exception, you may extend this exception to your |
| 1771 | +# version of the file(s), but you are not obligated to do so. If you |
| 1772 | +# do not wish to do so, delete this exception statement from your |
| 1773 | +# version. If you delete this exception statement from all source |
| 1774 | +# files in the program, then also delete it here. |
| 1775 | """Pages from SSO.""" |
| 1776 | |
| 1777 | from twisted.internet import defer |
| 1778 | |
| 1779 | === modified file 'ubuntu_sso/qt/proxy_dialog.py' |
| 1780 | --- ubuntu_sso/qt/proxy_dialog.py 2012-03-20 18:26:38 +0000 |
| 1781 | +++ ubuntu_sso/qt/proxy_dialog.py 2012-04-10 18:05:21 +0000 |
| 1782 | @@ -13,6 +13,19 @@ |
| 1783 | # |
| 1784 | # You should have received a copy of the GNU General Public License along |
| 1785 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1786 | +# |
| 1787 | +# In addition, as a special exception, the copyright holders give |
| 1788 | +# permission to link the code of portions of this program with the |
| 1789 | +# OpenSSL library under certain conditions as described in each |
| 1790 | +# individual source file, and distribute linked combinations |
| 1791 | +# including the two. |
| 1792 | +# You must obey the GNU General Public License in all respects |
| 1793 | +# for all of the code used other than OpenSSL. If you modify |
| 1794 | +# file(s) with this exception, you may extend this exception to your |
| 1795 | +# version of the file(s), but you are not obligated to do so. If you |
| 1796 | +# do not wish to do so, delete this exception statement from your |
| 1797 | +# version. If you delete this exception statement from all source |
| 1798 | +# files in the program, then also delete it here. |
| 1799 | """Qt implementation of proxy UI.""" |
| 1800 | |
| 1801 | import argparse |
| 1802 | |
| 1803 | === modified file 'ubuntu_sso/qt/reset_password_page.py' |
| 1804 | --- ubuntu_sso/qt/reset_password_page.py 2012-03-16 12:23:14 +0000 |
| 1805 | +++ ubuntu_sso/qt/reset_password_page.py 2012-04-10 18:05:21 +0000 |
| 1806 | @@ -13,7 +13,19 @@ |
| 1807 | # |
| 1808 | # You should have received a copy of the GNU General Public License along |
| 1809 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1810 | - |
| 1811 | +# |
| 1812 | +# In addition, as a special exception, the copyright holders give |
| 1813 | +# permission to link the code of portions of this program with the |
| 1814 | +# OpenSSL library under certain conditions as described in each |
| 1815 | +# individual source file, and distribute linked combinations |
| 1816 | +# including the two. |
| 1817 | +# You must obey the GNU General Public License in all respects |
| 1818 | +# for all of the code used other than OpenSSL. If you modify |
| 1819 | +# file(s) with this exception, you may extend this exception to your |
| 1820 | +# version of the file(s), but you are not obligated to do so. If you |
| 1821 | +# do not wish to do so, delete this exception statement from your |
| 1822 | +# version. If you delete this exception statement from all source |
| 1823 | +# files in the program, then also delete it here. |
| 1824 | """Reset Password page UI.""" |
| 1825 | |
| 1826 | from functools import partial |
| 1827 | |
| 1828 | === modified file 'ubuntu_sso/qt/setup_account_page.py' |
| 1829 | --- ubuntu_sso/qt/setup_account_page.py 2012-03-16 12:23:14 +0000 |
| 1830 | +++ ubuntu_sso/qt/setup_account_page.py 2012-04-10 18:05:21 +0000 |
| 1831 | @@ -13,7 +13,19 @@ |
| 1832 | # |
| 1833 | # You should have received a copy of the GNU General Public License along |
| 1834 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1835 | - |
| 1836 | +# |
| 1837 | +# In addition, as a special exception, the copyright holders give |
| 1838 | +# permission to link the code of portions of this program with the |
| 1839 | +# OpenSSL library under certain conditions as described in each |
| 1840 | +# individual source file, and distribute linked combinations |
| 1841 | +# including the two. |
| 1842 | +# You must obey the GNU General Public License in all respects |
| 1843 | +# for all of the code used other than OpenSSL. If you modify |
| 1844 | +# file(s) with this exception, you may extend this exception to your |
| 1845 | +# version of the file(s), but you are not obligated to do so. If you |
| 1846 | +# do not wish to do so, delete this exception statement from your |
| 1847 | +# version. If you delete this exception statement from all source |
| 1848 | +# files in the program, then also delete it here. |
| 1849 | """Customized Setup Account page for SSO.""" |
| 1850 | |
| 1851 | import StringIO |
| 1852 | |
| 1853 | === modified file 'ubuntu_sso/qt/ssl_dialog.py' |
| 1854 | --- ubuntu_sso/qt/ssl_dialog.py 2012-03-06 14:13:10 +0000 |
| 1855 | +++ ubuntu_sso/qt/ssl_dialog.py 2012-04-10 18:05:21 +0000 |
| 1856 | @@ -13,6 +13,19 @@ |
| 1857 | # |
| 1858 | # You should have received a copy of the GNU General Public License along |
| 1859 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1860 | +# |
| 1861 | +# In addition, as a special exception, the copyright holders give |
| 1862 | +# permission to link the code of portions of this program with the |
| 1863 | +# OpenSSL library under certain conditions as described in each |
| 1864 | +# individual source file, and distribute linked combinations |
| 1865 | +# including the two. |
| 1866 | +# You must obey the GNU General Public License in all respects |
| 1867 | +# for all of the code used other than OpenSSL. If you modify |
| 1868 | +# file(s) with this exception, you may extend this exception to your |
| 1869 | +# version of the file(s), but you are not obligated to do so. If you |
| 1870 | +# do not wish to do so, delete this exception statement from your |
| 1871 | +# version. If you delete this exception statement from all source |
| 1872 | +# files in the program, then also delete it here. |
| 1873 | """Qt implementation of the SSL ui.""" |
| 1874 | |
| 1875 | import argparse |
| 1876 | |
| 1877 | === modified file 'ubuntu_sso/qt/sso_wizard_page.py' |
| 1878 | --- ubuntu_sso/qt/sso_wizard_page.py 2012-03-19 13:06:11 +0000 |
| 1879 | +++ ubuntu_sso/qt/sso_wizard_page.py 2012-04-10 18:05:21 +0000 |
| 1880 | @@ -13,6 +13,19 @@ |
| 1881 | # |
| 1882 | # You should have received a copy of the GNU General Public License along |
| 1883 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1884 | +# |
| 1885 | +# In addition, as a special exception, the copyright holders give |
| 1886 | +# permission to link the code of portions of this program with the |
| 1887 | +# OpenSSL library under certain conditions as described in each |
| 1888 | +# individual source file, and distribute linked combinations |
| 1889 | +# including the two. |
| 1890 | +# You must obey the GNU General Public License in all respects |
| 1891 | +# for all of the code used other than OpenSSL. If you modify |
| 1892 | +# file(s) with this exception, you may extend this exception to your |
| 1893 | +# version of the file(s), but you are not obligated to do so. If you |
| 1894 | +# do not wish to do so, delete this exception statement from your |
| 1895 | +# version. If you delete this exception statement from all source |
| 1896 | +# files in the program, then also delete it here. |
| 1897 | """Qt implementation of the UI.""" |
| 1898 | |
| 1899 | from functools import wraps |
| 1900 | |
| 1901 | === modified file 'ubuntu_sso/qt/success_page.py' |
| 1902 | --- ubuntu_sso/qt/success_page.py 2012-02-23 19:49:02 +0000 |
| 1903 | +++ ubuntu_sso/qt/success_page.py 2012-04-10 18:05:21 +0000 |
| 1904 | @@ -13,7 +13,19 @@ |
| 1905 | # |
| 1906 | # You should have received a copy of the GNU General Public License along |
| 1907 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1908 | - |
| 1909 | +# |
| 1910 | +# In addition, as a special exception, the copyright holders give |
| 1911 | +# permission to link the code of portions of this program with the |
| 1912 | +# OpenSSL library under certain conditions as described in each |
| 1913 | +# individual source file, and distribute linked combinations |
| 1914 | +# including the two. |
| 1915 | +# You must obey the GNU General Public License in all respects |
| 1916 | +# for all of the code used other than OpenSSL. If you modify |
| 1917 | +# file(s) with this exception, you may extend this exception to your |
| 1918 | +# version of the file(s), but you are not obligated to do so. If you |
| 1919 | +# do not wish to do so, delete this exception statement from your |
| 1920 | +# version. If you delete this exception statement from all source |
| 1921 | +# files in the program, then also delete it here. |
| 1922 | """Success page UI.""" |
| 1923 | |
| 1924 | from PyQt4 import QtGui |
| 1925 | |
| 1926 | === modified file 'ubuntu_sso/qt/tests/__init__.py' |
| 1927 | --- ubuntu_sso/qt/tests/__init__.py 2012-03-14 17:14:07 +0000 |
| 1928 | +++ ubuntu_sso/qt/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 1929 | @@ -13,7 +13,19 @@ |
| 1930 | # |
| 1931 | # You should have received a copy of the GNU General Public License along |
| 1932 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1933 | - |
| 1934 | +# |
| 1935 | +# In addition, as a special exception, the copyright holders give |
| 1936 | +# permission to link the code of portions of this program with the |
| 1937 | +# OpenSSL library under certain conditions as described in each |
| 1938 | +# individual source file, and distribute linked combinations |
| 1939 | +# including the two. |
| 1940 | +# You must obey the GNU General Public License in all respects |
| 1941 | +# for all of the code used other than OpenSSL. If you modify |
| 1942 | +# file(s) with this exception, you may extend this exception to your |
| 1943 | +# version of the file(s), but you are not obligated to do so. If you |
| 1944 | +# do not wish to do so, delete this exception statement from your |
| 1945 | +# version. If you delete this exception statement from all source |
| 1946 | +# files in the program, then also delete it here. |
| 1947 | """Test the Ui code.""" |
| 1948 | |
| 1949 | from PyQt4 import QtGui, QtCore |
| 1950 | @@ -39,12 +51,14 @@ |
| 1951 | |
| 1952 | |
| 1953 | def build_string_for_pixels(label, width): |
| 1954 | - """Return a random string that will be as big as with in pixels.""" |
| 1955 | - char = 'a' |
| 1956 | + """Return a random string that will be as big as 'width' in pixels.""" |
| 1957 | + char = 'm' |
| 1958 | fm = QtGui.QFontMetrics(label.font()) |
| 1959 | pixel_width = fm.width(char) |
| 1960 | chars = int(width / pixel_width) |
| 1961 | - return char * chars |
| 1962 | + result = char * chars |
| 1963 | + assert pixel_width * chars <= width |
| 1964 | + return result |
| 1965 | |
| 1966 | |
| 1967 | class FakedObject(object): |
| 1968 | |
| 1969 | === modified file 'ubuntu_sso/qt/tests/login_u_p.py' |
| 1970 | --- ubuntu_sso/qt/tests/login_u_p.py 2012-03-07 14:09:21 +0000 |
| 1971 | +++ ubuntu_sso/qt/tests/login_u_p.py 2012-04-10 18:05:21 +0000 |
| 1972 | @@ -1,6 +1,6 @@ |
| 1973 | # -*- coding: utf-8 -*- |
| 1974 | # |
| 1975 | -# Copyright 2011 Canonical Ltd. |
| 1976 | +# Copyright 2011-2012 Canonical Ltd. |
| 1977 | # |
| 1978 | # This program is free software: you can redistribute it and/or modify it |
| 1979 | # under the terms of the GNU General Public License version 3, as published |
| 1980 | @@ -13,6 +13,19 @@ |
| 1981 | # |
| 1982 | # You should have received a copy of the GNU General Public License along |
| 1983 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 1984 | +# |
| 1985 | +# In addition, as a special exception, the copyright holders give |
| 1986 | +# permission to link the code of portions of this program with the |
| 1987 | +# OpenSSL library under certain conditions as described in each |
| 1988 | +# individual source file, and distribute linked combinations |
| 1989 | +# including the two. |
| 1990 | +# You must obey the GNU General Public License in all respects |
| 1991 | +# for all of the code used other than OpenSSL. If you modify |
| 1992 | +# file(s) with this exception, you may extend this exception to your |
| 1993 | +# version of the file(s), but you are not obligated to do so. If you |
| 1994 | +# do not wish to do so, delete this exception statement from your |
| 1995 | +# version. If you delete this exception statement from all source |
| 1996 | +# files in the program, then also delete it here. |
| 1997 | """Script that shows the qt gui.""" |
| 1998 | |
| 1999 | import sys |
| 2000 | |
| 2001 | === modified file 'ubuntu_sso/qt/tests/show_gui.py' |
| 2002 | --- ubuntu_sso/qt/tests/show_gui.py 2012-03-07 14:09:21 +0000 |
| 2003 | +++ ubuntu_sso/qt/tests/show_gui.py 2012-04-10 18:05:21 +0000 |
| 2004 | @@ -1,6 +1,6 @@ |
| 2005 | # -*- coding: utf-8 -*- |
| 2006 | # |
| 2007 | -# Copyright 2011 Canonical Ltd. |
| 2008 | +# Copyright 2011-2012 Canonical Ltd. |
| 2009 | # |
| 2010 | # This program is free software: you can redistribute it and/or modify it |
| 2011 | # under the terms of the GNU General Public License version 3, as published |
| 2012 | @@ -13,6 +13,19 @@ |
| 2013 | # |
| 2014 | # You should have received a copy of the GNU General Public License along |
| 2015 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2016 | +# |
| 2017 | +# In addition, as a special exception, the copyright holders give |
| 2018 | +# permission to link the code of portions of this program with the |
| 2019 | +# OpenSSL library under certain conditions as described in each |
| 2020 | +# individual source file, and distribute linked combinations |
| 2021 | +# including the two. |
| 2022 | +# You must obey the GNU General Public License in all respects |
| 2023 | +# for all of the code used other than OpenSSL. If you modify |
| 2024 | +# file(s) with this exception, you may extend this exception to your |
| 2025 | +# version of the file(s), but you are not obligated to do so. If you |
| 2026 | +# do not wish to do so, delete this exception statement from your |
| 2027 | +# version. If you delete this exception statement from all source |
| 2028 | +# files in the program, then also delete it here. |
| 2029 | """Script that shows the qt gui.""" |
| 2030 | |
| 2031 | import sys |
| 2032 | |
| 2033 | === modified file 'ubuntu_sso/qt/tests/test_arrow.py' |
| 2034 | --- ubuntu_sso/qt/tests/test_arrow.py 2012-03-01 14:49:41 +0000 |
| 2035 | +++ ubuntu_sso/qt/tests/test_arrow.py 2012-04-10 18:05:21 +0000 |
| 2036 | @@ -13,6 +13,19 @@ |
| 2037 | # |
| 2038 | # You should have received a copy of the GNU General Public License along |
| 2039 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2040 | +# |
| 2041 | +# In addition, as a special exception, the copyright holders give |
| 2042 | +# permission to link the code of portions of this program with the |
| 2043 | +# OpenSSL library under certain conditions as described in each |
| 2044 | +# individual source file, and distribute linked combinations |
| 2045 | +# including the two. |
| 2046 | +# You must obey the GNU General Public License in all respects |
| 2047 | +# for all of the code used other than OpenSSL. If you modify |
| 2048 | +# file(s) with this exception, you may extend this exception to your |
| 2049 | +# version of the file(s), but you are not obligated to do so. If you |
| 2050 | +# do not wish to do so, delete this exception statement from your |
| 2051 | +# version. If you delete this exception statement from all source |
| 2052 | +# files in the program, then also delete it here. |
| 2053 | """QArrow tests.""" |
| 2054 | |
| 2055 | from PyQt4.QtGui import QStyle |
| 2056 | |
| 2057 | === modified file 'ubuntu_sso/qt/tests/test_common.py' |
| 2058 | --- ubuntu_sso/qt/tests/test_common.py 2012-03-15 19:16:15 +0000 |
| 2059 | +++ ubuntu_sso/qt/tests/test_common.py 2012-04-10 18:05:21 +0000 |
| 2060 | @@ -1,7 +1,7 @@ |
| 2061 | # -*- coding: utf-8 -*- |
| 2062 | # Author: Diego Sarmentero <diego.sarmentero@canonical.com> |
| 2063 | # |
| 2064 | -# Copyright 2011 Canonical Ltd. |
| 2065 | +# Copyright 2011-2012 Canonical Ltd. |
| 2066 | # |
| 2067 | # This program is free software: you can redistribute it and/or modify it |
| 2068 | # under the terms of the GNU General Public License version 3, as published |
| 2069 | @@ -14,6 +14,19 @@ |
| 2070 | # |
| 2071 | # You should have received a copy of the GNU General Public License along |
| 2072 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2073 | +# |
| 2074 | +# In addition, as a special exception, the copyright holders give |
| 2075 | +# permission to link the code of portions of this program with the |
| 2076 | +# OpenSSL library under certain conditions as described in each |
| 2077 | +# individual source file, and distribute linked combinations |
| 2078 | +# including the two. |
| 2079 | +# You must obey the GNU General Public License in all respects |
| 2080 | +# for all of the code used other than OpenSSL. If you modify |
| 2081 | +# file(s) with this exception, you may extend this exception to your |
| 2082 | +# version of the file(s), but you are not obligated to do so. If you |
| 2083 | +# do not wish to do so, delete this exception statement from your |
| 2084 | +# version. If you delete this exception statement from all source |
| 2085 | +# files in the program, then also delete it here. |
| 2086 | """Test the common functions.""" |
| 2087 | |
| 2088 | from PyQt4 import QtGui |
| 2089 | @@ -257,7 +270,7 @@ |
| 2090 | |
| 2091 | def test_text_not_elided_if_too_short(self): |
| 2092 | """If text is shorter than max_width, do not elide.""" |
| 2093 | - text = build_string_for_pixels(self.ui, self.max_width - 1) |
| 2094 | + text = build_string_for_pixels(self.ui, self.max_width - 10) |
| 2095 | |
| 2096 | maybe_elide_text(self.ui, text, self.max_width) |
| 2097 | |
| 2098 | @@ -277,7 +290,7 @@ |
| 2099 | |
| 2100 | def test_text_elided_if_bigger_than_max_width(self): |
| 2101 | """If text is equal than max_width, do not elide.""" |
| 2102 | - text = build_string_for_pixels(self.ui, self.max_width + 10) |
| 2103 | + text = build_string_for_pixels(self.ui, self.max_width * 2) |
| 2104 | |
| 2105 | maybe_elide_text(self.ui, text, self.max_width) |
| 2106 | |
| 2107 | |
| 2108 | === modified file 'ubuntu_sso/qt/tests/test_current_user_sign_in_page.py' |
| 2109 | --- ubuntu_sso/qt/tests/test_current_user_sign_in_page.py 2012-03-14 12:16:06 +0000 |
| 2110 | +++ ubuntu_sso/qt/tests/test_current_user_sign_in_page.py 2012-04-10 18:05:21 +0000 |
| 2111 | @@ -13,7 +13,19 @@ |
| 2112 | # |
| 2113 | # You should have received a copy of the GNU General Public License along |
| 2114 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2115 | - |
| 2116 | +# |
| 2117 | +# In addition, as a special exception, the copyright holders give |
| 2118 | +# permission to link the code of portions of this program with the |
| 2119 | +# OpenSSL library under certain conditions as described in each |
| 2120 | +# individual source file, and distribute linked combinations |
| 2121 | +# including the two. |
| 2122 | +# You must obey the GNU General Public License in all respects |
| 2123 | +# for all of the code used other than OpenSSL. If you modify |
| 2124 | +# file(s) with this exception, you may extend this exception to your |
| 2125 | +# version of the file(s), but you are not obligated to do so. If you |
| 2126 | +# do not wish to do so, delete this exception statement from your |
| 2127 | +# version. If you delete this exception statement from all source |
| 2128 | +# files in the program, then also delete it here. |
| 2129 | """Tests for the Setup Account page Qt UI.""" |
| 2130 | |
| 2131 | from PyQt4 import QtGui, QtCore |
| 2132 | |
| 2133 | === modified file 'ubuntu_sso/qt/tests/test_email_verification.py' |
| 2134 | --- ubuntu_sso/qt/tests/test_email_verification.py 2012-03-14 12:16:06 +0000 |
| 2135 | +++ ubuntu_sso/qt/tests/test_email_verification.py 2012-04-10 18:05:21 +0000 |
| 2136 | @@ -13,7 +13,19 @@ |
| 2137 | # |
| 2138 | # You should have received a copy of the GNU General Public License along |
| 2139 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2140 | - |
| 2141 | +# |
| 2142 | +# In addition, as a special exception, the copyright holders give |
| 2143 | +# permission to link the code of portions of this program with the |
| 2144 | +# OpenSSL library under certain conditions as described in each |
| 2145 | +# individual source file, and distribute linked combinations |
| 2146 | +# including the two. |
| 2147 | +# You must obey the GNU General Public License in all respects |
| 2148 | +# for all of the code used other than OpenSSL. If you modify |
| 2149 | +# file(s) with this exception, you may extend this exception to your |
| 2150 | +# version of the file(s), but you are not obligated to do so. If you |
| 2151 | +# do not wish to do so, delete this exception statement from your |
| 2152 | +# version. If you delete this exception statement from all source |
| 2153 | +# files in the program, then also delete it here. |
| 2154 | """Tests for the Setup Account page Qt UI.""" |
| 2155 | |
| 2156 | from PyQt4 import QtGui, QtCore |
| 2157 | |
| 2158 | === modified file 'ubuntu_sso/qt/tests/test_enchanced_line_edit.py' |
| 2159 | --- ubuntu_sso/qt/tests/test_enchanced_line_edit.py 2012-02-23 19:49:02 +0000 |
| 2160 | +++ ubuntu_sso/qt/tests/test_enchanced_line_edit.py 2012-04-10 18:05:21 +0000 |
| 2161 | @@ -1,7 +1,7 @@ |
| 2162 | # -*- coding: utf-8 -*- |
| 2163 | # Author: Diego Sarmentero <diego.sarmentero@canonical.com> |
| 2164 | # |
| 2165 | -# Copyright 2011 Canonical Ltd. |
| 2166 | +# Copyright 2011-2012 Canonical Ltd. |
| 2167 | # |
| 2168 | # This program is free software: you can redistribute it and/or modify it |
| 2169 | # under the terms of the GNU General Public License version 3, as published |
| 2170 | @@ -14,6 +14,19 @@ |
| 2171 | # |
| 2172 | # You should have received a copy of the GNU General Public License along |
| 2173 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2174 | +# |
| 2175 | +# In addition, as a special exception, the copyright holders give |
| 2176 | +# permission to link the code of portions of this program with the |
| 2177 | +# OpenSSL library under certain conditions as described in each |
| 2178 | +# individual source file, and distribute linked combinations |
| 2179 | +# including the two. |
| 2180 | +# You must obey the GNU General Public License in all respects |
| 2181 | +# for all of the code used other than OpenSSL. If you modify |
| 2182 | +# file(s) with this exception, you may extend this exception to your |
| 2183 | +# version of the file(s), but you are not obligated to do so. If you |
| 2184 | +# do not wish to do so, delete this exception statement from your |
| 2185 | +# version. If you delete this exception statement from all source |
| 2186 | +# files in the program, then also delete it here. |
| 2187 | """Test the EnhancedLineEdit.""" |
| 2188 | |
| 2189 | import collections |
| 2190 | |
| 2191 | === modified file 'ubuntu_sso/qt/tests/test_enhanced_check_box.py' |
| 2192 | --- ubuntu_sso/qt/tests/test_enhanced_check_box.py 2012-03-13 19:51:42 +0000 |
| 2193 | +++ ubuntu_sso/qt/tests/test_enhanced_check_box.py 2012-04-10 18:05:21 +0000 |
| 2194 | @@ -1,6 +1,6 @@ |
| 2195 | # -*- coding: utf-8 -*- |
| 2196 | # |
| 2197 | -# Copyright 2011 Canonical Ltd. |
| 2198 | +# Copyright 2011-2012 Canonical Ltd. |
| 2199 | # |
| 2200 | # This program is free software: you can redistribute it and/or modify it |
| 2201 | # under the terms of the GNU General Public License version 3, as published |
| 2202 | @@ -13,7 +13,19 @@ |
| 2203 | # |
| 2204 | # You should have received a copy of the GNU General Public License along |
| 2205 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2206 | - |
| 2207 | +# |
| 2208 | +# In addition, as a special exception, the copyright holders give |
| 2209 | +# permission to link the code of portions of this program with the |
| 2210 | +# OpenSSL library under certain conditions as described in each |
| 2211 | +# individual source file, and distribute linked combinations |
| 2212 | +# including the two. |
| 2213 | +# You must obey the GNU General Public License in all respects |
| 2214 | +# for all of the code used other than OpenSSL. If you modify |
| 2215 | +# file(s) with this exception, you may extend this exception to your |
| 2216 | +# version of the file(s), but you are not obligated to do so. If you |
| 2217 | +# do not wish to do so, delete this exception statement from your |
| 2218 | +# version. If you delete this exception statement from all source |
| 2219 | +# files in the program, then also delete it here. |
| 2220 | """Tests for the EnhancedCheckBox widget.""" |
| 2221 | |
| 2222 | from PyQt4 import QtGui, QtCore |
| 2223 | |
| 2224 | === modified file 'ubuntu_sso/qt/tests/test_error_page.py' |
| 2225 | --- ubuntu_sso/qt/tests/test_error_page.py 2012-02-23 20:09:13 +0000 |
| 2226 | +++ ubuntu_sso/qt/tests/test_error_page.py 2012-04-10 18:05:21 +0000 |
| 2227 | @@ -13,7 +13,19 @@ |
| 2228 | # |
| 2229 | # You should have received a copy of the GNU General Public License along |
| 2230 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2231 | - |
| 2232 | +# |
| 2233 | +# In addition, as a special exception, the copyright holders give |
| 2234 | +# permission to link the code of portions of this program with the |
| 2235 | +# OpenSSL library under certain conditions as described in each |
| 2236 | +# individual source file, and distribute linked combinations |
| 2237 | +# including the two. |
| 2238 | +# You must obey the GNU General Public License in all respects |
| 2239 | +# for all of the code used other than OpenSSL. If you modify |
| 2240 | +# file(s) with this exception, you may extend this exception to your |
| 2241 | +# version of the file(s), but you are not obligated to do so. If you |
| 2242 | +# do not wish to do so, delete this exception statement from your |
| 2243 | +# version. If you delete this exception statement from all source |
| 2244 | +# files in the program, then also delete it here. |
| 2245 | """Test the error page.""" |
| 2246 | |
| 2247 | from ubuntu_sso.qt.error_page import ErrorPage |
| 2248 | |
| 2249 | === modified file 'ubuntu_sso/qt/tests/test_expander.py' |
| 2250 | --- ubuntu_sso/qt/tests/test_expander.py 2012-03-01 14:49:41 +0000 |
| 2251 | +++ ubuntu_sso/qt/tests/test_expander.py 2012-04-10 18:05:21 +0000 |
| 2252 | @@ -13,6 +13,19 @@ |
| 2253 | # |
| 2254 | # You should have received a copy of the GNU General Public License along |
| 2255 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2256 | +# |
| 2257 | +# In addition, as a special exception, the copyright holders give |
| 2258 | +# permission to link the code of portions of this program with the |
| 2259 | +# OpenSSL library under certain conditions as described in each |
| 2260 | +# individual source file, and distribute linked combinations |
| 2261 | +# including the two. |
| 2262 | +# You must obey the GNU General Public License in all respects |
| 2263 | +# for all of the code used other than OpenSSL. If you modify |
| 2264 | +# file(s) with this exception, you may extend this exception to your |
| 2265 | +# version of the file(s), but you are not obligated to do so. If you |
| 2266 | +# do not wish to do so, delete this exception statement from your |
| 2267 | +# version. If you delete this exception statement from all source |
| 2268 | +# files in the program, then also delete it here. |
| 2269 | """Tests for the expander widget.""" |
| 2270 | |
| 2271 | from PyQt4.QtGui import QLabel |
| 2272 | |
| 2273 | === modified file 'ubuntu_sso/qt/tests/test_forgotten_password.py' |
| 2274 | --- ubuntu_sso/qt/tests/test_forgotten_password.py 2012-03-14 12:16:06 +0000 |
| 2275 | +++ ubuntu_sso/qt/tests/test_forgotten_password.py 2012-04-10 18:05:21 +0000 |
| 2276 | @@ -13,7 +13,19 @@ |
| 2277 | # |
| 2278 | # You should have received a copy of the GNU General Public License along |
| 2279 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2280 | - |
| 2281 | +# |
| 2282 | +# In addition, as a special exception, the copyright holders give |
| 2283 | +# permission to link the code of portions of this program with the |
| 2284 | +# OpenSSL library under certain conditions as described in each |
| 2285 | +# individual source file, and distribute linked combinations |
| 2286 | +# including the two. |
| 2287 | +# You must obey the GNU General Public License in all respects |
| 2288 | +# for all of the code used other than OpenSSL. If you modify |
| 2289 | +# file(s) with this exception, you may extend this exception to your |
| 2290 | +# version of the file(s), but you are not obligated to do so. If you |
| 2291 | +# do not wish to do so, delete this exception statement from your |
| 2292 | +# version. If you delete this exception statement from all source |
| 2293 | +# files in the program, then also delete it here. |
| 2294 | """Tests for the Setup Account page Qt UI.""" |
| 2295 | |
| 2296 | from PyQt4 import QtCore |
| 2297 | |
| 2298 | === modified file 'ubuntu_sso/qt/tests/test_loadingoverlay.py' |
| 2299 | --- ubuntu_sso/qt/tests/test_loadingoverlay.py 2012-03-13 02:20:01 +0000 |
| 2300 | +++ ubuntu_sso/qt/tests/test_loadingoverlay.py 2012-04-10 18:05:21 +0000 |
| 2301 | @@ -13,7 +13,19 @@ |
| 2302 | # |
| 2303 | # You should have received a copy of the GNU General Public License along |
| 2304 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2305 | - |
| 2306 | +# |
| 2307 | +# In addition, as a special exception, the copyright holders give |
| 2308 | +# permission to link the code of portions of this program with the |
| 2309 | +# OpenSSL library under certain conditions as described in each |
| 2310 | +# individual source file, and distribute linked combinations |
| 2311 | +# including the two. |
| 2312 | +# You must obey the GNU General Public License in all respects |
| 2313 | +# for all of the code used other than OpenSSL. If you modify |
| 2314 | +# file(s) with this exception, you may extend this exception to your |
| 2315 | +# version of the file(s), but you are not obligated to do so. If you |
| 2316 | +# do not wish to do so, delete this exception statement from your |
| 2317 | +# version. If you delete this exception statement from all source |
| 2318 | +# files in the program, then also delete it here. |
| 2319 | """Tests for the Loading Overlay.""" |
| 2320 | |
| 2321 | from ubuntu_sso.qt.loadingoverlay import LoadingOverlay |
| 2322 | |
| 2323 | === modified file 'ubuntu_sso/qt/tests/test_network_detection.py' |
| 2324 | --- ubuntu_sso/qt/tests/test_network_detection.py 2012-03-05 18:56:50 +0000 |
| 2325 | +++ ubuntu_sso/qt/tests/test_network_detection.py 2012-04-10 18:05:21 +0000 |
| 2326 | @@ -13,7 +13,19 @@ |
| 2327 | # |
| 2328 | # You should have received a copy of the GNU General Public License along |
| 2329 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2330 | - |
| 2331 | +# |
| 2332 | +# In addition, as a special exception, the copyright holders give |
| 2333 | +# permission to link the code of portions of this program with the |
| 2334 | +# OpenSSL library under certain conditions as described in each |
| 2335 | +# individual source file, and distribute linked combinations |
| 2336 | +# including the two. |
| 2337 | +# You must obey the GNU General Public License in all respects |
| 2338 | +# for all of the code used other than OpenSSL. If you modify |
| 2339 | +# file(s) with this exception, you may extend this exception to your |
| 2340 | +# version of the file(s), but you are not obligated to do so. If you |
| 2341 | +# do not wish to do so, delete this exception statement from your |
| 2342 | +# version. If you delete this exception statement from all source |
| 2343 | +# files in the program, then also delete it here. |
| 2344 | """The test suite for Network Detection UI.""" |
| 2345 | |
| 2346 | from PyQt4 import QtGui |
| 2347 | |
| 2348 | === modified file 'ubuntu_sso/qt/tests/test_proxy_dialog.py' |
| 2349 | --- ubuntu_sso/qt/tests/test_proxy_dialog.py 2012-03-20 18:26:38 +0000 |
| 2350 | +++ ubuntu_sso/qt/tests/test_proxy_dialog.py 2012-04-10 18:05:21 +0000 |
| 2351 | @@ -13,6 +13,19 @@ |
| 2352 | # |
| 2353 | # You should have received a copy of the GNU General Public License along |
| 2354 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2355 | +# |
| 2356 | +# In addition, as a special exception, the copyright holders give |
| 2357 | +# permission to link the code of portions of this program with the |
| 2358 | +# OpenSSL library under certain conditions as described in each |
| 2359 | +# individual source file, and distribute linked combinations |
| 2360 | +# including the two. |
| 2361 | +# You must obey the GNU General Public License in all respects |
| 2362 | +# for all of the code used other than OpenSSL. If you modify |
| 2363 | +# file(s) with this exception, you may extend this exception to your |
| 2364 | +# version of the file(s), but you are not obligated to do so. If you |
| 2365 | +# do not wish to do so, delete this exception statement from your |
| 2366 | +# version. If you delete this exception statement from all source |
| 2367 | +# files in the program, then also delete it here. |
| 2368 | """Test the proxy UI.""" |
| 2369 | |
| 2370 | import qt4reactor |
| 2371 | |
| 2372 | === modified file 'ubuntu_sso/qt/tests/test_reset_password.py' |
| 2373 | --- ubuntu_sso/qt/tests/test_reset_password.py 2012-03-14 12:16:06 +0000 |
| 2374 | +++ ubuntu_sso/qt/tests/test_reset_password.py 2012-04-10 18:05:21 +0000 |
| 2375 | @@ -1,6 +1,6 @@ |
| 2376 | # -*- coding: utf-8 -*- |
| 2377 | # |
| 2378 | -# Copyright 2011 Canonical Ltd. |
| 2379 | +# Copyright 2011-2012 Canonical Ltd. |
| 2380 | # |
| 2381 | # This program is free software: you can redistribute it and/or modify it |
| 2382 | # under the terms of the GNU General Public License version 3, as published |
| 2383 | @@ -13,6 +13,19 @@ |
| 2384 | # |
| 2385 | # You should have received a copy of the GNU General Public License along |
| 2386 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2387 | +# |
| 2388 | +# In addition, as a special exception, the copyright holders give |
| 2389 | +# permission to link the code of portions of this program with the |
| 2390 | +# OpenSSL library under certain conditions as described in each |
| 2391 | +# individual source file, and distribute linked combinations |
| 2392 | +# including the two. |
| 2393 | +# You must obey the GNU General Public License in all respects |
| 2394 | +# for all of the code used other than OpenSSL. If you modify |
| 2395 | +# file(s) with this exception, you may extend this exception to your |
| 2396 | +# version of the file(s), but you are not obligated to do so. If you |
| 2397 | +# do not wish to do so, delete this exception statement from your |
| 2398 | +# version. If you delete this exception statement from all source |
| 2399 | +# files in the program, then also delete it here. |
| 2400 | """Test the Reset Password Page.""" |
| 2401 | |
| 2402 | # pylint: disable=F0401,E0611,E1101 |
| 2403 | |
| 2404 | === modified file 'ubuntu_sso/qt/tests/test_setup_account.py' |
| 2405 | --- ubuntu_sso/qt/tests/test_setup_account.py 2012-03-15 13:20:10 +0000 |
| 2406 | +++ ubuntu_sso/qt/tests/test_setup_account.py 2012-04-10 18:05:21 +0000 |
| 2407 | @@ -13,7 +13,19 @@ |
| 2408 | # |
| 2409 | # You should have received a copy of the GNU General Public License along |
| 2410 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2411 | - |
| 2412 | +# |
| 2413 | +# In addition, as a special exception, the copyright holders give |
| 2414 | +# permission to link the code of portions of this program with the |
| 2415 | +# OpenSSL library under certain conditions as described in each |
| 2416 | +# individual source file, and distribute linked combinations |
| 2417 | +# including the two. |
| 2418 | +# You must obey the GNU General Public License in all respects |
| 2419 | +# for all of the code used other than OpenSSL. If you modify |
| 2420 | +# file(s) with this exception, you may extend this exception to your |
| 2421 | +# version of the file(s), but you are not obligated to do so. If you |
| 2422 | +# do not wish to do so, delete this exception statement from your |
| 2423 | +# version. If you delete this exception statement from all source |
| 2424 | +# files in the program, then also delete it here. |
| 2425 | """Tests for the Setup Account page Qt UI.""" |
| 2426 | |
| 2427 | from PyQt4 import QtGui, QtCore |
| 2428 | |
| 2429 | === modified file 'ubuntu_sso/qt/tests/test_ssl_dialog.py' |
| 2430 | --- ubuntu_sso/qt/tests/test_ssl_dialog.py 2012-03-12 19:47:07 +0000 |
| 2431 | +++ ubuntu_sso/qt/tests/test_ssl_dialog.py 2012-04-10 18:05:21 +0000 |
| 2432 | @@ -13,7 +13,19 @@ |
| 2433 | # |
| 2434 | # You should have received a copy of the GNU General Public License along |
| 2435 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2436 | - |
| 2437 | +# |
| 2438 | +# In addition, as a special exception, the copyright holders give |
| 2439 | +# permission to link the code of portions of this program with the |
| 2440 | +# OpenSSL library under certain conditions as described in each |
| 2441 | +# individual source file, and distribute linked combinations |
| 2442 | +# including the two. |
| 2443 | +# You must obey the GNU General Public License in all respects |
| 2444 | +# for all of the code used other than OpenSSL. If you modify |
| 2445 | +# file(s) with this exception, you may extend this exception to your |
| 2446 | +# version of the file(s), but you are not obligated to do so. If you |
| 2447 | +# do not wish to do so, delete this exception statement from your |
| 2448 | +# version. If you delete this exception statement from all source |
| 2449 | +# files in the program, then also delete it here. |
| 2450 | """Test the ssl dialog.""" |
| 2451 | |
| 2452 | from PyQt4.QtGui import QStyle |
| 2453 | |
| 2454 | === modified file 'ubuntu_sso/qt/tests/test_sso_wizard_page.py' |
| 2455 | --- ubuntu_sso/qt/tests/test_sso_wizard_page.py 2012-03-19 20:17:49 +0000 |
| 2456 | +++ ubuntu_sso/qt/tests/test_sso_wizard_page.py 2012-04-10 18:05:21 +0000 |
| 2457 | @@ -1,6 +1,6 @@ |
| 2458 | # -*- coding: utf-8 -*- |
| 2459 | # |
| 2460 | -# Copyright 2011 Canonical Ltd. |
| 2461 | +# Copyright 2011-2012 Canonical Ltd. |
| 2462 | # |
| 2463 | # This program is free software: you can redistribute it and/or modify it |
| 2464 | # under the terms of the GNU General Public License version 3, as published |
| 2465 | @@ -13,7 +13,19 @@ |
| 2466 | # |
| 2467 | # You should have received a copy of the GNU General Public License along |
| 2468 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2469 | - |
| 2470 | +# |
| 2471 | +# In addition, as a special exception, the copyright holders give |
| 2472 | +# permission to link the code of portions of this program with the |
| 2473 | +# OpenSSL library under certain conditions as described in each |
| 2474 | +# individual source file, and distribute linked combinations |
| 2475 | +# including the two. |
| 2476 | +# You must obey the GNU General Public License in all respects |
| 2477 | +# for all of the code used other than OpenSSL. If you modify |
| 2478 | +# file(s) with this exception, you may extend this exception to your |
| 2479 | +# version of the file(s), but you are not obligated to do so. If you |
| 2480 | +# do not wish to do so, delete this exception statement from your |
| 2481 | +# version. If you delete this exception statement from all source |
| 2482 | +# files in the program, then also delete it here. |
| 2483 | """Test the SSOWizardPage and related.""" |
| 2484 | |
| 2485 | from ubuntu_sso.qt import PREFERED_UI_SIZE, sso_wizard_page as gui |
| 2486 | |
| 2487 | === modified file 'ubuntu_sso/qt/tests/test_success_page.py' |
| 2488 | --- ubuntu_sso/qt/tests/test_success_page.py 2012-02-23 20:09:13 +0000 |
| 2489 | +++ ubuntu_sso/qt/tests/test_success_page.py 2012-04-10 18:05:21 +0000 |
| 2490 | @@ -13,7 +13,19 @@ |
| 2491 | # |
| 2492 | # You should have received a copy of the GNU General Public License along |
| 2493 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2494 | - |
| 2495 | +# |
| 2496 | +# In addition, as a special exception, the copyright holders give |
| 2497 | +# permission to link the code of portions of this program with the |
| 2498 | +# OpenSSL library under certain conditions as described in each |
| 2499 | +# individual source file, and distribute linked combinations |
| 2500 | +# including the two. |
| 2501 | +# You must obey the GNU General Public License in all respects |
| 2502 | +# for all of the code used other than OpenSSL. If you modify |
| 2503 | +# file(s) with this exception, you may extend this exception to your |
| 2504 | +# version of the file(s), but you are not obligated to do so. If you |
| 2505 | +# do not wish to do so, delete this exception statement from your |
| 2506 | +# version. If you delete this exception statement from all source |
| 2507 | +# files in the program, then also delete it here. |
| 2508 | """Test the success page.""" |
| 2509 | |
| 2510 | from ubuntu_sso.qt.success_page import SuccessPage |
| 2511 | |
| 2512 | === modified file 'ubuntu_sso/qt/tests/test_ubuntu_sso_wizard.py' |
| 2513 | --- ubuntu_sso/qt/tests/test_ubuntu_sso_wizard.py 2012-03-14 12:16:06 +0000 |
| 2514 | +++ ubuntu_sso/qt/tests/test_ubuntu_sso_wizard.py 2012-04-10 18:05:21 +0000 |
| 2515 | @@ -13,7 +13,19 @@ |
| 2516 | # |
| 2517 | # You should have received a copy of the GNU General Public License along |
| 2518 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2519 | - |
| 2520 | +# |
| 2521 | +# In addition, as a special exception, the copyright holders give |
| 2522 | +# permission to link the code of portions of this program with the |
| 2523 | +# OpenSSL library under certain conditions as described in each |
| 2524 | +# individual source file, and distribute linked combinations |
| 2525 | +# including the two. |
| 2526 | +# You must obey the GNU General Public License in all respects |
| 2527 | +# for all of the code used other than OpenSSL. If you modify |
| 2528 | +# file(s) with this exception, you may extend this exception to your |
| 2529 | +# version of the file(s), but you are not obligated to do so. If you |
| 2530 | +# do not wish to do so, delete this exception statement from your |
| 2531 | +# version. If you delete this exception statement from all source |
| 2532 | +# files in the program, then also delete it here. |
| 2533 | """Test Ubunto SSO Wizard.""" |
| 2534 | |
| 2535 | from PyQt4 import QtGui |
| 2536 | |
| 2537 | === modified file 'ubuntu_sso/qt/ubuntu_sso_wizard.py' |
| 2538 | --- ubuntu_sso/qt/ubuntu_sso_wizard.py 2012-03-12 14:53:00 +0000 |
| 2539 | +++ ubuntu_sso/qt/ubuntu_sso_wizard.py 2012-04-10 18:05:21 +0000 |
| 2540 | @@ -13,7 +13,19 @@ |
| 2541 | # |
| 2542 | # You should have received a copy of the GNU General Public License along |
| 2543 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2544 | - |
| 2545 | +# |
| 2546 | +# In addition, as a special exception, the copyright holders give |
| 2547 | +# permission to link the code of portions of this program with the |
| 2548 | +# OpenSSL library under certain conditions as described in each |
| 2549 | +# individual source file, and distribute linked combinations |
| 2550 | +# including the two. |
| 2551 | +# You must obey the GNU General Public License in all respects |
| 2552 | +# for all of the code used other than OpenSSL. If you modify |
| 2553 | +# file(s) with this exception, you may extend this exception to your |
| 2554 | +# version of the file(s), but you are not obligated to do so. If you |
| 2555 | +# do not wish to do so, delete this exception statement from your |
| 2556 | +# version. If you delete this exception statement from all source |
| 2557 | +# files in the program, then also delete it here. |
| 2558 | """SSO Wizard UI.""" |
| 2559 | |
| 2560 | import sys |
| 2561 | |
| 2562 | === modified file 'ubuntu_sso/qt/ui/__init__.py' |
| 2563 | --- ubuntu_sso/qt/ui/__init__.py 2012-02-01 19:19:32 +0000 |
| 2564 | +++ ubuntu_sso/qt/ui/__init__.py 2012-04-10 18:05:21 +0000 |
| 2565 | @@ -13,5 +13,17 @@ |
| 2566 | # |
| 2567 | # You should have received a copy of the GNU General Public License along |
| 2568 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2569 | - |
| 2570 | +# |
| 2571 | +# In addition, as a special exception, the copyright holders give |
| 2572 | +# permission to link the code of portions of this program with the |
| 2573 | +# OpenSSL library under certain conditions as described in each |
| 2574 | +# individual source file, and distribute linked combinations |
| 2575 | +# including the two. |
| 2576 | +# You must obey the GNU General Public License in all respects |
| 2577 | +# for all of the code used other than OpenSSL. If you modify |
| 2578 | +# file(s) with this exception, you may extend this exception to your |
| 2579 | +# version of the file(s), but you are not obligated to do so. If you |
| 2580 | +# do not wish to do so, delete this exception statement from your |
| 2581 | +# version. If you delete this exception statement from all source |
| 2582 | +# files in the program, then also delete it here. |
| 2583 | """The UI generated files.""" |
| 2584 | |
| 2585 | === modified file 'ubuntu_sso/tests/__init__.py' |
| 2586 | --- ubuntu_sso/tests/__init__.py 2012-02-17 18:43:17 +0000 |
| 2587 | +++ ubuntu_sso/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 2588 | @@ -1,6 +1,6 @@ |
| 2589 | # -*- coding: utf-8 -*- |
| 2590 | # |
| 2591 | -# Copyright 2009 Canonical Ltd. |
| 2592 | +# Copyright 2009-2012 Canonical Ltd. |
| 2593 | # |
| 2594 | # This program is free software: you can redistribute it and/or modify it |
| 2595 | # under the terms of the GNU General Public License version 3, as published |
| 2596 | @@ -13,7 +13,19 @@ |
| 2597 | # |
| 2598 | # You should have received a copy of the GNU General Public License along |
| 2599 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2600 | - |
| 2601 | +# |
| 2602 | +# In addition, as a special exception, the copyright holders give |
| 2603 | +# permission to link the code of portions of this program with the |
| 2604 | +# OpenSSL library under certain conditions as described in each |
| 2605 | +# individual source file, and distribute linked combinations |
| 2606 | +# including the two. |
| 2607 | +# You must obey the GNU General Public License in all respects |
| 2608 | +# for all of the code used other than OpenSSL. If you modify |
| 2609 | +# file(s) with this exception, you may extend this exception to your |
| 2610 | +# version of the file(s), but you are not obligated to do so. If you |
| 2611 | +# do not wish to do so, delete this exception statement from your |
| 2612 | +# version. If you delete this exception statement from all source |
| 2613 | +# files in the program, then also delete it here. |
| 2614 | """Tests for the Ubuntu SSO library.""" |
| 2615 | |
| 2616 | import os |
| 2617 | |
| 2618 | === modified file 'ubuntu_sso/tests/test_account.py' |
| 2619 | --- ubuntu_sso/tests/test_account.py 2012-03-23 19:49:48 +0000 |
| 2620 | +++ ubuntu_sso/tests/test_account.py 2012-04-10 18:05:21 +0000 |
| 2621 | @@ -3,7 +3,7 @@ |
| 2622 | # Author: Natalia Bidart <natalia.bidart@canonical.com> |
| 2623 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 2624 | # |
| 2625 | -# Copyright 2010 Canonical Ltd. |
| 2626 | +# Copyright 2010-2012 Canonical Ltd. |
| 2627 | # |
| 2628 | # This program is free software: you can redistribute it and/or modify it |
| 2629 | # under the terms of the GNU General Public License version 3, as published |
| 2630 | @@ -16,6 +16,19 @@ |
| 2631 | # |
| 2632 | # You should have received a copy of the GNU General Public License along |
| 2633 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2634 | +# |
| 2635 | +# In addition, as a special exception, the copyright holders give |
| 2636 | +# permission to link the code of portions of this program with the |
| 2637 | +# OpenSSL library under certain conditions as described in each |
| 2638 | +# individual source file, and distribute linked combinations |
| 2639 | +# including the two. |
| 2640 | +# You must obey the GNU General Public License in all respects |
| 2641 | +# for all of the code used other than OpenSSL. If you modify |
| 2642 | +# file(s) with this exception, you may extend this exception to your |
| 2643 | +# version of the file(s), but you are not obligated to do so. If you |
| 2644 | +# do not wish to do so, delete this exception statement from your |
| 2645 | +# version. If you delete this exception statement from all source |
| 2646 | +# files in the program, then also delete it here. |
| 2647 | """Tests for the SSO account code.""" |
| 2648 | |
| 2649 | import os |
| 2650 | |
| 2651 | === modified file 'ubuntu_sso/tests/test_credentials.py' |
| 2652 | --- ubuntu_sso/tests/test_credentials.py 2012-02-24 19:43:28 +0000 |
| 2653 | +++ ubuntu_sso/tests/test_credentials.py 2012-04-10 18:05:21 +0000 |
| 2654 | @@ -13,6 +13,19 @@ |
| 2655 | # |
| 2656 | # You should have received a copy of the GNU General Public License along |
| 2657 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2658 | +# |
| 2659 | +# In addition, as a special exception, the copyright holders give |
| 2660 | +# permission to link the code of portions of this program with the |
| 2661 | +# OpenSSL library under certain conditions as described in each |
| 2662 | +# individual source file, and distribute linked combinations |
| 2663 | +# including the two. |
| 2664 | +# You must obey the GNU General Public License in all respects |
| 2665 | +# for all of the code used other than OpenSSL. If you modify |
| 2666 | +# file(s) with this exception, you may extend this exception to your |
| 2667 | +# version of the file(s), but you are not obligated to do so. If you |
| 2668 | +# do not wish to do so, delete this exception statement from your |
| 2669 | +# version. If you delete this exception statement from all source |
| 2670 | +# files in the program, then also delete it here. |
| 2671 | """Tests for the Credentials module.""" |
| 2672 | |
| 2673 | import logging |
| 2674 | |
| 2675 | === modified file 'ubuntu_sso/utils/__init__.py' |
| 2676 | --- ubuntu_sso/utils/__init__.py 2012-03-19 17:03:17 +0000 |
| 2677 | +++ ubuntu_sso/utils/__init__.py 2012-04-10 18:05:21 +0000 |
| 2678 | @@ -13,7 +13,19 @@ |
| 2679 | # |
| 2680 | # You should have received a copy of the GNU General Public License along |
| 2681 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2682 | - |
| 2683 | +# |
| 2684 | +# In addition, as a special exception, the copyright holders give |
| 2685 | +# permission to link the code of portions of this program with the |
| 2686 | +# OpenSSL library under certain conditions as described in each |
| 2687 | +# individual source file, and distribute linked combinations |
| 2688 | +# including the two. |
| 2689 | +# You must obey the GNU General Public License in all respects |
| 2690 | +# for all of the code used other than OpenSSL. If you modify |
| 2691 | +# file(s) with this exception, you may extend this exception to your |
| 2692 | +# version of the file(s), but you are not obligated to do so. If you |
| 2693 | +# do not wish to do so, delete this exception statement from your |
| 2694 | +# version. If you delete this exception statement from all source |
| 2695 | +# files in the program, then also delete it here. |
| 2696 | """Utility modules that may find use outside ubuntu_sso.""" |
| 2697 | |
| 2698 | import cgi |
| 2699 | |
| 2700 | === modified file 'ubuntu_sso/utils/ipc.py' |
| 2701 | --- ubuntu_sso/utils/ipc.py 2012-02-06 20:12:21 +0000 |
| 2702 | +++ ubuntu_sso/utils/ipc.py 2012-04-10 18:05:21 +0000 |
| 2703 | @@ -13,7 +13,19 @@ |
| 2704 | # |
| 2705 | # You should have received a copy of the GNU General Public License along |
| 2706 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2707 | - |
| 2708 | +# |
| 2709 | +# In addition, as a special exception, the copyright holders give |
| 2710 | +# permission to link the code of portions of this program with the |
| 2711 | +# OpenSSL library under certain conditions as described in each |
| 2712 | +# individual source file, and distribute linked combinations |
| 2713 | +# including the two. |
| 2714 | +# You must obey the GNU General Public License in all respects |
| 2715 | +# for all of the code used other than OpenSSL. If you modify |
| 2716 | +# file(s) with this exception, you may extend this exception to your |
| 2717 | +# version of the file(s), but you are not obligated to do so. If you |
| 2718 | +# do not wish to do so, delete this exception statement from your |
| 2719 | +# version. If you delete this exception statement from all source |
| 2720 | +# files in the program, then also delete it here. |
| 2721 | """Perspective Broker IPC utils.""" |
| 2722 | |
| 2723 | from functools import wraps, partial |
| 2724 | |
| 2725 | === modified file 'ubuntu_sso/utils/linux.py' |
| 2726 | --- ubuntu_sso/utils/linux.py 2012-03-16 22:33:29 +0000 |
| 2727 | +++ ubuntu_sso/utils/linux.py 2012-04-10 18:05:21 +0000 |
| 2728 | @@ -13,7 +13,19 @@ |
| 2729 | # |
| 2730 | # You should have received a copy of the GNU General Public License along |
| 2731 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2732 | - |
| 2733 | +# |
| 2734 | +# In addition, as a special exception, the copyright holders give |
| 2735 | +# permission to link the code of portions of this program with the |
| 2736 | +# OpenSSL library under certain conditions as described in each |
| 2737 | +# individual source file, and distribute linked combinations |
| 2738 | +# including the two. |
| 2739 | +# You must obey the GNU General Public License in all respects |
| 2740 | +# for all of the code used other than OpenSSL. If you modify |
| 2741 | +# file(s) with this exception, you may extend this exception to your |
| 2742 | +# version of the file(s), but you are not obligated to do so. If you |
| 2743 | +# do not wish to do so, delete this exception statement from your |
| 2744 | +# version. If you delete this exception statement from all source |
| 2745 | +# files in the program, then also delete it here. |
| 2746 | """Platform specific constants and functions (for Linux).""" |
| 2747 | |
| 2748 | PLATFORM_QSS = ":/linux.qss" |
| 2749 | |
| 2750 | === modified file 'ubuntu_sso/utils/runner/__init__.py' |
| 2751 | --- ubuntu_sso/utils/runner/__init__.py 2012-02-23 13:17:46 +0000 |
| 2752 | +++ ubuntu_sso/utils/runner/__init__.py 2012-04-10 18:05:21 +0000 |
| 2753 | @@ -13,7 +13,19 @@ |
| 2754 | # |
| 2755 | # You should have received a copy of the GNU General Public License along |
| 2756 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2757 | - |
| 2758 | +# |
| 2759 | +# In addition, as a special exception, the copyright holders give |
| 2760 | +# permission to link the code of portions of this program with the |
| 2761 | +# OpenSSL library under certain conditions as described in each |
| 2762 | +# individual source file, and distribute linked combinations |
| 2763 | +# including the two. |
| 2764 | +# You must obey the GNU General Public License in all respects |
| 2765 | +# for all of the code used other than OpenSSL. If you modify |
| 2766 | +# file(s) with this exception, you may extend this exception to your |
| 2767 | +# version of the file(s), but you are not obligated to do so. If you |
| 2768 | +# do not wish to do so, delete this exception statement from your |
| 2769 | +# version. If you delete this exception statement from all source |
| 2770 | +# files in the program, then also delete it here. |
| 2771 | """Utility to spawn another program from a mainloop.""" |
| 2772 | |
| 2773 | import sys |
| 2774 | |
| 2775 | === modified file 'ubuntu_sso/utils/runner/glib.py' |
| 2776 | --- ubuntu_sso/utils/runner/glib.py 2012-03-12 20:52:32 +0000 |
| 2777 | +++ ubuntu_sso/utils/runner/glib.py 2012-04-10 18:05:21 +0000 |
| 2778 | @@ -13,7 +13,19 @@ |
| 2779 | # |
| 2780 | # You should have received a copy of the GNU General Public License along |
| 2781 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2782 | - |
| 2783 | +# |
| 2784 | +# In addition, as a special exception, the copyright holders give |
| 2785 | +# permission to link the code of portions of this program with the |
| 2786 | +# OpenSSL library under certain conditions as described in each |
| 2787 | +# individual source file, and distribute linked combinations |
| 2788 | +# including the two. |
| 2789 | +# You must obey the GNU General Public License in all respects |
| 2790 | +# for all of the code used other than OpenSSL. If you modify |
| 2791 | +# file(s) with this exception, you may extend this exception to your |
| 2792 | +# version of the file(s), but you are not obligated to do so. If you |
| 2793 | +# do not wish to do so, delete this exception statement from your |
| 2794 | +# version. If you delete this exception statement from all source |
| 2795 | +# files in the program, then also delete it here. |
| 2796 | """Utility to spawn another program from a GLib mainloop.""" |
| 2797 | |
| 2798 | import os |
| 2799 | |
| 2800 | === modified file 'ubuntu_sso/utils/runner/qt.py' |
| 2801 | --- ubuntu_sso/utils/runner/qt.py 2012-03-30 03:26:58 +0000 |
| 2802 | +++ ubuntu_sso/utils/runner/qt.py 2012-04-10 18:05:21 +0000 |
| 2803 | @@ -13,7 +13,19 @@ |
| 2804 | # |
| 2805 | # You should have received a copy of the GNU General Public License along |
| 2806 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2807 | - |
| 2808 | +# |
| 2809 | +# In addition, as a special exception, the copyright holders give |
| 2810 | +# permission to link the code of portions of this program with the |
| 2811 | +# OpenSSL library under certain conditions as described in each |
| 2812 | +# individual source file, and distribute linked combinations |
| 2813 | +# including the two. |
| 2814 | +# You must obey the GNU General Public License in all respects |
| 2815 | +# for all of the code used other than OpenSSL. If you modify |
| 2816 | +# file(s) with this exception, you may extend this exception to your |
| 2817 | +# version of the file(s), but you are not obligated to do so. If you |
| 2818 | +# do not wish to do so, delete this exception statement from your |
| 2819 | +# version. If you delete this exception statement from all source |
| 2820 | +# files in the program, then also delete it here. |
| 2821 | """Utility to spawn another program from a plain Qt mainloop.""" |
| 2822 | |
| 2823 | import sys |
| 2824 | |
| 2825 | === modified file 'ubuntu_sso/utils/runner/tests/__init__.py' |
| 2826 | --- ubuntu_sso/utils/runner/tests/__init__.py 2012-01-26 18:58:58 +0000 |
| 2827 | +++ ubuntu_sso/utils/runner/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 2828 | @@ -13,5 +13,17 @@ |
| 2829 | # |
| 2830 | # You should have received a copy of the GNU General Public License along |
| 2831 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2832 | - |
| 2833 | +# |
| 2834 | +# In addition, as a special exception, the copyright holders give |
| 2835 | +# permission to link the code of portions of this program with the |
| 2836 | +# OpenSSL library under certain conditions as described in each |
| 2837 | +# individual source file, and distribute linked combinations |
| 2838 | +# including the two. |
| 2839 | +# You must obey the GNU General Public License in all respects |
| 2840 | +# for all of the code used other than OpenSSL. If you modify |
| 2841 | +# file(s) with this exception, you may extend this exception to your |
| 2842 | +# version of the file(s), but you are not obligated to do so. If you |
| 2843 | +# do not wish to do so, delete this exception statement from your |
| 2844 | +# version. If you delete this exception statement from all source |
| 2845 | +# files in the program, then also delete it here. |
| 2846 | """Tests for the program runner.""" |
| 2847 | |
| 2848 | === modified file 'ubuntu_sso/utils/runner/tests/test_glib.py' |
| 2849 | --- ubuntu_sso/utils/runner/tests/test_glib.py 2012-02-23 13:17:46 +0000 |
| 2850 | +++ ubuntu_sso/utils/runner/tests/test_glib.py 2012-04-10 18:05:21 +0000 |
| 2851 | @@ -13,7 +13,19 @@ |
| 2852 | # |
| 2853 | # You should have received a copy of the GNU General Public License along |
| 2854 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2855 | - |
| 2856 | +# |
| 2857 | +# In addition, as a special exception, the copyright holders give |
| 2858 | +# permission to link the code of portions of this program with the |
| 2859 | +# OpenSSL library under certain conditions as described in each |
| 2860 | +# individual source file, and distribute linked combinations |
| 2861 | +# including the two. |
| 2862 | +# You must obey the GNU General Public License in all respects |
| 2863 | +# for all of the code used other than OpenSSL. If you modify |
| 2864 | +# file(s) with this exception, you may extend this exception to your |
| 2865 | +# version of the file(s), but you are not obligated to do so. If you |
| 2866 | +# do not wish to do so, delete this exception statement from your |
| 2867 | +# version. If you delete this exception statement from all source |
| 2868 | +# files in the program, then also delete it here. |
| 2869 | """Tests for the glib runner helper module.""" |
| 2870 | |
| 2871 | import subprocess |
| 2872 | |
| 2873 | === modified file 'ubuntu_sso/utils/runner/tests/test_qt.py' |
| 2874 | --- ubuntu_sso/utils/runner/tests/test_qt.py 2012-03-30 15:49:29 +0000 |
| 2875 | +++ ubuntu_sso/utils/runner/tests/test_qt.py 2012-04-10 18:05:21 +0000 |
| 2876 | @@ -13,7 +13,19 @@ |
| 2877 | # |
| 2878 | # You should have received a copy of the GNU General Public License along |
| 2879 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2880 | - |
| 2881 | +# |
| 2882 | +# In addition, as a special exception, the copyright holders give |
| 2883 | +# permission to link the code of portions of this program with the |
| 2884 | +# OpenSSL library under certain conditions as described in each |
| 2885 | +# individual source file, and distribute linked combinations |
| 2886 | +# including the two. |
| 2887 | +# You must obey the GNU General Public License in all respects |
| 2888 | +# for all of the code used other than OpenSSL. If you modify |
| 2889 | +# file(s) with this exception, you may extend this exception to your |
| 2890 | +# version of the file(s), but you are not obligated to do so. If you |
| 2891 | +# do not wish to do so, delete this exception statement from your |
| 2892 | +# version. If you delete this exception statement from all source |
| 2893 | +# files in the program, then also delete it here. |
| 2894 | """Tests for the qt runner helper module.""" |
| 2895 | |
| 2896 | import subprocess |
| 2897 | |
| 2898 | === modified file 'ubuntu_sso/utils/runner/tests/test_runner.py' |
| 2899 | --- ubuntu_sso/utils/runner/tests/test_runner.py 2012-02-23 13:17:46 +0000 |
| 2900 | +++ ubuntu_sso/utils/runner/tests/test_runner.py 2012-04-10 18:05:21 +0000 |
| 2901 | @@ -13,7 +13,19 @@ |
| 2902 | # |
| 2903 | # You should have received a copy of the GNU General Public License along |
| 2904 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2905 | - |
| 2906 | +# |
| 2907 | +# In addition, as a special exception, the copyright holders give |
| 2908 | +# permission to link the code of portions of this program with the |
| 2909 | +# OpenSSL library under certain conditions as described in each |
| 2910 | +# individual source file, and distribute linked combinations |
| 2911 | +# including the two. |
| 2912 | +# You must obey the GNU General Public License in all respects |
| 2913 | +# for all of the code used other than OpenSSL. If you modify |
| 2914 | +# file(s) with this exception, you may extend this exception to your |
| 2915 | +# version of the file(s), but you are not obligated to do so. If you |
| 2916 | +# do not wish to do so, delete this exception statement from your |
| 2917 | +# version. If you delete this exception statement from all source |
| 2918 | +# files in the program, then also delete it here. |
| 2919 | """Tests for the runner helper module.""" |
| 2920 | |
| 2921 | import os |
| 2922 | |
| 2923 | === modified file 'ubuntu_sso/utils/runner/tx.py' |
| 2924 | --- ubuntu_sso/utils/runner/tx.py 2012-03-12 20:17:31 +0000 |
| 2925 | +++ ubuntu_sso/utils/runner/tx.py 2012-04-10 18:05:21 +0000 |
| 2926 | @@ -13,7 +13,19 @@ |
| 2927 | # |
| 2928 | # You should have received a copy of the GNU General Public License along |
| 2929 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2930 | - |
| 2931 | +# |
| 2932 | +# In addition, as a special exception, the copyright holders give |
| 2933 | +# permission to link the code of portions of this program with the |
| 2934 | +# OpenSSL library under certain conditions as described in each |
| 2935 | +# individual source file, and distribute linked combinations |
| 2936 | +# including the two. |
| 2937 | +# You must obey the GNU General Public License in all respects |
| 2938 | +# for all of the code used other than OpenSSL. If you modify |
| 2939 | +# file(s) with this exception, you may extend this exception to your |
| 2940 | +# version of the file(s), but you are not obligated to do so. If you |
| 2941 | +# do not wish to do so, delete this exception statement from your |
| 2942 | +# version. If you delete this exception statement from all source |
| 2943 | +# files in the program, then also delete it here. |
| 2944 | """Utility to spawn another program from a mainloop.""" |
| 2945 | |
| 2946 | import os |
| 2947 | |
| 2948 | === modified file 'ubuntu_sso/utils/tcpactivation.py' |
| 2949 | --- ubuntu_sso/utils/tcpactivation.py 2012-02-06 19:57:46 +0000 |
| 2950 | +++ ubuntu_sso/utils/tcpactivation.py 2012-04-10 18:05:21 +0000 |
| 2951 | @@ -13,7 +13,19 @@ |
| 2952 | # |
| 2953 | # You should have received a copy of the GNU General Public License along |
| 2954 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2955 | - |
| 2956 | +# |
| 2957 | +# In addition, as a special exception, the copyright holders give |
| 2958 | +# permission to link the code of portions of this program with the |
| 2959 | +# OpenSSL library under certain conditions as described in each |
| 2960 | +# individual source file, and distribute linked combinations |
| 2961 | +# including the two. |
| 2962 | +# You must obey the GNU General Public License in all respects |
| 2963 | +# for all of the code used other than OpenSSL. If you modify |
| 2964 | +# file(s) with this exception, you may extend this exception to your |
| 2965 | +# version of the file(s), but you are not obligated to do so. If you |
| 2966 | +# do not wish to do so, delete this exception statement from your |
| 2967 | +# version. If you delete this exception statement from all source |
| 2968 | +# files in the program, then also delete it here. |
| 2969 | """tcpactivation: start a process if nothing listening in a given port.""" |
| 2970 | |
| 2971 | import subprocess |
| 2972 | |
| 2973 | === modified file 'ubuntu_sso/utils/tests/__init__.py' |
| 2974 | --- ubuntu_sso/utils/tests/__init__.py 2010-11-15 23:06:52 +0000 |
| 2975 | +++ ubuntu_sso/utils/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 2976 | @@ -2,7 +2,7 @@ |
| 2977 | |
| 2978 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 2979 | # |
| 2980 | -# Copyright 2010 Canonical Ltd. |
| 2981 | +# Copyright 2010-2012 Canonical Ltd. |
| 2982 | # |
| 2983 | # This program is free software: you can redistribute it and/or modify it |
| 2984 | # under the terms of the GNU General Public License version 3, as published |
| 2985 | @@ -15,5 +15,17 @@ |
| 2986 | # |
| 2987 | # You should have received a copy of the GNU General Public License along |
| 2988 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 2989 | - |
| 2990 | +# |
| 2991 | +# In addition, as a special exception, the copyright holders give |
| 2992 | +# permission to link the code of portions of this program with the |
| 2993 | +# OpenSSL library under certain conditions as described in each |
| 2994 | +# individual source file, and distribute linked combinations |
| 2995 | +# including the two. |
| 2996 | +# You must obey the GNU General Public License in all respects |
| 2997 | +# for all of the code used other than OpenSSL. If you modify |
| 2998 | +# file(s) with this exception, you may extend this exception to your |
| 2999 | +# version of the file(s), but you are not obligated to do so. If you |
| 3000 | +# do not wish to do so, delete this exception statement from your |
| 3001 | +# version. If you delete this exception statement from all source |
| 3002 | +# files in the program, then also delete it here. |
| 3003 | """Test for the utility modules.""" |
| 3004 | |
| 3005 | === modified file 'ubuntu_sso/utils/tests/test_common.py' |
| 3006 | --- ubuntu_sso/utils/tests/test_common.py 2012-03-15 20:01:14 +0000 |
| 3007 | +++ ubuntu_sso/utils/tests/test_common.py 2012-04-10 18:05:21 +0000 |
| 3008 | @@ -13,7 +13,19 @@ |
| 3009 | # |
| 3010 | # You should have received a copy of the GNU General Public License along |
| 3011 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3012 | - |
| 3013 | +# |
| 3014 | +# In addition, as a special exception, the copyright holders give |
| 3015 | +# permission to link the code of portions of this program with the |
| 3016 | +# OpenSSL library under certain conditions as described in each |
| 3017 | +# individual source file, and distribute linked combinations |
| 3018 | +# including the two. |
| 3019 | +# You must obey the GNU General Public License in all respects |
| 3020 | +# for all of the code used other than OpenSSL. If you modify |
| 3021 | +# file(s) with this exception, you may extend this exception to your |
| 3022 | +# version of the file(s), but you are not obligated to do so. If you |
| 3023 | +# do not wish to do so, delete this exception statement from your |
| 3024 | +# version. If you delete this exception statement from all source |
| 3025 | +# files in the program, then also delete it here. |
| 3026 | """Tests for the oauth_headers helper function.""" |
| 3027 | |
| 3028 | import logging |
| 3029 | |
| 3030 | === modified file 'ubuntu_sso/utils/tests/test_ipc.py' |
| 3031 | --- ubuntu_sso/utils/tests/test_ipc.py 2012-02-06 19:57:46 +0000 |
| 3032 | +++ ubuntu_sso/utils/tests/test_ipc.py 2012-04-10 18:05:21 +0000 |
| 3033 | @@ -1,6 +1,6 @@ |
| 3034 | # -*- coding: utf-8 -*- |
| 3035 | # |
| 3036 | -# Copyright 2011 Canonical Ltd. |
| 3037 | +# Copyright 2011-2012 Canonical Ltd. |
| 3038 | # |
| 3039 | # This program is free software: you can redistribute it and/or modify it |
| 3040 | # under the terms of the GNU General Public License version 3, as published |
| 3041 | @@ -13,7 +13,19 @@ |
| 3042 | # |
| 3043 | # You should have received a copy of the GNU General Public License along |
| 3044 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3045 | - |
| 3046 | +# |
| 3047 | +# In addition, as a special exception, the copyright holders give |
| 3048 | +# permission to link the code of portions of this program with the |
| 3049 | +# OpenSSL library under certain conditions as described in each |
| 3050 | +# individual source file, and distribute linked combinations |
| 3051 | +# including the two. |
| 3052 | +# You must obey the GNU General Public License in all respects |
| 3053 | +# for all of the code used other than OpenSSL. If you modify |
| 3054 | +# file(s) with this exception, you may extend this exception to your |
| 3055 | +# version of the file(s), but you are not obligated to do so. If you |
| 3056 | +# do not wish to do so, delete this exception statement from your |
| 3057 | +# version. If you delete this exception statement from all source |
| 3058 | +# files in the program, then also delete it here. |
| 3059 | """Perspective Broker IPC test cases.""" |
| 3060 | |
| 3061 | import logging |
| 3062 | |
| 3063 | === modified file 'ubuntu_sso/utils/tests/test_parse_args.py' |
| 3064 | --- ubuntu_sso/utils/tests/test_parse_args.py 2012-02-13 15:43:59 +0000 |
| 3065 | +++ ubuntu_sso/utils/tests/test_parse_args.py 2012-04-10 18:05:21 +0000 |
| 3066 | @@ -13,7 +13,19 @@ |
| 3067 | # |
| 3068 | # You should have received a copy of the GNU General Public License along |
| 3069 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3070 | - |
| 3071 | +# |
| 3072 | +# In addition, as a special exception, the copyright holders give |
| 3073 | +# permission to link the code of portions of this program with the |
| 3074 | +# OpenSSL library under certain conditions as described in each |
| 3075 | +# individual source file, and distribute linked combinations |
| 3076 | +# including the two. |
| 3077 | +# You must obey the GNU General Public License in all respects |
| 3078 | +# for all of the code used other than OpenSSL. If you modify |
| 3079 | +# file(s) with this exception, you may extend this exception to your |
| 3080 | +# version of the file(s), but you are not obligated to do so. If you |
| 3081 | +# do not wish to do so, delete this exception statement from your |
| 3082 | +# version. If you delete this exception statement from all source |
| 3083 | +# files in the program, then also delete it here. |
| 3084 | """Tests for the parse_args function.""" |
| 3085 | |
| 3086 | import sys |
| 3087 | |
| 3088 | === modified file 'ubuntu_sso/utils/tests/test_tcpactivation.py' |
| 3089 | --- ubuntu_sso/utils/tests/test_tcpactivation.py 2012-01-17 15:09:12 +0000 |
| 3090 | +++ ubuntu_sso/utils/tests/test_tcpactivation.py 2012-04-10 18:05:21 +0000 |
| 3091 | @@ -2,7 +2,7 @@ |
| 3092 | |
| 3093 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 3094 | # |
| 3095 | -# Copyright 2011 Canonical Ltd. |
| 3096 | +# Copyright 2011-2012 Canonical Ltd. |
| 3097 | # |
| 3098 | # This program is free software: you can redistribute it and/or modify it |
| 3099 | # under the terms of the GNU General Public License version 3, as published |
| 3100 | @@ -15,7 +15,19 @@ |
| 3101 | # |
| 3102 | # You should have received a copy of the GNU General Public License along |
| 3103 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3104 | - |
| 3105 | +# |
| 3106 | +# In addition, as a special exception, the copyright holders give |
| 3107 | +# permission to link the code of portions of this program with the |
| 3108 | +# OpenSSL library under certain conditions as described in each |
| 3109 | +# individual source file, and distribute linked combinations |
| 3110 | +# including the two. |
| 3111 | +# You must obey the GNU General Public License in all respects |
| 3112 | +# for all of the code used other than OpenSSL. If you modify |
| 3113 | +# file(s) with this exception, you may extend this exception to your |
| 3114 | +# version of the file(s), but you are not obligated to do so. If you |
| 3115 | +# do not wish to do so, delete this exception statement from your |
| 3116 | +# version. If you delete this exception statement from all source |
| 3117 | +# files in the program, then also delete it here. |
| 3118 | """Tests for the tcpactivation module.""" |
| 3119 | |
| 3120 | # twisted uses a different coding convention |
| 3121 | |
| 3122 | === modified file 'ubuntu_sso/utils/tests/test_txsecrets.py' |
| 3123 | --- ubuntu_sso/utils/tests/test_txsecrets.py 2012-02-14 21:53:58 +0000 |
| 3124 | +++ ubuntu_sso/utils/tests/test_txsecrets.py 2012-04-10 18:05:21 +0000 |
| 3125 | @@ -2,7 +2,7 @@ |
| 3126 | |
| 3127 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 3128 | # |
| 3129 | -# Copyright 2010 Canonical Ltd. |
| 3130 | +# Copyright 2010-2012 Canonical Ltd. |
| 3131 | # |
| 3132 | # This program is free software: you can redistribute it and/or modify it |
| 3133 | # under the terms of the GNU General Public License version 3, as published |
| 3134 | @@ -15,6 +15,19 @@ |
| 3135 | # |
| 3136 | # You should have received a copy of the GNU General Public License along |
| 3137 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3138 | +# |
| 3139 | +# In addition, as a special exception, the copyright holders give |
| 3140 | +# permission to link the code of portions of this program with the |
| 3141 | +# OpenSSL library under certain conditions as described in each |
| 3142 | +# individual source file, and distribute linked combinations |
| 3143 | +# including the two. |
| 3144 | +# You must obey the GNU General Public License in all respects |
| 3145 | +# for all of the code used other than OpenSSL. If you modify |
| 3146 | +# file(s) with this exception, you may extend this exception to your |
| 3147 | +# version of the file(s), but you are not obligated to do so. If you |
| 3148 | +# do not wish to do so, delete this exception statement from your |
| 3149 | +# version. If you delete this exception statement from all source |
| 3150 | +# files in the program, then also delete it here. |
| 3151 | """Tests for txkeyring.""" |
| 3152 | |
| 3153 | import logging |
| 3154 | |
| 3155 | === modified file 'ubuntu_sso/utils/tests/test_ui.py' |
| 3156 | --- ubuntu_sso/utils/tests/test_ui.py 2011-09-01 11:04:23 +0000 |
| 3157 | +++ ubuntu_sso/utils/tests/test_ui.py 2012-04-10 18:05:21 +0000 |
| 3158 | @@ -1,7 +1,7 @@ |
| 3159 | # -*- coding: utf-8 -*- |
| 3160 | # Author: Manuel de la Pena <manuel@canonical.com> |
| 3161 | # |
| 3162 | -# Copyright 2011 Canonical Ltd. |
| 3163 | +# Copyright 2011-2012 Canonical Ltd. |
| 3164 | # |
| 3165 | # This program is free software: you can redistribute it and/or modify it |
| 3166 | # under the terms of the GNU General Public License version 3, as published |
| 3167 | @@ -14,6 +14,19 @@ |
| 3168 | # |
| 3169 | # You should have received a copy of the GNU General Public License along |
| 3170 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3171 | +# |
| 3172 | +# In addition, as a special exception, the copyright holders give |
| 3173 | +# permission to link the code of portions of this program with the |
| 3174 | +# OpenSSL library under certain conditions as described in each |
| 3175 | +# individual source file, and distribute linked combinations |
| 3176 | +# including the two. |
| 3177 | +# You must obey the GNU General Public License in all respects |
| 3178 | +# for all of the code used other than OpenSSL. If you modify |
| 3179 | +# file(s) with this exception, you may extend this exception to your |
| 3180 | +# version of the file(s), but you are not obligated to do so. If you |
| 3181 | +# do not wish to do so, delete this exception statement from your |
| 3182 | +# version. If you delete this exception statement from all source |
| 3183 | +# files in the program, then also delete it here. |
| 3184 | """Test the ui functions.""" |
| 3185 | |
| 3186 | from unittest import TestCase |
| 3187 | |
| 3188 | === modified file 'ubuntu_sso/utils/tests/test_windows.py' |
| 3189 | --- ubuntu_sso/utils/tests/test_windows.py 2012-03-30 04:56:58 +0000 |
| 3190 | +++ ubuntu_sso/utils/tests/test_windows.py 2012-04-10 18:05:21 +0000 |
| 3191 | @@ -13,7 +13,19 @@ |
| 3192 | # |
| 3193 | # You should have received a copy of the GNU General Public License along |
| 3194 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3195 | - |
| 3196 | +# |
| 3197 | +# In addition, as a special exception, the copyright holders give |
| 3198 | +# permission to link the code of portions of this program with the |
| 3199 | +# OpenSSL library under certain conditions as described in each |
| 3200 | +# individual source file, and distribute linked combinations |
| 3201 | +# including the two. |
| 3202 | +# You must obey the GNU General Public License in all respects |
| 3203 | +# for all of the code used other than OpenSSL. If you modify |
| 3204 | +# file(s) with this exception, you may extend this exception to your |
| 3205 | +# version of the file(s), but you are not obligated to do so. If you |
| 3206 | +# do not wish to do so, delete this exception statement from your |
| 3207 | +# version. If you delete this exception statement from all source |
| 3208 | +# files in the program, then also delete it here. |
| 3209 | """Tests for the platform specific functions (for Windows).""" |
| 3210 | |
| 3211 | import thread |
| 3212 | |
| 3213 | === modified file 'ubuntu_sso/utils/txsecrets.py' |
| 3214 | --- ubuntu_sso/utils/txsecrets.py 2011-11-11 16:16:37 +0000 |
| 3215 | +++ ubuntu_sso/utils/txsecrets.py 2012-04-10 18:05:21 +0000 |
| 3216 | @@ -2,7 +2,7 @@ |
| 3217 | |
| 3218 | # Author: Alejandro J. Cura <alecu@canonical.com> |
| 3219 | # |
| 3220 | -# Copyright 2010 Canonical Ltd. |
| 3221 | +# Copyright 2010-2012 Canonical Ltd. |
| 3222 | # |
| 3223 | # This program is free software: you can redistribute it and/or modify it |
| 3224 | # under the terms of the GNU General Public License version 3, as published |
| 3225 | @@ -15,6 +15,19 @@ |
| 3226 | # |
| 3227 | # You should have received a copy of the GNU General Public License along |
| 3228 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3229 | +# |
| 3230 | +# In addition, as a special exception, the copyright holders give |
| 3231 | +# permission to link the code of portions of this program with the |
| 3232 | +# OpenSSL library under certain conditions as described in each |
| 3233 | +# individual source file, and distribute linked combinations |
| 3234 | +# including the two. |
| 3235 | +# You must obey the GNU General Public License in all respects |
| 3236 | +# for all of the code used other than OpenSSL. If you modify |
| 3237 | +# file(s) with this exception, you may extend this exception to your |
| 3238 | +# version of the file(s), but you are not obligated to do so. If you |
| 3239 | +# do not wish to do so, delete this exception statement from your |
| 3240 | +# version. If you delete this exception statement from all source |
| 3241 | +# files in the program, then also delete it here. |
| 3242 | """ |
| 3243 | Provides a twisted interface to access the system keyring via DBus. |
| 3244 | Implements the Secrets Service API Draft: |
| 3245 | |
| 3246 | === modified file 'ubuntu_sso/utils/ui.py' |
| 3247 | --- ubuntu_sso/utils/ui.py 2012-03-20 15:05:19 +0000 |
| 3248 | +++ ubuntu_sso/utils/ui.py 2012-04-10 18:05:21 +0000 |
| 3249 | @@ -13,6 +13,19 @@ |
| 3250 | # |
| 3251 | # You should have received a copy of the GNU General Public License along |
| 3252 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3253 | +# |
| 3254 | +# In addition, as a special exception, the copyright holders give |
| 3255 | +# permission to link the code of portions of this program with the |
| 3256 | +# OpenSSL library under certain conditions as described in each |
| 3257 | +# individual source file, and distribute linked combinations |
| 3258 | +# including the two. |
| 3259 | +# You must obey the GNU General Public License in all respects |
| 3260 | +# for all of the code used other than OpenSSL. If you modify |
| 3261 | +# file(s) with this exception, you may extend this exception to your |
| 3262 | +# version of the file(s), but you are not obligated to do so. If you |
| 3263 | +# do not wish to do so, delete this exception statement from your |
| 3264 | +# version. If you delete this exception statement from all source |
| 3265 | +# files in the program, then also delete it here. |
| 3266 | """Utils to be used by the UI modules.""" |
| 3267 | |
| 3268 | import argparse |
| 3269 | |
| 3270 | === modified file 'ubuntu_sso/utils/webclient/__init__.py' |
| 3271 | --- ubuntu_sso/utils/webclient/__init__.py 2012-03-19 23:15:58 +0000 |
| 3272 | +++ ubuntu_sso/utils/webclient/__init__.py 2012-04-10 18:05:21 +0000 |
| 3273 | @@ -1,6 +1,6 @@ |
| 3274 | # -*- coding: utf-8 -*- |
| 3275 | # |
| 3276 | -# Copyright 2011 Canonical Ltd. |
| 3277 | +# Copyright 2011-2012 Canonical Ltd. |
| 3278 | # |
| 3279 | # This program is free software: you can redistribute it and/or modify it |
| 3280 | # under the terms of the GNU General Public License version 3, as published |
| 3281 | @@ -13,6 +13,19 @@ |
| 3282 | # |
| 3283 | # You should have received a copy of the GNU General Public License along |
| 3284 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3285 | +# |
| 3286 | +# In addition, as a special exception, the copyright holders give |
| 3287 | +# permission to link the code of portions of this program with the |
| 3288 | +# OpenSSL library under certain conditions as described in each |
| 3289 | +# individual source file, and distribute linked combinations |
| 3290 | +# including the two. |
| 3291 | +# You must obey the GNU General Public License in all respects |
| 3292 | +# for all of the code used other than OpenSSL. If you modify |
| 3293 | +# file(s) with this exception, you may extend this exception to your |
| 3294 | +# version of the file(s), but you are not obligated to do so. If you |
| 3295 | +# do not wish to do so, delete this exception statement from your |
| 3296 | +# version. If you delete this exception statement from all source |
| 3297 | +# files in the program, then also delete it here. |
| 3298 | """A common webclient that can use a QtNetwork or libsoup backend.""" |
| 3299 | |
| 3300 | import sys |
| 3301 | |
| 3302 | === modified file 'ubuntu_sso/utils/webclient/common.py' |
| 3303 | --- ubuntu_sso/utils/webclient/common.py 2012-03-19 23:15:58 +0000 |
| 3304 | +++ ubuntu_sso/utils/webclient/common.py 2012-04-10 18:05:21 +0000 |
| 3305 | @@ -1,6 +1,6 @@ |
| 3306 | # -*- coding: utf-8 -*- |
| 3307 | # |
| 3308 | -# Copyright 2011 Canonical Ltd. |
| 3309 | +# Copyright 2011-2012 Canonical Ltd. |
| 3310 | # |
| 3311 | # This program is free software: you can redistribute it and/or modify it |
| 3312 | # under the terms of the GNU General Public License version 3, as published |
| 3313 | @@ -13,6 +13,19 @@ |
| 3314 | # |
| 3315 | # You should have received a copy of the GNU General Public License along |
| 3316 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3317 | +# |
| 3318 | +# In addition, as a special exception, the copyright holders give |
| 3319 | +# permission to link the code of portions of this program with the |
| 3320 | +# OpenSSL library under certain conditions as described in each |
| 3321 | +# individual source file, and distribute linked combinations |
| 3322 | +# including the two. |
| 3323 | +# You must obey the GNU General Public License in all respects |
| 3324 | +# for all of the code used other than OpenSSL. If you modify |
| 3325 | +# file(s) with this exception, you may extend this exception to your |
| 3326 | +# version of the file(s), but you are not obligated to do so. If you |
| 3327 | +# do not wish to do so, delete this exception statement from your |
| 3328 | +# version. If you delete this exception statement from all source |
| 3329 | +# files in the program, then also delete it here. |
| 3330 | """The common bits of a webclient.""" |
| 3331 | |
| 3332 | import cgi |
| 3333 | |
| 3334 | === modified file 'ubuntu_sso/utils/webclient/gsettings.py' |
| 3335 | --- ubuntu_sso/utils/webclient/gsettings.py 2012-04-02 11:44:31 +0000 |
| 3336 | +++ ubuntu_sso/utils/webclient/gsettings.py 2012-04-10 18:05:21 +0000 |
| 3337 | @@ -1,6 +1,6 @@ |
| 3338 | # -*- coding: utf-8 -*- |
| 3339 | # |
| 3340 | -# Copyright 2011 Canonical Ltd. |
| 3341 | +# Copyright 2011-2012 Canonical Ltd. |
| 3342 | # |
| 3343 | # This program is free software: you can redistribute it and/or modify it |
| 3344 | # under the terms of the GNU General Public License version 3, as published |
| 3345 | @@ -13,6 +13,19 @@ |
| 3346 | # |
| 3347 | # You should have received a copy of the GNU General Public License along |
| 3348 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3349 | +# |
| 3350 | +# In addition, as a special exception, the copyright holders give |
| 3351 | +# permission to link the code of portions of this program with the |
| 3352 | +# OpenSSL library under certain conditions as described in each |
| 3353 | +# individual source file, and distribute linked combinations |
| 3354 | +# including the two. |
| 3355 | +# You must obey the GNU General Public License in all respects |
| 3356 | +# for all of the code used other than OpenSSL. If you modify |
| 3357 | +# file(s) with this exception, you may extend this exception to your |
| 3358 | +# version of the file(s), but you are not obligated to do so. If you |
| 3359 | +# do not wish to do so, delete this exception statement from your |
| 3360 | +# version. If you delete this exception statement from all source |
| 3361 | +# files in the program, then also delete it here. |
| 3362 | """Retrieve the proxy configuration from Gnome.""" |
| 3363 | |
| 3364 | import subprocess |
| 3365 | |
| 3366 | === modified file 'ubuntu_sso/utils/webclient/libsoup.py' |
| 3367 | --- ubuntu_sso/utils/webclient/libsoup.py 2012-03-09 11:47:38 +0000 |
| 3368 | +++ ubuntu_sso/utils/webclient/libsoup.py 2012-04-10 18:05:21 +0000 |
| 3369 | @@ -1,6 +1,6 @@ |
| 3370 | # -*- coding: utf-8 -*- |
| 3371 | # |
| 3372 | -# Copyright 2011 Canonical Ltd. |
| 3373 | +# Copyright 2011-2012 Canonical Ltd. |
| 3374 | # |
| 3375 | # This program is free software: you can redistribute it and/or modify it |
| 3376 | # under the terms of the GNU General Public License version 3, as published |
| 3377 | @@ -13,6 +13,19 @@ |
| 3378 | # |
| 3379 | # You should have received a copy of the GNU General Public License along |
| 3380 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3381 | +# |
| 3382 | +# In addition, as a special exception, the copyright holders give |
| 3383 | +# permission to link the code of portions of this program with the |
| 3384 | +# OpenSSL library under certain conditions as described in each |
| 3385 | +# individual source file, and distribute linked combinations |
| 3386 | +# including the two. |
| 3387 | +# You must obey the GNU General Public License in all respects |
| 3388 | +# for all of the code used other than OpenSSL. If you modify |
| 3389 | +# file(s) with this exception, you may extend this exception to your |
| 3390 | +# version of the file(s), but you are not obligated to do so. If you |
| 3391 | +# do not wish to do so, delete this exception statement from your |
| 3392 | +# version. If you delete this exception statement from all source |
| 3393 | +# files in the program, then also delete it here. |
| 3394 | """A webclient backend that uses libsoup.""" |
| 3395 | |
| 3396 | import httplib |
| 3397 | |
| 3398 | === modified file 'ubuntu_sso/utils/webclient/qtnetwork.py' |
| 3399 | --- ubuntu_sso/utils/webclient/qtnetwork.py 2012-03-29 09:25:11 +0000 |
| 3400 | +++ ubuntu_sso/utils/webclient/qtnetwork.py 2012-04-10 18:05:21 +0000 |
| 3401 | @@ -1,6 +1,6 @@ |
| 3402 | # -*- coding: utf-8 -*- |
| 3403 | # |
| 3404 | -# Copyright 2011 Canonical Ltd. |
| 3405 | +# Copyright 2011-2012 Canonical Ltd. |
| 3406 | # |
| 3407 | # This program is free software: you can redistribute it and/or modify it |
| 3408 | # under the terms of the GNU General Public License version 3, as published |
| 3409 | @@ -13,6 +13,19 @@ |
| 3410 | # |
| 3411 | # You should have received a copy of the GNU General Public License along |
| 3412 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3413 | +# |
| 3414 | +# In addition, as a special exception, the copyright holders give |
| 3415 | +# permission to link the code of portions of this program with the |
| 3416 | +# OpenSSL library under certain conditions as described in each |
| 3417 | +# individual source file, and distribute linked combinations |
| 3418 | +# including the two. |
| 3419 | +# You must obey the GNU General Public License in all respects |
| 3420 | +# for all of the code used other than OpenSSL. If you modify |
| 3421 | +# file(s) with this exception, you may extend this exception to your |
| 3422 | +# version of the file(s), but you are not obligated to do so. If you |
| 3423 | +# do not wish to do so, delete this exception statement from your |
| 3424 | +# version. If you delete this exception statement from all source |
| 3425 | +# files in the program, then also delete it here. |
| 3426 | """A webclient backend that uses QtNetwork.""" |
| 3427 | |
| 3428 | import sys |
| 3429 | |
| 3430 | === modified file 'ubuntu_sso/utils/webclient/restful.py' |
| 3431 | --- ubuntu_sso/utils/webclient/restful.py 2012-01-26 21:58:58 +0000 |
| 3432 | +++ ubuntu_sso/utils/webclient/restful.py 2012-04-10 18:05:21 +0000 |
| 3433 | @@ -1,6 +1,6 @@ |
| 3434 | # -*- coding: utf-8 -*- |
| 3435 | # |
| 3436 | -# Copyright 2011 Canonical Ltd. |
| 3437 | +# Copyright 2011-2012 Canonical Ltd. |
| 3438 | # |
| 3439 | # This program is free software: you can redistribute it and/or modify it |
| 3440 | # under the terms of the GNU General Public License version 3, as published |
| 3441 | @@ -13,6 +13,19 @@ |
| 3442 | # |
| 3443 | # You should have received a copy of the GNU General Public License along |
| 3444 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3445 | +# |
| 3446 | +# In addition, as a special exception, the copyright holders give |
| 3447 | +# permission to link the code of portions of this program with the |
| 3448 | +# OpenSSL library under certain conditions as described in each |
| 3449 | +# individual source file, and distribute linked combinations |
| 3450 | +# including the two. |
| 3451 | +# You must obey the GNU General Public License in all respects |
| 3452 | +# for all of the code used other than OpenSSL. If you modify |
| 3453 | +# file(s) with this exception, you may extend this exception to your |
| 3454 | +# version of the file(s), but you are not obligated to do so. If you |
| 3455 | +# do not wish to do so, delete this exception statement from your |
| 3456 | +# version. If you delete this exception statement from all source |
| 3457 | +# files in the program, then also delete it here. |
| 3458 | """A proxy-enabled restful client.""" |
| 3459 | |
| 3460 | import json |
| 3461 | |
| 3462 | === modified file 'ubuntu_sso/utils/webclient/tests/__init__.py' |
| 3463 | --- ubuntu_sso/utils/webclient/tests/__init__.py 2012-03-09 12:04:31 +0000 |
| 3464 | +++ ubuntu_sso/utils/webclient/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 3465 | @@ -1,6 +1,6 @@ |
| 3466 | # -*- coding: utf-8 -*- |
| 3467 | # |
| 3468 | -# Copyright 2011 Canonical Ltd. |
| 3469 | +# Copyright 2011-2012 Canonical Ltd. |
| 3470 | # |
| 3471 | # This program is free software: you can redistribute it and/or modify it |
| 3472 | # under the terms of the GNU General Public License version 3, as published |
| 3473 | @@ -13,7 +13,19 @@ |
| 3474 | # |
| 3475 | # You should have received a copy of the GNU General Public License along |
| 3476 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3477 | - |
| 3478 | +# |
| 3479 | +# In addition, as a special exception, the copyright holders give |
| 3480 | +# permission to link the code of portions of this program with the |
| 3481 | +# OpenSSL library under certain conditions as described in each |
| 3482 | +# individual source file, and distribute linked combinations |
| 3483 | +# including the two. |
| 3484 | +# You must obey the GNU General Public License in all respects |
| 3485 | +# for all of the code used other than OpenSSL. If you modify |
| 3486 | +# file(s) with this exception, you may extend this exception to your |
| 3487 | +# version of the file(s), but you are not obligated to do so. If you |
| 3488 | +# do not wish to do so, delete this exception statement from your |
| 3489 | +# version. If you delete this exception statement from all source |
| 3490 | +# files in the program, then also delete it here. |
| 3491 | """Tests for the proxy-aware webclient.""" |
| 3492 | |
| 3493 | from twisted.application import internet, service |
| 3494 | |
| 3495 | === modified file 'ubuntu_sso/utils/webclient/tests/test_gsettings.py' |
| 3496 | --- ubuntu_sso/utils/webclient/tests/test_gsettings.py 2012-04-02 11:44:31 +0000 |
| 3497 | +++ ubuntu_sso/utils/webclient/tests/test_gsettings.py 2012-04-10 18:05:21 +0000 |
| 3498 | @@ -1,6 +1,6 @@ |
| 3499 | # -*- coding: utf-8 -*- |
| 3500 | # |
| 3501 | -# Copyright 2011 Canonical Ltd. |
| 3502 | +# Copyright 2011-2012 Canonical Ltd. |
| 3503 | # |
| 3504 | # This program is free software: you can redistribute it and/or modify it |
| 3505 | # under the terms of the GNU General Public License version 3, as published |
| 3506 | @@ -13,6 +13,19 @@ |
| 3507 | # |
| 3508 | # You should have received a copy of the GNU General Public License along |
| 3509 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3510 | +# |
| 3511 | +# In addition, as a special exception, the copyright holders give |
| 3512 | +# permission to link the code of portions of this program with the |
| 3513 | +# OpenSSL library under certain conditions as described in each |
| 3514 | +# individual source file, and distribute linked combinations |
| 3515 | +# including the two. |
| 3516 | +# You must obey the GNU General Public License in all respects |
| 3517 | +# for all of the code used other than OpenSSL. If you modify |
| 3518 | +# file(s) with this exception, you may extend this exception to your |
| 3519 | +# version of the file(s), but you are not obligated to do so. If you |
| 3520 | +# do not wish to do so, delete this exception statement from your |
| 3521 | +# version. If you delete this exception statement from all source |
| 3522 | +# files in the program, then also delete it here. |
| 3523 | """Test the gsettings parser.""" |
| 3524 | |
| 3525 | from twisted.trial.unittest import TestCase |
| 3526 | |
| 3527 | === modified file 'ubuntu_sso/utils/webclient/tests/test_qtnetwork.py' |
| 3528 | --- ubuntu_sso/utils/webclient/tests/test_qtnetwork.py 2012-03-22 12:08:15 +0000 |
| 3529 | +++ ubuntu_sso/utils/webclient/tests/test_qtnetwork.py 2012-04-10 18:05:21 +0000 |
| 3530 | @@ -1,6 +1,6 @@ |
| 3531 | # -*- coding: utf-8 -*- |
| 3532 | # |
| 3533 | -# Copyright 2011 Canonical Ltd. |
| 3534 | +# Copyright 2011-2012 Canonical Ltd. |
| 3535 | # |
| 3536 | # This program is free software: you can redistribute it and/or modify it |
| 3537 | # under the terms of the GNU General Public License version 3, as published |
| 3538 | @@ -13,6 +13,19 @@ |
| 3539 | # |
| 3540 | # You should have received a copy of the GNU General Public License along |
| 3541 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3542 | +# |
| 3543 | +# In addition, as a special exception, the copyright holders give |
| 3544 | +# permission to link the code of portions of this program with the |
| 3545 | +# OpenSSL library under certain conditions as described in each |
| 3546 | +# individual source file, and distribute linked combinations |
| 3547 | +# including the two. |
| 3548 | +# You must obey the GNU General Public License in all respects |
| 3549 | +# for all of the code used other than OpenSSL. If you modify |
| 3550 | +# file(s) with this exception, you may extend this exception to your |
| 3551 | +# version of the file(s), but you are not obligated to do so. If you |
| 3552 | +# do not wish to do so, delete this exception statement from your |
| 3553 | +# version. If you delete this exception statement from all source |
| 3554 | +# files in the program, then also delete it here. |
| 3555 | """Specific tests for the qt implementation.""" |
| 3556 | |
| 3557 | from twisted.internet import defer |
| 3558 | |
| 3559 | === modified file 'ubuntu_sso/utils/webclient/tests/test_restful.py' |
| 3560 | --- ubuntu_sso/utils/webclient/tests/test_restful.py 2012-01-28 00:00:11 +0000 |
| 3561 | +++ ubuntu_sso/utils/webclient/tests/test_restful.py 2012-04-10 18:05:21 +0000 |
| 3562 | @@ -1,6 +1,6 @@ |
| 3563 | # -*- coding: utf-8 -*- |
| 3564 | # |
| 3565 | -# Copyright 2011 Canonical Ltd. |
| 3566 | +# Copyright 2011-2012 Canonical Ltd. |
| 3567 | # |
| 3568 | # This program is free software: you can redistribute it and/or modify it |
| 3569 | # under the terms of the GNU General Public License version 3, as published |
| 3570 | @@ -13,6 +13,19 @@ |
| 3571 | # |
| 3572 | # You should have received a copy of the GNU General Public License along |
| 3573 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3574 | +# |
| 3575 | +# In addition, as a special exception, the copyright holders give |
| 3576 | +# permission to link the code of portions of this program with the |
| 3577 | +# OpenSSL library under certain conditions as described in each |
| 3578 | +# individual source file, and distribute linked combinations |
| 3579 | +# including the two. |
| 3580 | +# You must obey the GNU General Public License in all respects |
| 3581 | +# for all of the code used other than OpenSSL. If you modify |
| 3582 | +# file(s) with this exception, you may extend this exception to your |
| 3583 | +# version of the file(s), but you are not obligated to do so. If you |
| 3584 | +# do not wish to do so, delete this exception statement from your |
| 3585 | +# version. If you delete this exception statement from all source |
| 3586 | +# files in the program, then also delete it here. |
| 3587 | """Tests for the proxy-enabled restful client.""" |
| 3588 | |
| 3589 | import urlparse |
| 3590 | |
| 3591 | === modified file 'ubuntu_sso/utils/webclient/tests/test_timestamp.py' |
| 3592 | --- ubuntu_sso/utils/webclient/tests/test_timestamp.py 2012-02-01 18:58:00 +0000 |
| 3593 | +++ ubuntu_sso/utils/webclient/tests/test_timestamp.py 2012-04-10 18:05:21 +0000 |
| 3594 | @@ -13,6 +13,19 @@ |
| 3595 | # |
| 3596 | # You should have received a copy of the GNU General Public License along |
| 3597 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3598 | +# |
| 3599 | +# In addition, as a special exception, the copyright holders give |
| 3600 | +# permission to link the code of portions of this program with the |
| 3601 | +# OpenSSL library under certain conditions as described in each |
| 3602 | +# individual source file, and distribute linked combinations |
| 3603 | +# including the two. |
| 3604 | +# You must obey the GNU General Public License in all respects |
| 3605 | +# for all of the code used other than OpenSSL. If you modify |
| 3606 | +# file(s) with this exception, you may extend this exception to your |
| 3607 | +# version of the file(s), but you are not obligated to do so. If you |
| 3608 | +# do not wish to do so, delete this exception statement from your |
| 3609 | +# version. If you delete this exception statement from all source |
| 3610 | +# files in the program, then also delete it here. |
| 3611 | """Tests for the timestamp sync classes.""" |
| 3612 | |
| 3613 | from twisted.internet import defer |
| 3614 | |
| 3615 | === modified file 'ubuntu_sso/utils/webclient/tests/test_webclient.py' |
| 3616 | --- ubuntu_sso/utils/webclient/tests/test_webclient.py 2012-03-26 14:28:10 +0000 |
| 3617 | +++ ubuntu_sso/utils/webclient/tests/test_webclient.py 2012-04-10 18:05:21 +0000 |
| 3618 | @@ -1,6 +1,6 @@ |
| 3619 | # -*- coding: utf-8 -*- |
| 3620 | # |
| 3621 | -# Copyright 2011 Canonical Ltd. |
| 3622 | +# Copyright 2011-2012 Canonical Ltd. |
| 3623 | # |
| 3624 | # This program is free software: you can redistribute it and/or modify it |
| 3625 | # under the terms of the GNU General Public License version 3, as published |
| 3626 | @@ -13,6 +13,19 @@ |
| 3627 | # |
| 3628 | # You should have received a copy of the GNU General Public License along |
| 3629 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3630 | +# |
| 3631 | +# In addition, as a special exception, the copyright holders give |
| 3632 | +# permission to link the code of portions of this program with the |
| 3633 | +# OpenSSL library under certain conditions as described in each |
| 3634 | +# individual source file, and distribute linked combinations |
| 3635 | +# including the two. |
| 3636 | +# You must obey the GNU General Public License in all respects |
| 3637 | +# for all of the code used other than OpenSSL. If you modify |
| 3638 | +# file(s) with this exception, you may extend this exception to your |
| 3639 | +# version of the file(s), but you are not obligated to do so. If you |
| 3640 | +# do not wish to do so, delete this exception statement from your |
| 3641 | +# version. If you delete this exception statement from all source |
| 3642 | +# files in the program, then also delete it here. |
| 3643 | """Integration tests for the proxy-enabled webclient.""" |
| 3644 | |
| 3645 | import os |
| 3646 | |
| 3647 | === modified file 'ubuntu_sso/utils/webclient/timestamp.py' |
| 3648 | --- ubuntu_sso/utils/webclient/timestamp.py 2012-02-06 19:57:46 +0000 |
| 3649 | +++ ubuntu_sso/utils/webclient/timestamp.py 2012-04-10 18:05:21 +0000 |
| 3650 | @@ -13,6 +13,19 @@ |
| 3651 | # |
| 3652 | # You should have received a copy of the GNU General Public License along |
| 3653 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3654 | +# |
| 3655 | +# In addition, as a special exception, the copyright holders give |
| 3656 | +# permission to link the code of portions of this program with the |
| 3657 | +# OpenSSL library under certain conditions as described in each |
| 3658 | +# individual source file, and distribute linked combinations |
| 3659 | +# including the two. |
| 3660 | +# You must obey the GNU General Public License in all respects |
| 3661 | +# for all of the code used other than OpenSSL. If you modify |
| 3662 | +# file(s) with this exception, you may extend this exception to your |
| 3663 | +# version of the file(s), but you are not obligated to do so. If you |
| 3664 | +# do not wish to do so, delete this exception statement from your |
| 3665 | +# version. If you delete this exception statement from all source |
| 3666 | +# files in the program, then also delete it here. |
| 3667 | """Timestamp synchronization with the server.""" |
| 3668 | |
| 3669 | import time |
| 3670 | |
| 3671 | === modified file 'ubuntu_sso/utils/webclient/txweb.py' |
| 3672 | --- ubuntu_sso/utils/webclient/txweb.py 2012-03-14 19:20:55 +0000 |
| 3673 | +++ ubuntu_sso/utils/webclient/txweb.py 2012-04-10 18:05:21 +0000 |
| 3674 | @@ -1,6 +1,6 @@ |
| 3675 | # -*- coding: utf-8 -*- |
| 3676 | # |
| 3677 | -# Copyright 2011 Canonical Ltd. |
| 3678 | +# Copyright 2011-2012 Canonical Ltd. |
| 3679 | # |
| 3680 | # This program is free software: you can redistribute it and/or modify it |
| 3681 | # under the terms of the GNU General Public License version 3, as published |
| 3682 | @@ -13,6 +13,19 @@ |
| 3683 | # |
| 3684 | # You should have received a copy of the GNU General Public License along |
| 3685 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3686 | +# |
| 3687 | +# In addition, as a special exception, the copyright holders give |
| 3688 | +# permission to link the code of portions of this program with the |
| 3689 | +# OpenSSL library under certain conditions as described in each |
| 3690 | +# individual source file, and distribute linked combinations |
| 3691 | +# including the two. |
| 3692 | +# You must obey the GNU General Public License in all respects |
| 3693 | +# for all of the code used other than OpenSSL. If you modify |
| 3694 | +# file(s) with this exception, you may extend this exception to your |
| 3695 | +# version of the file(s), but you are not obligated to do so. If you |
| 3696 | +# do not wish to do so, delete this exception statement from your |
| 3697 | +# version. If you delete this exception statement from all source |
| 3698 | +# files in the program, then also delete it here. |
| 3699 | """A webclient backend that uses twisted.web.client.""" |
| 3700 | |
| 3701 | import base64 |
| 3702 | |
| 3703 | === modified file 'ubuntu_sso/utils/windows.py' |
| 3704 | --- ubuntu_sso/utils/windows.py 2012-03-30 03:26:58 +0000 |
| 3705 | +++ ubuntu_sso/utils/windows.py 2012-04-10 18:05:21 +0000 |
| 3706 | @@ -13,7 +13,19 @@ |
| 3707 | # |
| 3708 | # You should have received a copy of the GNU General Public License along |
| 3709 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3710 | - |
| 3711 | +# |
| 3712 | +# In addition, as a special exception, the copyright holders give |
| 3713 | +# permission to link the code of portions of this program with the |
| 3714 | +# OpenSSL library under certain conditions as described in each |
| 3715 | +# individual source file, and distribute linked combinations |
| 3716 | +# including the two. |
| 3717 | +# You must obey the GNU General Public License in all respects |
| 3718 | +# for all of the code used other than OpenSSL. If you modify |
| 3719 | +# file(s) with this exception, you may extend this exception to your |
| 3720 | +# version of the file(s), but you are not obligated to do so. If you |
| 3721 | +# do not wish to do so, delete this exception statement from your |
| 3722 | +# version. If you delete this exception statement from all source |
| 3723 | +# files in the program, then also delete it here. |
| 3724 | """Platform specific constants and functions (for Windows).""" |
| 3725 | |
| 3726 | PLATFORM_QSS = ":/windows.qss" |
| 3727 | |
| 3728 | === modified file 'ubuntu_sso/xdg_base_directory/__init__.py' |
| 3729 | --- ubuntu_sso/xdg_base_directory/__init__.py 2011-11-10 13:51:50 +0000 |
| 3730 | +++ ubuntu_sso/xdg_base_directory/__init__.py 2012-04-10 18:05:21 +0000 |
| 3731 | @@ -1,6 +1,6 @@ |
| 3732 | # -*- coding: utf-8 -*- |
| 3733 | # |
| 3734 | -# Copyright 2011 Canonical Ltd. |
| 3735 | +# Copyright 2011-2012 Canonical Ltd. |
| 3736 | # |
| 3737 | # This program is free software: you can redistribute it and/or modify it |
| 3738 | # under the terms of the GNU General Public License version 3, as published |
| 3739 | @@ -13,7 +13,19 @@ |
| 3740 | # |
| 3741 | # You should have received a copy of the GNU General Public License along |
| 3742 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3743 | - |
| 3744 | +# |
| 3745 | +# In addition, as a special exception, the copyright holders give |
| 3746 | +# permission to link the code of portions of this program with the |
| 3747 | +# OpenSSL library under certain conditions as described in each |
| 3748 | +# individual source file, and distribute linked combinations |
| 3749 | +# including the two. |
| 3750 | +# You must obey the GNU General Public License in all respects |
| 3751 | +# for all of the code used other than OpenSSL. If you modify |
| 3752 | +# file(s) with this exception, you may extend this exception to your |
| 3753 | +# version of the file(s), but you are not obligated to do so. If you |
| 3754 | +# do not wish to do so, delete this exception statement from your |
| 3755 | +# version. If you delete this exception statement from all source |
| 3756 | +# files in the program, then also delete it here. |
| 3757 | """XDG multiplatform.""" |
| 3758 | |
| 3759 | import os |
| 3760 | |
| 3761 | === modified file 'ubuntu_sso/xdg_base_directory/tests/__init__.py' |
| 3762 | --- ubuntu_sso/xdg_base_directory/tests/__init__.py 2011-08-23 15:33:45 +0000 |
| 3763 | +++ ubuntu_sso/xdg_base_directory/tests/__init__.py 2012-04-10 18:05:21 +0000 |
| 3764 | @@ -1,6 +1,6 @@ |
| 3765 | # ubuntu_sso - Ubuntu Single Sign On client support for desktop apps |
| 3766 | # |
| 3767 | -# Copyright 2009-2010 Canonical Ltd. |
| 3768 | +# Copyright 2009-2012 Canonical Ltd. |
| 3769 | # |
| 3770 | # This program is free software: you can redistribute it and/or modify it |
| 3771 | # under the terms of the GNU General Public License version 3, as published |
| 3772 | @@ -13,4 +13,17 @@ |
| 3773 | # |
| 3774 | # You should have received a copy of the GNU General Public License along |
| 3775 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3776 | +# |
| 3777 | +# In addition, as a special exception, the copyright holders give |
| 3778 | +# permission to link the code of portions of this program with the |
| 3779 | +# OpenSSL library under certain conditions as described in each |
| 3780 | +# individual source file, and distribute linked combinations |
| 3781 | +# including the two. |
| 3782 | +# You must obey the GNU General Public License in all respects |
| 3783 | +# for all of the code used other than OpenSSL. If you modify |
| 3784 | +# file(s) with this exception, you may extend this exception to your |
| 3785 | +# version of the file(s), but you are not obligated to do so. If you |
| 3786 | +# do not wish to do so, delete this exception statement from your |
| 3787 | +# version. If you delete this exception statement from all source |
| 3788 | +# files in the program, then also delete it here. |
| 3789 | """XDG tests.""" |
| 3790 | |
| 3791 | === modified file 'ubuntu_sso/xdg_base_directory/tests/test_common.py' |
| 3792 | --- ubuntu_sso/xdg_base_directory/tests/test_common.py 2011-11-10 13:51:50 +0000 |
| 3793 | +++ ubuntu_sso/xdg_base_directory/tests/test_common.py 2012-04-10 18:05:21 +0000 |
| 3794 | @@ -2,7 +2,7 @@ |
| 3795 | # |
| 3796 | # Authors: Natalia B. Bidart <natalia.bidart@canonical.com> |
| 3797 | # |
| 3798 | -# Copyright 2011 Canonical Ltd. |
| 3799 | +# Copyright 2011-2012 Canonical Ltd. |
| 3800 | # |
| 3801 | # This program is free software: you can redistribute it and/or modify it |
| 3802 | # under the terms of the GNU General Public License version 3, as published |
| 3803 | @@ -15,7 +15,19 @@ |
| 3804 | # |
| 3805 | # You should have received a copy of the GNU General Public License along |
| 3806 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3807 | - |
| 3808 | +# |
| 3809 | +# In addition, as a special exception, the copyright holders give |
| 3810 | +# permission to link the code of portions of this program with the |
| 3811 | +# OpenSSL library under certain conditions as described in each |
| 3812 | +# individual source file, and distribute linked combinations |
| 3813 | +# including the two. |
| 3814 | +# You must obey the GNU General Public License in all respects |
| 3815 | +# for all of the code used other than OpenSSL. If you modify |
| 3816 | +# file(s) with this exception, you may extend this exception to your |
| 3817 | +# version of the file(s), but you are not obligated to do so. If you |
| 3818 | +# do not wish to do so, delete this exception statement from your |
| 3819 | +# version. If you delete this exception statement from all source |
| 3820 | +# files in the program, then also delete it here. |
| 3821 | """Platform independent tests for the XDG constants.""" |
| 3822 | |
| 3823 | import os |
| 3824 | |
| 3825 | === modified file 'ubuntu_sso/xdg_base_directory/tests/test_windows.py' |
| 3826 | --- ubuntu_sso/xdg_base_directory/tests/test_windows.py 2011-11-09 21:21:47 +0000 |
| 3827 | +++ ubuntu_sso/xdg_base_directory/tests/test_windows.py 2012-04-10 18:05:21 +0000 |
| 3828 | @@ -1,6 +1,6 @@ |
| 3829 | # -*- coding: utf-8 -*- |
| 3830 | # |
| 3831 | -# Copyright 2011 Canonical Ltd. |
| 3832 | +# Copyright 2011-2012 Canonical Ltd. |
| 3833 | # |
| 3834 | # This program is free software: you can redistribute it and/or modify it |
| 3835 | # under the terms of the GNU General Public License version 3, as published |
| 3836 | @@ -13,7 +13,19 @@ |
| 3837 | # |
| 3838 | # You should have received a copy of the GNU General Public License along |
| 3839 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3840 | - |
| 3841 | +# |
| 3842 | +# In addition, as a special exception, the copyright holders give |
| 3843 | +# permission to link the code of portions of this program with the |
| 3844 | +# OpenSSL library under certain conditions as described in each |
| 3845 | +# individual source file, and distribute linked combinations |
| 3846 | +# including the two. |
| 3847 | +# You must obey the GNU General Public License in all respects |
| 3848 | +# for all of the code used other than OpenSSL. If you modify |
| 3849 | +# file(s) with this exception, you may extend this exception to your |
| 3850 | +# version of the file(s), but you are not obligated to do so. If you |
| 3851 | +# do not wish to do so, delete this exception statement from your |
| 3852 | +# version. If you delete this exception statement from all source |
| 3853 | +# files in the program, then also delete it here. |
| 3854 | """Windows-specific tests for the XDG constants.""" |
| 3855 | |
| 3856 | import os |
| 3857 | |
| 3858 | === modified file 'ubuntu_sso/xdg_base_directory/windows.py' |
| 3859 | --- ubuntu_sso/xdg_base_directory/windows.py 2011-11-10 14:57:01 +0000 |
| 3860 | +++ ubuntu_sso/xdg_base_directory/windows.py 2012-04-10 18:05:21 +0000 |
| 3861 | @@ -1,6 +1,6 @@ |
| 3862 | # -*- coding: utf-8 -*- |
| 3863 | # |
| 3864 | -# Copyright 2011 Canonical Ltd. |
| 3865 | +# Copyright 2011-2012 Canonical Ltd. |
| 3866 | # |
| 3867 | # This program is free software: you can redistribute it and/or modify it |
| 3868 | # under the terms of the GNU General Public License version 3, as published |
| 3869 | @@ -13,7 +13,19 @@ |
| 3870 | # |
| 3871 | # You should have received a copy of the GNU General Public License along |
| 3872 | # with this program. If not, see <http://www.gnu.org/licenses/>. |
| 3873 | - |
| 3874 | +# |
| 3875 | +# In addition, as a special exception, the copyright holders give |
| 3876 | +# permission to link the code of portions of this program with the |
| 3877 | +# OpenSSL library under certain conditions as described in each |
| 3878 | +# individual source file, and distribute linked combinations |
| 3879 | +# including the two. |
| 3880 | +# You must obey the GNU General Public License in all respects |
| 3881 | +# for all of the code used other than OpenSSL. If you modify |
| 3882 | +# file(s) with this exception, you may extend this exception to your |
| 3883 | +# version of the file(s), but you are not obligated to do so. If you |
| 3884 | +# do not wish to do so, delete this exception statement from your |
| 3885 | +# version. If you delete this exception statement from all source |
| 3886 | +# files in the program, then also delete it here. |
| 3887 | """XDG helpers for windows.""" |
| 3888 | |
| 3889 | import os |

+1