Commit Graph

1447 Commits

Author SHA1 Message Date
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
mgabor
9126bf2520 fix deprecation notice 2024-04-17 00:32:50 +02: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
mgabor
9677d6108a rename stuff 2024-04-16 20:58:11 +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
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