Browse Source

[REF] rename module;

pull/262/head
Sylvain LE GAL 9 years ago
parent
commit
a3a25eaf37
  1. 6
      auth_brute_force/README.rst
  2. 0
      auth_brute_force/__init__.py
  3. 0
      auth_brute_force/__openerp__.py
  4. 0
      auth_brute_force/controllers/__init__.py
  5. 2
      auth_brute_force/controllers/controllers.py
  6. 2
      auth_brute_force/data/ir_config_parameter.xml
  7. 150
      auth_brute_force/i18n/auth_brut_force.pot
  8. 120
      auth_brute_force/i18n/fr.po
  9. 0
      auth_brute_force/models/__init__.py
  10. 0
      auth_brute_force/models/res_authentication_attempt.py
  11. 0
      auth_brute_force/models/res_banned_remote.py
  12. 0
      auth_brute_force/static/description/icon.png
  13. 0
      auth_brute_force/static/description/screenshot_attempts_list.png
  14. 0
      auth_brute_force/static/description/screenshot_custom_ban.png
  15. 0
      auth_brute_force/views/action.xml
  16. 0
      auth_brute_force/views/menu.xml
  17. 0
      auth_brute_force/views/view.xml
  18. 150
      auth_track_and_prevent_brut_force/i18n/auth_track_and_prevent_brut_force.pot
  19. 120
      auth_track_and_prevent_brut_force/i18n/fr.po

6
auth_track_and_prevent_brut_force/README.rst → auth_brute_force/README.rst

@ -47,11 +47,11 @@ Screenshot
**List of Attempts** **List of Attempts**
.. image:: /auth_track_and_prevent_brut_force/static/description/screenshot_attempts_list.png
.. image:: /auth_brut_force/static/description/screenshot_attempts_list.png
**Detail of a banned IP** **Detail of a banned IP**
.. image:: /auth_track_and_prevent_brut_force/static/description/screenshot_custom_ban.png
.. image:: /auth_brut_force/static/description/screenshot_custom_ban.png
Usage Usage
@ -73,7 +73,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_. Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported. In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/web/issues/new?body=module:%20auth_track_and_prevent_brut_force%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`here <https://github.com/OCA/web/issues/new?body=module:%20auth_brut_force%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits Credits
======= =======

0
auth_track_and_prevent_brut_force/__init__.py → auth_brute_force/__init__.py

0
auth_track_and_prevent_brut_force/__openerp__.py → auth_brute_force/__openerp__.py

0
auth_track_and_prevent_brut_force/controllers/__init__.py → auth_brute_force/controllers/__init__.py

2
auth_track_and_prevent_brut_force/controllers/controllers.py → auth_brute_force/controllers/controllers.py

@ -47,7 +47,7 @@ class LoginController(Home):
# Get Settings # Get Settings
config_id = config_obj.search(cursor, SUPERUSER_ID, [( config_id = config_obj.search(cursor, SUPERUSER_ID, [(
'key', '=', 'key', '=',
'auth_track_and_prevent_brut_force.max_attempt_qty')])
'auth_brut_force.max_attempt_qty')])
max_attempts_qty = int(config_obj.browse( max_attempts_qty = int(config_obj.browse(
cursor, SUPERUSER_ID, config_id).value) cursor, SUPERUSER_ID, config_id).value)

2
auth_track_and_prevent_brut_force/data/ir_config_parameter.xml → auth_brute_force/data/ir_config_parameter.xml

@ -21,7 +21,7 @@
<data noupdate="1"> <data noupdate="1">
<record id="max_attempt_qty" model="ir.config_parameter"> <record id="max_attempt_qty" model="ir.config_parameter">
<field name="key">auth_track_and_prevent_brut_force.max_attempt_qty</field>
<field name="key">auth_brut_force.max_attempt_qty</field>
<field name="value">10</field> <field name="value">10</field>
</record> </record>

150
auth_brute_force/i18n/auth_brut_force.pot

@ -0,0 +1,150 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * auth_brut_force
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-26 00:39+0000\n"
"PO-Revision-Date: 2015-09-26 00:39+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_brut_force
#: code:addons/auth_brut_force/models/res_banned_remote.py:75
#, python-format
msgid "%s %s - %s %s (ISP: %s)"
msgstr ""
#. module: auth_brut_force
#: field:res.banned.remote,active:0
msgid "Active"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date"
msgstr ""
#. module: auth_brut_force
#: model:ir.actions.act_window,name:auth_brut_force.action_res_authentication_attempt
#: model:ir.ui.menu,name:auth_brut_force.menu_res_authentication_attempt
msgid "Authentication Attempts"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,result:0
msgid "Authentication Result"
msgstr ""
#. module: auth_brut_force
#: field:res.banned.remote,ban_date:0
msgid "Ban Date"
msgstr ""
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:34
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Banned"
msgstr ""
#. module: auth_brut_force
#: model:ir.actions.act_window,name:auth_brut_force.action_res_banned_remote
#: model:ir.ui.menu,name:auth_brut_force.menu_res_banned_remote
msgid "Banned Remotes"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,create_uid:0
#: field:res.banned.remote,create_uid:0
msgid "Created by"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,create_date:0
#: field:res.banned.remote,create_date:0
msgid "Created on"
msgstr ""
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:33
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Failed"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,id:0
#: field:res.banned.remote,id:0
msgid "ID"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,write_uid:0
#: field:res.banned.remote,write_uid:0
msgid "Last Updated by"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,write_date:0
#: field:res.banned.remote,write_date:0
msgid "Last Updated on"
msgstr ""
#. module: auth_brut_force
#: field:res.banned.remote,name:0
msgid "Name"
msgstr ""
#. module: auth_brut_force
#: field:res.banned.remote,description:0
msgid "Remote Description"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0
msgid "Remote ID"
msgstr ""
#. module: auth_brut_force
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
msgid "Successful"
msgstr ""
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:32
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Successfull"
msgstr ""
#. module: auth_brut_force
#: field:res.authentication.attempt,login:0
msgid "Tried Login"
msgstr ""
#. module: auth_brut_force
#: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote"
msgstr ""
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_banned_remote.py:77
#, python-format
msgid "Unidentified Call from %s"
msgstr ""
#. module: auth_brut_force
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
msgid "Without Success"
msgstr ""

120
auth_brute_force/i18n/fr.po

@ -0,0 +1,120 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * auth_brut_force
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-26 00:34+0000\n"
"PO-Revision-Date: 2015-09-26 00:34+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_brut_force
#: code:addons/auth_brut_force/models/res_banned_remote.py:75
#, python-format
msgid "%s %s - %s %s (ISP: %s)"
msgstr "%s %s - %s %s (FAI : %s)"
#. module: auth_brut_force
#: field:res.banned.remote,active:0
msgid "Active"
msgstr "Active"
#. module: auth_brut_force
#: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date"
msgstr "Date de la tentative"
#. module: auth_brut_force
#: model:ir.actions.act_window,name:auth_brut_force.action_res_authentication_attempt
#: model:ir.ui.menu,name:auth_brut_force.menu_res_authentication_attempt
msgid "Authentication Attempts"
msgstr "Tentative d'authentification"
#. module: auth_brut_force
#: field:res.authentication.attempt,result:0
msgid "Authentication Result"
msgstr "Résultat de l'authentification"
#. module: auth_brut_force
#: field:res.banned.remote,ban_date:0
msgid "Ban Date"
msgstr "Ban Date"
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:34
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Banned"
msgstr "Banni"
#. module: auth_brut_force
#: model:ir.actions.act_window,name:auth_brut_force.action_res_banned_remote
#: model:ir.ui.menu,name:auth_brut_force.menu_res_banned_remote
msgid "Banned Remotes"
msgstr "Clients distants bannis"
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:33
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Failed"
msgstr "Echoué"
#. module: auth_brut_force
#: field:res.banned.remote,name:0
msgid "Name"
msgstr "Nom"
#. module: auth_brut_force
#: field:res.banned.remote,description:0
msgid "Description"
msgstr "Description"
#. module: auth_brut_force
#: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0
msgid "Remote ID"
msgstr "ID du client Distant"
#. module: auth_brut_force
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
msgid "Successful"
msgstr "Réussie"
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_authentication_attempt.py:32
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Successfull"
msgstr "Réussie"
#. module: auth_brut_force
#: field:res.authentication.attempt,login:0
msgid "Tried Login"
msgstr "Idenfiant essayé"
#. module: auth_brut_force
#: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote"
msgstr "Décochez cette case afin d'annuler l'exclusion du client distant"
#. module: auth_brut_force
#: code:addons/auth_brut_force/models/res_banned_remote.py:77
#, python-format
msgid "Unidentified Call from %s"
msgstr "Appel non identifié depuis %s"
#. module: auth_brut_force
#: view:res.authentication.attempt:auth_brut_force.view_res_authentication_attempt_search
msgid "Without Success"
msgstr "Sans succès"

0
auth_track_and_prevent_brut_force/models/__init__.py → auth_brute_force/models/__init__.py

0
auth_track_and_prevent_brut_force/models/res_authentication_attempt.py → auth_brute_force/models/res_authentication_attempt.py

0
auth_track_and_prevent_brut_force/models/res_banned_remote.py → auth_brute_force/models/res_banned_remote.py

0
auth_track_and_prevent_brut_force/static/description/icon.png → auth_brute_force/static/description/icon.png

Before

Width: 192  |  Height: 192  |  Size: 9.7 KiB

After

Width: 192  |  Height: 192  |  Size: 9.7 KiB

0
auth_track_and_prevent_brut_force/static/description/screenshot_attempts_list.png → auth_brute_force/static/description/screenshot_attempts_list.png

Before

Width: 915  |  Height: 262  |  Size: 29 KiB

After

Width: 915  |  Height: 262  |  Size: 29 KiB

0
auth_track_and_prevent_brut_force/static/description/screenshot_custom_ban.png → auth_brute_force/static/description/screenshot_custom_ban.png

Before

Width: 601  |  Height: 331  |  Size: 31 KiB

After

Width: 601  |  Height: 331  |  Size: 31 KiB

0
auth_track_and_prevent_brut_force/views/action.xml → auth_brute_force/views/action.xml

0
auth_track_and_prevent_brut_force/views/menu.xml → auth_brute_force/views/menu.xml

0
auth_track_and_prevent_brut_force/views/view.xml → auth_brute_force/views/view.xml

150
auth_track_and_prevent_brut_force/i18n/auth_track_and_prevent_brut_force.pot

@ -1,150 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * auth_track_and_prevent_brut_force
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-26 00:39+0000\n"
"PO-Revision-Date: 2015-09-26 00:39+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_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_banned_remote.py:75
#, python-format
msgid "%s %s - %s %s (ISP: %s)"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,active:0
msgid "Active"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: model:ir.actions.act_window,name:auth_track_and_prevent_brut_force.action_res_authentication_attempt
#: model:ir.ui.menu,name:auth_track_and_prevent_brut_force.menu_res_authentication_attempt
msgid "Authentication Attempts"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,result:0
msgid "Authentication Result"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,ban_date:0
msgid "Ban Date"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:34
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Banned"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: model:ir.actions.act_window,name:auth_track_and_prevent_brut_force.action_res_banned_remote
#: model:ir.ui.menu,name:auth_track_and_prevent_brut_force.menu_res_banned_remote
msgid "Banned Remotes"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,create_uid:0
#: field:res.banned.remote,create_uid:0
msgid "Created by"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,create_date:0
#: field:res.banned.remote,create_date:0
msgid "Created on"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:33
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Failed"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,id:0
#: field:res.banned.remote,id:0
msgid "ID"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,write_uid:0
#: field:res.banned.remote,write_uid:0
msgid "Last Updated by"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,write_date:0
#: field:res.banned.remote,write_date:0
msgid "Last Updated on"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,name:0
msgid "Name"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,description:0
msgid "Remote Description"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0
msgid "Remote ID"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
msgid "Successful"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:32
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Successfull"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,login:0
msgid "Tried Login"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_banned_remote.py:77
#, python-format
msgid "Unidentified Call from %s"
msgstr ""
#. module: auth_track_and_prevent_brut_force
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
msgid "Without Success"
msgstr ""

120
auth_track_and_prevent_brut_force/i18n/fr.po

@ -1,120 +0,0 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * auth_track_and_prevent_brut_force
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-26 00:34+0000\n"
"PO-Revision-Date: 2015-09-26 00:34+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_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_banned_remote.py:75
#, python-format
msgid "%s %s - %s %s (ISP: %s)"
msgstr "%s %s - %s %s (FAI : %s)"
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,active:0
msgid "Active"
msgstr "Active"
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,attempt_date:0
msgid "Attempt Date"
msgstr "Date de la tentative"
#. module: auth_track_and_prevent_brut_force
#: model:ir.actions.act_window,name:auth_track_and_prevent_brut_force.action_res_authentication_attempt
#: model:ir.ui.menu,name:auth_track_and_prevent_brut_force.menu_res_authentication_attempt
msgid "Authentication Attempts"
msgstr "Tentative d'authentification"
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,result:0
msgid "Authentication Result"
msgstr "Résultat de l'authentification"
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,ban_date:0
msgid "Ban Date"
msgstr "Ban Date"
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:34
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Banned"
msgstr "Banni"
#. module: auth_track_and_prevent_brut_force
#: model:ir.actions.act_window,name:auth_track_and_prevent_brut_force.action_res_banned_remote
#: model:ir.ui.menu,name:auth_track_and_prevent_brut_force.menu_res_banned_remote
msgid "Banned Remotes"
msgstr "Clients distants bannis"
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:33
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Failed"
msgstr "Echoué"
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,name:0
msgid "Name"
msgstr "Nom"
#. module: auth_track_and_prevent_brut_force
#: field:res.banned.remote,description:0
msgid "Description"
msgstr "Description"
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,remote:0
#: field:res.banned.remote,remote:0
msgid "Remote ID"
msgstr "ID du client Distant"
#. module: auth_track_and_prevent_brut_force
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
msgid "Successful"
msgstr "Réussie"
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_authentication_attempt.py:32
#: selection:res.authentication.attempt,result:0
#, python-format
msgid "Successfull"
msgstr "Réussie"
#. module: auth_track_and_prevent_brut_force
#: field:res.authentication.attempt,login:0
msgid "Tried Login"
msgstr "Idenfiant essayé"
#. module: auth_track_and_prevent_brut_force
#: help:res.banned.remote,active:0
msgid "Uncheck this box to unban the remote"
msgstr "Décochez cette case afin d'annuler l'exclusion du client distant"
#. module: auth_track_and_prevent_brut_force
#: code:addons/auth_track_and_prevent_brut_force/models/res_banned_remote.py:77
#, python-format
msgid "Unidentified Call from %s"
msgstr "Appel non identifié depuis %s"
#. module: auth_track_and_prevent_brut_force
#: view:res.authentication.attempt:auth_track_and_prevent_brut_force.view_res_authentication_attempt_search
msgid "Without Success"
msgstr "Sans succès"
Loading…
Cancel
Save