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_file: Migration to 18.0 #434

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

Conversation

thienvh332
Copy link
Contributor

No description provided.

OCA-git-bot and others added 26 commits November 19, 2024 12:04
If any piece of the URL has a trailing slash, the URL might be wrong.
To boost URL computation for files, the base URL is stored.
Make sure it's refreshed on restart in case env settings changed
(typical case: move prod db to state/integration/dev).
In some cases, is desirable to not have the CDN URL.

Examples:

- reduce payload of images metadata (URL is the same for all of them)
- use same storage but different CDN URLs for different frontends
Copy will only work when using name_id strategy, when using checksum, it will fail, as the relative_path must be unique by storage
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.