Commit Graph

29 Commits

Author SHA1 Message Date
mgabor
2688f9deaa Merge branch 'main' into feature/readonly-sharing
# Conflicts:
#	e2e/src/utils.ts
#	mobile/openapi/.openapi-generator/FILES
#	mobile/openapi/README.md
#	mobile/openapi/lib/api.dart
#	mobile/openapi/lib/api_client.dart
2024-04-21 22:35:48 +02:00
mgabor
29dd9ff4d8 minor renamery 2024-04-19 21:22:04 +02:00
mgabor
5535e19a9d rename to albumUsers in album entity as well 2024-04-19 20:18:53 +02:00
mgabor
81bebdaf33 capitalize serverside enum 2024-04-19 20:10:31 +02: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
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
mgabor
cecb99b4b6 clean up userId and albumId 2024-04-17 12:52:47 +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
da5990bcc0 change readonly default to follow migration 2024-04-16 23:05:22 +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
3211894e18 Merge branch 'main' into feature/readonly-sharing
# Conflicts:
#	server/src/services/album.service.ts
2024-04-12 17:20:36 +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
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
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
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
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
Jason Rasmussen
4b39d37cae fix: sql generation issues (#8361)
chore: fix sql gen issues
2024-03-30 00:16:06 -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
Jason Rasmussen
c1402eee8e chore: migrate database files (#8126) 2024-03-20 21:02:51 +00:00