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
Alex The Bot
88d4338348
Version v1.105.1
2024-05-14 21:31:24 +00: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 The Bot
596ab39293
Version v1.105.0
2024-05-14 17:07:25 +00: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
renovate[bot]
3d5e55bdaa
chore(deps): update base-image to v20240514 (major) ( #9469 )
...
chore(deps): update base-image to v20240514
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 08:55:09 -04:00
Jason Rasmussen
46868b3336
refactor(server): logger ( #9472 )
2024-05-14 08:48:49 -04:00
renovate[bot]
3d4ae9c210
chore(deps): update node.js to 53108f6 ( #9450 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 10:53:04 +01: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
renovate[bot]
bf036f2f58
fix(deps): update typescript-projects ( #9454 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 21:42:48 -04: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
Alex The Bot
a6f557c24c
Version v1.104.0
2024-05-13 18:31:57 +00: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
renovate[bot]
d121903b38
fix(deps): update dependency nestjs-otel to v6 ( #9415 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 08:23:12 -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
Jason Rasmussen
4e7966c8e8
chore: move test assets submodule ( #9321 )
2024-05-07 22:33:17 -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
renovate[bot]
8c54c13307
chore(deps): update node.js to fe31b16 ( #9318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 23:01: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
renovate[bot]
78b5990d2a
chore(deps): update dependency @types/nodemailer to v6.4.15 ( #9309 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 15:15:24 -04:00
renovate[bot]
f13100e261
fix(deps): update dependency exiftool-vendored to v26 ( #9294 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 15:14:49 -04:00
renovate[bot]
21fe829a2c
chore(deps): update base-image to v20240507 (major) ( #9303 )
...
chore(deps): update base-image to v20240507
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 11:10:21 -04:00
renovate[bot]
ad404d79d4
fix(deps): update typescript-projects ( #9293 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 11:07:50 -04: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]
ef09fc4157
fix(deps): update typescript-projects ( #9187 )
...
* fix(deps): update typescript-projects
* chore: missing dependency
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-02 01:33:17 +01:00
Zack Pollard
0a598ae1b8
chore: fvm and node dependency updates and pinning ( #9203 )
...
* chore(mobile): ignore .fvm directory and update .fvmrc version
* chore(cli): add nvm and volta node versioning files/config
* chore(docs): add nvm and volta node versioning files/config, bump to node v20
* chore(server): add nvm node versioning file
* chore(web): add nvm and volta node versioning files/config
* chore(e2e): add nvm and volta node versioning files/config
2024-05-01 14:05:18 +01:00
renovate[bot]
eba42b245d
chore(deps): update base-image to v20240430 (major) ( #9179 )
...
chore(deps): update base-image to v20240430
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 22:04:28 -04: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
renovate[bot]
4f097d9106
chore(deps): update node.js to 142644a ( #9165 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 22:15:22 -04:00
Alex The Bot
ba18776fc2
Version v1.103.1
2024-04-29 17:53:49 +00:00
Alex The Bot
4291b38769
Version v1.103.0
2024-04-29 14:42:49 +00: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 1343bfa311
.
* 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 ab604f4c8f
.
* Revert "redesign user selection modal editor selector"
This reverts commit e6f344856c
.
* 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
renovate[bot]
f0f9053115
chore(deps): update base-image to v20240423 (major) ( #9064 )
...
chore(deps): update base-image to v20240423
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-24 17:31:29 -04:00
renovate[bot]
0466da03ae
fix(deps): update typescript-projects ( #9028 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 16:50:18 -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
Daniel Dietzler
7f1651df71
chore(server): enable swagger to take class validator rules into account ( #9022 )
...
* enable swagger to take class validator rules into account
* chore: open api
2024-04-22 18:13:44 -04:00
Mert
c30cd3b378
chore: test more formats in e2e ( #9001 )
2024-04-22 01:35:27 -04:00
Jason Rasmussen
a93534fc3c
refactor(server): session interface types ( #8977 )
2024-04-20 23:45:55 -04:00
Alex The Bot
a2180a467d
Version v1.102.3
2024-04-20 20:17:39 +00: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
Alex The Bot
25549b87c9
Version v1.102.2
2024-04-20 15:55:32 +00:00
Jaryl Chng
caf76f0713
feat(server): enable AV1 encoding for QSV ( #8942 )
2024-04-20 10:36:00 -04:00
Alex The Bot
6eb1b82541
Version v1.102.1
2024-04-20 13:43:46 +00: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
Alex The Bot
886e07604e
Version v1.102.0
2024-04-19 20:08:02 +00: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
renovate[bot]
b21566c2fc
chore(deps): update node.js to d328c7b ( #8829 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 07:52:29 -04: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
renovate[bot]
6d4d0f86cf
chore(deps): update base-image to v20240416 (major) ( #8660 )
...
* chore(deps): update base-image to v20240416
* fix e2e
* rename variable
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-04-16 22:55:05 -04:00
Jason Rasmussen
14b1425e98
feat(server): logging interceptor ( #8859 )
2024-04-16 19:21:57 -04:00
renovate[bot]
18fa6018c0
fix(deps): update typescript-projects ( #8834 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 17:45:14 -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
renovate[bot]
3deaaf14c0
fix(deps): update dependency reflect-metadata to ^0.2.0 ( #8784 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 16:02:49 -07: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
Jason Rasmussen
14b798fcc4
refactor: library e2e ( #8693 )
...
* refactor: library e2e
* migrate and refactor library e2e
---------
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
2024-04-12 21:15:41 +02: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
renovate[bot]
321868963d
fix(deps): update typescript-projects ( #8651 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 21:08:37 +02:00
Alex
327b9bd59c
Revert "fix(deps): update typescript-projects ( #8647 )" ( #8650 )
...
This reverts commit 301c217303
.
2024-04-09 06:53:48 +02:00
renovate[bot]
301c217303
fix(deps): update typescript-projects ( #8647 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 23:44:48 -04:00
renovate[bot]
6631e6eedc
chore(deps): update node.js to 3fb85a6 ( #8643 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 22:33:50 -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
renovate[bot]
fff12e3d78
chore(deps): update dependency eslint-plugin-unicorn to v52 ( #8629 )
...
* chore(deps): update dependency eslint-plugin-unicorn to v52
* chore: linting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-08 12:45:46 -04:00
Jelle Dekker
29e47dd7c1
fix: npm i
on Windows … ( #8619 )
2024-04-08 10:53:27 -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
Alex The Bot
3b0fff3b3d
Version v1.101.0
2024-04-05 02:39:51 +00:00
renovate[bot]
15a2e6feeb
fix(deps): update typescript-projects ( #8471 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 10:17:17 -04:00
Ben McCann
62d307321a
docs: add some details for getting started as a developer ( #8468 )
2024-04-02 11:56:33 -05:00
renovate[bot]
97c340b8a4
chore(deps): update node.js to fa5d3cf ( #8450 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 14:26:55 +00:00
renovate[bot]
7b1d4a6787
fix(deps): update typescript-projects to v10.3.7 ( #8461 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 14:26:47 +00: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
renovate[bot]
0849dbd1af
fix(deps): update typescript-projects ( #8451 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 02:20:52 -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
Pablo Diz
6a4bc777a2
Fix external library path validation #8319 ( #8366 )
...
* Fix isImmichPath
* prettier write
* Fis isImmichPath code comment
* Refactor isImmichPath function based on team suggestions
* Test isImmichPath
* fix: clean comments
* Refactor isImmichPath test based on team suggestions
* Clean code with lintern suggestions
2024-03-31 10:47:03 -04:00
mmomjian
b6af7788e1
feat(server): extensions for MPEG and 3GP ( #8400 )
...
* Update mime-types.spec.ts
* Update mime-types.ts
2024-03-30 21:48:01 -05:00
Jason Rasmussen
4b39d37cae
fix: sql generation issues ( #8361 )
...
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 ( #8329 )
...
extract add/remove assets logic to utility function
fix tests
chore: generate sql
foo
2024-03-29 07:56:16 -04:00
Daniel Dietzler
b8c5363a15
refactor(server): move timeline operations to their own controller/service ( #8325 )
...
* move timeline operations to their own controller/service
* chore: open api
* move e2e tests
2024-03-28 23:20:40 -04:00
Daniel Dietzler
b8b3c487d4
fix(server): map style not being available for shared assets ( #8341 )
...
* fix map style not being available for shared assets
* add e2e test
2024-03-28 23:19:05 -04:00
Jonathan Jogenfors
ec48fccb30
fix(server): add missing file extensions to library files ( #8342 )
...
* fix file extensions
* fix tests
* fix formatting
* fixed bug
* fix merts comments
2024-03-28 22:51:07 -04:00
Alex The Bot
16513b4a6e
Version v1.100.0
2024-03-28 18:36:38 +00:00
Alex
9b705e4450
chore(server): open-api memory lane number generation ( #8314 )
...
chore(server): openaapi memory lane number generation
2024-03-27 22:27:26 -05:00
Jason Rasmussen
9fe80c25eb
fix: memory lane assets in ascending order ( #8309 )
...
* fix: memory lane asset order
* chore: deprecate title
* chore: open-api
* chore: rename years => yearsAgo
2024-03-27 16:14:29 -04:00
renovate[bot]
916603d2d4
fix(deps): update typescript-projects ( #8287 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 12:07:49 -04:00
renovate[bot]
6295edcdb7
chore(deps): update base-image to v20240326 (major) ( #8291 )
...
chore(deps): update base-image to v20240326
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 09:17:48 -04:00
renovate[bot]
1ad893ded4
fix(deps): update typescript-projects ( #8281 )
...
* fix(deps): update typescript-projects
* chore: regenerate sql
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-26 02:39:57 +00:00
Mert
c45e28ab53
refactor(server): metric repo ( #8278 )
...
* refactor
* redundant `implements`
* simplify
* remove `enabled`
2024-03-25 23:15:11 +00:00
Daniel Dietzler
c56c04a82b
refactor(server): rename filesystem provider -> storage repo ( #8277 )
...
rename filesystem provider -> storage repo
2024-03-25 20:45:21 +00:00
Daniel Dietzler
1694dd146e
feat(server): add immich cli to container ( #8239 )
...
add immich cli to server container
2024-03-25 08:18:33 -04:00
Mert
4a6a0aa142
fix(server): places page not working with partner sharing ( #8257 )
2024-03-25 01:59:11 -04:00
Mert
c58a70ac8f
feat(server): job metrics ( #8255 )
...
* 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
a771c563ba
chore(server): remove pre-installed cli ( #8224 )
2024-03-23 16:07:39 -04:00
Mert
b07a565e34
chore(server): change upsert signature for search repo ( #8210 )
...
* upsert embedding
* remove unused imports
2024-03-23 14:37:06 -04:00
Jason Rasmussen
787eebcf1e
refactor(server): new password repo method ( #8208 )
2024-03-23 14:33:25 -04:00
Mert
604b8ff17c
chore(server): remove getByDate from asset repo ( #8211 )
...
* remove getByDate
* remove unused import
2024-03-22 23:20:16 -05:00
Jason Rasmussen
6e93ddf2f1
refactor: server events ( #8204 )
...
* refactor: server events
* fix typo
---------
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2024-03-22 18:24:02 -04:00
Jason Rasmussen
b6e4be72f0
chore(server): consolidate dto files ( #8201 )
...
chore: conoslidate dto files
2024-03-22 16:36:20 -04:00
Daniel Dietzler
d6823b128c
fix(server): validation events actually throwing an error ( #8172 )
...
* fix validation events
* add e2e test
2024-03-21 17:59:21 -05:00
Jason Rasmussen
dc3c329431
chore: remove unused type ( #8157 )
2024-03-21 14:36:10 +00:00
Jason Rasmussen
2a9f2b4515
refactor: app modules, main.ts ( #8156 )
2024-03-21 10:08:29 -04:00
Jason Rasmussen
382b63954c
refactor: asset v1, app.utils ( #8152 )
2024-03-21 09:07:47 -04:00
Daniel Dietzler
b588a87d4a
chore(server): rename domain repositories
-> interfaces
( #8147 )
...
rename domain repositories
2024-03-21 06:59:49 -05:00
Jason Rasmussen
16d0df796c
refactor: infra folder ( #8138 )
2024-03-20 23:15:09 -04:00
Daniel Dietzler
ef4a492cb1
chore(server): move services ( #8133 )
...
move services
2024-03-20 18:07:30 -05:00
Daniel Dietzler
6d9e7694b1
chore(server): move dtos ( #8131 )
...
move dtos
2024-03-20 23:53:07 +01:00
Jason Rasmussen
0c13c63bb6
refactor: infra/domain module ( #8130 )
2024-03-20 16:46:59 -05:00
Jason Rasmussen
907eb869bc
chore: move apps and test utils ( #8129 )
2024-03-20 17:22:47 -04:00
Jason Rasmussen
c1402eee8e
chore: migrate database files ( #8126 )
2024-03-20 21:02:51 +00:00
Daniel Dietzler
84f7ca855a
chore(server): move domain interfaces ( #8124 )
...
move domain interfaces
2024-03-20 16:42:58 -04:00
Daniel Dietzler
2dcce03352
chore(server): move commands ( #8121 )
...
move commands
2024-03-20 20:25:33 +00:00
renovate[bot]
96a22ec3c1
chore(deps): update base-image to v20240319 (major) ( #8115 )
...
chore(deps): update base-image to v20240319
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 16:21:27 -04:00
Daniel Dietzler
4b29bccc7c
chore(server): move cores ( #8120 )
...
move cores
2024-03-20 20:20:38 +00:00
Jason Rasmussen
40e079a247
chore: move controllers and middleware ( #8119 )
2024-03-20 16:15:01 -04:00
Jason Rasmussen
81f0265095
chore: organize config, validation, decorators ( #8118 )
...
* refactor: validation
* refactor: utilities
* refactor: config
2024-03-20 16:04:03 -04:00
renovate[bot]
3f0d54c752
fix(deps): update server ( #8067 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 15:34:12 -04:00
renovate[bot]
2267ca1949
chore(deps): update node.js to 8765147 ( #8058 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:38:28 -04:00
Daniel Dietzler
30f499cf2e
chore(server): use absolute import paths ( #8080 )
...
update server to use absolute import paths
2024-03-20 14:32:04 -04:00
Alex The Bot
5b314ffd46
Version v1.99.0
2024-03-20 14:50:57 +00:00
Jonathan Jogenfors
e6f2bb9f89
fix(server): use extension in originalFileName for libraries ( #8083 )
...
* use file base
* fix: test
* fix: e2e-job tests
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-19 23:40:28 -05:00
Mert
f392fe7702
fix(server): "view all" for cities only showing 12 cities ( #8035 )
...
* view all cities
* increase limit
* rename endpoint
* optimize query
* remove pagination
* update sql
* linting
* revert sort by count in explore page for now
* fix query
* fix
* update sql
* move to search, add partner support
* update sql
* pr feedback
* euphemism
* parameters as separate variable
* move comment
* update sql
* linting
2024-03-20 03:23:57 +00:00
Mert
2daed747cd
chore(server): change save
-> update
in asset repository ( #8055 )
...
* `save` -> `update`
* change return type
* include relations
* fix tests
* remove when mocks
* fix
* stricter typing
* simpler type
2024-03-19 22:42:10 -04:00
Jason Rasmussen
40262c30cb
refactor(server): library service ( #8050 )
...
* refactor: library service
* chore: open api
* fix: checks
2024-03-18 16:59:53 -04:00
Alex
761e7fdd2d
feat(server): memory includes partners assets on timeline ( #7993 )
...
* feat(server): memory includes partners assets on timeline
* remove unsued code, generate sql
* fix test
* add test
2024-03-18 14:46:52 -05:00
Daniel Dietzler
148428a564
feat(server): use nestjs events to validate config ( #7986 )
...
* use events for config validation
* chore: better types
* add unit tests
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-17 20:16:02 +01:00
Mert
a9438a9c2d
fix(server): prevent feedback loop during library scan ( #7944 )
...
* prevent feedback loop
* add nesting
* made nesting less ugly
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-15 22:01:58 +00:00
renovate[bot]
8c24a994e1
fix(deps): update exiftool ( #7879 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 15:40:32 -05:00
sevtdy
64f53e674c
feat(web): add millisecond options to storage template settings ( #7942 )
...
* feat(web): add millisecond options storage template settings
* fix(web): fix test
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-15 20:13:08 +00:00
Jason Rasmussen
2a0e1c0d3c
refactor: global validation pipe ( #7985 )
...
* refactor: global validation pipe
* chore: formatting
2024-03-15 12:51:08 -04:00