Skip to content

[MIG] fs_storage: Migration to 18.0#390

Closed
qgroulard wants to merge 47 commits intoOCA:17.0from
acsone:18.0-mig-fs_storage
Closed

[MIG] fs_storage: Migration to 18.0#390
qgroulard wants to merge 47 commits intoOCA:17.0from
acsone:18.0-mig-fs_storage

Conversation

@qgroulard
Copy link
Contributor

No description provided.

OCA-git-bot and others added 28 commits October 7, 2024 09:02
This addon define a new model 'fs.storage'  used to get access to a filesystem storage (ftp, sftp, s3, azure, ...) through an unified interface provided by the 'fsspec' python library (https://filesystem-spec.readthedocs.io/en/latest)
…dav. It is not possible to specify a tuple in json
Add history for commit included from OCA#285 and the author to the contributors list
Before this change, users with basic access rights was no more able to create an attachment. The problem was caused by the need to access system information to determine in which file system the attachment should be created, when this sensitive information is not accessible to everyone. The change consists of reading this information in sudo to bypass this security restriction in this specific context.
Currently translated at 100.0% (37 of 37 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/es/
Currently translated at 100.0% (37 of 37 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/es/
Currently translated at 100.0% (37 of 37 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/es/
Currently translated at 100.0% (37 of 37 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/it/
Before the change, reading the options protocol might not be in sync
with the record protocol.
This is particularly the case if the record is save in the middle of editing
as the value resets, which can be quite confusing.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/
mymage and others added 19 commits October 7, 2024 12:00
Currently translated at 100.0% (39 of 39 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/it/
Currently translated at 100.0% (39 of 39 strings)

Translation: storage-16.0/storage-16.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-16-0/storage-16-0-fs_storage/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/
Currently translated at 92.1% (35 of 38 strings)

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/it/
Currently translated at 92.1% (35 of 38 strings)

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/it/
Currently translated at 100.0% (38 of 38 strings)

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/es/
Since fsspec/filesystem_spec@da77548 it is necessary to set in make_path_posix() only 1 argument
Currently translated at 100.0% (38 of 38 strings)

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/it/
Currently translated at 100.0% (38 of 38 strings)

Translation: storage-17.0/storage-17.0-fs_storage
Translate-URL: https://translation.odoo-community.org/projects/storage-17-0/storage-17-0-fs_storage/zh_CN/
Since protocol is under server_environment control, it seems its default value takes priority over a value set in an XML record.

Since it does really make much sense to create a storage backend without specifying
the protocol, we remove the default value.
@qgroulard qgroulard closed this Oct 7, 2024
@qgroulard qgroulard force-pushed the 18.0-mig-fs_storage branch from 05106b1 to 2cb6a94 Compare October 7, 2024 10:05
@qgroulard
Copy link
Contributor Author

Superseded by #399

lmignon pushed a commit to acsone/storage that referenced this pull request Oct 7, 2024
sbidoul pushed a commit to acsone/storage that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments