mgabor
3d528f0840
Merge branch 'main' into feature/readonly-sharing
...
# Conflicts:
# mobile/openapi/.openapi-generator/FILES
# mobile/openapi/README.md
# mobile/openapi/lib/api.dart
# mobile/openapi/lib/api_client.dart
2024-04-19 16:24:54 +02: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
mgabor
1d030594c6
add new test
2024-04-17 13:31:57 +02:00
mgabor
abb9f7a747
switch to vitest
2024-04-17 13:08:29 +02:00
mgabor
bce37d4c6c
Merge branch 'main' into feature/readonly-sharing
...
# Conflicts:
# mobile/openapi/.openapi-generator/FILES
# mobile/openapi/README.md
# mobile/openapi/lib/api.dart
# mobile/openapi/lib/api_client.dart
# server/src/services/album.service.spec.ts
2024-04-17 12:59:50 +02:00
mgabor
02eeee8a2b
fix existing tests
2024-04-17 12:52:47 +02:00
mgabor
e1ea436c5e
add write access to shared link
2024-04-17 12:52:47 +02:00
mgabor
cecb99b4b6
clean up userId and albumId
2024-04-17 12:52:47 +02:00
mgabor
a49b066853
rename albumUserRepository in album service
2024-04-17 12:52:37 +02:00
mgabor
2154ab04e0
fix joincolumn as primary key
2024-04-17 09:51:51 +02:00
mgabor
87bc244b68
change readonly boolean to role enum
2024-04-17 09:31:56 +02: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
mgabor
9126bf2520
fix deprecation notice
2024-04-17 00:32:50 +02: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
mgabor
da5990bcc0
change readonly default to follow migration
2024-04-16 23:05:22 +02:00
mgabor
af6c077035
sql generate
2024-04-16 22:55:44 +02:00
mgabor
1b56fb8914
fix db schema annotations
2024-04-16 22:55:44 +02:00
Jason Rasmussen
877207a2e6
chore(server): delete swap file ( #8856 )
2024-04-16 22:13:03 +02:00
mgabor
9677d6108a
rename stuff
2024-04-16 20:58:11 +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
mgabor
cc05d20bd3
remove log
2024-04-12 18:33:38 +02:00
mgabor
ac1c4e206e
add set permission endpoint and UI
2024-04-12 18:28:50 +02:00
mgabor
98f1d1517a
fix lint
2024-04-12 17:31:13 +02:00
mgabor
ffc4697d4a
fix assetCount getting reset when adding users
2024-04-12 17:28:00 +02:00
mgabor
3211894e18
Merge branch 'main' into feature/readonly-sharing
...
# Conflicts:
# server/src/services/album.service.ts
2024-04-12 17:20:36 +02:00
mgabor
222bcf853d
remove a log
2024-04-12 16:59:24 +02:00
mgabor
c4d6a09c05
add album permission repository
2024-04-12 16:50:17 +02:00
mgabor
c65c49acf1
correct sharedUsers joins
2024-04-12 14:20:01 +02:00
mgabor
06028a283b
expose albumPermissions on the API, deprecate sharedUsers
2024-04-12 13:48:55 +02:00
mgabor
48149e4384
separate and implement album READ and WRITE permission
2024-04-12 11:10:22 +02:00
mgabor
156cfb5820
set readonly=true as default for new album shares
2024-04-12 09:12:42 +02:00
mgabor
69b5eb60c9
remove unnecessary FK names
2024-04-12 09:10:46 +02:00
mgabor
d9161af808
disable synchronize on the original join table
2024-04-12 08:53:38 +02:00
mgabor
de58cd2ebd
rename albums_shared_users_users to album_permissions and add readonly column
2024-04-11 23:48:51 +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