Lukas
065d885ca0
fix(server): Fix for sorting faces during merging ( #15571 )
...
* Fix for sorting faces
* Put uneccessary orderBy in if statement
2025-01-23 21:33:24 -05:00
Mert
a07ae9b5b2
fix(server): set updatedAt on updates ( #15573 )
...
* `updatedAt` triggers
* drop function at the end
2025-01-23 19:24:29 -05:00
Jason Rasmussen
1869b1b41a
refactor: repositories ( #15561 )
...
* refactor: version history repository
* refactor: oauth repository
* refactor: trash repository
* refactor: telemetry repository
* refactor: metadata repository
* refactor: cron repository
* refactor: map repository
* refactor: server-info repository
* refactor: album user repository
* refactor: notification repository
2025-01-23 18:10:17 -05:00
Mert
071b271484
fix(server): getTimeBuckets not handling boolean filters correctly ( #15567 )
...
fix boolean handling
2025-01-23 15:08:20 -06:00
Alex
afc6e91c66
fix(web): No EXIF info on stack navigation ( #15533 )
...
* fix(web): No EXIF info on stack navigation
* fix(web): No EXIF info on stack navigation
* add exif info to get stack query
* e2e test
2025-01-23 15:22:27 +00:00
Jason Rasmussen
d3446f3092
refactor: logging repository ( #15540 )
2025-01-23 08:31:30 -05:00
renovate[bot]
d1d26c60d6
fix(deps): update typescript-projects ( #14892 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2025-01-22 22:15:38 +00:00
Jason Rasmussen
66849d0d45
refactor: migrate media repository ( #15536 )
2025-01-22 22:11:07 +00:00
Jason Rasmussen
1f19a65d1a
refactor: migrate memory repository ( #15532 )
2025-01-22 21:39:13 +00:00
Jason Rasmussen
ca3619658b
fix: incorrect event configuration ( #15530 )
2025-01-22 20:43:06 +00:00
Mert
49a6961ec6
fix(server): query fixes ( #15509 )
2025-01-22 14:17:42 -06:00
Jason Rasmussen
8d6cbb51e2
fix: get asset by id for stacks ( #15522 )
2025-01-22 18:13:09 +00:00
Jason Rasmussen
36058b9b59
chore: remove unused code ( #15499 )
2025-01-21 16:47:48 -05:00
Jason Rasmussen
ccf6d71c3c
refactor: view repository ( #15496 )
2025-01-21 18:26:13 +00:00
Jason Rasmussen
9a27a99cab
refactor: config repository ( #15495 )
...
* refactor: access repository
* refactor: config repository
2025-01-21 13:13:09 -05:00
Daniel Dietzler
332a865ce6
refactor: migrate person repository to kysely ( #15242 )
...
* refactor: migrate person repository to kysely
* `asVector` begone
* linting
* fix metadata faces
* update test
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2025-01-21 13:12:28 -05:00
Alex
c35fd6cbdb
refactor: migrate album repo to kysely ( #15474 )
2025-01-21 11:24:48 -06:00
Jason Rasmussen
9a1068c867
refactor: api key repository ( #15491 )
2025-01-21 10:45:59 -06:00
Jason Rasmussen
1745f48f3d
feat: better spec urls ( #15487 )
2025-01-21 10:26:52 -06:00
Jason Rasmussen
b0cdd8f475
refactor: access repository ( #15490 )
2025-01-21 10:09:24 -06:00
Alex
318dd32363
refactor: migrate stack repo to kysely ( #15440 )
...
* wip
* wip: add tags
* wip
* sql
* pr feedback
* pr feedback
* ergonomic
* pr feedback
* pr feedback
2025-01-21 09:36:28 -06:00
David Wolff
70809c1465
fix(server): searching for multiple people yields false positives ( #15447 )
2025-01-19 13:01:21 -05:00
Daniel Dietzler
3d13da7f11
refactor: migrate shared-link repository to kysely ( #15289 )
...
* refactor: migrate shared-link repository to kysely
* fix duplicate individual shared link return in getAll when there are more than 1 asset in the shared link
* using correct order condition
* using eb.table
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2025-01-18 13:25:15 -06:00
Jason Rasmussen
097183b31d
refactor: migrate partner repo to kysely ( #15366 )
2025-01-17 18:49:21 -05:00
Alex
6993726d50
chore: generate sql for stack repo ( #15413 )
...
* chore: generate sql for stack repo
* update sql
2025-01-17 20:02:28 +00:00
Zack Pollard
c821458e6c
refactor: migrate map repository to kysely ( #15348 )
...
* chore: migrate map repository to kysely
* chore: add kysely codegen command, exclude from prettier and re-run it on latest migrations
* refactor: migrate map repository to kysely
* chore: dont log postgres notices
2025-01-17 09:14:42 -06:00
Alex
378bd3c993
refactor: migrate access repo to kysely ( #15365 )
2025-01-16 09:25:03 -06:00
Jason Rasmussen
6ce1533117
fix: activity types ( #15368 )
2025-01-15 23:31:26 -05:00
Daniel Dietzler
a2207f2eef
refactor: migrate library repository to kysely ( #15271 )
2025-01-15 15:01:28 -06:00
Alex
7d087371b5
chore: sql sync ( #15370 )
...
* chore: sql sync
* chore: sql sync
2025-01-15 19:55:29 +00:00
Jason Rasmussen
93e2545275
refactor: migrate memory to kysely ( #15314 )
2025-01-15 11:34:11 -05:00
Mert
2903ad8156
refactor(server): migrate album-user repo to kysely ( #15351 )
2025-01-14 19:27:16 -05:00
Alex
a35af2b242
refactor: migrate move repository to kysely ( #15327 )
...
* refactor: migrate move repository to kysely
* fix: tests
* fix: tests
2025-01-13 23:22:03 -05:00
Daniel Dietzler
28b08ed417
refactor: migrate audit repository to kysely ( #15269 )
2025-01-13 21:23:12 -05:00
Alex
79726acc72
refactor: migrate sessions repository to kysely ( #15268 )
...
* wip: search
* wip: getByToken
* wip: getByToken
* wip: getByUserId
* wip: create/update/delete
* remove unused code
* clean up and pr feedback
* fix: test
* fix: e2e test
* pr feedback
2025-01-13 20:45:52 -05:00
Jason Rasmussen
36eef9807b
fix: version history sql ( #15321 )
2025-01-14 01:38:11 +00:00
Alex
3da750117f
refactor: migrate user repository to kysely ( #15296 )
...
* refactor: migrate user repository to kysely
* refactor: migrate user repository to kysely
* refactor: migrate user repository to kysely
* refactor: migrate user repository to kysely
* fix: test
* clean up
* fix: metadata retrieval bug
* use correct typeing for upsert metadata
* pr feedback
* pr feedback
* fix: add deletedAt check
* fix: get non deleted user by default
* remove console.log
* fix: stop kysely after command finishes
* final clean up
---------
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2025-01-13 20:30:34 -05:00
Mert
fef36e6a37
chore(server)!: default max bitrate unit to kbps ( #15264 )
...
default unit to kbps
2025-01-11 22:09:19 -06:00
bo0tzz
cab201270c
chore: migrate version-history repository to kysely ( #15267 )
...
* chore: generate sql for version-history repository
* chore: run kysely-codegen
* chore: migrate version-history repository to kysely
* fix: change `| null` to `| undefined`
* chore: clean up unneeded async
2025-01-11 20:12:34 +00:00
Jason Rasmussen
e51091b6e5
refactor: migrate trash to kysely ( #15233 )
2025-01-10 18:48:21 -05:00
Jason Rasmussen
cc6a8b0c74
refactor: migrate system metadata to kysely ( #15231 )
2025-01-10 14:20:15 -05:00
Jason Rasmussen
930f979960
feat: migration api keys to use kysely ( #15206 )
2025-01-10 14:02:12 -05:00
Daniel Dietzler
7d50d3032b
refactor: activity queries ( #15207 )
2025-01-09 18:14:36 -05:00
Daniel Dietzler
1fb2b3f899
refactor: migrate activity repo to kysely ( #15203 )
...
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2025-01-09 14:31:46 -05:00
Mert
2e12c46980
refactor(server): use kysely ( #12857 )
2025-01-09 11:15:41 -05:00
Jonathan Jogenfors
bab04378dc
fix(server): generate thumbnails for external assets ( #15183 )
...
fix: thumbnail generation of external assets
2025-01-08 17:12:39 -06:00
Alex
36a9ae7c54
fix(server): email cannot render with pretty flag ( #15157 )
2025-01-08 08:53:08 -06:00
Jonathan Jogenfors
23f3e737fd
fix(server): don't delete offline files from disk when trash empties ( #14777 )
...
fix: don't delete offline files from disk when emptying trash
Move logic to asset deletion check
2025-01-07 18:25:43 +00:00
Zack Pollard
776be7d205
fix: reverse geocoding data import don't use unlogged tables ( #15136 )
2025-01-07 15:36:07 +00:00
scottdesilva
1f0ffd634a
fix(server): unit test for creating tag with color ( #15120 )
...
* Pass color to tag repo on creation
* unit test for creating tag with optional color
2025-01-06 13:33:48 -06:00
scottdesilva
c78e9d6ad5
fix(server): save color when creating tag ( #15106 )
...
Pass color to tag repo on creation
2025-01-06 12:21:55 -05:00
Mert
fcd372238f
chore(server): add support for .m2t ( #15064 )
...
* add m2t
* ordering
2025-01-03 16:28:32 -06:00
Chuckame
3c35b467f4
feat(server): use the earliest date between file creation and modification timestamps when missing exif tags ( #14874 )
...
* feat(server): Use the earliest date between file creation and modification timestamps when missing exif tags
* PR fixes
* PR fixes
* Switch log to debug
* fix linter for min date
* apply prettier
2025-01-02 04:50:15 +00:00
Daniel Dietzler
139090715e
fix: trusted proxies ( #14888 )
2024-12-27 09:51:07 -06:00
Jonathan Jogenfors
c3be74c450
fix(server): support import paths with special chars ( #14856 )
2024-12-22 16:22:16 -06:00
Jonathan Jogenfors
4bc2aa5451
feat(server): Handle sidecars in external libraries ( #14800 )
...
* handle sidecars in external libraries
* don't add separate source
2024-12-21 20:50:07 -06:00
Daniel Dietzler
6a855f6331
chore: update deps ( #14755 )
2024-12-18 14:19:48 +00:00
000yesnt
f180ae70f9
feat(server): add Bash healthcheck script ( #14704 )
...
* feat(server): add Bash healthcheck script
* fix(server): add 2 second timeout for healthcheck.js parity
* chore(server): delete old healthcheck Node script
* fix(server): feedback
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-12-16 15:19:18 +00:00
Lukas
12e55f5bf0
feat(server): Merge Faces sorted by Similarity ( #14635 )
...
* Merge Faces sorted by Similarity
* Adds face sorting to the side panel face merger
* run make open-api
* Make it one query
* Only have the single order by when sorting by closest face
2024-12-16 08:47:11 -06:00
Tim Van Onckelen
525840b040
fix(server): fixed email footer image stretched #14617 ( #14671 )
2024-12-13 17:13:38 +00:00
Alex
0c03753642
fix(server): fix getByDayOfYear query ( #14655 )
...
* fix(server): fix getByDayOfYear query
* generate sql
2024-12-11 20:51:56 +00:00
Mert
9eff1c4b34
refactor(server): move filters to getByDayOfYear query ( #14628 )
...
move filters to getByDayOfYear query
2024-12-10 16:22:47 -05:00
Mert
25ca3b1124
refactor(server): use includeNull in query for search suggestions ( #14626 )
...
* use `includeNull`
* push down `includeNull` into query, inner joins
* remove filter
* update sql
* fix tests
* maybe fix e2e
* more e2e tests
* handle no exif row
* whoops
* update sql
2024-12-10 16:22:37 -05:00
Mert
60c783bbe9
fix(server): partial fallback for hardware transcoding ( #14611 )
2024-12-10 12:11:19 -05:00
Lukas
1ba622adc9
feat: Add support for vob ( #14590 )
...
Add support for vob
2024-12-08 20:35:23 -06:00
Mert
07096bdcee
fix(server): images with non-ascii names failing to load ( #14512 )
...
* utf-8 filename
* Update file.ts
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
---------
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2024-12-06 07:43:58 -06:00
Tim Van Onckelen
292182fa7f
feat: Notification Email Templates ( #13940 )
2024-12-04 20:26:02 +00:00
Mert
4bf1b84cc2
feat(ml): support multiple urls ( #14347 )
...
* support multiple url
* update api
* styling
unnecessary `?.`
* update docs, make new url field go first
add load balancing section
* update tests
doc formatting
wording
wording
linting
* small styling
* `url` -> `urls`
* fix tests
* update docs
* make docusaurus happy
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-12-04 20:17:47 +00:00
Mert
ba9b9353bc
fix(server): show people without thumbnails ( #14460 )
...
* show people without thumbnails
* redundant clause
* updated sql
2024-12-03 15:04:42 -05:00
Mert
52247c3650
fix(server): always set transcoding device, prefer renderD* ( #14455 )
...
always set device, prefer renderD*
2024-12-02 20:28:50 -05:00
Eli Gao
4eb7758f56
feat(server): specify names for thumbnail files ( #14425 )
2024-12-01 13:21:08 -06:00
Sam Holton
5417e34fb6
feat(server): Add publicUsers toggle for user search ( #14330 )
...
* feat(server): Add publicUsers toggle for user search
* tests
* docs: add check:typescript for web PR checklist
* return auth.user when publicUsers is false - app testing
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-11-26 15:51:01 +00:00
San
1c82804f63
fix(server): use hw decoding for rkmpp w/o OpenCL if possible ( #13848 )
...
* Set hardware decoding options for rkmpp when hardware decoding is enabled with no OpenCL on non-HDR file
* Use hw decoding, sw tone-mapping on HDR files using RKMPP w/o OpenCL
* fallback to software decoding if is hdr video
* if hw decoding failed with hw dec config enabled, try sw dec+hw enc first, then full sw dec+enc
* fix unit test
* fix format, adjust log message
* formatting
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-11-22 08:08:49 +00:00
Alex
9a9d40c193
feat(server): clean up interrupted upload files ( #14265 )
...
* feat(server): clean up interrupted upload files
* pr feedback
* remove console.log
* handle all errors
* remove return in callback function
* programming in bed is a bad idea
2024-11-20 17:17:12 -06:00
Jason Rasmussen
9e1e9b1fbf
refactor: rename searchMetadata to searchAssets ( #14151 )
2024-11-20 14:47:25 -05:00
Jason Rasmussen
876893c823
refactor(server): filter on-event handlers by worker ( #14085 )
2024-11-20 14:08:42 -05:00
Lukas
b6937c5e03
fix(server): Remove log that accidently was commited in #14134 ( #14261 )
...
Remove log that accidently was commited
2024-11-20 17:20:54 +00:00
Mert
ad510dd6fd
feat(server): faster geodata import ( #14241 )
...
* faster geodata import
* revert logging change
* unlogged tables
* leave spare connection
* use expression index instead of generated column
* do btree indexing with others
2024-11-20 08:57:14 -06:00
Daniel Dietzler
a3712e40bd
fix: parse quota claim as number ( #14178 )
2024-11-19 15:40:56 -06:00
Mert
34fae31fd4
fix(server): remove unnecessary guc settings for vector search ( #14237 )
...
remove unnecessary guc settings
2024-11-19 15:37:39 -06:00
Alex
f8bbc6eabe
fix: mobile album sync always triggered when opening the app ( #14233 )
...
* fix: mobile album sync always triggered when opening the app
* send lastModifiedAssetTimestamp when get individual album
2024-11-19 21:36:55 +00:00
Michel Heusschen
32f908baf1
fix: show tags when viewing stacked assets ( #14199 )
...
fix: refresh tags when viewing stacked assets
2024-11-18 07:50:04 -05:00
weathondev
f5c4af73aa
feat: adding photo & video storage space to server stats ( #14125 )
...
* expose detailed user storage stats + display them in the storage per user table
* chore: openapi & sql
* fix: fix test stubs
* fix: formatting errors, e2e test and server test
* fix: upper lower case typo in spec file
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-11-15 16:38:57 -06:00
Lukas
9203a61709
fix(server): Some MTS videos fail to generate thumbnail ( #14134 )
...
* Stop skipping of all frames in MTS video
* Only skip flag for mts videos
* Fix lint checks
* Adds test
* Add comment for why flag is removed
2024-11-14 07:07:04 +00:00
Pablo Molina
333ca8827e
feat: use dateTimeOriginal to calculate album date ( #14119 )
2024-11-13 11:17:14 -06:00
Zack Pollard
e17bd8efc6
fix(server): backup version checks not handling database versions correctly ( #14102 )
2024-11-12 10:57:05 -06:00
Alex
2f9019c0e1
fix(server): correct rotation for common files ( #14092 )
...
* fix(server): correct rotation for common files
* fix: test:
* pr feedback
2024-11-12 15:07:56 +00:00
Zack Pollard
dfa8a8a6e1
feat(server): use pg_dumpall version that matches the database version ( #14083 )
2024-11-12 14:58:29 +00:00
Zack Pollard
d4ca7d0075
fix: config updates not applying for job and storage template service ( #14074 )
2024-11-11 12:50:09 +00:00
Zack Pollard
5097c92494
fix(server): attempt to delete failed backups immediately after failure ( #13995 )
2024-11-11 12:08:52 +00:00
Terry Zhao
c8b46802d6
fix(server): thumbnail rotation when using embedded previews ( #13948 )
2024-11-08 06:30:59 +00:00
Jason Rasmussen
7534098596
fix(server): support non-default postgres port when taking a backup ( #13992 )
2024-11-07 20:06:16 +00:00
Jason Rasmussen
e84ad084d5
refactor(server): cron validation ( #13990 )
2024-11-07 17:27:52 +00:00
Jason Rasmussen
dc2de47204
refactor(server): cron repository ( #13988 )
2024-11-07 12:15:54 -05:00
Jason Rasmussen
64831e2328
refactor: remove smart info table ( #13985 )
2024-11-07 11:25:10 -05:00
Sefa Eyeoglu
564449a555
fix(server): database backups compatible with deduplication ( #13965 )
...
gzip --rsyncable has a slightly worse compression ratio, but allows for
efficient deduplication and, as the name implies, faster rsync
operations.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-11-07 12:36:17 +00:00
Robert Schütz
f4741c70f3
fix(server): allow starting backup through API and fix pg_dumpall args when using database URLs ( #13970 )
...
* fix(server): allow starting backup through API
* fix(server): fix pg_dumpall args when using database URLs
The database has to be specified using `-d`, unlike for pg_dump.
2024-11-07 11:57:36 +00:00
Alex
ebf06dc12e
fix(server): cannot render email template ( #13957 )
2024-11-06 22:14:11 +01:00
Zack Pollard
d456d35510
refactor: config init event for first config load ( #13930 )
2024-11-05 16:30:56 +00:00
Zack Pollard
c383e115af
chore: better observability for geodata import ( #13931 )
2024-11-05 16:20:56 +00:00
Jason Rasmussen
5edbb93a4d
refactor(server): get worker ( #13927 )
2024-11-05 13:07:51 +00:00
Pranay Pandey
380fc06979
fix: remove duplicateIds on unique assets ( #13752 )
2024-11-04 10:03:03 -05:00
Daniel Dietzler
3551407d95
fix: healthcheck if custom host is set ( #13887 )
2024-11-02 22:46:16 -04:00
Jason Rasmussen
fed882a28a
refactor(server): immich worker ( #13871 )
...
refactor(server): immich work
2024-11-01 17:19:36 -04:00
Carsten Otto
cdabd08139
fix(server): wrong image dimensions for RAW files (RAF, CR2) (also fixes face preview) ( #13377 )
2024-11-01 10:34:34 -04:00
Mert
b9096f3e99
feat(server): use tonemapx for software tone-mapping ( #13785 )
2024-10-31 20:48:23 -04:00
Jason Rasmussen
5b2cd704d3
refactor(server): job discovery ( #13838 )
...
refactor(server): job discorvery
2024-10-31 13:42:58 -04:00
Zack Pollard
7d933ec97a
feat: built-in automatic database backups ( #13773 )
2024-10-31 11:29:42 +00:00
Jason Rasmussen
40fbef50cf
refactor(server): remove unused on method ( #13830 )
2024-10-30 14:09:52 -04:00
renovate[bot]
92ad03615c
chore(deps): update node to v22 (major) ( #13792 )
...
* chore(deps): update node to v22
* fix: deprecated constructor
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-10-30 16:05:02 +00:00
Jason Rasmussen
0f668fd5c6
refactor(server): env validation ( #13817 )
2024-10-30 05:00:41 -04:00
Jason Rasmussen
19eb3ed8b9
refactor(server): cls ( #13814 )
2024-10-29 20:41:47 +00:00
Jason Rasmussen
2efba6326d
chore(server): telemetry env clean up ( #13813 )
2024-10-29 19:20:32 +00:00
Jason Rasmussen
37e437a568
fix(server): keep system config transformations ( #13796 )
2024-10-29 15:59:35 +00:00
Jason Rasmussen
4b9e460db5
refactor(server): worker cleanup ( #13805 )
2024-10-29 11:47:33 -04:00
Zack Pollard
68a4cc25dc
refactor: better postgres connection param typing ( #13800 )
2024-10-29 15:11:34 +00:00
Zack Pollard
e74ddca6c0
fix: shutdown api process when another worker exits unexpectedly ( #13802 )
2024-10-29 14:46:04 +00:00
Zack Pollard
02819dc079
feat: mount checks on a folder level ( #13801 )
2024-10-29 14:43:27 +00:00
Jason Rasmussen
e029190a5d
fix(server): handle N/A duration response from ffprobe ( #13803 )
2024-10-29 14:21:30 +00:00
Darrel
a70ed7c7f6
fix: X years ago ordering ( #13742 )
...
* fix: order by fileCreatedAt to account for tz
* run make sql
2024-10-26 15:28:33 -04:00
Zack Pollard
d95b474e58
fix: duplicated library scan jobs and api server library watch ( #13734 )
2024-10-25 14:48:42 +01:00
Jason Rasmussen
43d18ccc36
refactor(server): user create logic ( #13728 )
2024-10-24 17:24:37 -04:00
Jason Rasmussen
fb995816a1
refactor(server): database config ( #13730 )
2024-10-24 17:12:25 -04:00
Daniel Dietzler
151ba9f1d9
refactor(server): telemetry env variables ( #13705 )
...
refactor(server)!: telemetry env variables
Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
2024-10-24 21:07:32 +00:00
Jason Rasmussen
bc06863d28
feat: track when assets are added to an album ( #13725 )
2024-10-24 15:45:00 -05:00
Mert
a76c39812f
fix(server): nan transcoding estimate ( #13693 )
...
fix nan transcoding estimate
2024-10-23 07:49:20 -05:00
Pranay Pandey
d40cbe4c5f
feat: Use video thumbnail for GIF types ( #13677 )
2024-10-22 13:04:44 -04:00
Jason Rasmussen
e6a666f1d3
refactor(server): telemetry ( #13588 )
...
refactor: telemetry
2024-10-21 23:52:30 +00:00
Mert
21d7cf6de6
chore(server): make date-time logs verbose ( #13659 )
...
make date-time logs verbose
2024-10-21 16:35:56 -05:00
Jonathan Jogenfors
b411e30796
fix(server): only allow absolute import paths ( #13642 )
...
fix: only allow absolute paths
2024-10-21 09:12:12 -05:00
Mert
62e55f3db9
fix(server): Revert "fix(server): copy video projection metadata for 360 videos ( #12376 )" ( #13611 )
...
Revert "fix(server): copy video projection metadata for 360 videos (#12376 )"
This reverts commit aa0097bde2 .
2024-10-20 10:15:50 -05:00
Alex
39b571a95c
fix(server): encodes iPhone 16 Pro video with unknown audio codec ( #13593 )
...
* fix(server): encodes iPhone 16 Pro video with unknown audio codec
* remove white space
* pr feedback + unit test
* remove public method keyword
* test the service
* correcting unit test
2024-10-19 00:50:08 -05:00
Hayden
4a2a7b7735
feat(server): wait five minutes before sending email on new album item ( #12223 )
...
Album update jobs will now wait five minutes to send. If a new image is added while that job is pending, the old job will be cancelled, and a new one will be enqueued for a minute.
This is to prevent a flood of notifications by dragging in images directly to the album, which adds them to the album one at a time.
Album updates now include a list of users to email, which is generally everybody except the updater. If somebody else updates the album within that minute, both people will get an album update email in a minute, as they both added images and the other should be notified.
2024-10-18 14:51:34 -05:00
Jason Rasmussen
3fb5adb31c
refactor(server): rename metrics to telemetry ( #13584 )
2024-10-18 14:50:32 -04:00
pyorot
b1149881bd
feat(server): add pcm_s16le accepted audio codec ( #13418 )
2024-10-18 08:26:16 -04:00
Jason Rasmussen
12628b80bc
refactor(server): telemetry env ( #13564 )
2024-10-17 18:04:25 -04:00
Mert
23646f0d55
feat(server): vaapi hardware decoding ( #13561 )
...
* add hw decoding for vaapi
* add tests
* update docs
2024-10-17 18:02:41 -04:00
Jason Rasmussen
c8f672f494
refactor(server): telemetry ports env ( #13560 )
2024-10-17 21:00:22 +00:00
Jason Rasmussen
e3fc4d7b0a
refactor(server): auth enums ( #13552 )
2024-10-17 13:17:32 -04:00
Jason Rasmussen
3d971f69dc
refactor(server): storage template options ( #13553 )
2024-10-17 13:11:51 -04:00
jedi04
bb694aeeeb
fix(server): Allow passwordless users when oauth enabled ( #13517 )
...
* fix(server): Allow passwordless users when oauth enabled
* fix(web): Use features flags for checking oauth
2024-10-17 12:24:50 -04:00
Jason Rasmussen
3f663106e8
refactor(server): redis config ( #13538 )
...
* refactor(server): redis config
* refactor: cache parsed env data
* chore: add database and redis tests
2024-10-17 10:50:54 -04:00
Jason Rasmussen
01a9cda15d
fix(server): never try to parse Duration from exif data ( #13497 )
2024-10-16 18:20:44 -04:00
Jason Rasmussen
8ac40a933a
refactor(server): external domain fallback ( #13506 )
2024-10-16 18:13:12 -04:00
Jason Rasmussen
51d4899cd1
refactor(server): move host env to config repo ( #13507 )
...
* refactor(server): access host through repository
* refactor(server): access host through repository
2024-10-16 18:12:13 -04:00
lyyn
782ba48470
fix(server): ffmpeg matrices ( #13461 )
...
* Fix ffmpeg matrices
* override `getColors`
* formatting
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-10-16 14:29:59 -04:00
Jason Rasmussen
4c55597478
fix(server): mobile oauth login ( #13474 )
2024-10-15 16:41:19 -04:00
Kevin Cox
e57bd94f04
chore(server): explicitly use svt-av1 encoder ( #13389 )
2024-10-15 18:53:18 +00:00
Daniel Dietzler
ee50d0b42a
chore: stack service unit tests ( #13441 )
2024-10-14 19:18:41 -04:00
Alex
346a0847ef
fix(server): REVERT incorrect out_color_matrix value when generating thumbnails ( #13409 ) ( #13424 )
...
Revert "fix(server): incorrect out_color_matrix value when generating thumbnails (#13409 )"
This reverts commit 9bdfb41e9c .
2024-10-14 00:40:46 -04:00
lyyn
9bdfb41e9c
fix(server): incorrect out_color_matrix value when generating thumbnails ( #13409 )
2024-10-13 13:19:40 -04:00
Alex
5a3e352950
fix(server): typeorm (੭ °ཀ°)੭ ( #13411 )
2024-10-13 17:10:52 +00:00
Daniel Dietzler
20b4d281bb
chore: media service unit tests ( #13382 )
2024-10-11 21:33:10 -04:00
Daniel Dietzler
3b7bf76db9
chore: library unit tests ( #13357 )
2024-10-11 14:40:29 -04:00
Jason Rasmussen
930df46f74
chore(server): remove unused code ( #13367 )
2024-10-11 00:44:38 -04:00
Jason Rasmussen
8daa8073ae
refactor(server): add base methods for access checks ( #13349 )
2024-10-10 11:53:53 -04:00
Daniel Dietzler
97edf90889
fix: library deletion ( #13350 )
2024-10-10 11:51:54 -04:00
Daniel Dietzler
79ae4e211b
chore: database service unit tests ( #13345 )
2024-10-10 13:07:37 +00:00
Daniel Dietzler
bd779ff437
chore: cli unit tests ( #13343 )
2024-10-10 09:04:44 -04:00
Jason Rasmussen
465f4639da
feat: align compose ports ( #13185 )
2024-10-09 16:01:52 -04:00
Jason Rasmussen
f7ad6efc4a
feat(server): medium tests ( #13289 )
2024-10-09 10:00:40 -04:00
itoktsnhc
4780bb4fcd
fix(server): fix server ping URL path mismatch in healthcheck.ts ( #13297 )
...
fix server ping URL path mismatch in healthcheck.ts
2024-10-09 04:21:31 +00:00
Mert
08d428cbce
fix(server): duplicate faces, face insert query failing ( #13294 )
...
fix duplicate faces, query failing
2024-10-08 21:37:41 +00:00
Daniel Dietzler
9d0f03808c
chore: finishing unit tests for a couple of services ( #13292 )
2024-10-08 17:08:49 -04:00
Jason Rasmussen
d47def41d3
fix(server): timezones ( #13262 )
2024-10-08 16:10:52 +00:00
Mert
063969ca05
fix(server): searching with both personIds and withPeople ( #13254 )
...
* use cte
* linting
2024-10-07 15:44:04 -04:00
Jonathan Jogenfors
5b00bc499f
fix(server): Allow commas and braces in import paths ( #13259 )
...
fix commas and braces in paths
2024-10-07 15:43:21 -04:00
Zack Pollard
94d213bbb9
fix(server): external libraries queueing two transcode jobs ( #13251 )
2024-10-07 14:34:48 +01:00
Daniel Dietzler
a5e9adb593
chore: migrate oauth to repo ( #13211 )
2024-10-05 16:37:33 -04:00
Daniel Dietzler
9d9bf1c88d
chore: auth unit tests ( #13207 )
2024-10-05 12:16:23 -04:00
Jason Rasmussen
6bbaba7866
refactor(server): resource paths ( #13194 )
2024-10-04 21:09:02 +00:00
Jason Rasmussen
5d0a4bb1a5
refactor(server): app module ( #13193 )
2024-10-04 16:57:34 -04:00
Jason Rasmussen
7ee0221c8e
chore: remove deprecated endpoint ( #13190 )
2024-10-04 15:10:13 -04:00
Jason Rasmussen
08db817d14
chore: remove deprecated controller ( #13189 )
2024-10-04 15:10:03 -04:00
Daniel Dietzler
dc18731bab
chore: audit service unit tests ( #13183 )
2024-10-04 14:04:37 -04:00
Daniel Dietzler
4adedea128
chore: asset service unit tests ( #13179 )
2024-10-04 13:37:18 -04:00
Mert
2c87683fd4
feat(server): refresh face detection ( #12335 )
...
* refresh faces
handle non-ml faces
* fix metadata face handling
* updated tests
* added todo comment
2024-10-03 21:58:28 -04:00
Jason Rasmussen
9edc9d6151
refactor(server): immich app env ( #13169 )
2024-10-03 21:49:03 +00:00
Jason Rasmussen
3ac00b0ffa
refactor(server): db env ( #13167 )
2024-10-03 17:48:40 -04:00
Jason Rasmussen
e2bf6808ca
refactor(server): no color env ( #13166 )
2024-10-03 16:58:15 -04:00
Jason Rasmussen
0eb77147ef
refactor(server): build support env ( #13163 )
2024-10-03 16:33:43 -04:00
Jason Rasmussen
3ddb5b8733
refactor(server): license key env ( #13162 )
2024-10-03 19:45:37 +00:00
Daniel Dietzler
2c8c3651de
chore: some more unit tests :) ( #13159 )
2024-10-03 15:36:54 -04:00
Jason Rasmussen
db1623f43f
refactor(server): worker env ( #13160 )
2024-10-03 15:28:36 -04:00
Jason Rasmussen
892a35acb5
refactor(server): port env ( #13158 )
2024-10-03 17:29:40 +00:00
Mert
8ee825964d
fix(server): thumbnail colorspace handling ( #13130 )
...
fix colorspace handling
2024-10-02 20:53:17 +00:00
Jason Rasmussen
4ea281f854
refactor: service dependencies ( #13108 )
...
refactor(server): simplify service dependency management
2024-10-02 10:54:35 -04:00
Jason Rasmussen
6c7d51da34
refactor: more process.env references ( #13106 )
2024-10-02 08:37:26 -04:00
Jason Rasmussen
63437529e1
refactor(server): config file env ( #13100 )
2024-10-01 16:03:55 -04:00
Jason Rasmussen
4d20b11f25
feat: track upgrade history ( #13097 )
2024-10-01 13:33:58 -04:00
Jason Rasmussen
305fc77ebe
feat(server): better mount checks ( #13092 )
2024-10-01 13:04:37 -04:00
Zack Pollard
d46e50213a
fix(server): offline assets don't restore when coming back online ( #13087 )
2024-10-01 14:03:19 +01:00
Zack Pollard
3b968707a7
fix: deletedAt not set for offline assets during 1.116.0 migration ( #13086 )
2024-10-01 13:09:08 +01:00
Carsten Otto
67aa124de9
feat(server): parse offset from "Image_UTC_Data" (Samsung) ( #13080 )
...
* fix(deps): update dependency exiftool-vendored to v28.3.0
* feat(server): parse offset from "Image_UTC_Data" (Samsung)
A Samsung phone might provide the local time (e.g. 09:00) without any timezone or
offset information. If the file also includes the non-standard trailer tag
"TimeStamp" in "Image_UTC_Data", we can use the unix timestamp contained within to
deduce the offset.
As an example, if the local date/time is "2024-09-15T09:00" and the unix timestamp is
1726408800 (which is 2024-09-15T16:00 UTC), we know that the offset is -07:00.
The actual computation/fix is done in exiftool-vendored.
Also see
0f63a78090/lib/Image/ExifTool/Samsung.pm (L996-L1001)
https://github.com/photostructure/exiftool-vendored.js/issues/209
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 12:08:06 +00:00
Zack Pollard
3eccff4306
feat: support and feedback modal with third party support ( #13056 )
2024-10-01 11:15:31 +01:00
martin
06048b6db9
feat: preload fonts ( #13068 )
2024-10-01 09:08:25 +07:00
Jason Rasmussen
a019fb670e
refactor(server): config service ( #13066 )
...
* refactor(server): config service
* fix: function renaming
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-09-30 17:31:21 -04:00
Jason Rasmussen
f63d251490
refactor(server): user core ( #13063 )
2024-09-30 16:04:24 -04:00
Jason Rasmussen
dfc2d5002b
refactor(server): client events ( #13062 )
2024-09-30 15:50:34 -04:00
Jason Rasmussen
a2d457b01d
refactor(server): events ( #13003 )
...
* refactor(server): events
* chore: better type
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-09-30 10:35:11 -04:00
Mert
7adb35e59e
fix(server): /search/random failing with certain options ( #13040 )
...
* fix relation handling, remove pagination
* update api, sql
* update mock
2024-09-30 00:29:35 -04:00
Mert
2f13db51df
fix(server): "all" button for facial recognition deleting faces instead of unassigning them ( #13042 )
...
* unassign faces instead of deleting them
* formatting
2024-09-30 00:29:14 -04:00
Mert
2bcd27e166
feat(server): generate all thumbnails for an asset in one job ( #13012 )
...
* wip
cleanup
add success logs, rename method
do thumbhash too
fixes
fix tests
handle `notify`
wip refactor
refactor
* update tests
* update sql
* pr feedback
* remove unused code
* formatting
2024-09-28 17:47:24 +00:00
Mert
995f0fda47
feat(server): separate quality for thumbnail and preview images ( #13006 )
...
* allow different thumbnail and preview quality, better config structure
* update web and api
* wording
* remove empty line?
2024-09-28 06:01:04 +00:00
Mert
4248594ac5
feat(server): better transcoding logs ( #13000 )
...
* better transcoding logs
* pr feedback
2024-09-27 18:10:39 -04:00
Zack Pollard
789937d4a2
fix: library pagination to 10k to avoid too many postgres query params ( #12993 )
2024-09-27 18:15:44 +01:00
Jason Rasmussen
36ee72cd87
refactor(server): access env via repository ( #12987 )
2024-09-27 10:28:56 -04:00
Jason Rasmussen
12da250028
refactor: enums ( #12988 )
2024-09-27 10:28:42 -04:00
Jason Rasmussen
b6f871786c
fix(server): handle numeric hierarchical subject values ( #12949 )
2024-09-26 14:32:10 -04:00
Jonathan Jogenfors
b2f2be3485
refactor(server): library syncing ( #12220 )
...
* refactor: library scanning
fix tests
remove offline files step
cleanup library service
improve tests
cleanup tests
add db migration
fix e2e
cleanup openapi
fix tests
fix tests
update docs
update docs
update mobile code
fix formatting
don't remove assets from library with invalid import path
use trash for offline files
add migration
simplify scan endpoint
cleanup library panel
fix library tests
e2e lint
fix e2e
trash e2e
fix lint
add asset trash tests
add more tests
ensure thumbs are generated
cleanup svelte
cleanup queue names
fix tests
fix lint
add warning due to trash
fix trash tests
fix lint
fix tests
Admin message for offline asset
fix comments
Update web/src/lib/components/asset-viewer/asset-viewer-nav-bar.svelte
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
add permission to library scan endpoint
revert asset interface sort
add trash reason to shared link stub
improve path view in offline
update docs
improve trash performance
fix comments
remove stray comment
* refactor: add back isOffline and remove trashReason from asset, change sync job flow
* chore(server): drop coverage to 80% for functions
* chore: rebase and generated files
---------
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-09-25 18:26:19 +01:00
Jason Rasmussen
005528ab5e
fix(server): http error parsing on endpoints without a default response ( #12927 )
2024-09-25 12:05:03 -04:00
Jason Rasmussen
05d8c4c132
fix: do not use trashed assets as album covers ( #12905 )
2024-09-24 17:53:57 -04:00
Daniel Dietzler
ec32a9e610
fix: set min values for face detection to reasonable values ( #12877 )
...
fix: set min values for face detection to >0
2024-09-23 22:03:59 -04:00
Zack Pollard
bcd416477b
feat: serve map tile styles from tiles.immich.cloud ( #12858 )
...
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
2024-09-23 20:30:23 +00:00
Jason Rasmussen
e748945b4f
fix(server): gracefully handle unknown jobs ( #12870 )
2024-09-23 17:22:36 +00:00
jschwalbe
9f8a7e0bea
feat(server): sort assets randomly from the API 'api/search/metadata' endpoint by including 'order': 'rand' in the API call. ( #12741 )
...
feat(server): search metadata random sort order
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-23 12:09:26 -04:00
Daniel Dietzler
a7719a94fc
fix: normalize external domain ( #12831 )
...
chore: normalize external domain
2024-09-23 15:40:25 +00:00
Jason Rasmussen
0cce7ebf25
fix: web e2e ( #12869 )
2024-09-23 15:16:25 +00:00
Nuno Antunes
b1cdf73a24
feat(server): validate rating ( #12855 )
...
* feat(server): validate exif rating tag
* fix(server): change allowed range for rating
* refactor: better readibility
* docs: comments
* remove log line
2024-09-23 07:50:18 +00:00
Zack Pollard
5a1a841365
fix: rework file handling so we always explicitly create, overwrite or both ( #12812 )
2024-09-20 23:16:53 +00:00
Daniel Dietzler
96516ae4b9
fix: creating tags with leading/traling slashes ( #12778 )
2024-09-18 19:25:13 +00:00
Jason Rasmussen
6740c67ed8
fix: empty and restore over 1,000 items ( #12751 )
2024-09-18 09:57:52 -04:00
Jason Rasmussen
4f25cec6df
refactor(server): metadata repository ( #12759 )
2024-09-18 08:44:22 -04:00
Jason Rasmussen
efe45fd0aa
chore: remove unused album repository methods ( #12758 )
2024-09-17 21:02:11 +00:00
Jason Rasmussen
1e6ef5c9e4
refactor(server): view repository ( #12755 )
2024-09-17 16:32:09 -04:00
Min Idzelis
7a755a089b
fix(server): debug port ( #12745 )
...
Fix debug port
2024-09-17 03:13:38 +00:00
martin
c468da589a
fix: update the profile picture in the navigation-bar ( #12723 )
...
* fix: update the profile picture in the navigation-bar
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-17 01:48:15 +00:00
Jason Rasmussen
b74b20824a
feat: tag cleanup job ( #12654 )
2024-09-16 16:49:12 -04:00
Alex
e73dc3dc72
fix(server): fix modify date extraction ( #12658 )
...
* fix(server): fix modify date extraction
* add unit test
2024-09-14 03:30:06 +00:00
Jason Rasmussen
c717fd2131
fix(server): increase person search limit ( #12619 )
2024-09-13 12:33:16 -04:00
Jason Rasmussen
ba57646f9f
refactor(server): client emit events ( #12606 )
...
* refactor(server): client emit events
* chore: test coverage
2024-09-12 14:12:39 -04:00
Jason Rasmussen
7b737786b3
fix(server): include partner assets in random endpoint ( #12599 )
2024-09-12 13:56:38 -04:00
Jason Rasmussen
c3ff1b54af
fix(server): missing case break ( #12595 )
...
* fix(server): missing break statement
* fix(server): missing break statement
2024-09-12 13:45:38 +00:00
Jason Rasmussen
01c7adc24d
feat(web): unlink live photos ( #12574 )
...
feat(web): unlink live photo
2024-09-11 16:26:29 -04:00
Jonathan Jogenfors
233372303b
feat(server): default exclusion patterns ( #12566 )
...
* Add default exclusion patterns
* simplify
* fix tests
2024-09-11 09:40:52 -05:00
Jason Rasmussen
d634ef2d2b
fix(server): person repo methods ( #12524 )
2024-09-10 08:48:29 -05:00
Jason Rasmussen
27050af57b
feat(web): manually link live photos ( #12514 )
...
feat(web,server): manually link live photos
2024-09-10 08:51:11 -04:00
Jason Rasmussen
3127636c42
fix(server): handle invalid directory item ( #12534 )
2024-09-09 23:54:24 -04:00
Jason Rasmussen
d39917a4db
fix(web): show trash indicator ( #12521 )
2024-09-09 16:03:17 -04:00
Jason Rasmussen
b3ef5fe6e7
fix(server): handle multiple hierarchical subjects ( #12509 )
2024-09-09 14:28:14 -04:00
pbustamantes
a287a766d9
fix typo on asset-media.service.ts ( #12486 )
2024-09-09 09:11:24 +00:00
Jason Rasmussen
184a662fda
fix(server): remove hidden assets from albums ( #12449 )
...
* fix(server): remove hidden assets from albums
* fix: linting
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-09-09 00:40:20 -04:00
Jason Rasmussen
a9caa407ec
refactor: metadata extraction ( #12359 )
2024-09-07 13:39:10 -04:00
Jason Rasmussen
1e3052bd0b
feat(server): start up folder checks ( #12401 )
2024-09-07 13:21:25 -04:00
Jason Rasmussen
2554cc96b0
feat(web): logout of all tabs ( #12407 )
2024-09-07 13:21:05 -04:00
Mert
aa0097bde2
fix(server): copy video projection metadata for 360 videos ( #12376 )
2024-09-06 00:30:34 -04:00
Mert
eb7777639d
fix(server): clean face tables after delete ( #12375 )
...
clean face tables after delete
2024-09-05 23:09:19 +00:00
Mark
649897f737
docs: Add conditional album storage template information ( #12218 )
2024-09-05 23:57:12 +02:00
Lukas
27e283e724
fix(server): search suggestions include partner assets ( #12269 )
...
search suggestions now include partner assets
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-09-05 09:12:46 -05:00
Jason Rasmussen
ce2349d496
fix(server): asset no longer has tags ( #12350 )
2024-09-05 08:24:10 -05:00
BugFest
77e6a6d78b
feat(server): Import face regions from metadata ( #6455 )
...
* feat: faces-from-metadata - Import face regions from metadata
Implements immich-app#1692.
- OpenAPI spec changes to accomodate metadata face import configs. New settings to enable the feature.
- Updates admin UI compoments
- ML faces detection/recognition & Exif/Metadata faces compatibility
Signed-off-by: BugFest <bugfest.dev@pm.me>
* chore(web): remove unused file confirm-enable-import-faces
* chore(web): format metadata-settings
* fix(server): faces-from-metadata tests and format
* fix(server): code refinements, nullable face asset sourceType
* fix(server): Add RegionInfo to ImmichTags interface
* fix(server): deleteAllFaces sourceType param can be undefined
* fix(server): exiftool-vendored 27.0.0 moves readArgs into ExifToolOptions
* fix(server): rename isImportFacesFromMetadataEnabled to isFaceImportEnabled
* fix(server): simplify sourceType conditional
* fix(server): small fixes
* fix(server): handling sourceType
* fix(server): sourceType enum
* fix(server): refactor metadata applyTaggedFaces
* fix(server): create/update signature changes
* fix(server): reduce computational cost of Person.getManyByName
* fix(server): use faceList instead of faceSet
* fix(server): Skip regions without Name defined
* fix(mobile): Update open-api (face assets feature changes)
* fix(server): Face-Person reconciliation with map/index
* fix(server): tags.RegionInfo.AppliedToDimensions must be defined to process face-region
* fix(server): fix shared-link.service.ts format
* fix(mobile): Update open-api after branch update
* simplify
* fix(server): minor fixes
* fix(server): person create/update methods type enforcement
* fix(server): style fixes
* fix(server): remove unused metadata code
* fix(server): metadata faces unit tests
* fix(server): top level config metadata category
* fix(server): rename upsertFaces to replaceFaces
* fix(server): remove sourceType when unnecessary
* fix(server): sourceType as ENUM
* fix(server): format fixes
* fix(server): fix tests after sourceType ENUM change
* fix(server): remove unnecessary JobItem cast
* fix(server): fix asset enum imports
* fix(open-api): add metadata config
* fix(mobile): update open-api after metadata open-api spec changes
* fix(web): update web/api metadata config
* fix(server): remove duplicated sourceType def
* fix(server): update generated sql queries
* fix(e2e): tests for metadata face import feature
* fix(web): Fix check:typescript
* fix(e2e): update subproject ref
* fix(server): revert format changes to pass format checks after ci
* fix(mobile): update open-api
* fix(server,movile,open-api,mobile): sourceType as DB data type
* fix(e2e): upload face asset after enabling metadata face import
* fix(web): simplify metadata admin settings and i18n keys
* Update person.repository.ts
Co-authored-by: Jason Rasmussen <jason@rasm.me>
* fix(server): asset_faces.sourceType column not nullable
* fix(server): simplified syntax
* fix(e2e): use SDK for everything except the endpoint being tested
* fix(e2e): fix test format
* chore: clean up
* chore: clean up
* chore: update e2e/test-assets
---------
Signed-off-by: BugFest <bugfest.dev@pm.me>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-09-04 18:23:58 -04:00
Jason Rasmussen
12b65e3c24
fix(server): auto-reconnect to database ( #12320 )
2024-09-04 13:32:43 -04:00
Carsten Otto
cbb0a7f8d4
fix(server): parse time zone with explicit zero offset ( #12307 )
...
* fix(server): fix test: use data as returned by exiftool-vendored
* fix(server): retain +00:00 timezone if set explicitly
2024-09-04 09:27:04 -05:00
Jason Rasmussen
c3a8ddaaf2
fix(server): missing asset files relation ( #12295 )
2024-09-03 21:23:34 -04:00
Jason Rasmussen
526cf23a9e
fix(server): public references in migrations ( #12298 )
2024-09-04 01:20:21 +00:00
Jason Rasmussen
7ca53ba507
feat(server): support lightroom tags ( #12288 )
2024-09-03 18:25:09 -04:00
Alex
a96f41aa11
fix: remove public. reference in migration sql ( #12285 )
2024-09-03 16:42:55 -05:00
Jason Rasmussen
ddd73b9911
feat(server): prefer tagslist ( #12286 )
2024-09-03 17:36:27 -04:00
Alex
6f37ab6a9e
fix(server): empty trash for archived assets ( #12281 )
...
* fix(server): empty trash for archived assets
* use withArchived
* add e2e test
2024-09-03 16:04:35 -05:00
PyKen
4af8433aad
fix(server): remove thumbnailAt in asset_job_status for missing thumbnails ( #12254 )
...
* Remove thumbnailAt in asset_job_status for missing thumbnails
* fix linter error
2024-09-03 00:19:15 -04:00
PyKen
438344fc8f
fix(server): get assetFiles when retrieving assets WithoutProperty.THUMBNAIL ( #12225 )
2024-09-02 09:31:02 -04:00
Jonathan Jogenfors
39141d3f1c
fix(server): remove offline assets from trash ( #12199 )
...
* use port not taken by immich-dev for e2e
* remove offline files from trash
2024-09-02 01:06:35 +02:00
Jason Rasmussen
d18bc7007a
fix: keyword parsing ( #12164 )
2024-08-30 21:33:42 +00:00
Jason Rasmussen
5e6ac87eaf
chore: object shorthand linting rule ( #12152 )
...
chore: object shorthand
2024-08-30 14:38:53 -04:00
Jason Rasmussen
9b1a985d29
fix(server): tag upsert ( #12141 )
2024-08-30 12:44:24 -04:00
Alex
b3b599e071
chore(server): deprecate resized property ( #12143 )
...
* chore: add dummy resized value for release
* openapi
* add deprecation life cycle info
* use correct default value
2024-08-30 11:01:50 -05:00
Jonathan Jogenfors
eb4a291c81
chore(server): log path when generating external thumbnail ( #12107 )
...
* feat: log path when generating external thumbnail
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-29 22:16:12 +00:00
Jason Rasmussen
c63f63cc15
fix: user specific fields in asset search ( #12125 )
2024-08-29 18:07:45 -04:00
Alex
ebecb60f39
feat: user's features preferences ( #12099 )
...
* feat: metadata in UserPreference
* feat: web metadata settings
* feat: web metadata settings
* fix: typo
* patch openapi
* fix: missing translation key
* new organization of preference strucutre
* feature settings on web
* localization
* added and used feature settings
* add default value to response dto
* patch openapi
* format en.json file
* implement helper method
* use tags preference logic
* Fix logic bug and add tests
* fix preference can be null in detail panel
2024-08-29 14:29:04 -05:00
Michel Heusschen
74f18a4523
fix(server): skip smtp validation if unchanged ( #12111 )
...
* fix(server): skip smtp validation if unchanged
* update comparison + convert config to plain object
2024-08-29 14:10:09 -04:00
Jason Rasmussen
d08a20bd57
feat: tags ( #11980 )
...
* feat: tags
* fix: folder tree icons
* navigate to tag from detail panel
* delete tag
* Tag position and add tag button
* Tag asset in detail panel
* refactor form
* feat: navigate to tag page from clicking on a tag
* feat: delete tags from the tag page
* refactor: moving tag section in detail panel and add + tag button
* feat: tag asset action in detail panel
* refactor add tag form
* fdisable add tag button when there is no selection
* feat: tag bulk endpoint
* feat: tag colors
* chore: clean up
* chore: unit tests
* feat: write tags to sidecar
* Remove tag and auto focus on tag creation form opened
* chore: regenerate migration
* chore: linting
* add color picker to tag edit form
* fix: force render tags timeline on navigating back from asset viewer
* feat: read tags from keywords
* chore: clean up
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-08-29 12:14:03 -04:00
Jonathan Jogenfors
bab5ad7ebd
fix(server): ensure new exclusion patterns work ( #12102 )
...
* add test for bug
* find excluded paths when checking offline
* fix filename
* fix unit tests
* bump picomatch
* fix e2e paths
* improve e2e
* add unit tests
* cleanup e2e
* set correct asset count
* fix e2e test
* fix lint
2024-08-28 19:51:25 -04:00
Geoffrey Frogeye
562fec6e2b
feat(server): sort images in duplicate groups by date ( #12094 )
...
* feat(server): sort images in duplicate groups by date
* Update server/src/dtos/duplicate.dto.ts
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2024-08-28 19:59:09 +00:00
Jonathan Jogenfors
363c558db7
fix(server): don't crash when refreshing large libraries ( #7934 )
...
* add job to check for offline files
* fix lint
* only check for offline when using checkForOffline
* improve tests
* remove old test
* wip
* remove trie
* refactor batches
* also check offline status
* fix spelling
* don't do offline scan
* rename scan to check
* fix job statuses
* fix lint
* cleanup
* add test
* open-api
* fix test
* fix spinner
* reset text
* don't double batch
* fix comments from mert
* remove tries
* fix tests
* fix e2e
* fix test
* fix test
* add tests
* fix lint
* fix e2e
* interweave scans
* fix errors
* fix messages
* fix test
* add mock
* fix sql
* fix e2e
* use library batch size
* save -> update
* add file extensions
* update specs
* test for import paths
* check import paths when testing offline
* fix lint
* normalize import path
* remove console logs
* decrease batch size to 1000
* add test for import path
* add test for already-online assets
* fix merge
* fix lint
* add library job back
* add offline job to correct queue
* library spec compiles now
* move one test to new e2e
* fix comments
* fix comments
* fix lint
* refactor path validation
* fix loop bug
* remove logging
* expect responses
* fix asset mock
* take the straightforward approach
* use generator correctly
* fix vitest on file edit
* bump vitest to 1.6.0
* test for offline check
* add e2e tests for offlining assets depending on import path
* cleanup e2e test after finish
* cleanup library service
* paginate the walk generator
* fix tests
* fix typo
* refactoring handleOfflineCheck
* better testing of handleOfflineCheck
* fix lint
* handle large library deletions
* dont check if library is deleted
* fix mock
* add a 100k page size to library
* fix loading animation
* better log messages
* Better logging for offline asset removal
* fix sql and tests
* fix number format
* Remove submodule
* fix format
* chore: cleanup
* chore: fix tests
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-28 13:05:48 -04:00
Kenneth Bingham
2297d86569
fix(mobile): use a valid OAuth callback URL ( #10832 )
...
* add root resource path '/' to mobile oauth scheme
* chore: add oauth-callback path
* add root resource path '/' to mobile oauth scheme
* chore: add oauth-callback path
* fix: make sure there are three forward slash in callback URL
---------
Co-authored-by: Jason Rasmussen <jason@rasm.me>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-28 11:30:06 -05:00
renovate[bot]
cc4e5298ff
fix(deps): update typescript-projects ( #11927 )
...
* fix(deps): update typescript-projects
* chore: clean up
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-28 12:00:10 -04:00
Jason Rasmussen
0be3c4472f
refactor(server): event names ( #12084 )
2024-08-27 18:06:50 -04:00
Mark
b051b29eca
feat(server): Storage template support album condition ( #12000 )
...
feat(server): Storage template support album condition ([Request](https://github.com/immich-app/immich/discussions/11999 ))
2024-08-26 20:48:39 -05:00
Anil Madhavapeddy
fe672d4f35
feat(format): nrw format ( #12048 )
2024-08-26 08:16:24 -04:00
Jason Rasmussen
7fbf50a75e
fix: remove asset.resized ( #11983 )
...
fix: remove resized
2024-08-22 23:24:49 -04:00
David Kerr
07538299cf
feat: folder view ( #11880 )
...
* feat: folder view poc
* fix(folder-view): ui modifications
* fix(folder-view): improves utility return types
* fix(folder-view): update getAssetsByOriginalPath
Endpoint now only returns direct children of the path instead of all images in all subfolders. Functions renamed and scoped to "folder", endpoints renamed
* fix(folder-view): improve typing
* fix(folder-view): replaces css with tailwind
* fix(folder-view): includes folders in main panel
* feat(folder-view): folder cache implementation
* fix(folder-view): can now search for absolute paths
* fix(folder-view): sets default sort to alphabetical by filename
* refactor/styling the browser view
* double click to navigate
* folder tree
* use correct side bar icon
* styling when selected
* correct open icon
* folder layout
* return assetReponseDto
* it's alive
* update new api
* more styling for folder tree
* use query params and path viewer
* use arrow up left for parent folder backward navigation
* use arrow up left for parent folder backward navigation
* encode URL
* handle long folder name
* refactor to the view controller
* remove unused code
* clear cache when logout
* cleaning up
* cleaning up web
* clean as new
* clean as new
* pr feedback + show asset name
* add tests
* add tests
* remove generated file
* lint
* revert docker-compose.dev file
* Update server/src/services/view.service.ts
Co-authored-by: Jason Rasmussen <jason@rasm.me>
* Update server/src/services/view.service.ts
Co-authored-by: Jason Rasmussen <jason@rasm.me>
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-21 13:49:37 -05:00
Jason Rasmussen
29d229c5ba
fix(server): do not match live photos across libraries ( #11952 )
2024-08-20 21:23:50 -04:00
Jason Rasmussen
3be1aaaaa4
refactor(server): controller cleanup ( #11923 )
...
chore(server): controller cleanup
2024-08-20 12:50:14 +00:00
Jason Rasmussen
ef9a06be5c
fix(server): album statistics endpoint ( #11924 )
2024-08-20 07:50:36 -04:00
Jason Rasmussen
8285803c95
refactor: access core ( #11930 )
2024-08-20 07:49:56 -04:00
Jason Rasmussen
7af6733665
refactor(server): move files to separate table ( #11861 )
2024-08-19 20:03:33 -04:00
Alex
af3a793fe8
fix(server): create shared album from the mobile app does not trigger send email invite ( #11911 )
...
* fix(server): create shared album from the mobile app does not trigger send email invite
* remove unused value
2024-08-19 20:43:57 +00:00
Jason Rasmussen
d9698884bd
refactor(server): track thumbnail jobs in job status table ( #11908 )
...
refactor: track thumbnail jobs in job status table
2024-08-19 13:50:00 -04:00
Jason Rasmussen
8338657eaa
refactor(server): stacks ( #11453 )
...
* refactor: stacks
* mobile: get it built
* chore: feedback
* fix: sync and duplicates
* mobile: remove old stack reference
* chore: add primary asset id
* revert change to asset entity
* mobile: refactor mobile api
* mobile: sync stack info after creating stack
* mobile: update timeline after deleting stack
* server: update asset updatedAt when stack is deleted
* mobile: simplify action
* mobile: rename to match dto property
* fix: web test
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-08-19 12:37:15 -05:00
Jason Rasmussen
f230b3aa42
feat(server): granular permissions for api keys ( #11824 )
...
feat(server): api auth permissions
2024-08-16 09:48:43 -04:00
Jason Rasmussen
433c7ab01d
refactor: server emit events ( #11780 )
2024-08-15 20:12:41 +00:00
Jason Rasmussen
32c05ea950
feat(server): do not automatically download android motion videos ( #11774 )
...
feat(server): do not automatically download embedded android motion videos
2024-08-15 20:06:16 +00:00
Jason Rasmussen
a4506758aa
refactor: auth service ( #11811 )
2024-08-15 09:14:23 -04:00
Jason Rasmussen
b288241a5c
refactor(server): enums ( #11809 )
2024-08-15 06:57:01 -04:00
Alex
5ec407b57c
chore(mobile): properly patch openapi with custom response dto ( #11753 )
2024-08-13 14:39:25 -05:00
Carsten Otto
df45ef0e35
fix(server): follow symlinks when zipping assets ( #11685 )
...
* follow symlinks when zipping assets
fixes #9335
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-13 11:39:24 -04:00
Christoph Suter
f33dbdfe9a
feat(web): add Exif-Rating ( #11580 )
...
* Add Exif-Rating
* Integrate star rating as own component
* Add e2e tests for rating and validation
* Rename component and async handleChangeRating
* Display rating can be enabled in app settings
* Correct i18n reference
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
* Star rating: change from slider to buttons
* Star rating for clarity
* Design updates.
* Renaming and code optimization
* chore: clean up
* chore: e2e formatting
* light mode border and default value
---------
Co-authored-by: Christoph Suter <christoph@suter-burri.ch>
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
Co-authored-by: Mert <101130780+mertalev@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-08-09 17:45:52 +00:00
Michel Heusschen
4a42a72bd3
fix(server): use luxon for maxdate validator ( #11651 )
2024-08-08 09:02:39 -05:00
Matthew Mirvish
fb68da2b51
fix(server): avoid transcoding thumbnail streams ( #11603 )
...
Co-authored-by: mincrmatt12 <mincrmatt12@users.noreply.github.com>
2024-08-07 18:36:37 -04:00
renovate[bot]
aeed24b5b4
fix(deps): update typescript-projects ( #11606 )
...
* fix(deps): update typescript-projects
* fix: type error
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-08-07 15:45:30 +00:00
Johannes Groß
28ba22e8c1
fix(server): handle numeric 'Image Description' and 'Description' values ( #11636 )
...
* Made 'Image Description' and 'Description' type safe during exif parsing
* add test + update types
---------
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2024-08-07 15:23:36 +00:00
Mert
23d4314eed
chore(server): support pgvecto.rs 0.3.0 ( #11624 )
...
relax pgvecto.rs constraint
2024-08-06 23:04:55 -04:00
Michel Heusschen
325fb4b5d1
fix(server): video duration extraction ( #11610 )
2024-08-06 11:27:05 -05:00
Alex
f040c9fb38
chore(server): remove get person asset limit ( #11597 )
...
* chore(server): remover get person asset limit
* sql
* remove getPersonAsset endpoint
* remove getPersonAsset endpoint
* use search endpoint to get people
* fix: server test
* mobile linter
* fix: server test
* remove debuglog
* deprecated endpoint
* change page size on mobile
* revert max size
* fix test
2024-08-06 16:22:13 +00:00
Mert
d5b23373c7
refactor(server): startup checks for vector extension ( #11559 )
...
* update update logic
refactor
* update tests
* get version range through repo method, make tests more static
* move "should work" test
2024-08-05 21:00:25 -04:00
renovate[bot]
2821e0bf95
chore(deps): update typescript-eslint monorepo to v8 (major) ( #11598 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-08-05 19:13:00 +00:00
Mert
4ed75f2ac9
refactor(server): add config events for clip ( #11575 )
...
use config events for clip, add tests
formatting
2024-08-04 21:00:36 +00:00
Justin Forseth
d3a5490e71
feat(server): search unknown place ( #10866 )
...
* Allow submission of null country
* Update searchAssetBuilder to handle nulls
andWhere({country:null}) produces `"exifInfo"."country" = NULL`. We want
`"exifInfo"."country" IS NULL`, so we have to treat NULL as a special
case
* Allow null country in frontend
* Make the query code a bit more straightforward
* Remove unused brackets import
* Remove log message
* Don't change whitespace for no reason
* Fix prettier style issue
* Update search.dto.ts validators per @jrasm91's recommendation
* Update api types
* Combine null country and state into one guard clause
* chore: clean up
* chore: add e2e for null/empty city, state, country search
* refactor: server returns suggestion for null values
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-08-02 03:27:40 +00:00
martyfuhry
2c05ceaf50
fix(server): external domain url validation ( #11493 )
...
* fix(web): Changes externalDomain to IsUrl()
* refactor(web): asset viewer actions (#11449 )
* refactor(web): asset viewer actions
* motion photo slot and more refactoring
fix(web): Changes externalDomain to IsUrl()
---------
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
2024-07-31 14:09:30 -04:00
Michel Heusschen
b73f7fe16f
refactor: deduplicate MemoryType and ReactionType enums ( #11479 )
...
* refactor: deduplicate memorytype and reactiontype enums
* fix mobile
2024-07-31 12:08:31 -05:00
renovate[bot]
3a3ea6135e
chore(deps): update typescript-projects ( #11437 )
...
* chore(deps): update typescript-projects
* chore: formatting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-07-31 15:40:23 +00:00
Mert
41580696c7
feat(ml): add more search models ( #11468 )
...
* update export code
* add uuid glob, sort model names
* add new models to ml, sort names
* add new models to server, sort by dims and name
* typo in name
* update export dependencies
* onnx save function
* format
2024-07-31 04:34:45 +00:00
Michel Heusschen
434bcec5cc
fix(server): correct person birth date across timezones ( #11369 )
...
* fix(server): correct person birth date across timezones
* fix test
* update e2e tests
* use Optional decorator
2024-07-29 19:52:04 -04:00
Jason Rasmussen
ebc71e428d
feat(server): reverse geocoding endpoint ( #11430 )
...
* feat(server): reverse geocoding endpoint
* chore: rename error message
2024-07-29 18:17:26 -04:00
eleith
a70cd368af
fix(server): use fqdn for og:image meta tag value ( #11082 )
...
* attempt to use fqdn for og:image
opengraph image specifies that the url contains http or https, thus
implying a fqdn.
this change uses the external domain from the server config to attempt
to make the og:image have both the existing path to the thumbnail along
with the desired domain
if the server setting is empty, the old behavior will persist
please note, some og implementations do work with relative paths, so not
all og image checkers may still pass, but not all implementations have
this fallback and thus will not find the image otherwise
* tests and ssr for og:image value as fqdn
* formatting
* fix test
* formatting
* formatting
* fix tests
getConfig was requiring authentication. using already initiated global stores instead
* load config in shared link service itself
* join host and pathname/params safely
* use origin instead of host for full domain string
also fixes lint and address the imageURL type which is optional
* chore: clean up
---------
Co-authored-by: eleith <eleith@lemon.localdomain>
Co-authored-by: eleith <online-github@eleith.com>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2024-07-29 21:38:47 +00:00
Jared L
3225e33fc1
feat(server): significantly improve Australian reverse geocoding accuracy ( #11370 )
...
chore(geocoding): ingest australia PPLXs
2024-07-29 10:59:53 -04:00
Alex
3330885bcc
chore(server): email template minor styling ( #11387 )
2024-07-26 21:58:48 -05:00
Nicolò
ee6f1a010c
chore(server): clean mail-templates and add tailwind style ( #11296 )
...
With this commit I wanted to complete the react-mail
structure by properly define the templates styles by
including tailwind css framework.
The framework is extended by both react-mail and
tailwindcss-preset-email. Those packages help the rendering
for various email clients.
If in future there is the necessity to target specific mail
clients the package `tailwindcss-email-variants` and
`tailwindcss-mso` can help too. The latter has some
workarounds for the Ms Outlook that is still lacking
a lot of the CSS3 funcitonality.
to target
Signed-off-by: hitech95 <nicveronese@gmail.com>
2024-07-26 15:41:11 -05:00
Alex
ef7a6bb246
chore(web): change license wording and other things ( #11309 )
2024-07-26 10:34:35 -05:00
Nicolò
a3799b3053
feat(server): add IP trust list for reverse proxy ( #11286 )
...
* feat(server): add IP trust list for reverse proxy
Signed-off-by: hitech95 <nicveronese@gmail.com>
* feat(docs): add documentation of `IMMICH_TRUSTED_PROXIES` env
Signed-off-by: hitech95 <nicveronese@gmail.com>
---------
Signed-off-by: hitech95 <nicveronese@gmail.com>
2024-07-26 09:23:58 -05:00
Stephen Smith
ade2901259
feat(server): Allow activating non-admin user with server license ( #11206 )
...
* feat(server): allow server license to activate a user
* feat(web): send server+client licenses to user activation when non-admin
* chore(server): update test to allow server license to activate user
* fix(web): correctly load user to determine where to save license
2024-07-25 23:27:44 -05:00
Michel Heusschen
8e6bc13540
feat: people infinite scroll ( #11326 )
...
* feat: people infinite scroll
* add infinite scroll to show & hide modal
* update unit tests
* show total people count instead of currently loaded
* update personsearchdto
2024-07-25 15:59:28 -04:00
Jason Rasmussen
9f6ef92f0b
fix(deps): exiftool-vendored ( #11338 )
2024-07-24 17:38:22 -04:00
Michel Heusschen
8725656fd2
fix(server): DateTimeOriginal overwrite issue with sidecar file ( #11306 )
...
* fix(server): DateTimeOriginal overwrite issue with sidecar file
* update unit test
2024-07-23 07:59:46 -04:00
Michel Heusschen
849bc6e3aa
fix(server): correct openapi response type for getServerLicense() ( #11261 )
...
* fix(server): correct openapi response type for getServerLicense()
* return 404 error when license doesn't exist
* update e2e test
2024-07-22 08:50:45 -05:00
Michel Heusschen
8b773a2b2e
fix(server): exif description whitespace handling ( #11249 )
...
* fix(server): exif description whitespace handling
* remove trim optional chaining
2024-07-21 19:01:14 -04:00
Mert
9d2d556200
feat(server): accepted video containers ( #11274 )
...
* add accepted container config
* update api
* mp4 option makes no sense
* add to transcoding settings
* wording
* updated spec config
* formatting
2024-07-21 21:14:23 +00:00
Daniel Dietzler
7ecdcb3bc0
fix(server): static mail attachment extension ( #11254 )
...
* fix: static file extension
* chore: unit tests
2024-07-20 19:00:46 -04:00
Saschl
d37e8ede3b
feat: optionally generate thumbnails for invalid images ( #11126 )
2024-07-18 12:07:22 -04:00
Alex
ef0e1a81b9
feat(web): license UI ( #11182 )
2024-07-18 10:56:27 -05:00
pokjay
4f89195702
feat(server): country geocoding for remote locations ( #10950 )
...
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-07-18 13:27:07 +02:00
Jason Rasmussen
66fae76af2
fix(server): delete large album ( #11042 )
...
fix: large album asset operations
2024-07-17 07:43:35 -04:00
Zack Pollard
fb8d9d8c40
fix: downgrade exiftool-vendored to fix motion photo extraction ( #11145 )
...
* Revert "chore(server): update exiftool and migrate off deprecated method signatures (#10367 )"
This reverts commit 1b67ea2d
* fix: downgrade exiftool-vendored to 26.0.0
* chore: change motionphoto filenames to be kebab-case
* test: add pixel 6 pro motionphoto e2e test case
* test: add pixel 8a motion photo
* chore: update test-assets submodule pointer
2024-07-16 19:55:51 +00:00
Zack Pollard
87e8c16a90
fix : #11131 storage migration not moving archived files after template change ( #11139 )
2024-07-16 10:58:04 +00:00
Mert
8193416230
feat(server): conditionally run facial recognition nightly ( #11080 )
...
* only run nightly if new person
* add tests
* use string instead of date
* update sql
* update tests
* simplify condition
2024-07-14 22:53:42 +00:00
Jason Rasmussen
25a380d023
feat(server): userinfo signing ( #10756 )
...
* feat(server): userinfo signing
* chore: e2e tests
2024-07-11 07:55:00 -04:00
Jason Rasmussen
545b206076
chore(server): remove unused code ( #10999 )
...
chore(sesrver): remove unused code
2024-07-10 09:46:52 -04:00
Michel Heusschen
cf77487c00
fix(server): skip smtp validation when there are no changes ( #10991 )
...
* fix(server): skip smtp validation when there are no changes
* rename test
2024-07-10 08:37:50 -04:00
Michel Heusschen
bd88b079ea
fix(server): avoid server error for invalid email data type ( #10978 )
...
* fix(server): avoid server error for invalid email data type
* add e2e test
* fix e2e
2024-07-10 07:58:06 -04:00
apeman
678111ed3b
fix(server): wrong video rotation with QSV and RKMPP decoding ( #10905 )
2024-07-09 15:18:49 +00:00
Jason Rasmussen
334a709cc6
refactor(server): partner search dto ( #10902 )
...
* refactor(server): partner search dto
* fix: missed reference
* mobile fix
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-07-08 16:41:39 -04:00
Jason Rasmussen
5f25e2ce82
refactor(server): build resources ( #10958 )
2024-07-08 14:53:18 -04:00
Michel Heusschen
d582ec02b1
fix(server): reset-admin-password command ( #10939 )
...
* fix(server): reset-admin-password command
* fix immichCli
2024-07-07 07:20:28 -04:00
Jason Rasmussen
59cdbdc492
refactor(server): use .toSorted ( #10904 )
2024-07-06 10:32:38 -04:00
Jason Rasmussen
6c49a4ba34
fix(server): do not try to upgrade to an older version ( #10903 )
2024-07-05 17:50:01 -04:00
Jason Rasmussen
e1f25b44d2
refactor(server): stack owner ( #10900 )
2024-07-05 16:16:53 -04:00
Jason Rasmussen
53d4a5268b
refactor(server): remove has asset ( #10891 )
2024-07-05 15:10:11 -04:00
Jason Rasmussen
cf88f4b6f8
refactor(server): bulk interface ( #10889 )
2024-07-05 14:58:34 -04:00
Jason Rasmussen
eb1ba11d60
refactor(server): rename asset stack to stack ( #10828 )
2024-07-05 09:08:36 -04:00
Jason Rasmussen
81d12c0586
refactor(server): notification events ( #10754 )
2024-07-03 21:06:20 -05:00
Mert
0b88bef157
fix(server): face search migration sometimes failing ( #10827 )
...
* turn it off and back on
* handle missing smart search embedding column
* handle missing face embedding column
* simplify
* Revert "simplify"
This reverts commit 8322af0baf2be8d59f868db9868b9694f999e615.
* fix migration
2024-07-03 21:02:43 -05:00
Tom Vincent
4a481acca6
fix(server): Postgres -> Redis websocket ( #10801 )
2024-07-03 16:27:29 -04:00
Jason Rasmussen
6a11464d60
fix(server): do not allow merging a person into themselves ( #10776 )
2024-07-02 19:56:05 +00:00
Zack Pollard
3b37b70626
feat(server): user and server license endpoints ( #10682 )
...
* feat: user license endpoints
* feat: server license endpoints
* chore: pr feedback
* chore: add more test cases
* chore: add prod license public keys
* chore: open-api generation
2024-07-01 17:43:16 +00:00
bo0tzz
e54c18367b
chore: Lower default duplicate detection distance ( #10703 )
2024-06-30 11:36:02 -04:00
Alex
8b6d27f1bc
fix(server): show partners assets on timeline without permission ( #10705 )
...
* fix(server): show partners assets on timeline without permission
* save all
* correct fix
2024-06-29 22:45:59 -05:00
Jason Rasmussen
24c1855899
fix: album remove asset bug ( #10687 )
...
* fix: album remove asset bug
* trigger GH Action
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-06-29 00:17:58 -04:00
Zack Pollard
a2364a12cf
refactor: move /server-info endpoints to /server ( #10677 )
2024-06-28 17:08:19 +01:00
martin
37b5d92110
fix(web): new feature photo ( #9443 )
...
* fix: new feature photo
* fix: use updatedAt
2024-06-27 20:16:26 -04:00
Jason Rasmussen
72bf9439b0
refactor(server): event emits ( #10648 )
...
* refactor(server): event emits
* refactor: change default priority to 0
2024-06-27 15:54:20 -04:00
Jason Rasmussen
7e99394c70
fix(server): live photo relation ( #10637 )
...
* fix(server): live photo relation
* handle deletion and unit test
* lint
* chore: clean up and e2e tests
* fix test
* sql
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-06-27 14:41:49 -05:00
Michel Heusschen
12b9f3ad91
fix(server): about info version ( #10659 )
2024-06-27 12:36:25 -05:00
Jason Rasmussen
63041674c2
fix(server): user delete with stacked assets ( #10642 )
2024-06-26 09:29:52 -04:00
Jason Rasmussen
8a445cac07
chore: build metadata ( #10612 )
...
feat: build metadata
2024-06-26 08:25:09 -04:00
Mert
42f3b50422
fix(server): /places entries sometimes not ordered alphabetically ( #10514 )
2024-06-20 23:48:19 -04:00
Daniel Dietzler
5e9a7b17d9
fix(server): allow library id to be null in metadata search ( #10512 )
...
* fix: allow library id to be null in metadata search
* chore: open api
2024-06-20 16:02:05 -07:00
Mert
79a8ab71ef
fix(server): reindex after changing to a model with a different dimension size ( #10496 )
...
reindex after truncating
2024-06-19 17:25:02 -04:00
Mert
1191978d50
fix(server): library refresh not checking trashed assets ( #10495 )
...
* set `withDeleted`
* update sql
2024-06-19 20:42:55 +00:00
Mert
968553a50e
fix(server): video thumbnail generation failing with single i-frame ( #10477 )
2024-06-19 10:50:25 -04:00
Mert
5813dc02d1
fix(server): let thumbnail generation fail on error ( #10479 )
2024-06-19 10:50:09 -04:00
Mert
e58131492d
fix(server): consider all I-frames for video thumbnails ( #10471 )
...
nointra instead of nokey
2024-06-18 19:02:33 -04:00
Stephen Smith
1b67ea2d91
chore(server): update exiftool and migrate off deprecated method signatures ( #10367 )
...
* chore(server): update exiftool and migrate off deprecated method signatures
* chore(server): update exiftool-vendored to 27.0.0
* chore(server): switch away from deprecated exiftool method signatures
- options now includes read/writeArgs making the deprecated signatures with
args array redundant
- switch read call from file,args,options to file,options
- switch write call from file,tags,args to file,tags,options
* chore(server): move largefilesupport flags into exiftool constructor
- options now includes read/writeArgs making it available to be set globally in
constructor
- switches back to instantiating an instance of exiftool
* chore(server): consolidate exiftool config into constructor along with writeArgs
* chore(server): move exiftool instantiation into MetadataRepository constructor
2024-06-17 10:11:11 -07:00
Michel Heusschen
8e373cee8d
fix(server): include archived assets in forced thumbnail generation ( #10409 )
2024-06-16 16:16:02 -04:00
Mert
6b1b5054f8
feat(server): separate face search relation ( #10371 )
...
* wip
* various fixes
* new migration
* fix test
* add face search entity, update sql
* update e2e
* set storage to external
2024-06-16 19:25:27 +00:00
Mert
e77e87b936
fix(server): orientation handling for person thumbnails ( #10382 )
...
fix orientation handling
2024-06-16 08:45:58 -07:00
Michel Heusschen
010eb1e0d6
fix(server): include trashed assets in forced thumbnail generation ( #10389 )
...
* fix(server): include trashed assets in forced thumbnail generation
* deleted -> trashed
2024-06-16 08:37:51 -07:00
Jason Rasmussen
78f600ebce
refactor(server): partner ids ( #10321 )
2024-06-14 18:29:32 -04:00
Daniel Dietzler
dddc06c3b2
feat: user preferences for archive download size ( #10296 )
...
* feat: user preferences for archive download size
* chore: open api
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-06-14 11:27:12 -04:00
Jason Rasmussen
77bd162872
fix(server): headers already send ( #10289 )
2024-06-13 13:30:34 -05:00
Jason Rasmussen
c6ab047167
fix(server): oauth linking error message ( #10287 )
2024-06-13 11:42:07 -04:00
Alex
e2a2c86a31
chore(server): optional originalMimeType in asset response payload ( #10272 )
...
* chore(server): optional originalMimeType in asset response payload
* lint
* Update web/src/lib/utils/asset-utils.ts
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
* fix permission of shared link
* test
* test
* test
* test server
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-06-13 09:21:47 -05:00
Michel Heusschen
a54e01ef2f
fix: load original image for gifs ( #10252 )
2024-06-13 05:57:46 -05:00
Mert
fb641c74be
fix(server): use preview image when generating person thumbnail from video ( #10240 )
2024-06-12 22:16:26 -04:00
Jason Rasmussen
3d82005797
fix: no floats (replace with doubles) ( #10218 )
...
* fix: no floats (replace with doubles)
* Update server/src/utils/misc.ts
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
---------
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-06-12 17:36:24 +01:00
Michel Heusschen
9dbf5db72e
fix(server): checkExistingAssets ( #10192 )
...
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-06-12 08:48:44 -05:00
Zack Pollard
ae095baad3
fix(server): only run healthchecks when api worker is running on immich-server ( #10204 )
...
fix: only run healthchecks when api worker is running on immich-server
2024-06-12 12:44:30 +01:00
Jason Rasmussen
e84657192c
refactor: config caching ( #10168 )
2024-06-12 11:07:35 +00:00
Stephen Smith
216cca4383
fix(server): exiftool largefilesupport only set for the first call ( #10167 )
...
* Revert "feat(server): enable exiftool largefilesupport (#9894 )"
This reverts commit afa10ebcb2 .
* feat(server): enable exiftool largefilesupport by passing options to read
2024-06-12 05:43:38 -05:00
Mert
cdc98de848
fix(server): increase pixel limit for thumbnail generation ( #10181 )
...
disable input limit
2024-06-11 22:11:03 -04:00
Mert
126cbeabe8
feat(server): add av1 support for vaapi ( #10180 )
...
add av1
2024-06-12 00:24:06 +00:00
Michel Heusschen
3a3676bc82
fix(server): cache-control header missing from / requests ( #10131 )
...
* fix(server): cache-control header missing from / requests
* disable extension fallback
2024-06-11 10:18:52 -05:00
Alex
d14f23497c
fix(server): album update disable no effect ( #10090 )
2024-06-11 03:51:58 -05:00
Jason Rasmussen
7651f70c88
fix(server): asset delete logic ( #10077 )
...
* fix(server): asset delete logic
* test: e2e
2024-06-10 13:04:34 -04:00
Zack Pollard
2f2aecfb47
fix(server): otel not working due to port conflicts after combining containers ( #10078 )
...
fix: otel not working due to port conflicts after combining containers
Fixes #9759
2024-06-10 16:01:04 +00:00
Fynn Petersen-Frey
972c66d467
fix(server): proper asset sync ( #10019 )
...
* fix(server,mobile): proper asset sync
* fix CI issues
* only use id instead of createdAt+id
* remove createdAt index
* fix typo
* cleanup createdAt usage
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-06-09 14:19:28 -05:00
Mert
df412d60c5
fix(server): min face detection score not being passed correctly ( #10050 )
...
fix min score not being passed correctly
2024-06-08 13:55:19 -04:00
Alejandro Armas
3c5ba77e86
fix(server): server stats showing wrong quota usage ( #10036 )
...
* Add filter to exclude external libraries from the user quota usage
* Add filter to exclude external libraries from the user quota usage
* fix sql syntax
2024-06-08 04:56:11 -05:00
Mert
62f8bd80f4
fix(server): add fallback for video thumbnail generation ( #10034 )
...
they called me a madman
2024-06-08 04:55:05 -05:00
Alex
9ac2ac2fcb
feat(web): send test email button ( #10011 )
...
* feat(web): test email button
* openapi
* UI button
* Show notification
* pr feedback
* remove jobs
* send email directly from repository and add feedback
* avoid sending many emails
* linter
* pr feedback
* lint
* lint
* lint
2024-06-07 11:34:09 -05:00
Mert
f2148ddf03
fix(server): video thumbnail colors when using webp ( #10018 )
...
use gbrpf32le
2024-06-07 02:43:10 -04:00
Mert
2b1b43a7e4
feat(ml): composable ml ( #9973 )
...
* modularize model classes
* various fixes
* expose port
* change response
* round coordinates
* simplify preload
* update server
* simplify interface
simplify
* update tests
* composable endpoint
* cleanup
fixes
remove unnecessary interface
support text input, cleanup
* ew camelcase
* update server
server fixes
fix typing
* ml fixes
update locustfile
fixes
* cleaner response
* better repo response
* update tests
formatting and typing
rename
* undo compose change
* linting
fix type
actually fix typing
* stricter typing
fix detection-only response
no need for defaultdict
* update spec file
update api
linting
* update e2e
* unnecessary dimension
* remove commented code
* remove duplicate code
* remove unused imports
* add batch dim
2024-06-07 03:09:47 +00:00
Jason Rasmussen
4ad97ccded
fix(server): closed connections ( #10013 )
2024-06-06 09:09:42 -05:00
Zack Pollard
8f42766979
feat: seperate sub-process for api worker ( #10000 )
2024-06-06 11:56:57 +01:00
Jason Rasmussen
0f976edf96
feat(server): log http exceptions ( #9996 )
2024-06-05 17:07:47 -04:00
Min Idzelis
ce985ef8f8
fix: AssetInterceptor "can't set headers after they are sent" ( #9987 )
...
* fix: AssetInterceptor "can't set headers after they are sent"
* chore: remove long comment
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-06-05 09:30:19 -04:00
Zack Pollard
abf6fc25f7
chore: change default thumbnail concurrency and auto-detect container core count ( #9981 )
...
* feat: automatically detect amount of CPU cores and allow overriding with CPU_CORES env var
* chore: change default thumbnail concurrency to 3
2024-06-05 11:45:53 +01:00
Jan108
b2761b12d1
feat(web): Option to assign people to unassigned faces ( #9773 )
...
* added unassigned faces to people edit
* svelte fix
* fix format
* Captialized unassigned person name, removed person id from alttext, fixed problem with multiple faces per person
* Added faces to the getAssetInfo API endpoint
* Updated openApi clients
* Readded the photoeditor dependency
* fixed lint/format
* fixed photoViewer type
* changes getAssetInfo.faces to only include unassigned faces
* fix: bad merge
* title
* logic
---------
Co-authored-by: Jan108 <dasJan108@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-06-05 07:26:00 +00:00
Lukas
588860455f
test(server): check motion asset create arguments ( #9826 )
2024-06-05 01:55:04 -05:00
Alex
b3ee394fdc
feat(web): email notification preference settings ( #9934 )
...
* feat(web): email notification preference settings
* Update
* remove failed api generation file
* fix handle album invite return value
* Update web/src/lib/components/user-settings-page/notifications-settings.svelte
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
* wording
* test
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2024-06-03 16:00:20 -05:00
Jason Rasmussen
69d2fcb43e
refactor: asset media endpoints ( #9831 )
...
* refactor: asset media endpoints
* refactor: mobile upload livePhoto as separate request
* refactor: change mobile backup flow to use new asset upload endpoints
* chore: format and analyze dart code
* feat: mark motion as hidden when linked
* feat: upload video portion of live photo before image portion
* fix: incorrect assetApi calls in mobile code
* fix: download asset
---------
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-05-31 13:44:04 -04:00
Floris Van den Abeele
afa10ebcb2
feat(server): enable exiftool largefilesupport ( #9894 )
2024-05-30 11:18:39 -04:00
Daniel Dietzler
4376104e3a
refactor(server): rename api tags to follow plural nomenclature of endpoints ( #9872 )
...
* rename api tags to follow plural nomenclature of endpoints
* chore: open api
* fix mobile
2024-05-29 18:26:57 -04:00
martin
12cf116798
fix: immich port with external domain ( #9856 )
...
* fix: immich port with external domain
* rename variable
2024-05-29 13:06:49 -04:00
Daniel Dietzler
5463660746
refactor(server)!: move markers and style to dedicated map endpoint/controller ( #9832 )
...
* move markers and style to dedicated map endpoint
* chore: open api
* chore: clean up repos
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-29 11:51:01 -04:00
Mert
8812c3afcf
fix(server): apply qsv and vaapi quality to video stream only ( #9807 )
...
apply quality to video stream only
2024-05-28 09:49:51 +01:00
Mert
fbc3790cb6
fix(server): video thumbnail generation failing when using qsv ( #9808 )
...
fix multiplier
2024-05-28 09:47:41 +01:00
Jason Rasmussen
0fc6d69824
feat(server): user preferences ( #9736 )
...
* refactor(server): user endpoints
* feat(server): user preferences
* mobile: user preference
* wording
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-05-28 09:16:53 +07:00
Alex
1f9158c545
feat(server): album's email notification ( #9439 )
...
* feat(server): album's email notification
* same size button
* skeleton for album invite and album update event
* album invite content
* album update
* fix(server): smtp certificate validation (#9506 )
* album update content
* send mail
* album invite with thumbnail
* pr feedback
* styling
* Send email to update album event
* better naming
* add tests
* Update album-invite.email.tsx
Co-authored-by: bo0tzz <git@bo0tzz.me>
* Update album-update.email.tsx
Co-authored-by: bo0tzz <git@bo0tzz.me>
* fix: unit tests
* typo
* Update server/src/services/notification.service.ts
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
* PR feedback
* Update server/src/emails/album-update.email.tsx
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
---------
Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
Co-authored-by: bo0tzz <git@bo0tzz.me>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
2024-05-28 02:16:46 +00:00
Mert
dca420ef70
chore: refactor transcode config routing ( #9800 )
...
* chore: refactor transcode config
* rename parameter
* handle no /dev/dri
* prefer undefined
2024-05-27 15:20:07 -04:00
Mert
21bd20fd75
fix(server): nvenc not working when there are no filters ( #9802 )
...
don't add format=nv12
2024-05-27 15:18:01 -04:00
Mert
351dd647a9
feat(server): better video thumbnails ( #9784 )
2024-05-27 12:08:38 -04:00
Alex
6879bcb7a4
chore(server): duplication default settings ( #9781 )
2024-05-26 20:51:41 -04:00
Jason Rasmussen
75830a4878
refactor(server): user endpoints ( #9730 )
...
* refactor(server): user endpoints
* fix repos
* fix unit tests
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-05-27 05:15:52 +07:00
Mert
e7c8501930
fix(server): search duplicates of the same asset type ( #9747 )
...
* search by type
* make sql
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-05-26 22:04:23 +00:00
safehome-jdev
4d4bb8b6a7
fix(server): Properly build ML predict URL ( #9751 )
...
New URL via URL constructor and not string concatenation
2024-05-26 08:21:10 -04:00
Michel Heusschen
8a7b0f66a4
fix(server): partner can view archived assets ( #9750 )
...
* fix(server): partner can view archived assets
* update sql queries
2024-05-25 06:53:57 -04:00
Jason Rasmussen
9e71256191
chore(server): remove unused code ( #9746 )
2024-05-25 12:15:07 +02:00
Min Idzelis
d5cf8e4bfe
refactor(server): move checkExistingAssets(), checkBulkUpdate() remove getAllAssets() ( #9715 )
...
* Refactor controller methods, non-breaking change
* Remove getAllAssets
* used imports
* sync:sql
* missing mock
* Removing remaining references
* chore: remove unused code
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-24 21:02:22 -04:00
Jason Rasmussen
95012dc19b
fix: config error logging ( #9738 )
2024-05-24 16:44:50 -04:00
Lukas
f197f5d530
fix(server): use correct file extension for motion photo videos ( #8659 )
...
* fix(server): use mp4 file extension for motion photo videos in archive download
* always use mp4 for videos
* get file extension from originalPath
* remove console log
* store motion assets with mp4 extension
* add migration
* set originalFileName for live photo asset stubs
* leave down migration empty
* only set originalFileName for livePhotoStillAsset
* use separate stub
* shorter stub name
2024-05-24 16:38:18 -04:00
Jason Rasmussen
7168707395
refactor(server): remove unused code ( #9737 )
2024-05-24 16:37:29 -04:00
Zack Pollard
39d2c4f37b
chore: remove all deprecated endpoints/properties from server and mobile app ( #9724 )
...
* chore: remove deprecated title property from MemoryLaneResponseDto
* chore: remove deprecated webpPath and resizePath from MetadataSearchDto
* chore: remove deprecated sharedUserIds property from Album AddUsersDto
* chore: remove deprecated sharedUsers property from AlbumResponseDto
* chore: remove deprecated sharedWithUserIds property from CreateAlbumDto
* chore: remove deprecated isExternal and isReadOnly properties from AssetResponseDto
* chore: remove deprecated /server-info endpoint
* chore: bloody linters
2024-05-24 15:37:01 +01:00
Mert
69b5eb005f
fix(server): use qsv format for hwmap ( #9722 )
...
use qsv format for hwmap
2024-05-24 09:50:28 +01:00
Min Idzelis
4f21f6a2e1
feat: API operation replaceAsset, POST /api/asset/:id/file ( #9684 )
...
* impl and unit tests for replaceAsset
* Remove it.only
* Typo in generated spec +regen
* Remove unused dtos
* Dto removal fallout/bugfix
* fix - missed a line
* sql:generate
* Review comments
* Unused imports
* chore: clean up
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-23 20:26:22 -04:00
Alex
57d94bce68
feat(web): deduplication UI ( #9540 )
2024-05-23 12:57:25 -05:00
Jason Rasmussen
e7aa50425c
test: sync open api spec ( #9687 )
...
test: sync spec file
2024-05-23 07:40:57 -04:00
Mert
a5e8b451b2
feat(server): qsv hardware decoding and tone-mapping ( #9689 )
...
* qsv hw decoding and tone-mapping
* fix vaapi
* add tests
* formatting
* handle device name without path
2024-05-23 03:58:29 +00:00
Jason Rasmussen
13cbdf6851
refactor(server): cli service ( #9672 )
2024-05-22 22:23:47 +02:00
Jason Rasmussen
967d195a05
chore(server): remove unused code ( #9670 )
2024-05-22 15:53:57 -04:00
Jason Rasmussen
8f37784eae
refactor(server): /user profile endpoint ( #9669 )
...
* refactor(server): user profile endpoint
* chore: open api
2024-05-22 14:31:12 -04:00
Jason Rasmussen
ecd018a826
refactor(server): user info endpoint ( #9668 )
...
* refactor(server): user info endpoint
* chore: open api
2024-05-22 14:15:33 -04:00
Jason Rasmussen
202745f14b
refactor(server): plural endpoints ( #9667 )
2024-05-22 13:24:57 -04:00
CodaBool
6a4c2e97c0
feat: add docker healthchecks to server and ml ( #9583 )
...
* add healthcheck
* format, import, IMMICH_PORT, and eslint change
* chore: clean up nodejs healthcheck
* fix ruff formating
* add healthcheck
* format, import, IMMICH_PORT, and eslint change
* chore: clean up nodejs healthcheck
* fix ruff formating
* add healthcheck to dockerfile
* poetry run ruff check --fix
* removed 2 of 3 console calls
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-22 16:54:29 +00:00
Jason Rasmussen
06ce8247cc
feat(server): user metadata ( #9650 )
...
* feat(server): user metadata
* add missing method to user mock
* update migration to include cascades
* update sql files
* test: fix e2e
* chore: clean up
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-05-22 08:13:36 -04:00
Zack Pollard
a3e7e8cc31
refactor: deprecate /server-info and replace with /server-info/storage ( #9645 )
2024-05-22 10:25:55 +01:00
Jason Rasmussen
91b835cfeb
fix: auth sub override ( #9635 )
2024-05-21 09:07:34 -04:00
Jason Rasmussen
1df7be8436
refactor(server): version logic ( #9615 )
...
* refactor(server): version
* test: better version and log checks
2024-05-20 20:31:36 -04:00
Jason Rasmussen
84d824d6a7
refactor: library type ( #9525 )
2024-05-20 18:09:10 -04:00
Alex
60427f18ce
chore(server): return duplicate assets as group ( #9576 )
...
* chore(server): return duplicate assets as group
* file name
2024-05-18 13:15:56 -05:00
Nicholas Flamy
975f2351ec
fix(server): Disable duplicate detection when smart search disabled ( #9565 )
2024-05-17 16:37:26 -04:00
Jason Rasmussen
2e62c7b417
refactor: node_env => immich_env ( #9561 )
2024-05-17 13:30:05 -04:00
Alex
2689178a35
chore(server): openapi generation for Duplicate controller ( #9560 )
2024-05-17 12:05:23 -05:00
Jason Rasmussen
d61418886f
refactor!: port env ( #9559 )
...
refactor: port env
2024-05-17 12:59:05 -04:00
Jason Rasmussen
c03981ac1d
refactor(server): new version check ( #9555 )
2024-05-17 12:22:39 -04:00
Jason Rasmussen
4807fc40a6
refactor!: LOG_LEVEL => IMMICH_LOG_LEVEL ( #9557 )
...
refactor: LOG_LEVEL => IMMICH_LOG_LEVEL
2024-05-17 11:44:22 -04:00
Zack Pollard
c8aa6a62c2
fix: when using old script args, just set the workers include var ( #9552 )
...
* fix: when using old script args, just set the workers include var and move on
* fix: set process.title when using new bootstrap worker startup method
2024-05-17 15:10:57 +01:00
Zack Pollard
85aca2bb54
feat: microservices be gone ( #9551 )
...
* feat: microservices be gone and api is a worker now too
* chore: remove very old startup scripts, surely nobody is using these anymore, right?
right?....
2024-05-17 14:44:30 +01:00
Mert
ff52300624
refactor(server): duplicate controller and service ( #9542 )
...
* duplicate controller and service
* change endpoint name
* fix search tests
* remove unused import
* add to index
2024-05-16 19:39:33 -04:00
Jason Rasmussen
936a46b4ed
fix(server): use jasonnnnnnnnnb ( #9539 )
2024-05-16 17:24:54 -04:00
Mert
d8eca168ca
feat(server): fully accelerated nvenc ( #9452 )
...
* use arrayContaining
* libplacebo for nvenc
update dockerfile
* tweaks
* update nvenc options
* tweak settings
* refactor
* toggle for hardware decoding, software / hardware decoding for nvenc and rkmpp
* fix software tone-mapping not being applied
* separate configs for hw/sw
* update api
* add hw decode toggle
* fix mutating config
* remove `version` flag
* fix config type
* remove submodule
* handle temporal AQ
* remove duplicate tests
* use `tonemap_opencl`
* wording
* update docs
2024-05-16 13:30:26 -04:00
Mert
64636c0618
feat(server): near-duplicate detection ( #8228 )
...
* duplicate detection job, entity, config
* queueing
* job panel, update api
* use embedding in db instead of fetching
* disable concurrency
* only queue visible assets
* handle multiple duplicateIds
* update concurrent queue check
* add provider
* add web placeholder, server endpoint, migration, various fixes
* update sql
* select embedding by default
* rename variable
* simplify
* remove separate entity, handle re-running with different threshold, set default back to 0.02
* fix tests
* add tests
* add index to entity
* formatting
* update asset mock
* fix `upsertJobStatus` signature
* update sql
* formatting
* default to 0.03
* optimize clustering
* use asset's `duplicateId` if present
* update sql
* update tests
* expose admin setting
* refactor
* formatting
* skip if ml is disabled
* debug trash e2e
* remove from web
* remove from sidebar
* test if ml is disabled
* update sql
* separate duplicate detection from clip in config, disable by default for now
* fix doc
* lower minimum `maxDistance`
* update api
* Add and Use Duplicate Detection Feature Flag (#9364 )
* Add Duplicate Detection Flag
* Use Duplicate Detection Flag
* Attempt Fixes for Failing Checks
* lower minimum `maxDistance`
* fix tests
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
* chore: fixes and additions after rebase
* chore: update api (remove new Role enum)
* fix: left join smart search so getAll works without machine learning
* test: trash e2e go back to checking length of assets is zero
* chore: regen api after rebase
* test: fix tests after rebase
* redundant join
---------
Co-authored-by: Nicholas Flamy <30300649+NicholasFlamy@users.noreply.github.com>
Co-authored-by: Zack Pollard <zackpollard@ymail.com>
Co-authored-by: Zack Pollard <zack@futo.org>
2024-05-16 18:08:37 +01:00
Jason Rasmussen
984aa8fb41
refactor(server): system config ( #9517 )
2024-05-15 18:58:23 -04:00
renovate[bot]
7f0f016f2e
chore(deps): update dependency eslint-plugin-unicorn to v53 ( #9502 )
...
* chore(deps): update dependency eslint-plugin-unicorn to v53
* use structured clone to match new eslint rules
* use raw string instead of escaping slash
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-05-15 18:06:25 -04:00
Jason Rasmussen
73bf8f343a
chore(server): remove unused property ( #9521 )
2024-05-15 15:17:48 -04:00
Michel Heusschen
581b467b4b
fix(server): smtp certificate validation ( #9506 )
2024-05-15 07:21:35 -04:00
Jason Rasmussen
ce7bbe88f9
fix(server): skip originals when deleting a library ( #9496 )
2024-05-14 16:29:57 -05:00
Jason Rasmussen
0f129cae4a
refactor(server): feature flags ( #9492 )
2024-05-14 15:31:36 -04:00
Jason Rasmussen
7b1112f3e3
refactor(server): system config ( #9484 )
2024-05-14 14:43:49 -04:00
Alex
f28b4e7c99
fix(server): sync issue when delete remotes assets ( #9479 )
2024-05-14 11:51:15 -05:00
Fynn Petersen-Frey
4d7aa7effd
fix(server): new full sync return stacked assets individually ( #9189 )
...
* fix(server): new full sync return stacked assets individually
* return archived partner assets (like old getAllAssets)
* fix
* fix test
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-05-14 10:30:33 -05:00
Zack Pollard
1ea55d642e
feat(server): run microservices in worker thread ( #9426 )
...
feat: start microservices in worker thread and add internal microservices for the server
2024-05-14 15:28:20 +01:00
Jason Rasmussen
46868b3336
refactor(server): logger ( #9472 )
2024-05-14 08:48:49 -04:00
Eric Barch
6fd6a8ba15
fix(server): addAssets and removeAssets handle duplicate assetIds ( #9436 )
...
* fix(server): addAssets and removeAssets handle duplicate assetIds
* chore(server): Add e2e tests for duplicate album additions and removals
2024-05-14 03:29:32 +00:00
Sushain Cherivirala
4e6aeeda4d
fix(server): support special characters in library paths ( #9385 )
...
Support special characters in library paths
2024-05-13 21:44:21 +00:00
Jason Rasmussen
844f5a16a1
chore(server): remove unused column ( #9431 )
...
* chore(server): remove unused column
* fix: broken migrations
2024-05-13 16:40:16 -04:00
Jason Rasmussen
1bebc7368c
fix(server): regenerate (extract) motion videos ( #9438 )
2024-05-13 16:38:11 -04:00
Jason Rasmussen
9c5a2b97bf
fix(server): put system config ( #9425 )
2024-05-13 16:29:39 +00:00
Alex
06402aa9fb
chore(server): email notification button png ( #9423 )
...
* chore(server): email notification button png
* valid user name
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-05-13 15:36:35 +00: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
Mert
f667c9597b
chore(server): less rigid transcoding tests ( #9401 )
...
* use arrayContaining
* clean up
2024-05-12 00:04:31 -04:00
Mert
bb4843747b
perf: cache transcoding devices ( #9381 )
...
cache transcoding devices
2024-05-10 15:03:47 -04:00
Mert
f3fbb9b588
perf: cache getConfig ( #9377 )
...
* cache `getConfig`
* critical fix
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
---------
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2024-05-10 18:15:25 +00:00
Jason Rasmussen
8743e17528
refactor(server): auth route metadata ( #9344 )
2024-05-09 13:58:44 -04:00
Jason Rasmussen
8e9895df27
chore(server): remove unused deps ( #9334 )
2024-05-08 16:39:35 -04:00
Mert
1167f0f2b7
feat(server): optimize person thumbnail generation ( #7513 )
...
* do crop and resize together
* redundant `pipelineColorspace` call
* formatting
* fix rebase
* handle orientation
* remove unused import
* formatting
* use oriented dimensions for half size calculation
* default case for orientation
* simplify orientation code
---------
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-05-08 08:09:34 -05:00
Jan
535c7a8618
Random Endpoint use querybuilder and return exifInfo ( #9301 )
...
* Random Endpoint use querybuilder and return exifInfo
* Add GenerateSql
* Commit missing sql changes
2024-05-07 23:14:04 -04:00
Jason Rasmussen
e79d1b1ec2
refactor: create album users ( #9315 )
2024-05-07 16:38:09 -04:00
Alex
ee6995783f
fix(mobile): add user to album using new dto property ( #9312 )
...
* fix(mobile): add user to album using new DTO property
* fix(mobile): add user to album using new DTO property
2024-05-07 20:00:38 +00:00
Alex
bbb9453e1a
fix(server): show partners archived photos on mobile timeline ( #9194 )
...
fix(mobile): show partners archived photos on timeline
2024-05-06 22:49:56 -05:00
martin
cf79bc9ed7
fix(server, web): reassigning faces ( #9265 )
...
* fix: reassiging faces
* fix: rename
2024-05-05 13:16:44 -05: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
Nicolò
9bce3417e9
feat(server): email notifications ( #8447 )
...
* feat(server): add `react-mail` as mail template engine and `nodemailer`
* feat(server): add `smtp` related configs to `SystemConfig`
* feat(web): add page for SMTP settings
* feat(server): add `react-email.adapter`
This adapter render the React-Email into HTML and plain/text email.
The output is set as the body of the email.
* feat(server): add `MailRepository` and `MailService`
Allow to use the NestJS-modules-mailer module to send SMTP emails.
This is the base transport for the `NotificationRepository`
* feat(server): register the job dispatcher and Job for async email
This allows to queue email sending jobs for the `EmailService`.
* feat(server): add `NotificationRepository` and `NotificationService`
This act as a middleware to properly route the notification to the right transport.
As POC I've only implemented a simple SMTP transport.
* feat(server): add `welcome` email template
* feat(server): add the first notification on `createUser` in `UserService`
This trigger an event for the `NotificationRepository` that once processes
by using the global config and per-user config will carry the payload to the right notification transport.
* chore: clean up
* chore: clean up web
* fix: type errors"
* fix package lock
* fix mail sending, option to ignore certs
* chore: open api
* chore: clean up
* remove unused import
* feat: email feature flag
* chore: remove unused interface
* small styling
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-05-02 15:43:18 +01:00
Mert
a0c43a2b5a
fix(server): person thumbnails not being queued during thumbnail generation ( #9195 )
...
use face id instead of asset id
2024-05-02 01:33:17 +01:00
renovate[bot]
9e79a23bbe
fix(deps): update typescript-projects ( #9169 )
...
* fix(deps): update typescript-projects
* fix: type error
* fix: more imports
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-30 09:49:14 -04:00
Jason Rasmussen
59caf1fce4
chore: lifecycle metadata ( #9103 )
...
feat(server): track endpoint lifecycle
2024-04-29 13:48:28 +00:00
Fynn Petersen-Frey
32e7cfea3d
fix(server): stacked assets for full sync, userIds as array for delta sync ( #9100 )
...
* fix(server): stacked assets for full sync, userIds as array for delta sync
* refactor(server): sync
* fix getDeltaSync after partner removal
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-28 23:24:21 -04:00
Hermes Espínola González
4bb7d2df49
fix(server): Improve reverse geocoded location metadata ( #9051 )
...
* fix: improve reverse geocoding
* fix: update tests referencing states
* fix: expect state suggestion in any order
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-04-28 21:29:08 +01:00
Mert
2648032163
fix(server): untracked thumbnail and preview images ( #9126 )
...
* delete old thumbnails
* add tests
* revert invisible asset handling
2024-04-27 18:43:05 -04:00
Jason Rasmussen
034c928d9e
feat(server): remove inactive sessions ( #9121 )
...
* feat(server): remove inactive sessions
* add rudimentary unit test
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-04-27 16:45:16 -04:00
Nguyễn Hoàng Đức
833a78181b
fix(server): asset count on meta tag of shared links ( #9107 )
...
* fix asset count on meta tag of shared links
* fix lint
* fix style
* add e2e tests
2024-04-27 14:56:13 -04:00
Daniel Dietzler
90882a9b26
refactor(server): repositories ( #9119 )
...
refactor repos
2024-04-27 13:52:05 -04:00
Jason Rasmussen
7ea539b753
chore(server): default postgres hostname to compose service name ( #9118 )
2024-04-27 13:43:45 -04:00
Jason Rasmussen
0d8a04b43c
chore: for redis, use service name as the default ( #9109 )
...
chore: use service name as default redis hostname
2024-04-27 11:04:23 -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
Jason Rasmussen
69f8bfe874
fix(server): default host binding ( #9090 )
2024-04-26 01:02:19 -05:00
Alex
1d15cfb5f3
chore(server): remove unusuned endpoint/service/interface in asset-v1 ( #9086 )
2024-04-26 01:02:04 -05:00
martin
c9dcb5c624
fix(server): activity with deleted assets / users ( #9068 )
...
fix: activity with deleted assets / users
2024-04-25 17:45:15 -04:00
mgabor
2943f93098
feat: readonly album sharing ( #8720 )
...
* rename albums_shared_users_users to album_permissions and add readonly column
* disable synchronize on the original join table
* remove unnecessary FK names
* set readonly=true as default for new album shares
* separate and implement album READ and WRITE permission
* expose albumPermissions on the API, deprecate sharedUsers
* generate openapi
* create readonly view on frontend
* ??? move slideshow button out from ellipsis menu so that non-owners can have access too
* correct sharedUsers joins
* add album permission repository
* remove a log
* fix assetCount getting reset when adding users
* fix lint
* add set permission endpoint and UI
* sort users
* remove log
* Revert "??? move slideshow button out from ellipsis menu so that non-owners can have access too"
This reverts commit 1343bfa31125f7136f81db28f7aa4c5ef0204847.
* rename stuff
* fix db schema annotations
* sql generate
* change readonly default to follow migration
* fix deprecation notice
* change readonly boolean to role enum
* fix joincolumn as primary key
* rename albumUserRepository in album service
* clean up userId and albumId
* add write access to shared link
* fix existing tests
* switch to vitest
* format and fix tests on web
* add new test
* fix one e2e test
* rename new API field to albumUsers
* capitalize serverside enum
* remove unused ReadWrite type
* missed rename from previous commit
* rename to albumUsers in album entity as well
* remove outdated Equals calls
* unnecessary relation
* rename to updateUser in album service
* minor renamery
* move sorting to backend
* rename and separate ALBUM_WRITE as ADD_ASSET and REMOVE_ASSET
* fix tests
* fix "should migrate single moving picture" test failing on European system timezone
* generated changes after merge
* lint fix
* fix correct page to open after removing user from album
* fix e2e tests and some bugs
* rename updateAlbumUser rest endpoint
* add new e2e tests for updateAlbumUser endpoint
* small optimizations
* refactor album e2e test, add new album shared with viewer
* add new test to check if viewer can see the album
* add new e2e tests for readonly share
* failing test: User delete doesn't cascade to UserAlbum entity
* fix: handle deleted users
* use lodash for sort
* add role to addUsersToAlbum endpoint
* add UI for adding editors
* lint fixes
* change role back to editor as DB default
* fix server tests
* redesign user selection modal editor selector
* style tweaks
* fix type error
* Revert "style tweaks"
This reverts commit ab604f4c8f3a6f12ab0b5fe2dd2ede723aa68775.
* Revert "redesign user selection modal editor selector"
This reverts commit e6f344856c6c05e4eb5c78f0dffb9f52498795f4.
* chore: cleanup and improve add user modal
* chore: open api
* small styling
---------
Co-authored-by: mgabor <>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-04-25 04:19:49 +00:00
Mert
466451abc9
feat(server): env variable to skip migrations on startup ( #9069 )
...
* env variable to skip migrations
* update docs
* update env doc
2024-04-24 22:52:38 -04:00
Adam Jackson
661540c886
refactor(server, web, mobile): Change wording of memory titles ( #9025 )
...
Change wording of memory titles
2024-04-23 15:08:02 +00:00
Jason Rasmussen
a93534fc3c
refactor(server): session interface types ( #8977 )
2024-04-20 23:45:55 -04:00
Jason Rasmussen
1e3dceea4d
fix(server): session refresh ( #8974 )
2024-04-20 15:15:25 -05:00
Mert
fd4514711f
feat(server): enable AV1 encoding for NVENC ( #8959 )
...
allow av1 for nvenc
2024-04-20 14:52:50 -04:00
Jaryl Chng
caf76f0713
feat(server): enable AV1 encoding for QSV ( #8942 )
2024-04-20 10:36:00 -04:00
Jason Rasmussen
171b6bb0a6
refactor: system metadata ( #8923 )
...
refactor(server): system metadata
2024-04-19 20:36:15 -04:00
Daniel Dietzler
78c7ff855d
refactor(server): move file file report endpoints to their own controller ( #8925 )
...
* move file report to its own controller
* chore: open api
2024-04-19 20:35:54 -04:00
Mert
431ffebddd
feat(server): use embedded preview from raw images ( #8773 )
...
* extract embedded
* update api
* add tests
* move temp file logic outside of media repo
* formatting
* revert `toSorted`
* disable by default
* clarify setting description
* wording
* wording
* update docs
* check extracted image dimensions
* test that it unlinks
* formatting
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-04-19 10:50:13 -05:00
Jason Rasmussen
74c921148b
refactor(server): cookies ( #8920 )
2024-04-19 11:19:23 -04:00
Jason Rasmussen
4478e524f8
refactor(server): sessions ( #8915 )
...
* refactor: auth device => sessions
* chore: open api
2024-04-19 06:47:29 -04:00
Mert
596c35dc00
fix(server): skip invisible assets for thumbnail generation and ml ( #8891 )
...
* skip invisible assets for thumbnail generation and ml
* no need to update job status
* fix thumbhash check order
* linting
2024-04-19 01:37:55 +00:00
Mert
8573c84605
fix(server): include archived images in face detection ( #8892 )
2024-04-17 23:47:24 -04:00
Jason Rasmussen
3a9df6dae8
refactor(server): immich-admin list-users ( #8862 )
2024-04-17 12:27:04 +00:00
Kevin Huang
17dc12cf7d
fix(server): storage usage calculation for motion photos ( #8722 )
...
* ignore non external assets in external libraries during syncUsage
* only update storage usage if asset is from internal libraries
* update storage usage on motion photo video asset creation
* updated metadata service tests
* added a test
* simplified syncUsage condition
* check for library type upload instead of not external
* fixed broken sql
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-17 03:04:59 +00:00
Jason Rasmussen
14b1425e98
feat(server): logging interceptor ( #8859 )
2024-04-16 19:21:57 -04:00
Jason Rasmussen
47fb9bd213
fix(server): correlationId ( #8858 )
2024-04-16 17:31:49 -04:00
AmAn Sharma
6e6deec40c
feat: use ILoggerRepository ( #8855 )
...
* Migrate ImmichLogger over to injected ILoggerRepository
* chore: cleanup and tests
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-16 17:30:31 -04:00
Jason Rasmussen
877207a2e6
chore(server): delete swap file ( #8856 )
2024-04-16 22:13:03 +02:00
Jason Rasmussen
50c9bc0336
chore: migrate to vitest ( #7156 )
...
* chore: jest => vitest
* chore: replace jest-when
2024-04-16 10:44:45 -04:00
Fynn Petersen-Frey
103cb60a57
feat(server): efficient full app sync ( #8755 )
...
* feat(server): efficient full app sync
* add SQL, fix test compile issues
* fix linter warning
* new sync controller+service, add tests
* enable new sync controller+service
* Update server/src/services/sync.service.ts
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
---------
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2024-04-16 07:26:37 +02:00
Jason Rasmussen
dba365634a
chore(server): cleanup library watching ( #8835 )
...
chore: clean up library watching
2024-04-15 23:05:08 -04:00
Jason Rasmussen
2db76034b1
feat(server): correlation id via injected logger ( #8823 )
...
* feat(server): correlation id via injected logger
* feat: cid response header
2024-04-15 23:39:06 +00:00
yparitcher
ed74213c63
feat(server): server host binding ( #8800 )
...
* Allow setting the host address for the server & microservices
Default to listen on all interfaces as per the current behavior.
* (Docs) format: fix lint
2024-04-15 14:24:13 -04:00
Kevin Huang
85df3f1e99
fix(server): external library motion photo video asset handling ( #8721 )
...
* added "isExternal" to the getLibraryAssetPaths query
* handleQueueAssetRefresh skip "non external" video asset, closes #8562
* correctly implements live photo deletion for external library
* use "external asset" for external library tests
* minor: external library asset checksum is "path hash" not file hash
* renamed to getExternalLibraryAssetPaths and added isExternal where clause
* generated sql
* reverted leftover change
2024-04-14 19:55:44 -04:00
Kevin Huang
58346465aa
fix(server): link motion photo with existing video asset ( #8724 )
...
* added motion photo linking
* added tests
2024-04-11 09:49:21 -04:00
Kevin Huang
ec76e5ef23
fix(server): prevent cross-library motion photo linking, made getByChecksum library specific ( #8719 )
...
prevent cross linking
2024-04-11 09:41:30 -04:00
N00MKRAD
f1ca1794a1
Add AV1 transcoding support ( #8491 )
...
* Add AV1 transcoding support
- AV1 encoding on CPU via SVT-AV1 (libsvtav1 in ffmpeg)
- Supports CRF and optionally capped CRF (max bitrate)
- Tested playback successfully in Chrome Win+Android, Firefox Win+Linux, Android app
* AV1: Add support for encoding threads option
* Revert previous commit; specifying params multiple times is bad
We need to specify all svtav1-params at once, so putting the thread option into getThreadOptions is not possible.
* AV1: Override VAAPI getSupportedCodecs as it does not yet support AV1 unlike nvenc, qsv, amf
* Change BaseHWConfig supported codecs to only H264/HEVC
Configs that support VP9 and/or AV1 need to override getSupportedCodecs()
* Set SVT-AV1 threads with svtav1-params, remove duplicate block in NVENCConfig
* AV1Config: Fix empty svtav1-params array being added to options
* add tests
* update api
* allow crf-based two-pass mode
* formatting
* suggest 35
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-04-11 05:26:27 +00:00
Daniel Dietzler
ad5d115abe
fix(server): require asset permission when creating an album with them ( #8686 )
...
require asset permission when creating an album with them
2024-04-10 13:41:22 -04:00
Jason Rasmussen
369bd17c8b
chore(server): remove unused method ( #8639 )
2024-04-08 17:23:45 -04:00
Daniel Dietzler
7b1562c050
fix(server): remove isWatched from DTO ( #8598 )
...
* fix: remove isWatched
* chore: open api
2024-04-08 16:00:08 -04:00
Kevin Huang
7a16233584
fix(server): delete thumbnail for readonly asset ( #8593 )
...
* delete thumbnail and other generated files even for readonly asset
* updated test
* don't delete sidecar file for readonly file
* fixed test
* improved external detection
2024-04-08 12:54:10 -04:00
Mert
105a74caca
feat(server,web): configure image format ( #8581 )
2024-04-07 12:44:34 -04:00
Mert
55b9acca78
fix(server): hevc tag being set when copying a non-hevc stream ( #8582 )
2024-04-07 12:44:09 -04:00
Mert
0d130b8957
fix(server): x264/x265 params not being set correctly ( #8587 )
2024-04-07 12:43:50 -04:00
Mert
335c03d0b8
chore(server): better typing for system config key ( #8580 )
...
* config type safety
* typeorm fix
* typing fixes
* don't use enum in db
* add todo
2024-04-07 01:47:33 +00:00
Mert
4681ff88d0
fix(server): image config not being updated ( #8579 )
...
update system config key
2024-04-06 21:06:26 -04:00
Jason Rasmussen
cd0e537e3e
feat: persistent memories ( #8330 )
...
* feat: persistent memories
* refactor: use new add/remove asset utility
2024-04-02 10:23:17 -04: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
ZlabiDev
ee4d9fff16
fixes issue #8352 ( #8432 )
...
fixed issue #8352
2024-04-01 16:06:25 +00:00
Mert
5bc9158724
fix(server): penalize null geodata fields when searching places ( #8408 )
2024-03-31 10:59:11 -04:00