Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0] [MIG] auth_admin_passkey #551

Closed
wants to merge 70 commits into from

Commits on Sep 6, 2023

  1. [ADD] new module 'auth_admin_passkey' that allow admin user (uid=1) t…

    …o login with any login and his password.
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    e79532d View commit details
    Browse the repository at this point in the history
  2. [IMP] move 'if' test to avoid useless call to check_credentials funct…

    …ion if user_id == SUPERUSER_ID. (Courtesy of Stefan Rijnhart).
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    f6a0962 View commit details
    Browse the repository at this point in the history
  3. [IMP] 'auth_admin_passkey' : Manage the special case where an user ha…

    …s the same password as the admin user, sending a mail to admin user.
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    72ab444 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a9b0fe View commit details
    Browse the repository at this point in the history
  5. [IMP] 'auth_admin_passkey' works now indepently from the order of the…

    … installation of modules 'auth_admin_passkey' and 'auth_crypt'. (Courtesy of Stefan Rijnhart).
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8f206ab View commit details
    Browse the repository at this point in the history
  6. [IMP] Emails are now translated.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9166934 View commit details
    Browse the repository at this point in the history
  7. [REF] Pep8 and import conventions.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8efc9de View commit details
    Browse the repository at this point in the history
  8. [FIX] res_config.py : incorrect call. self.pool('xxx') -> self.pool['…

    …xxx']
    
    [REF] res_users.py : same call to self.pool in other res_users class.
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    a90c02c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    528f101 View commit details
    Browse the repository at this point in the history
  10. [REF] Pep8.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    e82b29c View commit details
    Browse the repository at this point in the history
  11. [REF] change order in an algorithm;

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    2c2c049 View commit details
    Browse the repository at this point in the history
  12. [FIX] Incorrect import.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    bd5e007 View commit details
    Browse the repository at this point in the history
  13. [REF] typo.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c6fb0e1 View commit details
    Browse the repository at this point in the history
  14. [FIX] translation.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    4c9a617 View commit details
    Browse the repository at this point in the history
  15. Launchpad automatic translations update.

    Unknown authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    6a4f87a View commit details
    Browse the repository at this point in the history
  16. Launchpad automatic translations update.

    Unknown authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    f185b6c View commit details
    Browse the repository at this point in the history
  17. Launchpad automatic translations update.

    Unknown authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    06f4720 View commit details
    Browse the repository at this point in the history
  18. [ADD] Test OCA#6 to test the bug #1319391;

    [ADD] Test OCA#1 to OCA#5 to avoid regression;
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1f274bf View commit details
    Browse the repository at this point in the history
  19. [FIX] bug #1319391;

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c045eee View commit details
    Browse the repository at this point in the history
  20. [REF] fix comments;

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    d5fd11e View commit details
    Browse the repository at this point in the history
  21. Launchpad automatic translations update.

    Unknown authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    81db451 View commit details
    Browse the repository at this point in the history
  22. [REF] 'auth_admin_passkey': flake8.

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    3e2a2b4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    da2b428 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    14c373e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    a260c08 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    230959a View commit details
    Browse the repository at this point in the history
  27. [IMP] auth_admin_passkey: Moved icon

    pedrobaeza authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    c221d79 View commit details
    Browse the repository at this point in the history
  28. Add OCA as author of OCA addons

    In order to get visibility on https://www.odoo.com/apps the OCA board has
    decided to add the OCA as author of all the addons maintained as part of the
    association.
    gurneyalex authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    ede1d2d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    1ae5791 View commit details
    Browse the repository at this point in the history
  30. [UPD] prefix versions with 8.0

    sbidoul authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    12f65e2 View commit details
    Browse the repository at this point in the history
  31. [MIG] Make modules uninstallable

    pedrobaeza authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    4481b65 View commit details
    Browse the repository at this point in the history
  32. [MIG] Rename manifest files

    pedrobaeza authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1940df6 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    3d2164d View commit details
    Browse the repository at this point in the history
  34. auth_admin_passkey to new API (OCA#519)

    rvalyi authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    19e58e6 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    fe80ca3 View commit details
    Browse the repository at this point in the history
  36. replace OpenERP with Odoo

    this fixes an issue reported on Transifex
    gurneyalex authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9c0dc2a View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    75cba01 View commit details
    Browse the repository at this point in the history
  38. auth_admin_passkey bug OCA#699

    alexis-via authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0e13da5 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    cb0ea40 View commit details
    Browse the repository at this point in the history
  40. PEP8 fix

    alexis-via authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0d6b376 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    3a62673 View commit details
    Browse the repository at this point in the history
  42. auth_admin_passkey: Migrate module for odoo 10

    Remove authenticate as check_credentials is dedicated for this
    purpose.
    
    Removed mail translations maybe possible in some way ?
    Give some space to the code
    
    Make the addon compliant to OCA guidelines
    Adapt readme to new template and compress header in tests
    Make the addon a python package
    
    NOTE: authenticate() method cannot be used in tests because a new cr
    is created in _login method that does not contains our user.
    
    Signed-off-by: Eugen Don <[email protected]>
    Fenkiou authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    ae42d58 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    a89567a View commit details
    Browse the repository at this point in the history
  44. [FIX] auth_admin_passkey: normal users are not able to read the admin…

    … user email. If a normal user and the administrator have the same password, an AccessError is raised (email of the admin account can not be read) and no security alert is sent by email
    sebalix authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    988b3e4 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    7df372d View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    0aee1e0 View commit details
    Browse the repository at this point in the history
  47. remove obsolete .pot files [ci skip]

    sbidoul authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    12945bc View commit details
    Browse the repository at this point in the history
  48. [UPD] Update auth_admin_passkey.pot

    oca-travis authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    15b112f View commit details
    Browse the repository at this point in the history
  49. [FIX] auth_admin_passkey : AccessError sending mail (#1298)

    * [FIX] AccessError sending mail
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    eedf14b View commit details
    Browse the repository at this point in the history
  50. Translated using Weblate (Portuguese)

    Currently translated at 90.9% (10 of 11 strings)
    
    Translation: server-tools-10.0/server-tools-10.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-tools-10-0/server-tools-10-0-auth_admin_passkey/pt/
    pedrocs-exo authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    dffc4cc View commit details
    Browse the repository at this point in the history
  51. [FIX] Import safe_eval function instead of module.

    George Daramouskas authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    73cf21b View commit details
    Browse the repository at this point in the history
  52. [PORT] 12.0: auth_admin_passkey

    [REF+IMP] move configuration for ir.config.parameter to odoo.cfg files, ref : OCA#21 So :
    - It's more GDPR compatible, because only system administrators that have already a full DB access can enable and use this feature
    - It's easier to have different settings, according to server env
    [REF] OCA convention (readme files, etc...)
    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    08ad91b View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    dd747de View commit details
    Browse the repository at this point in the history
  54. [FIX] rst syntax

    legalsylvain authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    bdafa33 View commit details
    Browse the repository at this point in the history
  55. [UPD] README.rst

    OCA-git-bot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    229d51d View commit details
    Browse the repository at this point in the history
  56. Translated using Weblate (Croatian)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: server-auth-12.0/server-auth-12.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_admin_passkey/hr/
    badbole authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    cfc8864 View commit details
    Browse the repository at this point in the history
  57. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: server-auth-12.0/server-auth-12.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_admin_passkey/pt_BR/
    Rodrigo Macedo authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    dbebcaf View commit details
    Browse the repository at this point in the history
  58. [UPD] Update auth_admin_passkey.pot

    oca-travis authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    7e2ee00 View commit details
    Browse the repository at this point in the history
  59. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-12.0/server-auth-12.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_admin_passkey/
    oca-transbot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0f5afa1 View commit details
    Browse the repository at this point in the history
  60. [IMP]auth_admin_passkey: New option to block the ability of logging i…

    …nto selected users accounts using the admin passkey.
    manuelregidor authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    4a221b2 View commit details
    Browse the repository at this point in the history
  61. [UPD] Update auth_admin_passkey.pot

    oca-travis authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    485a848 View commit details
    Browse the repository at this point in the history
  62. [UPD] README.rst

    OCA-git-bot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    cf3f472 View commit details
    Browse the repository at this point in the history
  63. auth_admin_passkey 12.0.1.1.0

    OCA-git-bot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    3c1f518 View commit details
    Browse the repository at this point in the history
  64. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-12.0/server-auth-12.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_admin_passkey/
    oca-transbot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    67c3660 View commit details
    Browse the repository at this point in the history
  65. Translated using Weblate (French)

    Currently translated at 100.0% (4 of 4 strings)
    
    Translation: server-auth-12.0/server-auth-12.0-auth_admin_passkey
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_admin_passkey/fr/
    ypapouin authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    194bf8c View commit details
    Browse the repository at this point in the history
  66. ci: apply dotfiles

    sbidoul authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    8bdd264 View commit details
    Browse the repository at this point in the history
  67. auth_admin_passkey 12.0.1.1.1

    OCA-git-bot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    9c38d41 View commit details
    Browse the repository at this point in the history
  68. [UPD] README.rst

    OCA-git-bot authored and remihb committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    0d68d93 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    a4e299a View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    4c048f3 View commit details
    Browse the repository at this point in the history