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

[18.0][MIG] auth_saml : Migration to 18.0 #725

Open
wants to merge 63 commits into
base: 18.0
Choose a base branch
from

Commits on Nov 10, 2024

  1. [IMP] Move files in a subdirectory

    [IMP] Cleanup
    max3903 authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    4f4e51a View commit details
    Browse the repository at this point in the history
  2. [MIG] auth_saml: Migration to 11.0

    max3903 authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    285f5d4 View commit details
    Browse the repository at this point in the history
  3. Typo

    yvaucher authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    1aadd13 View commit details
    Browse the repository at this point in the history
  4. [UPD] Update auth_saml.pot

    oca-travis authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7facd7c View commit details
    Browse the repository at this point in the history
  5. [ADD] icon.png

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    f2f08fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d15ed6e 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    5745957 View commit details
    Browse the repository at this point in the history
  8. [UPD] Update auth_saml.pot

    oca-travis authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    f2603b2 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    d77acf4 View commit details
    Browse the repository at this point in the history
  10. [FIX] dependencies

    [FIX] dependencies
    eilst authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    75121a1 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    e68e079 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 <[email protected]>
    2 people authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    bf4e732 View commit details
    Browse the repository at this point in the history
  13. [UPD] README.rst

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    097f183 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a5c3b8d View commit details
    Browse the repository at this point in the history
  15. [UPD] Update auth_saml.pot

    oca-travis authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    c04310a 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    e9fce09 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    b34d8f4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    1c7f757 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3cfa265 View commit details
    Browse the repository at this point in the history
  20. auth_saml: declare debian dependency

    simahawk authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7a07631 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    aea3a12 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f0edd26 View commit details
    Browse the repository at this point in the history
  23. [MIG] auth_saml: Migration to 15.0

    Camille0907 authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    37cb78d View commit details
    Browse the repository at this point in the history
  24. [UPD] Update auth_saml.pot

    oca-ci authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a0359fb 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    3ecc9dc 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7c0ba44 View commit details
    Browse the repository at this point in the history
  27. [UPD] Update auth_saml.pot

    oca-ci authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    726bb49 View commit details
    Browse the repository at this point in the history
  28. [UPD] README.rst

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    b6f45b7 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    ba508a3 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a471fdd 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    2297051 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2f299d8 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a7ad6e7 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a6c634c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    14134f8 View commit details
    Browse the repository at this point in the history
  36. [MIG] auth_saml: Migration to 16.0

    szekawong authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    01a4d3c View commit details
    Browse the repository at this point in the history
  37. [UPD] Update auth_saml.pot

    oca-ci authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7a5bdcb View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    1701eb9 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    5086ea5 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ea98154 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    4e7a0b0 View commit details
    Browse the repository at this point in the history
  42. auth_saml: add maintainer

    vincent-hatakeyama authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    0d203b3 View commit details
    Browse the repository at this point in the history
  43. [UPD] README.rst

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    d27aabb 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    35bccf6 View commit details
    Browse the repository at this point in the history
  45. 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    b39cd19 View commit details
    Browse the repository at this point in the history
  46. [UPD] README.rst

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    eb5e032 View commit details
    Browse the repository at this point in the history
  47. 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    6e8fad0 View commit details
    Browse the repository at this point in the history
  48. Small bugfix, RelayState can be empty

    tb-flyt authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    da2c4a0 View commit details
    Browse the repository at this point in the history
  49. [BOT] post-merge updates

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    1a19b8e View commit details
    Browse the repository at this point in the history
  50. 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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    d449767 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    7bd4b87 View commit details
    Browse the repository at this point in the history
  52. [BOT] post-merge updates

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    b507602 View commit details
    Browse the repository at this point in the history
  53. [MIG] auth_saml: pre-commit

    astirpe authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    2fdf48f View commit details
    Browse the repository at this point in the history
  54. [MIG] auth_saml: migrate to V17

    astirpe authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    2145391 View commit details
    Browse the repository at this point in the history
  55. [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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    fb08d15 View commit details
    Browse the repository at this point in the history
  56. [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 letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    785fd48 View commit details
    Browse the repository at this point in the history
  57. [MIG] Improved test coverege

    oussjarrousse authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    6174b03 View commit details
    Browse the repository at this point in the history
  58. [UPD] Update auth_saml.pot

    oca-ci authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    04834a9 View commit details
    Browse the repository at this point in the history
  59. [BOT] post-merge updates

    OCA-git-bot authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    a1b0aeb View commit details
    Browse the repository at this point in the history
  60. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-auth-17.0/server-auth-17.0-auth_saml
    Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_saml/
    weblate authored and letzdoo-js committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    c81cf43 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    f23be80 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    89df146 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. Clean token on logout

    letzdoo-js committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    6d6d0c4 View commit details
    Browse the repository at this point in the history