diff --git a/addons/auth_oauth/__openerp__.py b/addons/auth_oauth/__openerp__.py index 76f15687eb94e0dad836c9f91b1bd1a81890b2a2..64068fa9b5e1ecc9f0b22cbffa6811af9d6b6864 100644 --- a/addons/auth_oauth/__openerp__.py +++ b/addons/auth_oauth/__openerp__.py @@ -31,7 +31,7 @@ Allow users to login through OAuth2 Provider. 'author': 'OpenERP s.a.', 'maintainer': 'OpenERP s.a.', 'website': 'http://www.openerp.com', - 'depends': ['base', 'web', 'base_setup'], + 'depends': ['base', 'web', 'base_setup', 'auth_signup'], 'data': [ 'res_users.xml', 'auth_oauth_data.xml', diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index e660fd8363bf2b9df648415f2bf0999986444924..2672d95ccde3e403bdc4c57d9a956f62375ec5ce 100644 --- a/addons/auth_oauth/controllers/main.py +++ b/addons/auth_oauth/controllers/main.py @@ -61,10 +61,14 @@ class OAuthLogin(openerp.addons.web.controllers.main.Home): return providers def get_state(self, provider): - return dict( + state = dict( d=request.session.db, p=provider['id'] ) + token = request.params.get('token') + if token: + state['t'] = token + return state @http.route() def web_login(self, *args, **kw): @@ -88,6 +92,26 @@ class OAuthLogin(openerp.addons.web.controllers.main.Home): return response + @http.route() + def web_auth_signup(self, *args, **kw): + providers = self.list_providers() + if len(providers) == 1: + werkzeug.exceptions.abort(werkzeug.utils.redirect(providers[0]['auth_link'], 303)) + response = super(OAuthLogin, self).web_auth_signup(*args, **kw) + if isinstance(response, LazyResponse): + response.params['values'].update(providers=providers) + return response + + @http.route() + def web_auth_reset_password(self, *args, **kw): + providers = self.list_providers() + if len(providers) == 1: + werkzeug.exceptions.abort(werkzeug.utils.redirect(providers[0]['auth_link'], 303)) + response = super(OAuthLogin, self).web_auth_reset_password(*args, **kw) + if isinstance(response, LazyResponse): + response.params['values'].update(providers=providers) + return response + class OAuthController(http.Controller): @http.route('/auth_oauth/signin', type='http', auth='none') diff --git a/addons/auth_oauth/res_users.py b/addons/auth_oauth/res_users.py index f58473b24a4b18dedf8b94944ff25b4e67666a07..8d57a23f7028206562552277e211c7234e5a89fb 100644 --- a/addons/auth_oauth/res_users.py +++ b/addons/auth_oauth/res_users.py @@ -6,6 +6,7 @@ import urllib2 import simplejson import openerp +from openerp.addons.auth_signup.res_users import SignupError from openerp.osv import osv, fields from openerp import SUPERUSER_ID @@ -55,14 +56,37 @@ class res_users(osv.Model): This method can be overridden to add alternative signin methods. """ - oauth_uid = validation['user_id'] - user_ids = self.search(cr, uid, [("oauth_uid", "=", oauth_uid), ('oauth_provider_id', '=', provider)]) - if not user_ids: - raise openerp.exceptions.AccessDenied() - assert len(user_ids) == 1 - user = self.browse(cr, uid, user_ids[0], context=context) - user.write({'oauth_access_token': params['access_token']}) - return user.login + try: + oauth_uid = validation['user_id'] + user_ids = self.search(cr, uid, [("oauth_uid", "=", oauth_uid), ('oauth_provider_id', '=', provider)]) + if not user_ids: + raise openerp.exceptions.AccessDenied() + assert len(user_ids) == 1 + user = self.browse(cr, uid, user_ids[0], context=context) + user.write({'oauth_access_token': params['access_token']}) + return user.login + except openerp.exceptions.AccessDenied, access_denied_exception: + if context and context.get('no_user_creation'): + return None + state = simplejson.loads(params['state']) + token = state.get('t') + oauth_uid = validation['user_id'] + email = validation.get('email', 'provider_%s_user_%s' % (provider, oauth_uid)) + name = validation.get('name', email) + values = { + 'name': name, + 'login': email, + 'email': email, + 'oauth_provider_id': provider, + 'oauth_uid': oauth_uid, + 'oauth_access_token': params['access_token'], + 'active': True, + } + try: + _, login, _ = self.signup(cr, uid, values, token, context=context) + return login + except SignupError: + raise access_denied_exception def auth_oauth(self, cr, uid, provider, params, context=None): # Advice by Google (to avoid Confused Deputy Problem) diff --git a/addons/auth_oauth/views/auth_oauth_login.xml b/addons/auth_oauth/views/auth_oauth_login.xml index f969d2f5eedb6796da6e020db7a83724a703b64f..6c5deca924cb611be9167d6564a7f2b99c6474ae 100644 --- a/addons/auth_oauth/views/auth_oauth_login.xml +++ b/addons/auth_oauth/views/auth_oauth_login.xml @@ -3,15 +3,35 @@ --> <openerp> <data> + <template id="auth_oauth.providers" name="OAuth Providers"> + <div t-foreach="providers" t-as="p"> + <a t-att-href="p['auth_link']" class="btn btn-link"> + <i t-att-class="p['css_class']"/> + <t t-esc="p['body']"/> + </a> + </div> + </template> + <template id="auth_oauth.login" inherit_id="web.login" name="OAuth Login buttons"> <xpath expr="//button[@type='submit']" position="before"> <div class="pull-right"> - <div t-foreach="providers" t-as="p"> - <a t-att-href="p['auth_link']" class="btn btn-link"> - <i t-att-class="p['css_class']"/> - <t t-esc="p['body']"/> - </a> - </div> + <t t-call="auth_oauth.providers"/> + </div> + </xpath> + </template> + + <template id="auth_oauth.signup" inherit_id="auth_signup.signup" name="OAuth Signup buttons"> + <xpath expr="//button[@type='submit']" position="before"> + <div class="pull-right"> + <t t-call="auth_oauth.providers"/> + </div> + </xpath> + </template> + + <template id="auth_oauth.reset_password" inherit_id="auth_signup.reset_password" name="OAuth Reset Password buttons"> + <xpath expr="//button[@type='submit']" position="before"> + <div class="pull-right"> + <t t-call="auth_oauth.providers"/> </div> </xpath> </template> diff --git a/addons/auth_oauth_signup/__init__.py b/addons/auth_oauth_signup/__init__.py deleted file mode 100644 index 7c73af367bdbe5873bc2752f9b51defeb6ed428c..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA (<http://www.openerp.com>) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/> -# -############################################################################## - -import res_users -import controllers diff --git a/addons/auth_oauth_signup/__openerp__.py b/addons/auth_oauth_signup/__openerp__.py deleted file mode 100644 index d3660f7c052e266b04c1d768ed38c389a44e3f21..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/__openerp__.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-2014 OpenERP SA (<http://openerp.com>). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -############################################################################## - -{ - 'name': 'Signup with OAuth2 Authentication', - 'version': '1.0', - 'category': 'Hidden', - 'description': """ -Allow users to sign up through OAuth2 Provider. -=============================================== -""", - 'author': 'OpenERP SA', - 'website': 'http://www.openerp.com', - 'depends': ['auth_oauth', 'auth_signup'], - 'data': [ - 'views/auth_oauth_signup.xml', - ], - 'js': [], - 'css': [], - 'qweb': [], - 'installable': True, - 'auto_install': True, -} diff --git a/addons/auth_oauth_signup/controllers/__init__.py b/addons/auth_oauth_signup/controllers/__init__.py deleted file mode 100644 index e11f9ba81bbd79804131ff12ab6821667ef3f8b4..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/controllers/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -import main - -# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/auth_oauth_signup/controllers/main.py b/addons/auth_oauth_signup/controllers/main.py deleted file mode 100644 index 0b8ab22cdaa09bf21e4b7b65a9620c21a557f09f..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/controllers/main.py +++ /dev/null @@ -1,20 +0,0 @@ -import openerp -import werkzeug - -from openerp.http import request - -class OAuthSignupLogin(openerp.addons.web.controllers.main.Home): - def list_providers(self): - providers = super(OAuthSignupLogin, self).list_providers() - if len(providers) == 1 and request.params.get('mode') == 'signup': - werkzeug.exceptions.abort(werkzeug.utils.redirect(providers[0]['auth_link'], 303)) - return providers - - def get_state(self, provider): - state = super(OAuthSignupLogin, self).get_state(provider) - token = request.params.get('token') - if token: - state['t'] = token - return state - -# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/auth_oauth_signup/i18n/ar.po b/addons/auth_oauth_signup/i18n/ar.po deleted file mode 100644 index 9eeabd19d8b94250bb28f0ecb317cf5684160a76..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/ar.po +++ /dev/null @@ -1,23 +0,0 @@ -# Arabic translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-11-26 18:16+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Arabic <ar@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "المستخدمين" diff --git a/addons/auth_oauth_signup/i18n/auth_oauth_signup.pot b/addons/auth_oauth_signup/i18n/auth_oauth_signup.pot deleted file mode 100644 index d4c0a829a7bbf07f2a5174921294aaf75dfba086..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/auth_oauth_signup.pot +++ /dev/null @@ -1,22 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * auth_oauth_signup -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0alpha\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-21 17:05+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "" - diff --git a/addons/auth_oauth_signup/i18n/cs.po b/addons/auth_oauth_signup/i18n/cs.po deleted file mode 100644 index bf6f59f24fac1aa891b8baf9afd23c1653fde2c9..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/cs.po +++ /dev/null @@ -1,23 +0,0 @@ -# Czech translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2014-02-03 16:54+0000\n" -"Last-Translator: Jakub Drozd <Unknown>\n" -"Language-Team: Czech <cs@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-04 05:51+0000\n" -"X-Generator: Launchpad (build 16916)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Uživatelé" diff --git a/addons/auth_oauth_signup/i18n/da.po b/addons/auth_oauth_signup/i18n/da.po deleted file mode 100644 index 75b7032c1de43f2cb892efbb67ddfcff39111dc0..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/da.po +++ /dev/null @@ -1,23 +0,0 @@ -# Danish translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-09-15 20:08+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Danish <da@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Bruger" diff --git a/addons/auth_oauth_signup/i18n/de.po b/addons/auth_oauth_signup/i18n/de.po deleted file mode 100644 index 575802437773dce828f9ffd813bb3894bcc30f58..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/de.po +++ /dev/null @@ -1,23 +0,0 @@ -# German translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-27 22:22+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: German <de@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Benutzer" diff --git a/addons/auth_oauth_signup/i18n/en_GB.po b/addons/auth_oauth_signup/i18n/en_GB.po deleted file mode 100644 index 699939d57b7d58f920bc1376b1b871d08b020a63..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/en_GB.po +++ /dev/null @@ -1,23 +0,0 @@ -# English (United Kingdom) translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-02-06 14:33+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: English (United Kingdom) <en_GB@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Users" diff --git a/addons/auth_oauth_signup/i18n/es.po b/addons/auth_oauth_signup/i18n/es.po deleted file mode 100644 index 072378eeaa7cb683821ff04a99cee672584e6a05..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/es.po +++ /dev/null @@ -1,23 +0,0 @@ -# Spanish translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-27 11:38+0000\n" -"Last-Translator: Pedro Manuel Baeza <pedro.baeza@gmail.com>\n" -"Language-Team: Spanish <es@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Usuarios" diff --git a/addons/auth_oauth_signup/i18n/et.po b/addons/auth_oauth_signup/i18n/et.po deleted file mode 100644 index 25c2888fea19963f84215f7d018e7c41f12f0845..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/et.po +++ /dev/null @@ -1,23 +0,0 @@ -# Estonian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-10-09 14:34+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Estonian <et@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Kasutajad" diff --git a/addons/auth_oauth_signup/i18n/fr.po b/addons/auth_oauth_signup/i18n/fr.po deleted file mode 100644 index 02544f189c58625140f0dded126d7d5c92853ae5..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/fr.po +++ /dev/null @@ -1,23 +0,0 @@ -# French translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-29 16:08+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: French <fr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Utilisateurs" diff --git a/addons/auth_oauth_signup/i18n/gl.po b/addons/auth_oauth_signup/i18n/gl.po deleted file mode 100644 index 463caea11c3e77a660fe8297103e903f5b876413..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/gl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Galician translation for openobject-addons -# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2014. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2014-02-05 16:37+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Galician <gl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-02-06 05:33+0000\n" -"X-Generator: Launchpad (build 16916)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Usuarios" diff --git a/addons/auth_oauth_signup/i18n/hr.po b/addons/auth_oauth_signup/i18n/hr.po deleted file mode 100644 index c3cc0238ca00b0aca6fb32431ad83cecf6459fcb..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/hr.po +++ /dev/null @@ -1,23 +0,0 @@ -# Croatian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-24 12:30+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Croatian <hr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Korisnici" diff --git a/addons/auth_oauth_signup/i18n/hu.po b/addons/auth_oauth_signup/i18n/hu.po deleted file mode 100644 index eaed110eeebb42fb22c586c7ec3af9d67926a850..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/hu.po +++ /dev/null @@ -1,23 +0,0 @@ -# Hungarian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-03-19 18:13+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Hungarian <hu@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Felhasználók" diff --git a/addons/auth_oauth_signup/i18n/it.po b/addons/auth_oauth_signup/i18n/it.po deleted file mode 100644 index 4c01dc40d004519feb5ff5282b9bee848091ada2..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/it.po +++ /dev/null @@ -1,23 +0,0 @@ -# Italian translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-27 09:12+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Italian <it@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Utenti" diff --git a/addons/auth_oauth_signup/i18n/lt.po b/addons/auth_oauth_signup/i18n/lt.po deleted file mode 100644 index 6cf0153f69f0240cdcfd62f9acee7beb780f172e..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/lt.po +++ /dev/null @@ -1,23 +0,0 @@ -# Lithuanian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-04-24 18:21+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Lithuanian <lt@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Naudotojai" diff --git a/addons/auth_oauth_signup/i18n/mk.po b/addons/auth_oauth_signup/i18n/mk.po deleted file mode 100644 index 3afed5fe7b3e65dec15275ca0891bbb120ef6ec5..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/mk.po +++ /dev/null @@ -1,23 +0,0 @@ -# Macedonian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-02-28 14:54+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Macedonian <mk@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "КориÑници" diff --git a/addons/auth_oauth_signup/i18n/mn.po b/addons/auth_oauth_signup/i18n/mn.po deleted file mode 100644 index 8c45059310fa9e99e615e011ebaaa0594e00e4ca..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/mn.po +++ /dev/null @@ -1,23 +0,0 @@ -# Mongolian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-02-06 07:44+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Mongolian <mn@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Ð¥ÑÑ€ÑглÑгчид" diff --git a/addons/auth_oauth_signup/i18n/nl.po b/addons/auth_oauth_signup/i18n/nl.po deleted file mode 100644 index 5029138c5d9509b73fb33d6324d4a7a19e7eb588..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/nl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Dutch translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-27 09:12+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Dutch <nl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Gebruikers" diff --git a/addons/auth_oauth_signup/i18n/nl_BE.po b/addons/auth_oauth_signup/i18n/nl_BE.po deleted file mode 100644 index 2366d0844f209622941351250016ef1965026615..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/nl_BE.po +++ /dev/null @@ -1,23 +0,0 @@ -# Dutch (Belgium) translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-04-15 16:01+0000\n" -"Last-Translator: Els Van Vossel (Foxy) <Unknown>\n" -"Language-Team: Dutch (Belgium) <nl_BE@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Gebruikers" diff --git a/addons/auth_oauth_signup/i18n/pl.po b/addons/auth_oauth_signup/i18n/pl.po deleted file mode 100644 index c0e6153a430be37e0100de2c1eb43ff0527f8226..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/pl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Polish translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-11-14 12:00+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Polish <pl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Użytkownicy" diff --git a/addons/auth_oauth_signup/i18n/pt.po b/addons/auth_oauth_signup/i18n/pt.po deleted file mode 100644 index c0664b109b794ea9f59e9194f3c1d18ce42f61d8..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/pt.po +++ /dev/null @@ -1,23 +0,0 @@ -# Portuguese translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-08 17:56+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Portuguese <pt@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Utilizadores" diff --git a/addons/auth_oauth_signup/i18n/pt_BR.po b/addons/auth_oauth_signup/i18n/pt_BR.po deleted file mode 100644 index 2d50e76837ab8483eabc332f00ef4c2f7e766d7c..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/pt_BR.po +++ /dev/null @@ -1,23 +0,0 @@ -# Brazilian Portuguese translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-02 11:56+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Usuários" diff --git a/addons/auth_oauth_signup/i18n/ro.po b/addons/auth_oauth_signup/i18n/ro.po deleted file mode 100644 index 5d2593b66b41e5abe32451c24f9e83391e2a61a6..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/ro.po +++ /dev/null @@ -1,23 +0,0 @@ -# Romanian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-14 19:07+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Romanian <ro@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Utilizatori" diff --git a/addons/auth_oauth_signup/i18n/ru.po b/addons/auth_oauth_signup/i18n/ru.po deleted file mode 100644 index e60c290f8e3968063e32cf2cddf6fd02e03e5f4e..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/ru.po +++ /dev/null @@ -1,23 +0,0 @@ -# Russian translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-02-13 09:46+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Russian <ru@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Пользователи" diff --git a/addons/auth_oauth_signup/i18n/sl.po b/addons/auth_oauth_signup/i18n/sl.po deleted file mode 100644 index a7acd1ceacca1c9095ff037f6fe10e39ecc6b8f8..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/sl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Slovenian translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2012-12-30 09:36+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Slovenian <sl@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Uporabniki" diff --git a/addons/auth_oauth_signup/i18n/sv.po b/addons/auth_oauth_signup/i18n/sv.po deleted file mode 100644 index 93350614b98c995461a32f60f95f0ee4d2fd4142..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/sv.po +++ /dev/null @@ -1,23 +0,0 @@ -# Swedish translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-17 23:47+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Swedish <sv@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Användare" diff --git a/addons/auth_oauth_signup/i18n/tr.po b/addons/auth_oauth_signup/i18n/tr.po deleted file mode 100644 index 4b61dc5a190bcd87481702d42157ef7e4ca05fb5..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/tr.po +++ /dev/null @@ -1,23 +0,0 @@ -# Turkish translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-02-03 12:07+0000\n" -"Last-Translator: Ahmet Altınışık <Unknown>\n" -"Language-Team: Turkish <tr@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "Kullanıcılar" diff --git a/addons/auth_oauth_signup/i18n/vi.po b/addons/auth_oauth_signup/i18n/vi.po deleted file mode 100644 index 086df785f57bfcd19e88bb1314f2a3521e2b0a15..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/vi.po +++ /dev/null @@ -1,23 +0,0 @@ -# Vietnamese translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-06-27 06:49+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Vietnamese <vi@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "NgÆ°á»i dùng" diff --git a/addons/auth_oauth_signup/i18n/zh_CN.po b/addons/auth_oauth_signup/i18n/zh_CN.po deleted file mode 100644 index f3009f88142f66bb708c0dd9c9e6e9a2f2c988ed..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/zh_CN.po +++ /dev/null @@ -1,23 +0,0 @@ -# Chinese (Simplified) translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-02 10:59+0000\n" -"Last-Translator: Oliver Yuan <Unknown>\n" -"Language-Team: Chinese (Simplified) <zh_CN@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "用户" diff --git a/addons/auth_oauth_signup/i18n/zh_TW.po b/addons/auth_oauth_signup/i18n/zh_TW.po deleted file mode 100644 index 0e3e0b23c3bb458658ae9e5e2e545982b5c16c8c..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/i18n/zh_TW.po +++ /dev/null @@ -1,23 +0,0 @@ -# Chinese (Traditional) translation for openobject-addons -# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2013. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2012-12-21 17:05+0000\n" -"PO-Revision-Date: 2013-01-30 13:18+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Chinese (Traditional) <zh_TW@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-01-28 06:41+0000\n" -"X-Generator: Launchpad (build 16914)\n" - -#. module: auth_oauth_signup -#: model:ir.model,name:auth_oauth_signup.model_res_users -msgid "Users" -msgstr "使用者" diff --git a/addons/auth_oauth_signup/res_users.py b/addons/auth_oauth_signup/res_users.py deleted file mode 100644 index a06968fa46fad8d79e78af07d3dcf7aae6bfe506..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/res_users.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2010-2012 OpenERP SA (<http://openerp.com>). -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# -############################################################################## - -import logging -import simplejson - -import openerp -from openerp.addons.auth_signup.res_users import SignupError -from openerp.osv import osv, fields - -_logger = logging.getLogger(__name__) - -class res_users(osv.Model): - _inherit = 'res.users' - - def _auth_oauth_signin(self, cr, uid, provider, validation, params, context=None): - # overridden to use signup method if regular oauth signin fails - try: - login = super(res_users, self)._auth_oauth_signin(cr, uid, provider, validation, params, context=context) - - except openerp.exceptions.AccessDenied, access_denied_exception: - if context and context.get('no_user_creation'): - return None - state = simplejson.loads(params['state']) - token = state.get('t') - oauth_uid = validation['user_id'] - email = validation.get('email', 'provider_%s_user_%s' % (provider, oauth_uid)) - name = validation.get('name', email) - values = { - 'name': name, - 'login': email, - 'email': email, - 'oauth_provider_id': provider, - 'oauth_uid': oauth_uid, - 'oauth_access_token': params['access_token'], - 'active': True, - } - try: - _, login, _ = self.signup(cr, uid, values, token, context=context) - except SignupError: - raise access_denied_exception - return login diff --git a/addons/auth_oauth_signup/views/auth_oauth_signup.xml b/addons/auth_oauth_signup/views/auth_oauth_signup.xml deleted file mode 100644 index 139f36a4c0f338a31ae5e9b575d5ba64542022af..0000000000000000000000000000000000000000 --- a/addons/auth_oauth_signup/views/auth_oauth_signup.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- vim:et:si:ts=2:sts=2:sw=2 --> -<openerp> - <data> - <template id="auth_oauth_signup.signup" inherit_id="auth_signup.signup" name="OAuth Signup buttons"> - <xpath expr="//button[@type='submit']" position="before"> - <div class="pull-right"> - <div t-foreach="providers or []" t-as="p"> - <a t-att-href="p['auth_link']" class="btn btn-link"> - <i t-att-class="p['css_class']"/> - <t t-esc="p['body']"/> - </a> - </div> - </div> - </xpath> - </template> - </data> -</openerp>