Commit graph

536 commits

Author SHA1 Message Date
Michael Mayer
c7a292e5a0 Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-07-09 17:13:11 +02:00
Michael Mayer
138075fc0a Dependencies: Upgrade klauspost, geo, x/text & x/tools Go modules
- github.com/klauspost/compress v1.18.6 => v1.19.0
- github.com/klauspost/cpuid/v2 v2.3.0 => v2.4.0
- github.com/golang/geo => 20260706204034
- golang.org/x/text v0.38.0 => v0.39.0
- golang.org/x/tools v0.45.0 => v0.47.0 (indirect)

Run go mod tidy and regenerate NOTICE.
2026-07-07 23:57:52 +00:00
Michael Mayer
063f3c1245 Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-06-27 13:41:03 +02:00
Michael Mayer
8b0cf318b0 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-06-22 21:47:20 +02:00
Michael Mayer
a2e708e7ab Meta: Update go-mp4, regenerate NOTICE, fix XMP doc spelling #2260 #5563
Bump abema/go-mp4 to v1.7.1 (only outdated direct dependency) and tidy
go.sum, pruning stale checksums left by the XMP sidecar merge. Regenerate
the license NOTICE for the updated dependency.

Use US-English spelling in the new XMP sidecar comments and tests, and
drop a specs/ reference from internal/meta/README.md so the public package
doc has no link into the private subrepo. Regenerate dialect_mysql.go from
SQL.
2026-06-17 00:14:33 +00:00
Ömer Duran
86efc1c982
Index: Improve support for metadata in XMP sidecar files #2260 #2828 #5563
* Meta: Add XMP sidecar fixture corpus for reader rewrite #2260
* Meta: Replace XMP sidecar reader with antchfx/xmlquery #2260
* Meta: Add XMP sidecar reader test suite #2260
* Meta: Assert XMP GPS extraction on Apple/Adobe sidecars #2828
* Meta: Apply XMP sidecar metadata to photo and primary file #2260
* Meta: Resolve XMP sidecar time zone via shared helper #2260
* Meta: Derive panorama & caption keywords on XMP sidecar reads #2260
* Meta: Assert XMP sidecar GPS override and malformed-file handling #2260
* Meta: Tidy XMP sidecar reader comments and reuse logName local #2260
* Meta: Fix XMP sidecar capture-time priority OffsetTime handling #2260
* Meta: Address XMP sidecar review feedback #2260
2026-06-17 01:53:28 +02:00
Michael Mayer
0e79cf9eca Backend: Update golang/geo and refresh NOTICE
Bump golang/geo to 20260612074446 (same module license). go mod tidy also drops a stale golang.org/x/net v0.55.0 checksum.
2026-06-15 10:23:07 +00:00
Michael Mayer
1ca21007b3 Build: Update Go toolchain to 1.26.4 and refresh x/net and x/sys
Bumps the go.mod toolchain directive and the dummy OIDC fixture to
go1.26.4, clearing the GO-2026-5037/5038/5039 stdlib advisories. Updates
golang.org/x/net to v0.56.0 (NOTICE regenerated) and the fixture's
golang.org/x/sys to v0.46.0. osv-scanner --recursive returns zero
advisories and the full Go suite passes.
2026-06-10 18:06:19 +00:00
Michael Mayer
1fad248031 ONNX: Upgrade onnxruntime_go to v1.31.0 and runtime to 1.26.0 2026-06-10 03:24:26 +00:00
Michael Mayer
3f8b38c222 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-06-10 05:07:03 +02:00
Michael Mayer
25d86c9c50 Backend: Update deps in go.mod, go.sum, and license NOTICE file
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-31 04:24:34 +02:00
Michael Mayer
f9a364d713 Go: Update deps in go.mod, go.sum, and license NOTICE file 2026-05-26 16:25:13 +00:00
Michael Mayer
9540931a16 Go: Update indirect deps in go.mod, go.sum, and license NOTICE file 2026-05-20 11:35:47 +00:00
Michael Mayer
c9722af97e Go: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-20 13:16:46 +02:00
Michael Mayer
218600cc66 Go: Update deps in go.mod, go.sum, and license NOTICE file
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-18 11:28:08 +02:00
Michael Mayer
f6a5dc8412 Go: Update deps in go.mod, go.sum, and license NOTICE file
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-15 08:25:31 +02:00
Michael Mayer
8713e6b1ff Go: Update go-sqlite3 to v1.14.44 to fix GCC 15 warnings #5543 2026-05-10 10:02:28 +00:00
Michael Mayer
1f21aea628 Go: Update deps in go.mod, go.sum, and license NOTICE file
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-09 17:54:56 +02:00
Michael Mayer
05cd8fab17 Go: Update "github.com/golang/geo" in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-06 10:28:26 +02:00
Michael Mayer
2ad8c40023 Go: Upgrade mysql, mcp-go-sdk, and onnxruntime_go modules #5555
Bumps:
- github.com/go-sql-driver/mysql v1.9.3 -> v1.10.0
- github.com/modelcontextprotocol/go-sdk v1.5.0 -> v1.6.0
- github.com/yalue/onnxruntime_go v1.28.0 -> v1.30.0

go-sdk v1.6.0 dropped the implicit default that previously rejected
cross-origin requests when StreamableHTTPOptions.CrossOriginProtection
was nil (modelcontextprotocol/go-sdk#906). internal/api/mcp.go now
sets the field explicitly so that /api/v1/mcp keeps verifying the
Origin header on the streamable HTTP transport.

onnxruntime_go v1.30.0 stays at ORT_API_VERSION 25, so the bundled
native runtime does not need to change for this bump alone.
2026-05-04 11:48:46 +00:00
Michael Mayer
083d437ec4 Server: Add zstd compression support #5550
Negotiates zstd alongside gzip via PHOTOPRISM_HTTP_COMPRESSION as a
comma-separated preference list (e.g. "zstd,gzip"); legacy "gzip",
"none", and the empty string keep behaving as before. Bypasses
Connection: Upgrade, predicate-excluded paths, HEAD (with Vary kept),
4xx/5xx, 206, 204, and 304. Weakens strong ETags on the encoding path
so caches don't reuse a compressed body for a different coding.
2026-05-03 10:10:33 +00:00
Michael Mayer
551e5fa29c Backend: Update deps in go.mod and go.sum; update license NOTICE #5505
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-28 09:07:04 +02:00
Michael Mayer
036d67b58f Backend: Upgrade Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-27 11:23:23 +02:00
Michael Mayer
452bdde31e ONNX: Upgrade runtime from v1.24.1 to v1.25.0 and bump onnxruntime_go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-24 18:06:54 +02:00
Michael Mayer
1ced5cbf1e Backend: Update github.com/zitadel/oidc/v3 in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-17 11:57:35 +02:00
Michael Mayer
c46deb6129 Go: Upgrade "govips" to v2.18.0 (requires libvips 8.14 or later)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-15 15:09:23 +02:00
Michael Mayer
edb6f2f2b1 Go: Upgrade dependencies (gocron, oidc, mcp-sdk, x/*, sqlite3, otel)
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-15 14:58:05 +02:00
Ömer Duran
e2f8474309
MCP: Add read-only Model Context Protocol prototype #5024 #5519
* MCP: Add internal read-only prototype #5024

* MCP: Fix edition detection, section assignment, and input validation #5024

* MCP: Add authenticated HTTP endpoint with ACL and experimental gate #5024

* MCP: Document client compatibility and config examples #502

* MCP: Refine ACL grants and finalize prototype polish #5024 #5519

Signed-off-by: Michael Mayer <michael@photoprism.app>

* MCP: Update go.sum #5024 #5519

Signed-off-by: Michael Mayer <michael@photoprism.app>

* MCP: Update license NOTICE files #5024 #5519

Signed-off-by: Michael Mayer <michael@photoprism.app>

---------

Signed-off-by: Michael Mayer <michael@photoprism.app>
Co-authored-by: Michael Mayer <michael@photoprism.app>
2026-04-10 12:51:11 +02:00
Michael Mayer
812faccae6 Clean-up: Drop imaging and pigo library integrations #5353 #5508 #668
Also drops github.com/esimov/pigo since it requires the imaging lib.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-01 13:47:42 +02:00
Michael Mayer
9a7fdc4cdc Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-31 08:50:35 +02:00
Michael Mayer
d32e9d754e Backend: Update Go deps in go.mod/go.sum, align server gzip 404 test
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-28 12:19:12 +01:00
Michael Mayer
b3216d3a87 Backend: Update deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-08 15:36:13 +01:00
Michael Mayer
ceb5e232b0 Backend: Update github.com/ugjka/go-tz/v2 in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-08 11:33:04 +01:00
Michael Mayer
f8ab3b5042 Backend: Upgrade github.com/yalue/onnxruntime_go from v1.26.0 to v1.27.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-06 18:23:18 +01:00
Michael Mayer
82e6d294ba Backend: Update github.com/zitadel/oidc/v3 and github.com/golang/geo
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-03 11:48:08 +01:00
Michael Mayer
d365e86a50 Thumbs: Update github.com/davidbyttow/govips/v2 from v2.16.0 to v2.17.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-02 19:34:25 +01:00
Michael Mayer
eb81069210 Backend: Update github.com/gin-gonic/gin to v1.12.0 in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-01 14:06:53 +01:00
Michael Mayer
f1f92bc35b Backend: Update golang.org/x/net in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-26 20:02:03 +01:00
Michael Mayer
267fabffa9 Backend: Update filippo.io/edwards25519 from v1.1.0 to v1.2.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-22 16:53:14 +01:00
Michael Mayer
a09f8fc5aa Backend: Upgrade Go dependencies in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-20 15:25:55 +01:00
Michael Mayer
273aa53ad0 Backend: Upgrade github.com/yalue/onnxruntime_go from v1.25.0 to v1.26.0
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-20 02:38:48 +01:00
Michael Mayer
ef7eb1367f Backend: Update github.com/dustinkirkland/golang-petname in go.mod & sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-20 02:19:46 +01:00
Michael Mayer
1e9d9ecb23 Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-10 14:54:59 +01:00
Michael Mayer
93304987de Backend: Update github.com/zitadel/oidc/v3 in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-09 14:14:11 +01:00
Michael Mayer
47b1664131 Backend: Update golang.org/x/sys in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-08 18:37:06 +01:00
Michael Mayer
8e5a68b9a0 Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-02 04:14:04 +01:00
Michael Mayer
61c93b9c62 Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-30 17:25:10 +01:00
Michael Mayer
2891fdbc65 Backend: Update Go dependencies in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-28 09:08:09 +01:00
Michael Mayer
26b5cbafcd Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-21 18:21:17 +01:00
Michael Mayer
7e3a88268a Backend: Update Go deps in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-01-07 13:40:14 +01:00