Commit Graph

27 Commits

Author SHA1 Message Date
Keith Martin
ed62352090 Merge remote-tracking branch 'origin/develop' into PostgreSQL 2025-09-02 10:24:26 +10: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
Keith Martin
cf6dae3622 CLI: Update usage descriptions for Boolean command flags 2025-08-29 12:02:40 +10:00
Keith Martin
b86ddf0ec6 Merge remote-tracking branch 'origin/develop' into PostgreSQL 2025-08-29 11:35:28 +10: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
Keith Martin
a26143bfad CLI: improve detection of populated databases 2025-06-30 18:29:21 +10:00
Keith Martin
a69bf55b20 CLI: refactor migrations transfer to include setting of sequence number for appropriate tables 2025-05-16 19:31:03 +10:00
Keith Martin
bc0752aeda CLI: refactor migrations transfer to add batch size 2025-05-16 15:41:29 +10:00
Keith Martin
bdbb5e32c3 CLI: refactor migrations to ensure version and migration entities exist (issue with once already being fired) 2025-05-15 21:20:35 +10:00
Keith Martin
11036972c9 CLI: refactor away from FindInBatches for structs with composite primary key due to gorm bug. Exclude records with empty user_uid from old databases 2025-05-13 20:05:25 +10:00
Keith Martin
41c238fab4 CLI: migrations fix when truncate is done and add missing user_uid affected table deletes 2025-05-11 22:25:25 +10:00
Keith Martin
b87b78884f CLI: add new migrations transfer capability 2025-05-10 23:21:53 +10: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
22aa700b1e Config: Refactor initialization of settings and database connection
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-07 17:00:38 +02:00
Michael Mayer
44b94d0f62 Backend: Move report package to /pkg/txt/report
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-03 09:29:15 +02:00
Michael Mayer
6944566b7b Backend: Move migrate package to /internal/entity/migrate
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 06:40:03 +02:00
Michael Mayer
910e3becbb Auth: Refactor existing CLI sub-commands #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-02 17:06:57 +01: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
884dea17de Security: Use individual preview tokens for each user account #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00
Michael Mayer
3c4cc40882 Security: Refactor log levels and events #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:34:07 +02:00
Michael Mayer
c7be7c43eb CLI: Refactor tests and config initialization
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 12:27:40 +02:00
Michael Mayer
bac6ae0cbd Sessions: Add max age and timeout config options #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 22:59:29 +02:00
Michael Mayer
323d495840 Auth: Apply user rights and permissions in the search API #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 00:42:19 +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
Michael Mayer
8af69b81f2 Search: Omit files with unknown Chroma when using mono:true filter #2341 2022-05-21 18:12:08 +02:00
Michael Mayer
a61470dfc7 Migrations: Implement "photoprism migrations ls" command #2216
Lists the status of migrations. Changed "migrate" to "migrations run".
2022-04-01 16:02:58 +02:00