diff --git a/README.md b/README.md index a2f00e1bd1..f4de55b6a4 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ addon | version | maintainers | summary [base_user_show_email](base_user_show_email/) | 18.0.1.0.0 | | Untangle user login and email [impersonate_login](impersonate_login/) | 18.0.1.0.0 | Kev-Roche | tools [password_security](password_security/) | 18.0.1.0.0 | | Allow admin to set password security requirements. +[user_log_view](user_log_view/) | 18.0.1.0.0 | trojikman | Allow to see user's actions log [users_ldap_mail](users_ldap_mail/) | 18.0.1.0.0 | joao-p-marques | LDAP mapping for user name and e-mail [//]: # (end addons) diff --git a/auth_signup_verify_email/i18n/fr.po b/auth_signup_verify_email/i18n/fr.po index d8b53ff357..19f18d06fe 100644 --- a/auth_signup_verify_email/i18n/fr.po +++ b/auth_signup_verify_email/i18n/fr.po @@ -9,28 +9,29 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-03-18 02:19+0000\n" -"PO-Revision-Date: 2017-03-18 02:19+0000\n" -"Last-Translator: Alexandre Papin , 2017\n" +"PO-Revision-Date: 2025-10-15 11:43+0000\n" +"Last-Translator: Yann Papouin \n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 5.10.4\n" #. module: auth_signup_verify_email #. odoo-python #: code:addons/auth_signup_verify_email/controllers/main.py:0 #, python-format msgid "Another user is already registered using this email address." -msgstr "" +msgstr "Un autre utilisateur est déjà enregistré avec cette adresse e-mail." #. module: auth_signup_verify_email #. odoo-python #: code:addons/auth_signup_verify_email/controllers/main.py:0 #, python-format msgid "Check your email to activate your account!" -msgstr "Un email vous à été envoyé pour activer votre compte." +msgstr "Vérifiez votre boite e-mail pour activer votre compte !" #. module: auth_signup_verify_email #. odoo-python @@ -45,4 +46,4 @@ msgstr "" #: code:addons/auth_signup_verify_email/controllers/main.py:0 #, python-format msgid "That does not seem to be an email address." -msgstr "Veuillez fournir une adresse email valide." +msgstr "Il ne semble pas s'agir d'une adresse e-mail." diff --git a/impersonate_login/i18n/fr.po b/impersonate_login/i18n/fr.po new file mode 100644 index 0000000000..9b9c31ba47 --- /dev/null +++ b/impersonate_login/i18n/fr.po @@ -0,0 +1,149 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * impersonate_login +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" + +#. module: impersonate_login +#. odoo-javascript +#: code:addons/impersonate_login/static/src/js/user_menu.esm.js:0 +msgid "Back to Original User" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_base +msgid "Base" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_mail_mail__body +#: model:ir.model.fields,field_description:impersonate_login.field_mail_message__body +msgid "Contents" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__create_uid +msgid "Created by" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__create_date +msgid "Created on" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__display_name +msgid "Display Name" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_mail_thread +msgid "Email Thread" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__date_end +msgid "End Date" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_ir_http +msgid "HTTP Routing" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__id +msgid "ID" +msgstr "" + +#. module: impersonate_login +#: model:ir.actions.act_window,name:impersonate_login.impersonate_log_action +msgid "Impersonate Login Logs" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_impersonate_log +msgid "Impersonate Logs" +msgstr "" + +#. module: impersonate_login +#: model:res.groups,name:impersonate_login.group_impersonate_login +msgid "Impersonate Users" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_mail_mail__impersonated_author_id +#: model:ir.model.fields,field_description:impersonate_login.field_mail_message__impersonated_author_id +msgid "Impersonated Author" +msgstr "" + +#. module: impersonate_login +#: model:ir.ui.menu,name:impersonate_login.menu_impersonate_log +msgid "Impersonated Logs" +msgstr "" + +#. module: impersonate_login +#. odoo-python +#: code:addons/impersonate_login/models/res_users.py:0 +msgid "It's you." +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__write_date +msgid "Last Updated on" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__impersonated_partner_id +msgid "Logged as" +msgstr "" + +#. module: impersonate_login +#. odoo-python +#: code:addons/impersonate_login/models/mail_message.py:0 +msgid "Logged in as {}" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_mail_message +msgid "Message" +msgstr "" + +#. module: impersonate_login +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__date_start +msgid "Start Date" +msgstr "" + +#. module: impersonate_login +#. odoo-javascript +#: code:addons/impersonate_login/static/src/js/user_menu.esm.js:0 +#: model_terms:ir.ui.view,arch_db:impersonate_login.impersonate_res_users_tree +msgid "Switch Login" +msgstr "" + +#. module: impersonate_login +#: model:ir.model,name:impersonate_login.model_res_users +#: model:ir.model.fields,field_description:impersonate_login.field_impersonate_log__user_id +msgid "User" +msgstr "" + +#. module: impersonate_login +#. odoo-python +#: code:addons/impersonate_login/models/res_users.py:0 +msgid "You are already Logged as another user." +msgstr "" diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index 93f3486ce1..b501ae2a9c 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "odoo-addons-oca-server-auth" -version = "18.0.20250909.0" +version = "18.0.20251013.0" dependencies = [ "odoo-addon-auth_admin_passkey==18.0.*", "odoo-addon-auth_api_key==18.0.*", @@ -19,6 +19,7 @@ dependencies = [ "odoo-addon-base_user_show_email==18.0.*", "odoo-addon-impersonate_login==18.0.*", "odoo-addon-password_security==18.0.*", + "odoo-addon-user_log_view==18.0.*", "odoo-addon-users_ldap_mail==18.0.*", ] classifiers=[ diff --git a/user_log_view/README.rst b/user_log_view/README.rst new file mode 100644 index 0000000000..1ab5c480d3 --- /dev/null +++ b/user_log_view/README.rst @@ -0,0 +1,102 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +================= +User's Log Viewer +================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:b4784bb98603bf3980079c62efbdce8af15bb6abf4522118ce4475759b042baf + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github + :target: https://github.com/OCA/server-auth/tree/18.0/user_log_view + :alt: OCA/server-auth +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-user_log_view + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a smart button on user's form to display authentication +logs. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +1) Go to Settings +2) Go to Users & Companies +3) Choose the User whose logs you need to see and go to Authentication + logs +4) You will see a list of authentications for a specific user + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* IT-Projects LLC + +Contributors +------------ + +- Denis Mudarisov + (https://www.it-projects.info/) +- Chandresh Thakkar + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-trojikman| image:: https://github.com/trojikman.png?size=40px + :target: https://github.com/trojikman + :alt: trojikman + +Current `maintainer `__: + +|maintainer-trojikman| + +This module is part of the `OCA/server-auth `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/user_log_view/__init__.py b/user_log_view/__init__.py new file mode 100644 index 0000000000..ca03eda077 --- /dev/null +++ b/user_log_view/__init__.py @@ -0,0 +1 @@ +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). diff --git a/user_log_view/__manifest__.py b/user_log_view/__manifest__.py new file mode 100644 index 0000000000..c471c19f24 --- /dev/null +++ b/user_log_view/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2019 Denis Mudarisov (IT-Projects LLC) +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). +{ + "name": "User's Log Viewer", + "summary": "Allow to see user's actions log", + "version": "18.0.1.0.0", + "development_status": "Production/Stable", + "category": "Extra Tools", + "website": "https://github.com/OCA/server-auth", + "author": "IT-Projects LLC, Odoo Community Association (OCA)", + "maintainers": ["trojikman"], + "license": "LGPL-3", + "application": False, + "installable": True, + "depends": [ + "base", + ], + "data": [ + "views/res_users_views.xml", + ], +} diff --git a/user_log_view/i18n/it.po b/user_log_view/i18n/it.po new file mode 100644 index 0000000000..4719f62cbe --- /dev/null +++ b/user_log_view/i18n/it.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * user_log_view +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-01-03 14:33+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: user_log_view +#: model:ir.actions.act_window,name:user_log_view.action_user_log +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_view_form +msgid "Authentication logs" +msgstr "Registri autenticazione" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Date" +msgstr "Data" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Group By" +msgstr "Raggruppa per" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Test Search" +msgstr "Testa ricerca" diff --git a/user_log_view/i18n/user_log_view.pot b/user_log_view/i18n/user_log_view.pot new file mode 100644 index 0000000000..cd15544f83 --- /dev/null +++ b/user_log_view/i18n/user_log_view.pot @@ -0,0 +1,35 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * user_log_view +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \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: user_log_view +#: model:ir.actions.act_window,name:user_log_view.action_user_log +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_view_form +msgid "Authentication logs" +msgstr "" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Date" +msgstr "" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Group By" +msgstr "" + +#. module: user_log_view +#: model_terms:ir.ui.view,arch_db:user_log_view.res_users_log_view_search +msgid "Test Search" +msgstr "" diff --git a/user_log_view/pyproject.toml b/user_log_view/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/user_log_view/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/user_log_view/readme/CONTRIBUTORS.md b/user_log_view/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..e7986970d8 --- /dev/null +++ b/user_log_view/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Denis Mudarisov \<\> + () +- Chandresh Thakkar \<\> diff --git a/user_log_view/readme/DESCRIPTION.md b/user_log_view/readme/DESCRIPTION.md new file mode 100644 index 0000000000..97f032815a --- /dev/null +++ b/user_log_view/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module adds a smart button on user's form to display authentication +logs. diff --git a/user_log_view/readme/USAGE.md b/user_log_view/readme/USAGE.md new file mode 100644 index 0000000000..1c3c3b23b0 --- /dev/null +++ b/user_log_view/readme/USAGE.md @@ -0,0 +1,7 @@ +To use this module, you need to: + +1) Go to Settings +2) Go to Users & Companies +3) Choose the User whose logs you need to see and go to Authentication + logs +4) You will see a list of authentications for a specific user diff --git a/user_log_view/static/description/icon.png b/user_log_view/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/user_log_view/static/description/icon.png differ diff --git a/user_log_view/static/description/index.html b/user_log_view/static/description/index.html new file mode 100644 index 0000000000..344ac82bc9 --- /dev/null +++ b/user_log_view/static/description/index.html @@ -0,0 +1,446 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

User’s Log Viewer

+ +

Production/Stable License: LGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

+

This module adds a smart button on user’s form to display authentication +logs.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Settings
  2. +
  3. Go to Users & Companies
  4. +
  5. Choose the User whose logs you need to see and go to Authentication +logs
  6. +
  7. You will see a list of authentications for a specific user
  8. +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • IT-Projects LLC
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainer:

+

trojikman

+

This module is part of the OCA/server-auth project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+
+ + diff --git a/user_log_view/views/res_users_views.xml b/user_log_view/views/res_users_views.xml new file mode 100644 index 0000000000..ea3ac394ea --- /dev/null +++ b/user_log_view/views/res_users_views.xml @@ -0,0 +1,74 @@ + + + + + Authentication logs + ir.actions.act_window + res.users.log + [[False, 'list'], [False, 'form']] + [('create_uid', '=', active_id)] + current + {'search_default_groupby_date': True} + + + + res.users.log.search + res.users.log + + + + + + + + + + + + + res.users.view.form + res.users + + + +