Keith Martin
b6687b6c29
Tests: Improve isolation and add fixes #5263
...
* Tests: fix random selection of deleted record causing test failure
* Tests: fix test folders being left after test
* Tests: ensure that required records are available
* Tests: make each package execute against it's own testdata folder to ensure no interpackage test failures
* Tests: add unit tests of CleanupTestFolder
* Tests: Allow defer in TestMain
* Tests: rename testMain to runTestMain
2026-07-12 05:47:21 +02:00
Cathie Integra
3f096a592b
Links: Use canonical trailing-slash form for website URLs
2026-06-24 17:20:30 +02:00
Michael Mayer
e8a04a7d4f
JWT: Bound the JWKS response read size
2026-06-11 10:02:17 +00:00
Michael Mayer
c908ec5563
Auth: Advertise use and alg in the Ed25519 JWKS
2026-06-03 17:12:59 +02:00
Michael Mayer
570a563748
Docs: Bump copyright year to 2026 in Go package headers
2026-05-25 14:39:38 +00:00
Michael Mayer
1618d5cd98
Auth: Use acl.RolePortal for pp_issuer_kind instead of local constant
2026-05-24 06:36:41 +00:00
Michael Mayer
f33cce28e4
Auth: Add IssueUser for Portal OIDC ID/access tokens
2026-05-24 06:29:08 +00:00
Michael Mayer
f2aabb9bcd
Security: Add gosec fixes with shared URL and fs validation helpers
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-03-03 16:38:41 +01:00
Michael Mayer
a0070dce1c
Cluster: Improve usage of canonical terms in code/docs based on glossary
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-23 16:16:29 +01:00
Michael Mayer
a2b7615c93
Go: Apply go fix modernizations across backend packages
...
Run `go fix ./...` and keep mechanical modernization updates.
- Replace `interface{}` with `any` in signatures and local types
- Apply formatter/style cleanups from go1.26 tooling
- Keep `omitempty` behavior-preserving simplifications suggested by fix
- No functional feature changes intended
Validation:
- go test ./... -run '^$' -count=1 (Go 1.26.0)
- GOTOOLCHAIN=go1.24.10 go test ./... -run '^$' -count=1
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-20 03:54:33 +01:00
Michael Mayer
f07f46fec8
Backend: Clean up error handling and unit tests in internal/ packages
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-02-09 12:00:33 +01:00
Michael Mayer
6c50a87632
Auth: Apply "golangci-lint" recommendations #5330
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-21 16:22:42 +01:00
Michael Mayer
e93ceba659
Auth: Enhance JWT session creation and token IDs #5230
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-29 10:23:44 +01:00
Michael Mayer
cd7fa6adca
Logs: Add package pkg/log/status to provide generic outcome constants
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-21 14:42:05 +02:00
Michael Mayer
0b0f312b3e
Backend: Upgrade all packages from "math/rand" to "math/rand/v2"
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-12 21:34:07 +02:00
Michael Mayer
32c054da7a
CLI: Added JWT issuance and diagnostics sub commands #5230
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-26 02:38:49 +02:00
Michael Mayer
660c0a89db
Backend: Introduce optimized test config helpers to improve performance
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-25 23:09:52 +02:00
Michael Mayer
633d4222ab
Auth: Improve JWKS Fetch Concurrency & Timeouts #5230
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-25 18:46:24 +02:00
Michael Mayer
bae8ceb3a7
Auth: Support asymmetric JSON Web Tokens (JWT) and Key Sets (JWKS) #5230
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-25 17:52:44 +02:00