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] storage_thumbnail: Migration to 18.0 #435

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

Commits on Nov 19, 2024

  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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    26aa982 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f785242 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03a2b2e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0bdd2eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    595cf97 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    1978392 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9cbeaec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a64d790 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2fe422d 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    549fd96 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    0ea96fc 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e90749c View commit details
    Browse the repository at this point in the history
  13. [FIX] fix missing noupdate

    sebastienbeau authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    3492af5 View commit details
    Browse the repository at this point in the history
  14. [FIX] clean with pre-commit and pep 8

    bguillot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    6ede35f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    424ccfe View commit details
    Browse the repository at this point in the history
  16. [IMP] tests

    bguillot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9a331ac View commit details
    Browse the repository at this point in the history
  17. [FIX] clean code

    bguillot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    7af7eec View commit details
    Browse the repository at this point in the history
  18. [FIX] always send the extension

    bguillot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    99ca8bc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7c376e8 View commit details
    Browse the repository at this point in the history
  20. [12.0][MIG] storage_thumbnail

    rousseldenis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e004a56 View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bfbc138 View commit details
    Browse the repository at this point in the history
  22. [ADD] icon.png

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    552ea2e View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c51d74f 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    3cfbe08 View commit details
    Browse the repository at this point in the history
  25. pre-commit, black, isort

    sbidoul authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    a725900 View commit details
    Browse the repository at this point in the history
  26. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    8866f7e View commit details
    Browse the repository at this point in the history
  27. 13.0: Create branche

    lmignon authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    56075e9 View commit details
    Browse the repository at this point in the history
  28. [MIG] storage_thumbnail: Migration to 13.0

    Laurent-Corron authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    222235b View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    dac64ec View commit details
    Browse the repository at this point in the history
  30. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    5527ccc View commit details
    Browse the repository at this point in the history
  31. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    815ea12 View commit details
    Browse the repository at this point in the history
  32. Add server_env support

    simahawk authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4d8445e 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    28d66a8 View commit details
    Browse the repository at this point in the history
  34. pre-commit update

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    8f3dd48 View commit details
    Browse the repository at this point in the history
  35. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    2bcf750 View commit details
    Browse the repository at this point in the history
  36. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f7edb36 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    cf0828d View commit details
    Browse the repository at this point in the history
  38. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    b3fa222 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bea501b View commit details
    Browse the repository at this point in the history
  40. [ADD] add new V14 config

    sebastienbeau authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bff8a7d View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    5f40f8c View commit details
    Browse the repository at this point in the history
  42. [MIG] batch migration of modules

    sebastienbeau authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    c1a59d4 View commit details
    Browse the repository at this point in the history
  43. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f411ea6 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4a8ea31 View commit details
    Browse the repository at this point in the history
  45. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e10a3d6 View commit details
    Browse the repository at this point in the history
  46. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    6308644 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    22c488c View commit details
    Browse the repository at this point in the history
  48. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    3130920 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    b7f20bb View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    a535023 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    3b731c4 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    7705a05 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f554bcd View commit details
    Browse the repository at this point in the history
  54. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    5ac5ff1 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    554ddb9 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    17d412b View commit details
    Browse the repository at this point in the history
  57. [FIX] function _compute_main_thumbs

    mathieu authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    ff9ac26 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bd2db51 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    fc96143 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    675e73b 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f0b2678 View commit details
    Browse the repository at this point in the history
  62. [UPD] Update storage_thumbnail.pot

    oca-travis authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    97bd381 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 thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    1bd3c35 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    35ad6e5 View commit details
    Browse the repository at this point in the history
  65. [UPD] Update storage_thumbnail.pot

    oca-ci authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    bc53c5e View commit details
    Browse the repository at this point in the history
  66. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4a9a547 View commit details
    Browse the repository at this point in the history
  67. [UPD] README.rst

    OCA-git-bot authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    e74bdad View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    05a9665 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    75aeed3 View commit details
    Browse the repository at this point in the history
  70. storage_thumbnail: fix, always use slugified url_key

    Both for creating and searching thumbnails.
    
    This avoid an infinite creation of thumbnails on images as soon as an
    `url_key` is provided.
    
    This is a regression introduced by commit 1976597
    sebalix authored and thienvh332 committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    0b54c2d View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    fa9b18d View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Configuration menu
    Copy the full SHA
    474a634 View commit details
    Browse the repository at this point in the history
  2. [ADD] add odoo_test_helper

    thienvh332 committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    5d0843f View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. Configuration menu
    Copy the full SHA
    7dfbb1e View commit details
    Browse the repository at this point in the history