Commit graph

2528 commits

Author SHA1 Message Date
Michael Mayer
5f808cddb4 Library: Hide private files in "Originals" if user has no permission
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 18:50:28 +01:00
Michael Mayer
43d6a5e193 Auth: Improve user entity model and add unit tests
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 15:54:33 +01:00
Michael Mayer
0e032295db Advanced Settings: Add ImageMagick, PNG, and vectors options
This also improves the help texts of existing config options.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-19 16:42:19 +01:00
theresa
1aa79831c3 Tests: Fix unit test 2023-02-16 15:32:08 +01:00
Michael Mayer
95f6df6fe0 Tests: Change SQLite Memory DSN to ":memory:?cache=shared"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 21:47:31 +01:00
Michael Mayer
f54512e334 Auth: Refactor user management commands
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 20:28:58 +01:00
theresa
b7b811b125 Tests: Add unit tests for wildcard search 2023-02-14 19:51:44 +01:00
theresa
d3fb420185 Tests: Add unit tests for new search filter 2023-02-14 19:14:03 +01:00
Michael Mayer
9e85a366c9 Index: Don't use ImageMagick to convert RAW images
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 15:39:24 +01:00
Michael Mayer
b720578f7c Migrations: Reduce number of log messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:44:17 +01:00
Michael Mayer
527fc0319e Index: Add experimental support for JPEG XL and APNG files
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:43:49 +01:00
Michael Mayer
d4cbb60b92 Migrations: Improve debug log messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 11:38:00 +01:00
Michael Mayer
0c4aa86f85 CLI: Create thumbs and convert files in deterministic order
This also adds support for specifying a path to the thumbs command.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 11:37:22 +01:00
Michael Mayer
e533aa7beb Adobe: Add support for PDF, AI, and PSD file formats
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 20:02:26 +01:00
Michael Mayer
3e767d6b3c Improve: Shorten file support warning message
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 15:24:59 +01:00
Michael Mayer
524b5c7f3f Config: Improve file conversion feature support detection
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 14:41:33 +01:00
Michael Mayer
97c9962053 Index: Add experimental EPS and SVG vector graphics support
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-11 20:18:04 +01:00
Michael Mayer
16a153bfa1 PWA: Load manifest.json with version parameter to limit caching
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 16:23:36 +01:00
Michael Mayer
826addb4c1 PWA: Create manifest.json in code without using a template
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 15:53:01 +01:00
Michael Mayer
77b97f78f7 i18n: Update i18n_test.go and response_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 14:17:16 +01:00
Michael Mayer
cef88e5564 API: Update albums_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 14:06:01 +01:00
Michael Mayer
902f9a40f6 Backend: Update translations.go and translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:52:29 +01:00
Michael Mayer
ed784d2850 Backend: Update translations.go and translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:21:44 +01:00
Michael Mayer
a7b1c1b11e WebDAV: Allow read access in read-only mode and improve logs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:14:56 +01:00
Michael Mayer
ef6e3d3f9d Metadata: Ensure the altitude is not out of range and fix logs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 11:51:26 +01:00
Michael Mayer
ce830ea6b0 Server: Handle HEAD requests
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 10:16:25 +01:00
Michael Mayer
a5a538a67e Links: Change https://photoprism.app/ to https://www.photoprism.app/
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-08 09:07:42 +01:00
Michael Mayer
97d095c2a6 UX: Update expected counts in backend test
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-03 13:18:30 +01:00
Michael Mayer
52a220044d UX: Show total number of pictures without images in overview
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-03 08:23:46 +01:00
Michael Mayer
2e7268f834 Config: Remove slash from social preview image file path
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 17:13:12 +01:00
Michael Mayer
a3ee21897d Auth: Improve display of username
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 17:11:35 +01:00
Michael Mayer
ee8e0b0f14 Config: Change order of options when reporting current values
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:09:46 +01:00
Michael Mayer
9684edb681 Config: Use dynamic social preview image based on app name
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:08:54 +01:00
Michael Mayer
8593da5b78 ACL: Add RoleStrings type to specify role names
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 16:15:01 +01:00
Michael Mayer
1dee168e52 Config: Load initial settings from default file, if exists
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 14:56:31 +01:00
Michael Mayer
47defc861c API: Add sort order "random" to find a random set of photos
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer
2cab5f7534 Config: Update CLI "photoprism show" sub-command names
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-25 11:41:39 +01:00
Michael Mayer
adc91fcf6e Auth: Refactor WebDAV login and increase maximum length of username
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-24 06:05:31 +01:00
Michael Mayer
c49c5e3b8b Config: Improve CLI flag command help
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-20 00:37:51 +01:00
Michael Mayer
e331fcf43f API: Improve file operation logs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-19 21:11:17 +01:00
Michael Mayer
6dd55170fe Config: Add option to set a proxy for outgoing connections
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-19 20:46:27 +01:00
Michael Mayer
6414a7bee3 Entity: Check if dbConn is nil before trying to return the connection
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-17 15:40:55 +01:00
Michael Mayer
aca929e3c9 Docs: Add command that generates an overview of YAML config values
see https://docs.photoprism.app/getting-started/config-files/

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-15 15:36:20 +01:00
Michael Mayer
251d197063 Update year in copyright info
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-11 16:48:18 +01:00
Michael Mayer
4066cd7ad1 Update year in copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-11 16:43:01 +01:00
Michael Mayer
843155ef60 Albums: Improve sorting options in extended search form
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-04 14:15:07 +01:00
Michael Mayer
449f9f8b83 Search: Ignore deleted albums when using the "unsorted" filter
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 18:43:18 +01:00
Michael Mayer
727b3eb552 Videos: Optimize preview thumbnail by duration
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 18:11:15 +01:00
Michael Mayer
bc50770684 Folders: Ignore case and use wildcards when searching
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 17:59:48 +01:00
Michael Mayer
7036c5fb86 Albums: Fix sorting albums and states by "newest" and "oldest"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 16:49:18 +01:00