1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
Commit graph

1120 commits

Author SHA1 Message Date
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