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

[17.0][MIG] auth_saml #634

Open
wants to merge 56 commits into
base: 17.0
Choose a base branch
from
Open

[17.0][MIG] auth_saml #634

wants to merge 56 commits into from

Commits on Jun 4, 2024

  1. [IMP] Move files in a subdirectory

    [IMP] Cleanup
    max3903 authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    aedb350 View commit details
    Browse the repository at this point in the history
  2. [MIG] auth_saml: Migration to 11.0

    max3903 authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    092fea8 View commit details
    Browse the repository at this point in the history
  3. Typo

    yvaucher authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    3b3c30c View commit details
    Browse the repository at this point in the history
  4. [UPD] Update auth_saml.pot

    oca-travis authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    7e43593 View commit details
    Browse the repository at this point in the history
  5. [ADD] icon.png

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    4e12101 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    32fcb00 View commit details
    Browse the repository at this point in the history
  7. [FIX] auth_saml: Fix KeyError using auth_oauth module. (OCA#149)

    The following line of code for 11.0:
     - https://github.com/odoo/odoo/blob/52d6f0e3ee90874fc93fec9cdff74ec71d3b991f/addons/auth_oauth/controllers/main.py#L69
    
    is assigning the key "auth_link" for "list_providers" method.
    
    The following template is expecting this key:
     - https://github.com/odoo/odoo/blob/52d6f0e3ee90874fc93fec9cdff74ec71d3b991f/addons/auth_oauth/views/auth_oauth_templates.xml#L5
    
    So, it raise a KeyError compiling "template_auth_oauth_providers_N"
    
    This change is fixing adding that expected key in order to avoid this KeyError
    moylop260 authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    95c0aee View commit details
    Browse the repository at this point in the history
  8. [UPD] Update auth_saml.pot

    oca-travis authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    58f6e98 View commit details
    Browse the repository at this point in the history
  9. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-11.0/server-auth-11.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-11-0/server-auth-11-0-auth_saml/
    oca-transbot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    772784a View commit details
    Browse the repository at this point in the history
  10. [FIX] dependencies

    [FIX] dependencies
    eilst authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f27c5ec View commit details
    Browse the repository at this point in the history
  11. [MIG] auth_saml to 12.0

    add requirement on lasso
    gurneyalex authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    706e2a1 View commit details
    Browse the repository at this point in the history
  12. [MIG][REF] General cleanup for migration

    - Default behavior is now to allow password and SAML together.
      Otherwise, users could keep getting their passwords removed without warning.
    - General cleanup.
    - Remove relations to field `password_crypt` because in v12 the
      `password` field is always encrypted instead.
    
    Co-Authored-By: Alexandre Díaz <alexandre.diaz@tecnativa.com>
    2 people authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    a88940b View commit details
    Browse the repository at this point in the history
  13. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    eae5c56 View commit details
    Browse the repository at this point in the history
  14. FIX auth_saml committing saml_access_token otherwise login_and_redire…

    …ct uses old data
    eLBati authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    14afa11 View commit details
    Browse the repository at this point in the history
  15. [UPD] Update auth_saml.pot

    oca-travis authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    1367c10 View commit details
    Browse the repository at this point in the history
  16. 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_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-auth_saml/
    oca-transbot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    ee21b40 View commit details
    Browse the repository at this point in the history
  17. auth_saml 12.0.1.0.1

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    39f183c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    478527c View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e0cf8c4 View commit details
    Browse the repository at this point in the history
  20. auth_saml: declare debian dependency

    simahawk authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    8293ae4 View commit details
    Browse the repository at this point in the history
  21. auth_saml 14.0.1.0.1

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    95b8332 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    77ee0ae View commit details
    Browse the repository at this point in the history
  23. [MIG] auth_saml: Migration to 15.0

    Camille0907 authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    80fefa0 View commit details
    Browse the repository at this point in the history
  24. [UPD] Update auth_saml.pot

    oca-ci authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e412c38 View commit details
    Browse the repository at this point in the history
  25. Translated using Weblate (French)

    Currently translated at 100.0% (37 of 37 strings)
    
    Translation: server-auth-15.0/server-auth-15.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_saml/fr/
    vincent-hatakeyama authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    44aab46 View commit details
    Browse the repository at this point in the history
  26. 🚑 Fix the module by adding a transaction to commit the token

    🚑 Fix the disallow password for users with SAML ids
    Added tests to ensure the feature works correctly.
    Admin user is also an exception from not having a password. In Odoo 15.0, this is the standard user to connect for administrative task, not the super user.
    ✨ Improve provider form and list views
    ✨⏩ port of 11.0 automatic redirection from 11.0 version. Use disable_autoredirect as a parameter query to disable automatic redirection (for example https://example.com/web/login?disable_autoredirect=)
    💄 Add certificate file name fields to improve the UI
    📝 Add required on several fields of the SAML provider; without them the server will crash and there is not enough information to make SAML work.
    ✨ Split signing to have finer control and be compatible with more IDP.
    🔨 Integrate token into res.users.saml, removing auth_saml.token. No need for a separate table, and no more need to create lines in the table.
    📝 Avoid server errors when user try metadata page without necessary parameters.
    🚑 Replace method call from odoo.http.redirect_with_hash to request.redirect as the former does not exists in Odoo 15.0 anymore.
    📚 Improved the module documentation
    👕 pylint fixes and other fixes or minor changes
    vincent-hatakeyama authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f8766da View commit details
    Browse the repository at this point in the history
  27. [UPD] Update auth_saml.pot

    oca-ci authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e9a9b3b View commit details
    Browse the repository at this point in the history
  28. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    fa19fca View commit details
    Browse the repository at this point in the history
  29. auth_saml 15.0.1.1.0

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    e86ed82 View commit details
    Browse the repository at this point in the history
  30. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-15.0/server-auth-15.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_saml/
    oca-transbot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    84bcd0f View commit details
    Browse the repository at this point in the history
  31. Translated using Weblate (French)

    Currently translated at 100.0% (90 of 90 strings)
    
    Translation: server-auth-15.0/server-auth-15.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-15-0/server-auth-15-0-auth_saml/fr/
    vincent-hatakeyama authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    9f50887 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    51a25cf View commit details
    Browse the repository at this point in the history
  33. auth_saml 15.0.1.1.1

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    9e3c20b View commit details
    Browse the repository at this point in the history
  34. [ADD] auth_saml: Improve login page

    Make the login page compatible with auth_oauth by using a differently
    named variable.
    
    Render the button with the similar classes and HTML as what is done by auth_oauth.
    That includes using the default CSS and adding translation for the
    button text.
    vincent-hatakeyama authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    1f98ba9 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    4b96fc0 View commit details
    Browse the repository at this point in the history
  36. [MIG] auth_saml: Migration to 16.0

    szekawong authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    a0c6b6e View commit details
    Browse the repository at this point in the history
  37. [UPD] Update auth_saml.pot

    oca-ci authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    a360bd3 View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    8272bb2 View commit details
    Browse the repository at this point in the history
  39. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-16.0/server-auth-16.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_saml/
    weblate authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    5e13156 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    2c77341 View commit details
    Browse the repository at this point in the history
  41. auth_saml 16.0.1.0.1

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    5e65e77 View commit details
    Browse the repository at this point in the history
  42. auth_saml: add maintainer

    vincent-hatakeyama authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    b772aa5 View commit details
    Browse the repository at this point in the history
  43. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f5781c3 View commit details
    Browse the repository at this point in the history
  44. auth_saml 16.0.1.0.2

    OCA-git-bot authored and astirpe committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    b6756fd View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Added translation using Weblate (Spanish)

    Translated using Weblate (Spanish)
    
    Currently translated at 100.0% (90 of 90 strings)
    
    Translation: server-auth-16.0/server-auth-16.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_saml/es/
    Ivorra78 authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    eeb799e View commit details
    Browse the repository at this point in the history
  2. [UPD] README.rst

    OCA-git-bot authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    65a6d70 View commit details
    Browse the repository at this point in the history
  3. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-16.0/server-auth-16.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_saml/
    weblate authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    281955a View commit details
    Browse the repository at this point in the history
  4. Small bugfix, RelayState can be empty

    tb-flyt authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ec00146 View commit details
    Browse the repository at this point in the history
  5. [BOT] post-merge updates

    OCA-git-bot authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4379dc2 View commit details
    Browse the repository at this point in the history
  6. Added translation using Weblate (Italian)

    Translated using Weblate (Italian)
    
    Currently translated at 85.5% (77 of 90 strings)
    
    Translation: server-auth-16.0/server-auth-16.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_saml/it/
    
    Translated using Weblate (Italian)
    
    Currently translated at 100.0% (90 of 90 strings)
    
    Translation: server-auth-16.0/server-auth-16.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_saml/it/
    mymage authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    078340c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d410ac1 View commit details
    Browse the repository at this point in the history
  8. [BOT] post-merge updates

    OCA-git-bot authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    d1c36b4 View commit details
    Browse the repository at this point in the history
  9. [MIG] auth_saml: pre-commit

    astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    70aed43 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    306979e View commit details
    Browse the repository at this point in the history
  11. [FIX] auth_saml: update signin method

    Updated the signin method to reflect changes in similar method signin
    from auth_oauth.
    Without the changes, the ORM crashes with
    psycopg2.errors.InvalidSavepointSpecification when trying to signin.
    
    Fixes OCA#664
    vincent-hatakeyama authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f5aa0d4 View commit details
    Browse the repository at this point in the history
  12. [IMP] auth_saml: Allow admin/managers to edit User SAML information

    As user in that group can already edit users, so it make sense to allow
    them to see and edit that information rather than restrict it to
    admin/system.
    aronabencherif authored and astirpe committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    440b787 View commit details
    Browse the repository at this point in the history