Commit graph

2660 commits

Author SHA1 Message Date
Daniel Albers
da61515c4a
JPEG: Automatically fix files with missing EOI marker (#2721) 2023-06-29 10:34:51 +02:00
Michael Mayer
03f92bc0db Config: Fix expected return value in config_ffmpeg_test.go #3510
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-29 10:17:04 +02:00
Lukas
19ac83dd20
Config: Downscale videos based on largest dimension (#3510)
* Adds resolution limit

* Fixes 2 video filters and makes the env variable work

* Adds FFMPEG_RESOLUTION to all the docker-compose files

* Makes the resolution based on the longer side

* Fixes failing test
2023-06-29 10:07:47 +02:00
Michael Mayer
8e43186454 Config: Generate default HTTPS/TLS certificate on first startup #3509
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-28 16:50:04 +02:00
Michael Mayer
a6d3eee331 Config: Fix FFmpegResolution() func and related test #3498
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-28 16:45:53 +02:00
graciousgrey
9b3917dd00 Tests: Add unit tests 2023-06-28 16:12:11 +02:00
graciousgrey
19699c49c0 Tests: Add unit tests 2023-06-28 16:07:06 +02:00
Lukas
83d10ea00e
Config: Add video transcoding resolution option (#3498)
* Adds resolution limit

* Fixes 2 video filters and makes the env variable work

* Adds FFMPEG_RESOLUTION to all the docker-compose files
2023-06-28 15:22:52 +02:00
graciousgrey
186d1f26e7 Tests: Add unit tests for internal/entity 2023-06-26 15:55:05 +02:00
Michael Mayer
accb17bec9 Auth: Update invalid role log message in user entity
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-26 11:46:32 +02:00
graciousgrey
17242fb079 Tests: Add unit tests #3482 2023-06-23 18:38:54 +02:00
graciousgrey
749d4b6d7e Tests: Add unit tests #3482 2023-06-23 18:38:22 +02:00
Michael Mayer
87b6d72477 CLI: Improve length check in "photoprism passwd" command #3482
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-19 17:24:02 +02:00
Michael Mayer
fa5d8b42bc Albums: Replace tabs with spaces in SQL query #3481
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-15 17:01:34 +02:00
Michael Mayer
ae095f465f Albums: Flag all unknown / deleted photos as missing to fix counts #3481
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-15 16:59:09 +02:00
Michael Mayer
90a18f6e7d Photos: Skip related albums from which a photo was removed #3095
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-15 11:35:45 +02:00
Michael Mayer
a7c8f0102f Config: Refactor directory initialization and improve inline docs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-14 16:44:45 +02:00
Michael Mayer
a7cc1e367f CLI: Change type of import --dest flag to string #3473
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-13 19:00:34 +02:00
Michael Mayer
edf53a921a Moments: Update holidays and pets #3081
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-13 12:55:06 +02:00
Fly Man
4ecece557d Update MomentLabels
* Add large Holidays
* Add assortment of pets
2023-06-13 12:43:41 +02:00
Michael Mayer
6a4bfa84be UX: Show albums in the Info tab of the edit dialog #3095
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-13 11:45:15 +02:00
Mike Maravillo
97ae47b06e Removed omit tag so that Photo's Album array gets populated 2023-06-13 09:27:29 +02:00
Michael Mayer
092fe04b2d CLI: Shorten "find" command usage description #3222
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-12 19:43:07 +02:00
Michael Mayer
39e26b7f0e CLI: Improve "find" command to support more output formats #3222
It is now also possible to limit the number of results (10k by default).

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-12 19:07:41 +02:00
SeeSchloss
a891da7dec Backend: Add a 'search' CLI command 2023-06-12 18:02:26 +02:00
Michael Mayer
59bf7cb9bd Config: Update CSP header to allow loading content from a CDN #3454
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-07 09:22:10 +02:00
Michael Mayer
a45f8d40cf Server: Add "Access-Control-Allow-Origin" to header/security.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-06 14:49:28 +02:00
Michael Mayer
bff649469d Config: Make PhotoPrism compatible with MariaDB 11 #3443
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-02 17:07:10 +02:00
Michael Mayer
1554e00039 Albums: Return all matching results when searching folders #3441
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-01 17:21:31 +02:00
Michael Mayer
7c0af33b73 Backend: Update Go dependencies
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-01 16:35:07 +02:00
Michael Mayer
36fc26f0c7 Hub: Update service URL
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-18 04:43:50 +02:00
Michael Mayer
0b780defbb Config: Update flags.go and cli_flags_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-13 19:38:54 +02:00
Michael Mayer
0e415fec1c Config: Make options available to all users
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-13 16:02:49 +02:00
Matthew Roy
7abf5c70cf Clarify trusted-proxy option env TRUSTED_PROXY
Clarify that PHOTOPRISM_TRUSTED_PROXY is passed to Gin per 457fabd7e1/docs/doc.md (dont-trust-all-proxies)
2023-05-07 17:13:42 +02:00
Michael Mayer
232ec78c56 Sharing: Verify that record exists before proceeding with upload #3379
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-06 11:27:52 +02:00
Michael Mayer
7a7ffbced2 CLI: Reduce logging output in production environments #3370
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-05 09:55:00 +02:00
Michael Mayer
b9181bee6f Config: Update cli_flags_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-03 12:57:41 +02:00
Michael Mayer
c405f6eff2 Config: Tag advanced options for documentation purposes
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-01 18:32:37 +02:00
Michael Mayer
96011b2c2f Metadata: Extract Notes from UserComment field #3352
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 14:35:44 +02:00
Michael Mayer
958766ba79 Config: Change wording from sponsors to members
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 13:52:42 +02:00
Michael Mayer
cbfd5a957f Config: Update admin username and password flag descriptions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 13:46:35 +02:00
Michael Mayer
6805aea115 About: Update footer and info page
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 10:55:21 +02:00
Michael Mayer
48a280b119 Config: Update app icon usage description to include square icon variant
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-23 09:53:02 +02:00
Michael Mayer
99858cb8d8 API: Skip sending token headers in public mode to allow caching #2875
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 18:06:57 +02:00
Michael Mayer
89eb11de9f Metadata: Save TakenAtLocal in YAML backup files #3338
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 15:18:23 +02:00
Michael Mayer
ffd307e11d Videos: Add immutable cache header to API response #2875
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 14:46:56 +02:00
Michael Mayer
d74a9c097e Config: Add option to stream videos over the specified CDN #2875
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 11:47:27 +02:00
Michael Mayer
d50da1e007 Auth: Only allow setting a password hash for the initial account #1987
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 19:46:00 +02:00
Michael Mayer
d48db6cae4 Sync: Prevent downloads when read-only mode is enabled
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 18:14:10 +02:00
Michael Mayer
163398b76c Passwords: Enforce 72-character limit and improve bcrypt support #1987
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 17:21:18 +02:00