Commit Graph

16 Commits

Author SHA1 Message Date
Michael Mayer
35e9294d87 AI: Add vision package and vision API endpoints #127 #1090
These changes allow to configure the computer vision models through an
optional vision.yml configuration file. Note that the API endpoints
are not yet functional and require further work.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 23:39:37 +02:00
Jacob D
0d487b6490 Faces: Improve performance when manual tagging (#4691)
This PR implements a strategy to improve Optimize() performance by returning the correct number of modified rows in PurgeOrphanFaces and treating the result 0 as an error condition in MergeFaces. Logging around this has been improved in faces.go and faces_optimize.go.

Related Comments:
- https://github.com/photoprism/photoprism/issues/3124#issuecomment-2566025503
- https://github.com/photoprism/photoprism/pull/4691#issuecomment-2566164179
2025-03-27 01:40:31 +01:00
Michael Mayer
e0fc604c80 Metadata: Don't generate picture titles based on labels only
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-05 13:33:54 +01:00
Michael Mayer
428d57e71e API: Add Swagger annotations #2132
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-16 12:05:55 +02:00
Michael Mayer
e5bbff4020 Backend: Move get package to /internal/photoprism/get
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 08:03:30 +02:00
Michael Mayer
41e7645bac Backend: Move crop package to /internal/thumb/crop
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 07:45:16 +02:00
Michael Mayer
7f60af3e3f Backend: Move customize, pwa, ttl, query, classify and nsfw packages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 07:36:52 +02:00
Michael Mayer
a97f8d0795 API: Implement OIDC redirect endpoint #782
Requires further testing and refinement before it can be released.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-01 16:50:53 +02:00
Michael Mayer
22cb0ac1a9 Subjects: Do not use or count people tagged on private pictures #4238
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-08 15:35:30 +02:00
Michael Mayer
4425becb3d Auth: Implement 2FA setup and login in the web user interface #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-03-21 14:32:51 +01:00
Michael Mayer
42fbf70dcf API: Update markers.go handler docs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-08 14:56:07 +01:00
Michael Mayer
0e4d81853c API: Add .well-known/oauth-authorization-server route handler #808 #3943
This commit also adds an /api/v1/oauth/logout endpoint that allows
clients to delete their sessions (access tokens) as needed.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-08 14:53:39 +01:00
Michael Mayer
f8e0615cc8 Auth: Ensure backwards compatibility for existing API clients #808 #3943
These changes ensure that the new (SHA256) session ID is returned in the
"session_id" field, so that developers have time to update their client
implementations to use the new "access_token" field.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-07 12:25:56 +01:00
Michael Mayer
36bac7ab48 Faces: Add POST REST endpoint to manually create new file markers #1548
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-27 19:13:00 +02:00
Michael Mayer
e3bb8b19dd Routing: Prefix frontend UI routes with /library #840 #2466
Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00