From e8cc7ff57e0d99346c9dc2e792244d6c4b0a8178 Mon Sep 17 00:00:00 2001 From: Anthony Muschang Date: Fri, 12 Dec 2014 00:17:54 +0100 Subject: [PATCH 1/3] [CHG] auth_admin_passkey: migration to 8.0 --- .../__init__.py | 0 .../__openerp__.py | 2 +- .../data/ir_config_parameter.xml | 0 .../i18n/auth_admin_passkey.pot | 0 .../i18n/fr.po | 0 .../model/__init__.py | 0 .../model/res_config.py | 0 .../model/res_users.py | 0 .../static/src/img/icon.png | Bin .../tests/__init__.py | 0 .../tests/test_auth_admin_passkey.py | 0 .../view/res_config_view.xml | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/__init__.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/__openerp__.py (98%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/data/ir_config_parameter.xml (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/i18n/auth_admin_passkey.pot (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/i18n/fr.po (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/model/__init__.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/model/res_config.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/model/res_users.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/static/src/img/icon.png (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/tests/__init__.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/tests/test_auth_admin_passkey.py (100%) rename {__unported__/auth_admin_passkey => auth_admin_passkey}/view/res_config_view.xml (100%) diff --git a/__unported__/auth_admin_passkey/__init__.py b/auth_admin_passkey/__init__.py similarity index 100% rename from __unported__/auth_admin_passkey/__init__.py rename to auth_admin_passkey/__init__.py diff --git a/__unported__/auth_admin_passkey/__openerp__.py b/auth_admin_passkey/__openerp__.py similarity index 98% rename from __unported__/auth_admin_passkey/__openerp__.py rename to auth_admin_passkey/__openerp__.py index 6d49ade8a..a62768e72 100644 --- a/__unported__/auth_admin_passkey/__openerp__.py +++ b/auth_admin_passkey/__openerp__.py @@ -61,6 +61,6 @@ Copyright, Author and Licence : 'images': [], 'post_load': '', 'application': False, - 'installable': False, + 'installable': True, 'auto_install': False, } diff --git a/__unported__/auth_admin_passkey/data/ir_config_parameter.xml b/auth_admin_passkey/data/ir_config_parameter.xml similarity index 100% rename from __unported__/auth_admin_passkey/data/ir_config_parameter.xml rename to auth_admin_passkey/data/ir_config_parameter.xml diff --git a/__unported__/auth_admin_passkey/i18n/auth_admin_passkey.pot b/auth_admin_passkey/i18n/auth_admin_passkey.pot similarity index 100% rename from __unported__/auth_admin_passkey/i18n/auth_admin_passkey.pot rename to auth_admin_passkey/i18n/auth_admin_passkey.pot diff --git a/__unported__/auth_admin_passkey/i18n/fr.po b/auth_admin_passkey/i18n/fr.po similarity index 100% rename from __unported__/auth_admin_passkey/i18n/fr.po rename to auth_admin_passkey/i18n/fr.po diff --git a/__unported__/auth_admin_passkey/model/__init__.py b/auth_admin_passkey/model/__init__.py similarity index 100% rename from __unported__/auth_admin_passkey/model/__init__.py rename to auth_admin_passkey/model/__init__.py diff --git a/__unported__/auth_admin_passkey/model/res_config.py b/auth_admin_passkey/model/res_config.py similarity index 100% rename from __unported__/auth_admin_passkey/model/res_config.py rename to auth_admin_passkey/model/res_config.py diff --git a/__unported__/auth_admin_passkey/model/res_users.py b/auth_admin_passkey/model/res_users.py similarity index 100% rename from __unported__/auth_admin_passkey/model/res_users.py rename to auth_admin_passkey/model/res_users.py diff --git a/__unported__/auth_admin_passkey/static/src/img/icon.png b/auth_admin_passkey/static/src/img/icon.png similarity index 100% rename from __unported__/auth_admin_passkey/static/src/img/icon.png rename to auth_admin_passkey/static/src/img/icon.png diff --git a/__unported__/auth_admin_passkey/tests/__init__.py b/auth_admin_passkey/tests/__init__.py similarity index 100% rename from __unported__/auth_admin_passkey/tests/__init__.py rename to auth_admin_passkey/tests/__init__.py diff --git a/__unported__/auth_admin_passkey/tests/test_auth_admin_passkey.py b/auth_admin_passkey/tests/test_auth_admin_passkey.py similarity index 100% rename from __unported__/auth_admin_passkey/tests/test_auth_admin_passkey.py rename to auth_admin_passkey/tests/test_auth_admin_passkey.py diff --git a/__unported__/auth_admin_passkey/view/res_config_view.xml b/auth_admin_passkey/view/res_config_view.xml similarity index 100% rename from __unported__/auth_admin_passkey/view/res_config_view.xml rename to auth_admin_passkey/view/res_config_view.xml From 1f12893c8d03f81a6aa7fd741acc263e6ec63140 Mon Sep 17 00:00:00 2001 From: Anthony Muschang Date: Mon, 15 Dec 2014 09:25:06 +0100 Subject: [PATCH 2/3] [CHG] auth_admin_passkey: move description to README.md --- auth_admin_passkey/README.md | 18 ++++++++++++++++++ auth_admin_passkey/__openerp__.py | 20 -------------------- 2 files changed, 18 insertions(+), 20 deletions(-) create mode 100644 auth_admin_passkey/README.md diff --git a/auth_admin_passkey/README.md b/auth_admin_passkey/README.md new file mode 100644 index 000000000..15be819dc --- /dev/null +++ b/auth_admin_passkey/README.md @@ -0,0 +1,18 @@ +Admin password become a passkey for all active logins +===================================================== + +Functionality : +--------------- + * Administrator has now the possibility to login in with any login; + * By default, OpenERP will send a mail to user and admin to indicate them; + * If a user and the admin have the same password, admin will be informed; + +Technical information : +----------------------- + * Create two ir_config_parameter to enable / disable mail sending; + +Copyright, Author and Licence : +------------------------------- + * Copyright : 2014, Groupement Régional Alimentaire de Proximité; + * Author : Sylvain LE GAL (https://twitter.com/legalsylvain); + * Licence : AGPL-3 (http://www.gnu.org/licenses/) diff --git a/auth_admin_passkey/__openerp__.py b/auth_admin_passkey/__openerp__.py index a62768e72..77df9c73f 100644 --- a/auth_admin_passkey/__openerp__.py +++ b/auth_admin_passkey/__openerp__.py @@ -24,26 +24,6 @@ 'name': 'Authentification - Admin Passkey', 'version': '2.1.1', 'category': 'base', - 'description': """ -Admin password become a passkey for all active logins -===================================================== - -Functionality : ---------------- - * Administrator has now the possibility to login in with any login; - * By default, OpenERP will send a mail to user and admin to indicate them; - * If a user and the admin have the same password, admin will be informed; - -Technical information : ------------------------ - * Create two ir_config_parameter to enable / disable mail sending; - -Copyright, Author and Licence : -------------------------------- - * Copyright : 2014, Groupement Régional Alimentaire de Proximité; - * Author : Sylvain LE GAL (https://twitter.com/legalsylvain); - * Licence : AGPL-3 (http://www.gnu.org/licenses/) - """, 'author': 'GRAP', 'website': 'http://www.grap.coop', 'license': 'AGPL-3', From 8edbc81d0cf273faa8c96f9c3301b7488c5203aa Mon Sep 17 00:00:00 2001 From: Anthony Muschang Date: Mon, 15 Dec 2014 10:04:39 +0100 Subject: [PATCH 3/3] [CHG] auth_admin_passkey: rename README.md to README.rst --- auth_admin_passkey/{README.md => README.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename auth_admin_passkey/{README.md => README.rst} (100%) diff --git a/auth_admin_passkey/README.md b/auth_admin_passkey/README.rst similarity index 100% rename from auth_admin_passkey/README.md rename to auth_admin_passkey/README.rst