Michael Mayer
ed96f381b9
Media: Improve ReadUrl() implementation and tests #5330
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-22 16:23:13 +01:00
Michael Mayer
149f5e5731
CI: Apply Go linter recommendations to remaining "pkg/..." code #5330
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-22 16:14:43 +01:00
Michael Mayer
a921f82a17
Pkg: Move /service/http/... to /http/... and add package /http/dns
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-19 21:08:48 +02:00
Michael Mayer
b00dd133db
Test: Use PascalCase names for all Go subtests in /pkg
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 15:03:47 +02:00
Michael Mayer
61ced7119c
Auth: Refactor cluster configuration and provisioning API endpoints #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-24 08:28:38 +02:00
Michael Mayer
91804b9652
Backend: Improve Copy()/Move() and increase pkg/internal test coverage
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-22 03:07:51 +02:00
Michael Mayer
023fbe3a1d
Pkg: Add service/cluster package & rename media/http → service/http #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-13 12:58:28 +02:00
Oleksandr Redko
589ed92904
Videos: Refactor slice to array conversion ( #5150 )
2025-08-22 10:55:28 +02:00
Michael Mayer
98e9daf687
Server: Add "trusted-platform" config option
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-01 13:51:03 +02:00
Michael Mayer
31901ff2e3
Server: Add "proxy-ip-header" config option
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-29 13:16:14 +02:00
Michael Mayer
e5dcf23f0c
Config: Add "trusted-proxy" defaults to pkg/media/http/header/cidr.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-29 12:11:05 +02:00
graciousgrey
b2d36b395b
Tests: Add unit tests
2025-07-22 13:01:22 +02:00
Michael Mayer
ae42af54d8
AI: Generate captions using the Ollama API #5011 #5123
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-21 10:43:49 +02:00
Michael Mayer
3ff0a30469
Metadata: Improve search filter and media type documentation #5113
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-17 11:55:20 +02:00
Michael Mayer
8fcc2a232b
Live Photos: Reset duration and improve type checks when indexing #5089
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-07 11:15:02 +02:00
Michael Mayer
5860b01248
Live Photos: Delete pkg/media/video/live.go #5089
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-06 11:10:24 +02:00
Michael Mayer
f80ac62e6b
Live Photos: Only flag actual Live and Motion Photos as "Live" #5089
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-06 11:07:25 +02:00
Michael Mayer
02d8525ade
Places: Add config option to specify location details locale #465 #883
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-03 12:58:20 +02:00
findnature
b3bdd5d8ce
Media: Replace sort.Slice with slices.Sort for natural ordering ( #4981 )
...
Signed-off-by: findnature <cricis@aliyun.com>
2025-06-23 15:38:55 +02:00
Brandon Richardson
1d8fa4e3ea
Backend: Set content-type on metrics endpoints ( #5042 )
...
The prometheus text format requires metrics endpoints respond with the
content-type 'text/plain; version=0.0.4'. Without this, newer versions
of prometheus fail to scrape the metrics endpoint and report an error.
It's possible to work around this by setting the
'fallback_scrape_protocol' setting in the prometheus scrape target
configuration, but this revision sets the content type appropriately to
avoid this in the first place.
2025-06-23 15:32:01 +02:00
Michael Mayer
d57ee7b7ab
Header: Add "Content-Language" const
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-12 02:30:48 +02:00
Michael Mayer
86fe4404ef
M2TS: Extract embedded metadata with ExifTool #4982 #4892 #5040
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-11 19:22:20 +02:00
Michael Mayer
2e2ebab433
Videos: Improve downloading, remuxing, and transcoding #4982 #4892 #5040
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-09 15:31:23 +02:00
Michael Mayer
f73b703123
Videos: Increase transcoding bitrate limit default to 60 Mbps #1307
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-24 11:59:29 +02:00
Michael Mayer
8189503a69
AI: Add additional vision service API configuration options #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-13 10:58:15 +02:00
Michael Mayer
35bfe0694b
API: Disable gzip compression for /api/v1/dl endpoint #127 #1090
...
Required for compatibility with the Python HTTP client. In addition,
this commit refactors function names and adds tests.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 14:13:25 +02:00
Michael Mayer
6fcce84623
AI: Add photoprism-vision test service and caption API client #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 01:17:47 +02:00
Michael Mayer
caf3ae1ab5
AI: Refactor use of face embeddings, labels, and nsfw models #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-10 16:49:34 +02:00
Michael Mayer
cf3b933e59
API: Refactor data URL encoding and decoding in pkg/media #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-09 10:58:48 +02:00
Michael Mayer
7f1041c434
Labels: Add image classification service client #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-08 04:14:18 +02:00
Michael Mayer
0f76186663
AI: Reject API requests with content-type multipart/form-data #127 #1090
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-07 23:05:34 +02:00
Michael Mayer
b0e42bebf1
Upload: Add support for uploading zip archives #4929 #4895
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-05 12:02:33 +02:00
Michael Mayer
4329b43b76
Backend: Improve error handling and logging #4491
...
These changes are based on a pull request submitted by @songzhibin97.
Thank you very much!
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-27 09:51:38 +01:00
rubyisrust
6dce52643c
chore: make function comment match function name
...
Signed-off-by: rubyisrust <rustrover@icloud.com>
2025-03-18 10:00:49 +01:00
Michael Mayer
f747211017
Library: Add support for indexing PDF documents #4600
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-12 04:26:04 +01:00
graciousgrey
5dcadf1028
Tests: Add unit tests #4820
2025-02-27 17:24:45 +01:00
Michael Mayer
258642b9ac
Videos: Assume that .m4v files are compatible with MP4 #4820
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-27 09:37:57 +01:00
Michael Mayer
501ef56c97
Videos: Support for detection and streaming of additional formats #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-06 14:27:47 +01:00
Michael Mayer
b2cef94f07
Videos: Assume 10-bit codec variants in content type for HDR #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 12:39:46 +01:00
Michael Mayer
b4f57dc992
API: Fix glitch in video.Compatible() and add tests for it #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 04:17:03 +01:00
Michael Mayer
ef66ddbb8c
API: Compare video formats by content type for better matching #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 03:42:40 +01:00
Michael Mayer
d5ef7bf1bc
Media: Refactor video content type constants #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 01:23:22 +01:00
Michael Mayer
6a89519e63
Videos: Refactor codec, content and file type specifications #4770
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 00:30:45 +01:00
Michael Mayer
1f4f65e988
Server: Add "force" and "mode" flags for sockets #4673 #4767 #4765 #4467
...
These changes allow you to force the re-creation of existing Unix domain
sockets and set the permissions of sockets after they have been created.
The flag or variable value for this must be formatted as follows:
--http-host="unix:/var/run/photoprism.sock?force=true&mode=660"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-04 12:03:00 +01:00
Michael Mayer
06e59d9993
API: Improve content type string generation #1307 #3168
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-29 21:35:07 +01:00
Michael Mayer
bbd7d9af14
Videos: Refactor VP8 and VP9 codec types and add codec aliases #1307
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-29 15:58:34 +01:00
Michael Mayer
a20f12f3e7
Videos: Enhance support for direct streaming of HEVC / H.265 #1307 #3168
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-29 13:14:38 +01:00
Michael Mayer
6b3cb0eca8
UX: Refactor video formats and codecs in front and backend #1307 #3168
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-28 23:26:52 +01:00
Michael Mayer
420fa9946c
Viewer: Set native video stream src based on mimetype #1307 #3168 #4698
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-27 13:21:05 +01:00
Michael Mayer
1a938a387f
Viewer: Add media codec to API response data #1307 #4698 #4708
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-10 15:20:43 +01:00