Skip to content

fix: remove assets from shared link#22814

Closed
MontejoJorge wants to merge 23 commits intoimmich-app:mainfrom
MontejoJorge:fix/remove-assets-from-shared-link
Closed

fix: remove assets from shared link#22814
MontejoJorge wants to merge 23 commits intoimmich-app:mainfrom
MontejoJorge:fix/remove-assets-from-shared-link

Conversation

@MontejoJorge
Copy link
Contributor

@MontejoJorge MontejoJorge commented Oct 9, 2025

Description

Looking into this issue #22124 , I realized that the DELETE /shared-links/:id/assets endpoint was not deleting the assets from the shared_link_asset table, and returning success: true

Resolves #22105

How Has This Been Tested?

  • With a few existing assetsIds
  • With a few existing assetsIds and a few that does not exists

Checklist:

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

Please describe to which degree, if any, an LLM was used in creating this pull request.

None

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2025

Label error. Requires exactly 1 of: changelog:.*. Found: 🗄️server. A maintainer will add the required label.

@MontejoJorge MontejoJorge marked this pull request as ready for review October 9, 2025 19:51
bo0tzz and others added 21 commits October 14, 2025 17:59
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…2818)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
…22846)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Found via `codespell -q 3 -S "*.svg,./i18n,./docs/package-lock.json,./readme_i18n,./mobile/assets/i18n" -L afterall,devlop,finaly,inout,nd,optin,renderd,sade`
…h-app#22695)

* skip posting message after detached from engine

* review changes

* cancel plugin before destroying engine

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
…ocker digest to 6f3e9d2 (immich-app#22912)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…gvectors0.2.0 docker digest to bcf6335 (immich-app#22913)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix: re-add scroll compensation (efficient)

* Rename showSkeleton to invisible. Adjust skeleton margins, invisible support.

* Fix faulty logic, simplify

* Calculate ratios and determine compensation strategy: height comp for above/partiality visible, month-scroll comp within a fully visible month.

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
* fix: shared album control permissions

* fix: properly display "add photos"

* fix: dont allow modification of album order

* fix: album title/description edit from app bar

* chore: code review changes

* chore: format translations

* chore: lintings
* fix: show dialog on delete local action

# Conflicts:
#	mobile/lib/repositories/asset_media.repository.dart

* button style

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-app#22915)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
@MontejoJorge
Copy link
Contributor Author

MontejoJorge commented Oct 14, 2025

whoops i think i messed it up, i ill create another pr (#22935)

@MontejoJorge MontejoJorge deleted the fix/remove-assets-from-shared-link branch October 14, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting photos from shared link does not work

7 participants