mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-26 09:25:51 +00:00
* Initial look at fixing issue where images are uploaded to the wrong album if a shared album conflicts with a local users album. * Use owner instead of shared flag when fetching albums. * Fix issue with refreshRemoteAlbums getting shared items twice and removed incorrect isShared comment. Using `getAll(shared: true)` gets all shared albums the user can access (regardless of owner, despite the previous comment). Using `getAll(shared: null)` gets all albums (incuding shared = true and shared = false). I presume the intent here was to get albums that were shared (and not mine), and not shared (ie: mine), but the logic is way off. It also just then combines them - so makes more sense to just get them in a single call. * Fix formatting. * Fixed tests. * Revert "Fixed tests." This reverts commit c38f5af5acfc38444b00ed716755c241d297216a. * Revert "Fix issue with refreshRemoteAlbums getting shared items twice and removed incorrect isShared comment." This reverts commit 979ce90abf22c6cd80ff06f61a08d0c03092991b. * Added comments to explain why filters behave the way they do for getAll() albums. --------- Co-authored-by: Tom graham <tomg@questps.com.au> Co-authored-by: Alex <alex.tran1502@gmail.com> |
||
|---|---|---|
| .. | ||
| album | ||
| asset_viewer | ||
| backup | ||
| image | ||
| map | ||
| search | ||
| activity.provider.dart | ||
| activity.provider.g.dart | ||
| activity_service.provider.dart | ||
| activity_service.provider.g.dart | ||
| activity_statistics.provider.dart | ||
| activity_statistics.provider.g.dart | ||
| api.provider.dart | ||
| api.provider.g.dart | ||
| app_life_cycle.provider.dart | ||
| app_settings.provider.dart | ||
| app_settings.provider.g.dart | ||
| archive.provider.dart | ||
| asset.provider.dart | ||
| auth.provider.dart | ||
| db.provider.dart | ||
| favorite.provider.dart | ||
| gallery_permission.provider.dart | ||
| haptic_feedback.provider.dart | ||
| immich_logo_provider.dart | ||
| immich_logo_provider.g.dart | ||
| locale_provider.dart | ||
| memory.provider.dart | ||
| multiselect.provider.dart | ||
| network.provider.dart | ||
| notification_permission.provider.dart | ||
| oauth.provider.dart | ||
| partner.provider.dart | ||
| server_info.provider.dart | ||
| shared_link.provider.dart | ||
| tab.provider.dart | ||
| theme.provider.dart | ||
| trash.provider.dart | ||
| upload_profile_image.provider.dart | ||
| user.provider.dart | ||
| websocket.provider.dart | ||