Commit Graph

3945 Commits

Author SHA1 Message Date
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
38bab135af Revert "??? move slideshow button out from ellipsis menu so that non-owners can have access too"
This reverts commit 1343bfa311.
2024-04-13 09:20:58 +02:00
mgabor
cc05d20bd3 remove log 2024-04-12 18:33:38 +02:00
mgabor
5c08069ab0 sort users 2024-04-12 18:32:44 +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
1343bfa311 ??? move slideshow button out from ellipsis menu so that non-owners can have access too 2024-04-12 13:54:10 +02:00
mgabor
2e1a3869d3 create readonly view on frontend 2024-04-12 13:49:20 +02:00
mgabor
44a086c2f9 generate openapi 2024-04-12 13:49:06 +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
Alex
97c099e26d fix(mobile): random logout (#8739) 2024-04-12 07:33:26 +02:00
Matthew Momjian
3eb61a9d53 docs: DB queries cleanups (#8740)
* Update database-queries.md

* Update database-queries.md

* Update database-queries.md

* Update postgres-standalone.md
2024-04-12 03:44:35 +00:00
Matthew Momjian
e65b3a8ea0 docs: document type of checksum stored in DB (#8737)
* Update database-queries.md

* Update database-queries.md

* Update database-queries.md

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-04-12 03:18:51 +00:00
Min Idzelis
1fdbc949d6 Add lightroom plugin to community projects (#8736) 2024-04-12 03:14:31 +00:00
shenlong
605da89425 fix(mobile): show error details in the log when available (#8729) 2024-04-12 03:16:40 +02:00
mgabor
de58cd2ebd rename albums_shared_users_users to album_permissions and add readonly column 2024-04-11 23:48:51 +02:00
Ben McCann
0d062b32a8 docs: clarify details of connecting to backend for development (#8727)
* docs: clarify details of connecting to backend for development

* simplify
2024-04-11 18:12:14 +02:00
Alex
a4267ed60f chore(mobile): move language setting to another file (#8726) 2024-04-11 14:26:37 +00: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
Ben
37eea2d353 chore(web): move BaseModal to callback pattern (#8696)
* chore(web): move BaseModal to callback to close

* chore: add question mark
2024-04-11 11:01:16 +02:00
Mert
8c9a092561 docs(ml): update hardware acceleration doc (#8700)
* update docs

* formatting
2024-04-11 09:39:18 +02:00
Ben McCann
e421fe9860 docs: fix typo (#8698) 2024-04-11 09:29:46 +02:00
Mert
e13d4c9c13 chore: add code owner (#8701) 2024-04-11 06:34:19 +00:00
renovate[bot]
640f53fe0a fix(deps): update dependency pillow to v10.3.0 [security] (#8493)
* fix(deps): update dependency pillow to v10.3.0 [security]

* fix typing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-04-11 05:48:09 +00:00
renovate[bot]
1bca1b8bde fix(deps): update machine-learning (#8646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 01:38:30 -04:00
Matthew Momjian
c902c93082 docs: fix earthdistance restore (#8692)
Update backup-and-restore.md
2024-04-11 01:35:38 -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]
56079527ef chore(deps): update prom/prometheus docker digest to 4f6c47e (#8687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 13:14:39 -04:00
tbelway
c77b9f359f adding podman quadlets documentation community project (#8684)
* adding documentation for quadlets

* adding quadlets community project

* removing podman quadlets

---------

Co-authored-by: Thomas Belway <thomas@belway.ca>
Co-authored-by: bo0tzz <git@bo0tzz.me>
2024-04-10 16:04:57 +00:00
renovate[bot]
7f504ec5fc chore(deps): update dependency @playwright/test to v1.43.0 (#8671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 23:21:56 -04:00
akoscomp
b1bcd67f5a add longer expirity for share link (#8617)
* add longer expirity for share link

* add longer expirity for web UI, add months and year option, add translation

* dart format

---------

Co-authored-by: NAGY Akos (external) <akos.nagy@frequentis.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-04-10 02:54:00 +00:00
hrdl
2a26574808 Allow moving in photo spheres using one touch input instead of two. (#8620)
This is the standard behaviour and also more intuitive. As we don't require scrolling when displaying photo spheres this should not impede usability.

Also remove `mousewheelCtrlKey: false`, which is the default.

Co-authored-by: hrdl <7808331-hrdl@users.noreply.gitlab.com>
2024-04-10 04:48:06 +02:00
Lukas
1d427d0581 feat(web): loop video thumbnails (#8662) 2024-04-10 04:46:26 +02: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