Commit Graph

508 Commits

Author SHA1 Message Date
Michael Mayer
dbf1650c1c CLI: Add cluster operations and management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-16 18:09:09 +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
Michael Mayer
0d572032a9 API: Add GET /cluster/theme endpoint and refactor config package #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-11 06:47:45 +02:00
Michael Mayer
b0c3572432 Backend: Refactor function calls with missing params... after Go update
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-07 16:02:54 +02:00
Michael Mayer
9ea676c7e5 AI: Add "photoprism vision sources" CLI command #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-02 11:01:52 +02:00
Michael Mayer
c3537b10e5 AI: Use "gemma3" as default caption model #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 14:54:49 +02:00
Michael Mayer
6766cc330d AI: Add Ollama options to model configuration #127 #5123 #5011
This also renames the Meta option to TensorFlow so it is clear these
values are to configure TensorFlow models only.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 10:13:16 +02:00
Michael Mayer
fd6216ad3a CLI: Update command flag description in migrations.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-29 10:03:22 +02:00
Michael Mayer
0357bc9abd CLI: Update usage descriptions for Boolean command flags
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-28 19:10:36 +02:00
Michael Mayer
c22c5c0151 CLI: Update count flag usage in commands.go, find.go, and vision_run.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-10 14:41:51 +02:00
Michael Mayer
75785ff2f3 Merge branch 'develop' into feature/custom-tf-model-127 2025-08-04 09:58:18 +02:00
Michael Mayer
6e955523b6 AI: Add "--count" flag to the photoprism vision run command #5011 #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-08-01 14:37:36 +02:00
raystlin
b4ac12c301 Merge branch 'develop' into feature/custom-tf-model-127 2025-07-26 21:24:05 +00:00
raystlin
e704ccfc47 Merge branch 'develop' into feature/custom-tf-model-127 2025-07-25 21:22:28 +00:00
Michael Mayer
5a7c5613b1 CLI: Refactor internal/commands/reset.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-23 00:53:34 +02:00
Michael Mayer
4b5e3b574a Index: Improve generation, caching and logging of labels #5011 #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-22 22:09:00 +02:00
Michael Mayer
c05fe19ba9 AI: Default to the 720x720 fit thumb for generating captions #3438 #5011
These changes also auto assign labels based on the generated captions.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-16 14:58:44 +02:00
Michael Mayer
4bc9cd6ca2 AI: Add "source" flag to the "photoprism vision run" command #3438 #5011
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-15 12:52:02 +02:00
Michael Mayer
73374cb325 Backup: Do not delete old dumps when filename is set manually #5088
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-03 20:59:54 +02:00
Michael Mayer
a965c32188 Backend: Upgrade github.com/olekukonko/tablewriter from v0.0.5 to v1.0.7
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-24 12:48:38 +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
ae530fec1b CLI: Force overwrite of existing video and metadata downloads #4982
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-25 07:03:35 +02:00
Michael Mayer
03dba1fe20 Video Downloads: Set --playlist-index and --embed-metadata flags #4982
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-25 01:20:59 +02:00
raystlin
38956e0f4a Merge remote-tracking branch 'upstream/develop' into feature/custom-tf-model-127 2025-05-12 18:46:57 +00:00
Michael Mayer
4a992dc350 CLI: Add image, vector, raw, pdf, and audio support to dl command #4982
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-02 13:55:52 +02:00
Michael Mayer
de14b30570 Videos: Add "photoprism dl" CLI command to import from a URL #4982
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-02 12:16:59 +02:00
raystlin
6565fb2d6f AI: Fixed unitialization problems
* vision_list command failed silently for models without meta.
* face model panicked for models without meta.
2025-04-27 10:41:53 +00:00
Michael Mayer
cbc415d32b CLI: Correct indentation of backup and restore command descriptions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-25 08:34:43 +02:00
Michael Mayer
96dbb5ccbc Config: Refactor command flags, reports, and client options
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-15 15:42:03 +02:00
Michael Mayer
55394d4137 AI: Remove Hidden flag from "photoprism vision run" command #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-15 14:51:55 +02:00
raystlin
e55536e581 Merge remote-tracking branch 'upstream/develop' into feature/custom-tf-model-127 2025-04-13 15:27:50 +00: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
raystlin
88508679b0 Modified classify to add custom models
Vision input parameters have also been changed to support the new
parameters needed for the models.
2025-04-11 20:01:36 +00:00
Michael Mayer
f80acab4c2 AI: Add "photoprism vision run" command and vision worker #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 05:15:14 +02:00
Michael Mayer
5b8be2f5d4 AI: Add "photoprism vision" CLI subcommands #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 02:11:53 +02:00
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
Michael Mayer
fe424d8966 Upload: Reject files that exceed the originals limit #4929 #4895 #2049
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-05 12:43:51 +02:00
Michael Mayer
0dd2639d97 SQLite: Use file storage instead of memory for unit tests #47 #4831
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-02 04:05:08 +02:00
Michael Mayer
ad5baf2823 Config: Read admin and database password from file #2302
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-28 21:00:56 +01:00
Michael Mayer
9de641eb66 Backend: Remove unnecessary usage of fmt.Sprintf() #3846
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-27 15:12:03 +01:00
Michael Mayer
ae5f35259c Server: Move process handling and shutdown to separate package #4767
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-04 19:05:26 +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
d4a4690707 Commands: Remove unused faceFlagsInfo var from show_config_options.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-17 00:14:21 +01:00
Michael Mayer
52b4a5f3b9 About: Update copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-09 10:41:37 +01:00
Michael Mayer
01f15fa406 Backend: Update copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-09 10:28:17 +01:00
graciousgrey
3f26d79380 Tests: Refactor command tests 2024-12-09 15:11:39 +01:00
Michael Mayer
cd4e6f1b57 CLI: Add RunWithTestContext function for command tests #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-12-06 09:08:38 +01:00
Michael Mayer
9eef183323 CLI: Upgrade github.com/urfave/cli from v1 to v2 #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-12-05 17:15:59 +01:00
Michael Mayer
8be12117d9 CLI: Add command flags to show account login and creation time #4570
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-12 11:47:19 +02:00
Michael Mayer
51bc0f1f5a CLI: Add command flag to show deleted user accounts #4570
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-11 11:37:11 +02:00