1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-21 15:45:53 +01:00
Commit graph

81 commits

Author SHA1 Message Date
Jason Rasmussen
984aa8fb41
refactor(server): system config () 2024-05-15 18:58:23 -04:00
Jason Rasmussen
0f129cae4a
refactor(server): feature flags () 2024-05-14 15:31:36 -04:00
Jason Rasmussen
7b1112f3e3
refactor(server): system config () 2024-05-14 14:43:49 -04:00
Zack Pollard
1ea55d642e
feat(server): run microservices in worker thread ()
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 () 2024-05-14 08:48:49 -04:00
Eric Barch
6fd6a8ba15
fix(server): addAssets and removeAssets handle duplicate assetIds ()
* 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
Jason Rasmussen
8743e17528
refactor(server): auth route metadata () 2024-05-09 13:58:44 -04:00
Jason Rasmussen
5b87abb021
feat(server): read-write external assets ()
* 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 ()
* feat: dedupe by checksum header

* chore: open api
2024-05-02 15:42:26 -04:00
renovate[bot]
9e79a23bbe
fix(deps): update typescript-projects ()
* 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 ()
feat(server): track endpoint lifecycle
2024-04-29 13:48:28 +00:00
Jason Rasmussen
034c928d9e
feat(server): remove inactive sessions ()
* 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
Mert
fd4514711f
feat(server): enable AV1 encoding for NVENC ()
allow av1 for nvenc
2024-04-20 14:52:50 -04:00
Jaryl Chng
caf76f0713
feat(server): enable AV1 encoding for QSV () 2024-04-20 10:36:00 -04:00
Mert
431ffebddd
feat(server): use embedded preview from raw images ()
* 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 () 2024-04-19 11:19:23 -04:00
AmAn Sharma
6e6deec40c
feat: use ILoggerRepository ()
* 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 () 2024-04-16 22:13:03 +02:00
Jason Rasmussen
2db76034b1
feat(server): correlation id via injected logger ()
* feat(server): correlation id via injected logger

* feat: cid response header
2024-04-15 23:39:06 +00:00
N00MKRAD
f1ca1794a1
Add AV1 transcoding support ()
* 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
Mert
55b9acca78
fix(server): hevc tag being set when copying a non-hevc stream () 2024-04-07 12:44:09 -04:00
Mert
0d130b8957
fix(server): x264/x265 params not being set correctly () 2024-04-07 12:43:50 -04:00
Mert
8edc2fb46f
refactor(server): decouple generated images from image formats ()
* 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
mmomjian
b6af7788e1
feat(server): extensions for MPEG and 3GP ()
* Update mime-types.spec.ts

* Update mime-types.ts
2024-03-30 21:48:01 -05:00
Jason Rasmussen
4b39d37cae
fix: sql generation issues ()
chore: fix sql gen issues
2024-03-30 00:16:06 -04:00
Daniel Dietzler
6f677b4fae
refactor(server): extract add/remove assets logic to utility function ()
extract add/remove assets logic to utility function

fix tests

chore: generate sql

foo
2024-03-29 07:56:16 -04:00
Mert
c58a70ac8f
feat(server): job metrics ()
* metric repo

* add metric repo

* remove unused import

* formatting

* fix

* try disabling job metrics for e2e

* import otel in test module
2024-03-24 23:02:04 -04:00
Jason Rasmussen
b6e4be72f0
chore(server): consolidate dto files ()
chore: conoslidate dto files
2024-03-22 16:36:20 -04:00
Jason Rasmussen
382b63954c
refactor: asset v1, app.utils () 2024-03-21 09:07:47 -04:00
Daniel Dietzler
b588a87d4a
chore(server): rename domain repositories -> interfaces ()
rename domain repositories
2024-03-21 06:59:49 -05:00
Jason Rasmussen
16d0df796c
refactor: infra folder () 2024-03-20 23:15:09 -04:00