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

feat(server): Shortened asset ID in storage template #16433

Merged
merged 4 commits into from
Feb 28, 2025

Conversation

mmomjian
Copy link
Contributor

@mmomjian mmomjian commented Feb 28, 2025

Description

Allow last 12 chars of UUID4/7 for storage template. UUIDv4 and v7 have the same character layout so it is cross compatible

How Has This Been Tested?

Dev container setup, uploaded image, appeared with correct path

./admin/2025/2025-02-28/360_F_143428338_gcxw3Jcd0tJpkvvb53pfEztwtU9sxsgT__f43f320afbb3_--___cf2cb398-236d-4cb9-9651-f43f320afbb3.jpg

Screenshots (if appropriate)

image

Checklist:

  • [x ] I have performed a self-review of my own code
  • [x ] I have made corresponding changes to the documentation if applicable
  • [x ] I have no unrelated changes in the PR.
  • [x ] I have confirmed that any new dependencies are strictly necessary.
  • I have written tests for new code (if applicable)
  • [x ] I have followed naming conventions/patterns in the surrounding code
  • [x ] All code in src/services uses repositories implementations for database calls, filesystem operations, etc.
  • [x ] All code in src/repositories/ is pretty basic/simple and does not have any immich specific logic (that belongs in src/services)

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 28, 2025
@mmomjian
Copy link
Contributor Author

image

Updated preview box

@mmomjian
Copy link
Contributor Author

are we ok with camelCase here? The caps is is a little inconsistent as everything except for assetId is lower

@danieldietzler
Copy link
Member

are we ok with camelCase here? The caps is is a little inconsistent as everything except for assetId is lower

I prefer camel case and I think it's okay to use that here.

@mmomjian
Copy link
Contributor Author

Sounds good

@jrasm91 jrasm91 merged commit efcf773 into immich-app:main Feb 28, 2025
37 checks passed
knechtandreas added a commit to knechtandreas/immich that referenced this pull request Mar 2, 2025
…n-grid

* main: (22 commits)
  feat: add album keyboard shortcuts (immich-app#16442)
  fix(web): Default to context search on web (immich-app#16485)
  fix(mobile): Updated formatting of server address in networking (immich-app#16483)
  chore(mobile): rename log enum to lowercase (immich-app#16476)
  fix(web): Open huggingface.co link on settings page in new tab (immich-app#16470)
  fix(web): fix typos (immich-app#16466)
  fix(web): Fixed people list overflowing in advanced search (immich-app#16457)
  fix(web): unable to download live photo as anonymous user (immich-app#16455)
  fix(mobile): fix typos (immich-app#16456)
  chore: add 'not duplicate' checkbox to issue template (immich-app#16462)
  chore(mobile): post release task (immich-app#16437)
  feat(server): Shortened asset ID in storage template (immich-app#16433)
  chore: version v1.128.0
  fix: memories off by one (immich-app#16434)
  fix(server): stringify error log parameter to ensure correct overload (immich-app#16422)
  fix: duplicate memories (immich-app#16432)
  chore(server): trash e2e cleanup (immich-app#16423)
  fix(server): include deleted assets if searching offline assets (immich-app#16417)
  fix: user delete sync query sort by id (immich-app#16420)
  fix(mobile): background backup failing due to store (immich-app#16418)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants