Commit graph

6594 commits

Author SHA1 Message Date
Michael Mayer
693108fd53 Sharing: Refactor UserShare entity #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 00:54:39 +02:00
Michael Mayer
b390e34b78 Sessions: Clean up auth_session_cache.go #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 23:46:20 +02:00
Michael Mayer
05cdcbaf9d Sessions: Cache pointers to improve performance #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 23:39:36 +02:00
Michael Mayer
71b5ae934b Frontend: Update toolbar.vue and translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 23:00:44 +02:00
Michael Mayer
bac6ae0cbd Sessions: Add max age and timeout config options #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 22:59:29 +02:00
Michael Mayer
96dfe6c7c9 Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 22:50:49 +02:00
Michael Mayer
1c4dde5acf Frontend: Update splash screen styles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 22:50:31 +02:00
Michael Mayer
4c516cac38 Auth: Rename database tables and delete temporary tables #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 22:09:02 +02:00
Michael Mayer
6e74f16a77 Auth: Open album share links in the regular user interface #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 11:38:30 +02:00
Michael Mayer
a5f2c5e109 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-01 15:17:24 +02:00
Michael Mayer
65e9a58979 Backend: Refactor gorm.DB connection provider in entity package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-01 15:17:04 +02:00
Michael Mayer
24fc54e326 Frontend: Fix link to people page in mobile sub-navigation
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-01 00:03:02 +02:00
Michael Mayer
4f425790ab Auth: Remember ownership of uploaded photos and albums #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 19:15:10 +02:00
Michael Mayer
94de0598d2 Text: Add "le" and "la" to smallwords.go #2672
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 16:33:04 +02:00
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