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

[16.0][MIG] storage_thumbnail #272

Closed
wants to merge 69 commits into from

Commits on Aug 14, 2023

  1. [REF] start refactoring storage_image, split storage_image in two mod…

    …ule, storage_image and storage_thumbnail add a generic mixing for thumbnail owner
    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    67c197e View commit details
    Browse the repository at this point in the history
  2. [REF] rename method store and retrieve by more explicit method add/ge…

    …t with the specifiation of the type of file binary or base64
    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    59b0fc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c90caa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7d24dee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    be74a87 View commit details
    Browse the repository at this point in the history
  6. [REF] review access right add special group for images, make method f…

    …or add and removing file on backend private
    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2e5651a View commit details
    Browse the repository at this point in the history
  7. [FIX] fixed cache issue when generating the thumbnail, no need to cle…

    …ar the cache manually anymore
    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    05460b3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d31ec24 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e827ea View commit details
    Browse the repository at this point in the history
  10. [REF] rename alt_name in url_key as this will be only used for the ur…

    …l key, extract method for building the domain, generate the url of the image correclty and add a test
    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e3ef5d0 View commit details
    Browse the repository at this point in the history
  11. [IMP] storage_thumbnail: Improve performance by avoiding 1 search for…

    … each thumbnail to retrieve
    lmignon authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2bb9d81 View commit details
    Browse the repository at this point in the history
  12. [FIX] storage_thumbnail: Thumbnail must be created using the relation…

    … to avoid trouble with the ORM
    lmignon authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5f110c5 View commit details
    Browse the repository at this point in the history
  13. [FIX] fix missing noupdate

    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d6c795a View commit details
    Browse the repository at this point in the history
  14. [FIX] clean with pre-commit and pep 8

    bguillot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4417318 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    fbe5261 View commit details
    Browse the repository at this point in the history
  16. [IMP] tests

    bguillot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    5a69718 View commit details
    Browse the repository at this point in the history
  17. [FIX] clean code

    bguillot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    20fef01 View commit details
    Browse the repository at this point in the history
  18. [FIX] always send the extension

    bguillot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2324c34 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8f1f435 View commit details
    Browse the repository at this point in the history
  20. [12.0][MIG] storage_thumbnail

    rousseldenis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    500fc3f View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6c9b917 View commit details
    Browse the repository at this point in the history
  22. [ADD] icon.png

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7b35528 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    013900f View commit details
    Browse the repository at this point in the history
  24. storage_thumbnail 12.0.1.0.1

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    06d1158 View commit details
    Browse the repository at this point in the history
  25. pre-commit, black, isort

    sbidoul authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2cc782d View commit details
    Browse the repository at this point in the history
  26. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    c7bbd36 View commit details
    Browse the repository at this point in the history
  27. 13.0: Create branche

    lmignon authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1496c00 View commit details
    Browse the repository at this point in the history
  28. [MIG] storage_thumbnail: Migration to 13.0

    Laurent-Corron authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e5a8ca8 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    86a3f2d View commit details
    Browse the repository at this point in the history
  30. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    efe927e View commit details
    Browse the repository at this point in the history
  31. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7c2b3a5 View commit details
    Browse the repository at this point in the history
  32. Add server_env support

    simahawk authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3d47d97 View commit details
    Browse the repository at this point in the history
  33. storage_thumbnail 12.0.2.0.0

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    7db78a2 View commit details
    Browse the repository at this point in the history
  34. pre-commit update

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a9f282c View commit details
    Browse the repository at this point in the history
  35. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3639c76 View commit details
    Browse the repository at this point in the history
  36. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    205f6b5 View commit details
    Browse the repository at this point in the history
  37. [FIX] fix wrong key in manisfest'

    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6b9342b View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    c0769c3 View commit details
    Browse the repository at this point in the history
  39. storage_thumbnail 13.0.1.0.1

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    18fb0e8 View commit details
    Browse the repository at this point in the history
  40. [ADD] add new V14 config

    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    43a49d8 View commit details
    Browse the repository at this point in the history
  41. [IMP] all: black, isort, prettier

    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    8eb9b02 View commit details
    Browse the repository at this point in the history
  42. [MIG] batch migration of modules

    sebastienbeau authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    832cf16 View commit details
    Browse the repository at this point in the history
  43. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    773598d View commit details
    Browse the repository at this point in the history
  44. storage_thumbnail 14.0.1.0.1

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    230ab2e View commit details
    Browse the repository at this point in the history
  45. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e8d3134 View commit details
    Browse the repository at this point in the history
  46. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    afbbed2 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    af858d8 View commit details
    Browse the repository at this point in the history
  48. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0399804 View commit details
    Browse the repository at this point in the history
  49. storage_thumbnail 14.0.2.0.0

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    58a2bee View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    ad11db0 View commit details
    Browse the repository at this point in the history
  51. storage_thumb: do not store url

    The URL for all storage files is normally computed via backend.
    This ensures that if you have different conf by env
    you won't mess up w/ images coming from other envs (eg: prod).
    
    This change makes sure that the URL which is used for the thumbs
    is always computed by the backend.
    simahawk authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d0108b1 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    f54da3c View commit details
    Browse the repository at this point in the history
  53. [FIX] storage_thumbnail: odoo_test_helper warning

    Fixes the following warning:
    
    Wrong Import in module storage_thumbnail, the class
    <class 'odoo.addons.storage_thumbnail.tests.models.ModelTest'>
    have been already imported.
    ivantodorovich authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    9795c89 View commit details
    Browse the repository at this point in the history
  54. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2954806 View commit details
    Browse the repository at this point in the history
  55. storage_thumbnail 14.0.2.2.0

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    b259b3a View commit details
    Browse the repository at this point in the history
  56. [14.0] storage_thumbnail: refactor to ease override

    Cédric Pigeon authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    43030cd View commit details
    Browse the repository at this point in the history
  57. [FIX] function _compute_main_thumbs

    mathieu authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    fc11c93 View commit details
    Browse the repository at this point in the history
  58. storage_thumbnail 14.0.2.2.1

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    82a2210 View commit details
    Browse the repository at this point in the history
  59. storage_thumbnail 14.0.2.2.2

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    0a80dfd View commit details
    Browse the repository at this point in the history
  60. storage_thumbnail: use internal url when needed

    The backend flag 'backend_view_use_internal_url'
    can be used to control whether to use internal url or public url
    for showing images in the backend w/ thumbs urls.
    simahawk authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    d83f4ad View commit details
    Browse the repository at this point in the history
  61. storage_thumbnail: compute relations w/ sudo

    ACL is not relevant at all in these cases.
    simahawk authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a6ff471 View commit details
    Browse the repository at this point in the history
  62. [UPD] Update storage_thumbnail.pot

    oca-travis authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    f55ee05 View commit details
    Browse the repository at this point in the history
  63. storage_thumbnail 14.0.2.3.0

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    a05fb57 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    d9e9e8a View commit details
    Browse the repository at this point in the history
  65. [UPD] Update storage_thumbnail.pot

    oca-ci authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4d07df3 View commit details
    Browse the repository at this point in the history
  66. [UPD] README.rst

    OCA-git-bot authored and sbejaoui committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    74457b2 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    f8dd5d0 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    08c0859 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    a8409f5 View commit details
    Browse the repository at this point in the history