diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e45dd26a7..3271e142d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,6 @@ exclude: | (?x) # NOT INSTALLABLE ADDONS - ^fs_attachment_s3/| ^fs_file/| ^fs_folder/| ^fs_folder_demo/| diff --git a/fs_attachment_s3/README.rst b/fs_attachment_s3/README.rst index c2542f8872..70095e4f06 100644 --- a/fs_attachment_s3/README.rst +++ b/fs_attachment_s3/README.rst @@ -21,13 +21,13 @@ Fs Attachment S3 :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstorage-lightgray.png?logo=github - :target: https://github.com/OCA/storage/tree/18.0/fs_attachment_s3 + :target: https://github.com/OCA/storage/tree/19.0/fs_attachment_s3 :alt: OCA/storage .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-fs_attachment_s3 + :target: https://translation.odoo-community.org/projects/storage-19-0/storage-19-0-fs_attachment_s3 :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=18.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/storage&target_branch=19.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -126,7 +126,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -173,6 +173,6 @@ Current `maintainer `__: |maintainer-lmignon| -This module is part of the `OCA/storage `_ project on GitHub. +This module is part of the `OCA/storage `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fs_attachment_s3/__manifest__.py b/fs_attachment_s3/__manifest__.py index 4738edc8d6..d0cf0b8116 100644 --- a/fs_attachment_s3/__manifest__.py +++ b/fs_attachment_s3/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Fs Attachment S3", "summary": """Store attachments into S3 complient filesystem""", - "version": "18.0.1.1.0", + "version": "19.0.1.1.0", "license": "AGPL-3", "author": "ACSONE SA/NV,Odoo Community Association (OCA)", "website": "https://github.com/OCA/storage", @@ -13,11 +13,10 @@ "python": [ "fsspec[s3]", ], - 'installable': False, -}, + }, "data": [ "views/fs_storage.xml", ], "maintainers": ["lmignon"], - 'installable': False, + "installable": True, } diff --git a/fs_attachment_s3/static/description/index.html b/fs_attachment_s3/static/description/index.html index 076af7318a..d16b7b3d94 100644 --- a/fs_attachment_s3/static/description/index.html +++ b/fs_attachment_s3/static/description/index.html @@ -374,7 +374,7 @@

Fs Attachment S3

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:852406ff1d3d6c03d0b02cda7b0f0c83283b6ae8fecf485ec77615733d6ce8b2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

This module extends the functionality of fs_attachment to better support Amazon S3 storage. It includes features such as:

@@ -469,7 +469,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -506,7 +506,7 @@

Maintainers

promote its widespread use.

Current maintainer:

lmignon

-

This module is part of the OCA/storage project on GitHub.

+

This module is part of the OCA/storage project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/fs_attachment_s3/tests/test_fs_attachment_s3.py b/fs_attachment_s3/tests/test_fs_attachment_s3.py index faf4602a9d..b9b32b0736 100644 --- a/fs_attachment_s3/tests/test_fs_attachment_s3.py +++ b/fs_attachment_s3/tests/test_fs_attachment_s3.py @@ -18,8 +18,7 @@ def test_get_x_sendfile_path_s3_signed(self): url = self.fake_attachment_s3._get_x_sendfile_path() self.assertTrue( url.startswith( - "/fs_x_sendfile/http/minio.minio/" - "test-bucket/dir/sub/fake_s3_file.txt?" + "/fs_x_sendfile/http/minio.minio/test-bucket/dir/sub/fake_s3_file.txt?" ), "The end of the path should contain the path to the file " f"name and query parameters. ({url})", diff --git a/requirements.txt b/requirements.txt index 35567e0740..081b1db7b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ # generated from manifests external_dependencies fsspec>=2024.5.0 fsspec>=2025.3.0 +fsspec[s3] python_slugify