mirror of
https://github.com/immich-app/immich.git
synced 2026-06-11 21:01:27 +08:00
* feat(server)!: add owned filter to albums API BREAKING CHANGE: GET /albums with no parameters now returns all accessible albums (owned + shared-with-me) instead of only owned albums. * document tri-state matrix * web impl * collapse to single method and handover branching to sql * dedupe * verify that owned, shared, and notShared counts are mapped independently from their respective queries * refactor(server): add select:['id'] overload to albumRepository.getAll Avoid fetching full album rows (with albumUsers/sharedLinks subqueries) in map.service where only album IDs are needed. * focus relevant test filters * fmt * Revert "verify that owned, shared, and notShared counts are mapped independently from their respective queries" This reverts commit 47aab458192c766de4662aada5a6841b091d2a80. * sync sql * Revert "document tri-state matrix" This reverts commit a5b2355d0c6a084f2c021d517bf5ee80123d108c. * address review comments * inline shared condition and return as ternary * sync sql * use [...albums].sort Array.toSorted() is not supported in Chrome 109 * use isShared and isOwned nomenclature * fix e2e tests * add params to sql query |
||
|---|---|---|
| .. | ||
| activities_api.dart | ||
| albums_api.dart | ||
| api_keys_api.dart | ||
| assets_api.dart | ||
| authentication_admin_api.dart | ||
| authentication_api.dart | ||
| database_backups_admin_api.dart | ||
| deprecated_api.dart | ||
| download_api.dart | ||
| duplicates_api.dart | ||
| faces_api.dart | ||
| jobs_api.dart | ||
| libraries_api.dart | ||
| maintenance_admin_api.dart | ||
| map_api.dart | ||
| memories_api.dart | ||
| notifications_admin_api.dart | ||
| notifications_api.dart | ||
| partners_api.dart | ||
| people_api.dart | ||
| plugins_api.dart | ||
| queues_api.dart | ||
| search_api.dart | ||
| server_api.dart | ||
| sessions_api.dart | ||
| shared_links_api.dart | ||
| stacks_api.dart | ||
| sync_api.dart | ||
| system_config_api.dart | ||
| system_metadata_api.dart | ||
| tags_api.dart | ||
| timeline_api.dart | ||
| trash_api.dart | ||
| users_admin_api.dart | ||
| users_api.dart | ||
| views_api.dart | ||
| workflows_api.dart | ||