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

Rename public uploads to file uploads #2336

Merged
merged 3 commits into from
Jul 29, 2024
Merged

Conversation

johnnyomair
Copy link
Collaborator

@johnnyomair johnnyomair commented Jul 25, 2024

The name "public uploads" was not fitting since the uploads can also be used for "private" uploads in the Admin. The feature was therefore renamed to "file uploads".

This requires the following changes:

  • Use FilesUploadModule instead of PublicUploadModule
  • Use FileUpload instead of PublicUpload
  • Use FileUploadsService instead of PublicUploadsService
  • Change the upload URL from /public-upload/files/upload to /files-uploads/upload

PR Checklist

  • Verify if the change requires a changeset. See CONTRIBUTING.md
  • Link to the respective task if one exists: COM-945

@johnnyomair johnnyomair added this to the v7.0.0 milestone Jul 25, 2024
@johnnyomair johnnyomair self-assigned this Jul 25, 2024
The name "public uploads" was not fitting since the uploads can also be used for "private" uploads in the Admin.
The feature was therefore renamed to "file uploads".

This requires the following changes:

-   Use `FilesUploadModule` instead of `PublicUploadModule`
-   Use `FileUpload` instead of `PublicUpload`
-   Use `FileUploadsService` instead of `PublicUploadsService`
-   Change the upload URL from `/public-upload/files/upload` to `/files-uploads/upload`
thomasdax98
thomasdax98 previously approved these changes Jul 25, 2024
.changeset/nice-pigs-mate.md Outdated Show resolved Hide resolved
Co-authored-by: Thomas Dax <thomas.dax@vivid-planet.com>
thomasdax98
thomasdax98 previously approved these changes Jul 25, 2024
nsams
nsams previously approved these changes Jul 25, 2024
@johnnyomair johnnyomair dismissed stale reviews from nsams and thomasdax98 via 85c61c7 July 25, 2024 14:14
@johnnyomair johnnyomair merged commit 6ac10ed into next Jul 29, 2024
12 checks passed
@johnnyomair johnnyomair deleted the rename-public-uploads branch July 29, 2024 06:07
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.

3 participants