Commit graph

6630 commits

Author SHA1 Message Date
Michael Mayer
323d495840 Auth: Apply user rights and permissions in the search API #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 00:42:19 +02:00
Michael Mayer
47929566db Index: Refactor NewMediaFile() so it never returns nil #1049 #2683
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 14:00:17 +02:00
Michael Mayer
b32a970aab Auth: Add RandomBytes() to generate secure random bytes #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 13:38:08 +02:00
Michael Mayer
5c03535381 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 13:27:08 +02:00
Michael Mayer
b0530a5fd1 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 13:26:09 +02:00
Michael Mayer
cd9fd2fb45 Docker: Add "unstable" build target to Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 12:15:29 +02:00
Rene Hollander
add115c7e4 Skip resolving paths for symlinks during index if the path isn't a symlink.
godirwalk can inform us if the file currently processed is a symlink or not (which is gathered without extra stat syscalls).Using this information to skip resolving the symlink to the absolute path (which is necessary to get the stat info of the image file instead of the symlink to it) saves on a lot of syscalls. Resolve causes a Stat syscall for each level in the path, which is very expensive and slows down scanning.
2022-09-28 11:40:02 +02:00
blue-kaleidoscope
c2e1989dad Added VAAPI encoder support 2022-09-28 10:03:53 +02:00
Krassimir Valev
3718fca957 Metadata: Add more places to the countries mapping 2022-09-28 09:48:35 +02:00
Aaron Kollasch
7ab3669fdb Switch from gosu to setpriv
Preserves supplementary groups if `PHOTOPRISM_GID` is set.
Removes gosu installation as it is no longer needed.
2022-09-28 09:45:32 +02:00
Michael Mayer
f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00
Theresa Gresch
8be80aec49
Merge pull request #2737 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-09-28 08:27:58 +02:00
Weblate
c9d5f3b14b Weblate: Update frontend translations 2022-09-28 04:49:24 +02:00
Haim Kastner
db80cb2bf5 Few RTL alignment fixes
- Fix list view headers alignment
- Fix upload dialog text direction
- Add missing alignment style to the new faces toolbar icons
2022-09-24 20:41:11 +02:00
Theresa Gresch
c6a8ded573
Merge pull request #2725 from photoprismci/weblate-photoprism-backend
Weblate: Update translations
2022-09-22 16:19:04 +02:00
Weblate
f0bb97a831 Weblate: Update backend translations 2022-09-21 20:49:22 +02:00
Michael Mayer
455028ad28 Frontend: Update translations.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-21 10:56:20 +02:00
Theresa Gresch
f086bb10b0
Merge pull request #2724 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-09-21 10:16:11 +02:00
Weblate
59d12c13ea Weblate: Update frontend translations 2022-09-21 09:49:22 +02:00
Michael Mayer
cc8bab446d Settings: Disable Sync tab in public mode as WebDAV cannot be used #2468
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-19 09:58:27 +02:00
Weblate
6d435cab9e Weblate: Update frontend translations 2022-09-18 23:04:08 +02:00
Michael Mayer
86d7bfdb90 Frontend: Update package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-18 15:43:22 +02:00
Michael Mayer
6611dc08ca Develop: Update docker-compose.yml networks and "make docker-pull"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-18 15:32:32 +02:00
Michael Mayer
810914a578 Config: Increase default resolution limit from 100 to 150 MP #2677
By default, a limit is set to avoid support-intensive crashes of our
Community Edition and to protect the hosted service from
denial-of-service attacks.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-18 14:06:13 +02:00
Michael Mayer
1fd69d72f0 CI: Update ARMv7 build targets in Makefile #1064
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-17 20:42:52 +02:00
Michael Mayer
252ec47663 Develop: Upgrade base image from 220914-jammy to 220917-jammy #1064
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-17 20:38:36 +02:00
Michael Mayer
5d51ed82c6 Docker: Fix order of path names in PATH environment variable #1064
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-17 20:06:56 +02:00
Weblate
4c035eb890 Weblate: Update backend translations 2022-09-17 16:09:29 +02:00
Michael Mayer
a7872a684b SQLite: Set _busy_timeout default to reduce locking issues #2707
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 07:29:09 +02:00
Michael Mayer
0cb9cbc56a Import: Refactor indexing of related original filenames #2623
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 03:03:49 +02:00
natiz
90567072cd
Import: Save the original filenames of related files (#2623) 2022-09-15 02:50:58 +02:00
Michael Mayer
5888824095 CI: Add shortened Docker build targets to the Makefile
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 02:00:00 +02:00
Michael Mayer
eaf5e9b4a1 Frontend: Add "avif" file type description #2706
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 01:27:42 +02:00
Michael Mayer
278ebd1c62 Images: Add AV1 Image File Format (AVIF) support #2706
AVIF can be converted

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 00:43:08 +02:00
Michael Mayer
de57063118 Docker: Use Jammy instead of Bookworm as ARMv7 base image #2704
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 23:00:46 +02:00
Michael Mayer
d3d7912b4c Index: Improve CLI command test assertions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 22:14:17 +02:00
Michael Mayer
7f70772d86 Performance: Don't save all albums when the background worker runs #2705
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 22:00:20 +02:00
Michael Mayer
a1642fcfab Frontend: Update package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 21:18:48 +02:00
Michael Mayer
a1edb88b94 Frontend: Move "popstate" handler to common/navigation.js #2597 #2648
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 21:06:27 +02:00
Michael Mayer
9f81151475 RAW: Remove CR3 from Darktable file extension blacklist #2703
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 21:04:05 +02:00
Michael Mayer
eec31c4938 Text: Do not capitalize "van" in names and titles #2672
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 20:37:24 +02:00
Michael Mayer
d2c6eac3bf RAW: Upgrade Darktable from v3.8 to v4.0 (AMD64) #2703
Currently we don't know of any installable packages for ARM64.
Help welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 18:46:28 +02:00
Michael Mayer
3e86a88afb Index: Update index_test.go #2702
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 11:04:05 +02:00
Michael Mayer
3c54ac8285 Frontend: Remove unused function parameter #2648
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 11:03:28 +02:00
Michael Mayer
32f7b3cbb1 Frontend: Update translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-14 10:46:34 +02:00
heikomat
00ed6468c3 move restoring og photo scroll position into own function 2022-09-14 10:40:55 +02:00
heikomat
3e33af7d1d fix too many images getting pre-loaded on filter change 2022-09-14 10:40:55 +02:00
heikomat
00e17b7bb0 remove console.logs 2022-09-14 10:40:55 +02:00
heikomat
01b548613b try fixing scroll position after image download on iOS PWA 2022-09-14 10:40:55 +02:00
heikomat
c35a827634 reset search offset when backnavigation was not used 2022-09-14 10:40:55 +02:00