Commit graph

288 commits

Author SHA1 Message Date
Michael Mayer
ebed7fa5b4 Go: Replace strings.Split() with strings.SplitSeq() #5337
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-25 14:26:29 +01:00
Michael Mayer
52ab802731 Pkg: Apply "golangci-lint" recommendations to txt/... packages #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-21 16:16:42 +01:00
Ömer Duran
1e00d1f52e
UX: Add batch edit dialog and API endpoints #271 #5324
Signed-off-by: Michael Mayer <michael@photoprism.app>
Co-authored-by: Michael Mayer <michael@photoprism.app>
Co-authored-by: graciousgrey <theresagresch@gmail.com>
2025-11-19 11:20:34 +01:00
promalert
5d0aa1068c refactor: use b.Loop() to simplify the code and improve performance
Signed-off-by: promalert <promalert@outlook.com>
2025-11-13 08:54:42 +01:00
Michael Mayer
4924114a53 Clean: Add Yes/No/Bool funcs consistent with strconv.ParseBool() #5191
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-11 14:35:39 +02:00
Michael Mayer
f26f6ecd17 Backend: Refactor new enum package and yes/no matching #5191
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-10 13:40:51 +02:00
Keith Martin
b1822229ca
Backend: Improve Yes/No capabilities #5191
* Backend: improve Yes/No capabilities
* Backend: constants package with Yes/No maps and True/False strings
* Backend: rename constants to enum
* Backend: correct case on russian Yes, more tests
* Enum: utilise enum package
2025-10-10 13:15:15 +02:00
Michael Mayer
b46a6aef77 Metadata: Add USB to pkg/txt/specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-09 13:51:09 +02:00
Michael Mayer
b00dd133db Test: Use PascalCase names for all Go subtests in /pkg
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 15:03:47 +02:00
Michael Mayer
94b6631b3d Test: Use PascalCase names for all Go subtests in /internal
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-02 14:50:02 +02:00
Michael Mayer
e21174c297 CLI: Add txt.JoinAnd() helper function to format lists of items #5233
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-29 19:25:47 +02:00
Michael Mayer
3e14eed7d7 Scripts: Update success and error messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-29 09:47:29 +02:00
Michael Mayer
a3dac7c707 Metadata: Update folder_test.go, photo_estimate_test.go, country_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-26 11:44:27 +02:00
Michael Mayer
4d91f5ffdf Metadata: Update TestCountryCode in pkg/txt/country_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-26 11:27:16 +02:00
Michael Mayer
1b48cb2a25 Metadata: Remove ambiguous location names from countries.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-26 11:25:56 +02:00
Michael Mayer
61ced7119c Auth: Refactor cluster configuration and provisioning API endpoints #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-24 08:28:38 +02:00
Michael Mayer
91804b9652 Backend: Improve Copy()/Move() and increase pkg/internal test coverage
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-22 03:07:51 +02:00
Michael Mayer
f1c57c72d8 CLI: Flatten config options output when using the "--json" flag #5220
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-21 16:52:56 +02:00
Michael Mayer
6901225a2b CLI: Add "--json" as an additional output format to show commands #5220
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-21 13:46:59 +02:00
Keith Martin
aa6c62abcb
Search: Add escaping capability for the characters "|" and "&" #5188
* Backend: Add query escape capability
* Tests: escape capability verification
* Backend: Clean up comments and remove commented out code.
2025-09-01 14:00:26 +02:00
Michael Mayer
af3357bfdc Metadata: Update list of stop words in pkg/txt
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-06-29 17:07:05 +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
56ba9f1ee5 Metadata: Use Local time for file modification timestamps #4622 #4946
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-23 16:15:00 +02:00
Michael Mayer
36afc4a215 Backend: Clip error messages when too long
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-23 13:22:52 +02:00
Michael Mayer
5cd2c25489 Metadata: Move timezone related functions to /pkg/time/tz #4622 #4946
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-23 12:50:12 +02:00
Michael Mayer
27b72aa1e9 Search: Parse lat,lng string into float64 coordinates #4930 #4812
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-19 16:04:44 +02:00
Michael Mayer
04ac2a383e Search: Find pictures with a specific term in Title or Caption #4947
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-17 11:38:08 +02:00
Michael Mayer
5f32d75700 Metadata: Use "Local" as identifier for the local time zone #4946
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-16 17:12:37 +02:00
Michael Mayer
2c47644ea8 Metadata: Add "local" as an alias for an unknown (local) time zone
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-15 15:39:04 +02:00
Michael Mayer
ca708c3f56 Codespell: Fix invalid inline comments and broken test assertions #4506
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-27 16:57:56 +01:00
Yaroslav Halchenko
15668ee7b5
CI: Add codespell config and fix typos (#4506)
More about codespell: https://github.com/codespell-project/codespell
2025-03-27 16:42:24 +01:00
Michael Mayer
87ccc96181 Search: Allow searching for labels that only have an emoji as name #4761
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-19 16:14:30 +01:00
Michael Mayer
34f3d9eac1 Slugs: Use base32 encoding for slugs that don't contain text #4761
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-19 11:57:53 +01:00
Michael Mayer
57060844ba Auth: Improve user model and search in backend and frontend
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-18 09:00:50 +01:00
Michael Mayer
829c5479c1 Metadata: Update pkg/txt/specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-08 20:29:16 +01:00
Michael Mayer
6b3cb0eca8 UX: Refactor video formats and codecs in front and backend #1307 #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-28 23:26:52 +01:00
Michael Mayer
608732ed80 Metadata: Update special words list in /pkg/text/specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-27 14:34:01 +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
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
bd6a1b90f2 Search: Update /pkg/txt/smallwords.go and stopwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-11-18 11:18:46 +01:00
Michael Mayer
d6e5096786 Places: Improve country estimates for Europe
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-11-12 08:53:54 +01:00
Michael Mayer
42ce5acdde Metadata: Add more words to pkg/txt/specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-11-08 17:34:11 +01:00
Michael Mayer
6c5f7fac22 Places: Improve country estimates for the near east region
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-11-01 09:58:38 +01:00
graciousgrey
270d4faebb Tests: Add unit tests #3447 2024-10-28 16:33:37 +01:00
Michael Mayer
35a5f0645e Metadata: Add "TikTok" and "eBay" to pkg/txt/specialwords.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-27 17:35:23 +01:00
Michael Mayer
833685251c Search: Add support for numerical keywords like "2nd" or "80s" #3447
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-25 22:46:14 +02:00
Michael Mayer
d32c9e9ef7 Metadata: Improve titles generated from file and folder names #3447
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-25 21:21:30 +02:00
Michael Mayer
253aa423ac Metadata: Do not estimate location if picture is non-photographic #4589
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-23 10:22:31 +02:00
Michael Mayer
b5ee57d13f Metadata: Improve country detection based on location names
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-21 09:31:01 +02:00
Michael Mayer
355b3d352c Scans: Add support for "KODAK Slide N Scan" digital film scanner #4581
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-17 19:27:10 +02:00