Jason Rasmussen
0589575154
chore: bump open-api ( #9522 )
2024-05-15 16:52:52 -05:00
Andreas Gerstmayr
48927f5fb9
feat(server, web): include pictures of shared albums on map ( #7439 )
...
* feat(server, web): include pictures of shared albums on map
* run prettier
* re-create api clients
* implement suggestions from code review
* shared from partner -> shared from partners
* rename to 'include shared partner assets'
* chore: fix tsc error in server and prettier in web
* fix: include assets shared via owner albums
---------
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-13 09:28:57 -04:00
Jason Rasmussen
5b87abb021
feat(server): read-write external assets ( #9235 )
...
* refactor: remove isReadOnly and isExternal usages
* chore: open api
* fix: linting
* remove mobile isReadOnly dependency
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-05-03 15:34:57 -04:00
Jason Rasmussen
ec4eb7cd19
feat(server): immich checksum header ( #9229 )
...
* feat: dedupe by checksum header
* chore: open api
2024-05-02 15:42:26 -04:00
Jason Rasmussen
5a49de5592
chore(server): remove old asset search ( #9104 )
...
* chore(server): remove old asset search
* chore: remove more unused search code
2024-04-27 12:57:39 +00:00
Alex
1d15cfb5f3
chore(server): remove unusuned endpoint/service/interface in asset-v1 ( #9086 )
2024-04-26 01:02:04 -05:00
Mert
8edc2fb46f
refactor(server): decouple generated images from image formats ( #8246 )
...
* rename
thumbnail config
update target paths, fix tests
rename to image settings
replace legacy enum
better typing
update sql
update api
remove config option
fix
* update docs
* update other thumbnail configs in migration
* keep legacy enum for now
* fix jumbled job names
* fix jumbled job names in tests
* rename thumbhash job
* rename dto
* fix tests
* preserve order
* remove unused import
* keep old fields in dto, marked deprecated
* update sql
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-04-02 04:56:56 +00:00
Daniel Dietzler
b8c5363a15
refactor(server): move timeline operations to their own controller/service ( #8325 )
...
* move timeline operations to their own controller/service
* chore: open api
* move e2e tests
2024-03-28 23:20:40 -04:00
martin
31f7e1aca3
feat(server, web): album orders ( #7819 )
...
* feat: album orders
* fix: tests
* pr feedback
* pr feedback
* pr feedback
* fix: tests
* add comment
* pr feedback
* fix: rendering issue
* wording
* fix: order value doesn't change
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-14 11:45:03 -05:00
Jason Rasmussen
15a4a4aaaa
chore: remove unused upload property ( #7535 )
...
* chore: remove isExternal
* chore: open-api
2024-02-29 16:02:08 -05:00
Alex
69983ff83a
feat: enhance search ( #7127 )
...
* feat: hybrid search
* fixing normal search
* building out the query
* okla
* filters
* date
* order by date
* Remove hybrid search endpoint
* remove search hybrid endpoint
* faces query
* search for person
* search and pagination
* with exif
* with exif
* justify gallery viewer
* memory view
* Fixed userId is null
* openapi and styling
* searchdto
* lint and format
* remove term
* generate sql
* fix test
* chips
* not showing true
* pr feedback
* pr feedback
* nit name
* linting
* pr feedback
* styling
* linting
2024-02-17 11:00:55 -06:00
Torbjorn Tyridal
6adff50f0a
feat(server, web): Include partner's photos on map ( #7065 )
...
* feat(server): Include partner's photos on map - if included in timeline
* depend on query parameter withPartners
instead of partners.inTimeline
* web: map option to include partners images
* make open-api
2024-02-14 10:07:00 -05:00
Mert
e334443919
feat(server, web): smart search filtering and pagination ( #6525 )
...
* initial pagination impl
* use limit + offset instead of take + skip
* wip web pagination
* working infinite scroll
* update api
* formatting
* fix rebase
* search refactor
* re-add runtime config for vector search
* fix rebase
* fixes
* useless omitBy
* unnecessary handling
* add sql decorator for `searchAssets`
* fixed search builder
* fixed sql
* remove mock method
* linting
* fixed pagination
* fixed unit tests
* formatting
* fix e2e tests
* re-flatten search builder
* refactor endpoints
* clean up dto
* refinements
* don't break everything just yet
* update openapi spec & sql
* update api
* linting
* update sql
* fixes
* optimize web code
* fix typing
* add page limit
* make limit based on asset count
* increase limit
* simpler import
2024-02-12 20:50:47 -05:00
Jason Rasmussen
90a7f16817
chore(server): remove deprecated endpoints ( #6984 )
...
* chore: remove deprecated endpoints
* chore: open api
2024-02-08 16:57:54 -05:00
Jason Rasmussen
96b7885583
refactor(server): trash endpoints ( #6652 )
...
* refactor(server): trash endpoints
* chore: open api
* chore: fix wrong rename
2024-01-26 11:48:37 -05:00
Jason Rasmussen
2e39243670
deps: open-api generator ( #6655 )
...
* deps: open-api generator
* fix: unused sed/replace
2024-01-26 11:40:28 -05:00
Jason Rasmussen
7ea55c7236
refactor(server): download endpoints ( #6653 )
...
* refactor(server): download controller
* chore: open api
* chore: fix mobile references
2024-01-26 08:19:13 -06:00
Jason Rasmussen
b306cf564e
refactor(server): move asset detail endpoint to new controller ( #6636 )
...
* refactor(server): move asset by id to new controller
* chore: open api
* refactor: more consolidation
* refactor: asset service
2024-01-25 12:52:21 -05:00
Jason Rasmussen
a00768c9e5
chore(server): remove old device id endpoint ( #6578 )
...
* chore: remove old endpoint
* chore: open api
* chore: remove old tests
2024-01-22 20:54:53 -06:00
Jason Rasmussen
7b314f9435
chore(server): sort open api params ( #6484 )
...
* chore: sort spec
* chore: open api
* chore(mobile): sort auditDeletes params
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2024-01-22 11:49:51 -05:00
shenlong
0108211c0f
refactor: deprecate getUserAssetsByDeviceId ( #5273 )
...
* refactor: deprecated getUserAssetsByDeviceId
* prevent breaking changes
* chore: add deprecation
* prevent breaking changes
* prevent breaking changes
---------
Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-11-25 15:46:20 +00:00
Jason Rasmussen
82f12b8ee6
chore(server): remove import file endpoint ( #5093 )
...
* chore(server): remove import file endpoint
* chore: open api
2023-11-17 05:44:59 +00:00
Jason Rasmussen
c7b3039a1a
chore(server): remove asset search endpoint ( #5094 )
...
* chore(server): remove unused search endpoint
* chore: open api
2023-11-16 22:24:31 -06:00
Jason Rasmussen
753dab8b3c
feat(server): asset search endpoint ( #4931 )
...
* feat(server): GET /assets endpoint
* chore: open api
* chore: use dumb name
* feat: search by make, model, lens, city, state, country
* chore: open api
* chore: pagination validation and tests
* chore: pr feedback
2023-11-14 22:47:15 +00:00
Alex
35767591d2
feat(web): show partners assets on the main timeline ( #4933 )
2023-11-11 21:06:19 +00:00
Fynn Petersen-Frey
21f2d3058a
feat(mobile)!: batched full/initial sync ( #4840 )
...
* feat(mobile): batched full/initial sync
* use OptionalBetween
* skip/take as integer
---------
Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-11-06 11:40:43 -06:00
Jason Rasmussen
279481ad54
feat(server): make is favorite optional on asset upload ( #4865 )
...
* feat(server): make isFavorite optional
* chore: open api
* chore: e2e
2023-11-06 09:04:39 -05:00
Jason Rasmussen
2e424fe249
feat(server): better api error messages (for unhandled exceptions) ( #4817 )
...
* feat(server): better error messages
* chore: open api
* chore: remove debug log
* fix: syntax error
* fix: e2e test
2023-11-03 20:33:15 -05:00
Alex
8b5b6d0821
feat(web): manual stacking asset ( #4650 )
...
Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2023-10-27 20:34:01 +00:00
Jason Rasmussen
3021eca8e5
chore(server): remove unused method ( #4627 )
...
* chore(server): remove unused method
* chore: open api
2023-10-24 12:59:06 -04:00
shenlong
cf08ac7538
feat: manual stack assets ( #4198 )
2023-10-21 21:38:07 -05:00
shenlong
4a8887f37b
feat(server): trash asset ( #4015 )
...
* refactor(server): delete assets endpoint
* fix: formatting
* chore: cleanup
* chore: open api
* chore(mobile): replace DeleteAssetDTO with BulkIdsDTOs
* feat: trash an asset
* chore(server): formatting
* chore: open api
* chore: wording
* chore: open-api
* feat(server): add withDeleted to getAssets queries
* WIP: mobile-recycle-bin
* feat(server): recycle-bin to system config
* feat(web): use recycle-bin system config
* chore(server): domain assetcore removed
* chore(server): rename recycle-bin to trash
* chore(web): rename recycle-bin to trash
* chore(server): always send soft deleted assets for getAllByUserId
* chore(web): formatting
* feat(server): permanent delete assets older than trashed period
* feat(web): trash empty placeholder image
* feat(server): empty trash
* feat(web): empty trash
* WIP: mobile-recycle-bin
* refactor(server): empty / restore trash to separate endpoint
* test(server): handle failures
* test(server): fix e2e server-info test
* test(server): deletion test refactor
* feat(mobile): use map settings from server-config to enable / disable map
* feat(mobile): trash asset
* fix(server): operations on assets in trash
* feat(web): show trash statistics
* fix(web): handle trash enabled
* fix(mobile): restore updates from trash
* fix(server): ignore trashed assets for person
* fix(server): add / remove search index when trashed / restored
* chore(web): format
* fix(server): asset service test
* fix(server): include trashed assts for duplicates from uploads
* feat(mobile): no dialog for trash, always dialog for permanent delete
* refactor(mobile): use isar where instead of dart filter
* refactor(mobile): asset provide - handle deletes in single db txn
* chore(mobile): review changes
* feat(web): confirmation before empty trash
* server: review changes
* fix(server): handle library changes
* fix: filter external assets from getting trashed / deleted
* fix(server): empty-bin
* feat: broadcast config update events through ws
* change order of trash button on mobile
* styling
* fix(mobile): do not show trashed toast for local only assets
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-10-06 02:01:14 -05:00
Jason Rasmussen
192e950567
fix: use local time for time buckets and improve memories ( #4072 )
...
* fix: timezone bucket timezones
* chore: open api
* fix: interpret local time in utc
* fix: tests
* fix: refactor memory lane
* fix(web): use local date in memory viewer
* chore: set localDateTime non-null
* fix: filter out memories from the current year
* wip: move localDateTime to asset
* fix: correct sorting from db
* fix: migration
* fix: web typo
* fix: formatting
* fix: e2e
* chore: localDateTime is non-null
* chore: more non-nulliness
* fix: asset stub
* fix: tests
* fix: use extract and index for day of year
* fix: don't show memories before today
* fix: cleanup
* fix: tests
* fix: only use localtime for tz
* fix: display memories in client timezone
* fix: tests
* fix: svelte tests
* fix: bugs
* chore: open api
---------
Co-authored-by: Jonathan Jogenfors <jonathan@jogenfors.se>
2023-10-04 22:11:11 +00:00
Daniel Dietzler
e571880c16
feat(web, mobile): Options to show archived assets in map ( #4293 )
...
* Add include archive setting to map on web
* open api
* better naming for web isArchived variable
* add withArchived setting to mobile
* (e2e): tests for mapMarker endpoint and isArchived
* isArchived to mobile
* chore: cleanup test
* chore: optimize e2e
---------
Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-10-04 09:51:07 -04:00
Daniele Ricci
014d164d99
feat(server): random assets API ( #4184 )
...
* feat(server): get random assets API
* Fix tests
* Use correct validation annotation
* Fix offset use in query
* Update API specs
* Fix typo
* Random assets e2e tests
* Improve e2e tests
2023-09-23 22:28:55 +07:00
Jonathan Jogenfors
acdc66413c
feat(server,web): libraries ( #3124 )
...
* feat: libraries
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2023-09-20 13:16:33 +02:00
Jason Rasmussen
454737ca79
refactor(server): update asset endpoint ( #3973 )
...
* refactor(server): update asset
* chore: open api
2023-09-04 22:25:31 -04:00
Jason Rasmussen
10c2bda3a9
chore: remove without thumbs ( #3529 )
...
* refactor(server): remove withoutThumbs
* chore: open api
* fix: bad merge
2023-08-24 21:45:54 -04:00
Fynn Petersen-Frey
cf9e04c8ec
feat(server): asset entity audit ( #3824 )
...
* feat(server): audit log
* feedback
* Insert to database
* migration
* test
* controller/repository/service
* test
* module
* feat(server): implement audit endpoint
* directly return changed assets
* add daily cleanup of audit table
* fix tests
* review feedback
* ci
* refactor(server): audit implementation
* chore: open api
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-08-24 15:28:50 -04:00
Jason Rasmussen
5e901e4d21
feat(web,server): run jobs for specific assets ( #3712 )
...
* feat(web,server): manually queue asset job
* chore: open api
* chore: tests
2023-08-18 09:31:48 -05:00
Jason Rasmussen
bab739efbd
restore: bulk actions ( #3730 )
...
* feat: improve bulk isArchive and isFavorite updates
* chore: open api
2023-08-16 15:04:55 -05:00
Jason Rasmussen
efc7fdb669
fix(web,server): use POST request to get download info ( #3694 )
...
* fix(web,server): use POST request to get download info
* chore: open api
2023-08-15 10:49:32 -05:00
Jason Rasmussen
ff32506c5e
feat(web): use time buckets of person detail page (3) ( #3557 )
...
* feat: add personId to time bucket endpoints
* chore: open api
* feat(web): time bucket on person detail page
2023-08-05 08:58:52 -05:00
Jason Rasmussen
c6abef186c
refactor(server,web): time buckets for main timeline, archived, and favorites (1) ( #3537 )
...
* refactor: time buckets
* feat(web): use new time bucket api
* feat(web): use asset grid in archive/favorites
* chore: open api
* chore: clean up uuid validation
* refactor(web): move memory lane to photos page
* Update web/src/routes/(user)/archive/+page.svelte
Co-authored-by: Sergey Kondrikov <sergey.kondrikov@gmail.com>
* fix: hide archived photos on main timeline
* fix: select exif info
---------
Co-authored-by: Sergey Kondrikov <sergey.kondrikov@gmail.com>
2023-08-04 17:07:15 -04:00
Jason Rasmussen
310fab526d
chore(server): auto sort open api spec ( #3500 )
...
* chore: recursively sort api keys
* chore: open api
2023-08-01 16:49:18 +00:00
Jason Rasmussen
f952bc0b64
refactor(server): asset stats ( #3253 )
...
* refactor(server): asset stats
* chore: open api
2023-07-14 08:30:17 -05:00
Jason Rasmussen
b71d7e33bb
refactor(server): calculate asset type server side ( #3200 )
...
* refactor(server): calculate asset type server-side
* chore: open api
* chore: remove comments
* fix: linting
* update
* Revert "update"
This reverts commit dc58702923
.
* fix: upload LivePhotos
* chore: remove unused request fields for upload
* remove unused method
* mobile-fix: livePhoto filename
* fix: revert check for livephotos filename and extension
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-07-11 22:56:30 -05:00
Alex
812cb3d940
Revert "fix(server): use thumbnail content type instead of application/octet-stream ( #3075 )" ( #3134 )
...
* Revert "fix(server): use thumbnail content type instead of application/octet-stream (#3075 )"
This reverts commit 3cc77d945b
.
* generate api
2023-07-06 17:25:56 -05:00
Alex Tran
852ef3cd1b
chore(server): update openapi
2023-07-06 16:56:02 -05:00
Jason Rasmussen
ad343b7b32
refactor(server): download assets ( #3032 )
...
* refactor: download assets
* chore: open api
* chore: finish tests, make size configurable
* chore: defualt to 4GiB
* chore: open api
* fix: optional archive size
* fix: bugs
* chore: cleanup
2023-06-30 11:24:28 -05:00