Commit Graph

404 Commits

Author SHA1 Message Date
Michael Mayer
91cc358fc5 Clean: Shorten error log sanitization function name #439 #3588
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 17:05:55 +02:00
Michael Mayer
7f13218229 Logs: Add LogError() func to sanitize error messages #439 #3588
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 08:12:52 +02:00
Michael Mayer
2c33a34ac3 Metadata: Update list of special words in txt package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-26 12:20:49 +02:00
Luca Carlon
9a699f234d
Metadata: When parsing dates from exiftool, remap year 0 to 1 (#2508)
Year 0 is frequently used in exiftool but is not accepted in the Go time
package. time package uses year 1 for "zero" dates instead. Therefore,
remap year 0 from exiftool to year 1.
2023-06-29 10:36:16 +02:00
Bur0k
08ba1e1c05 Switched general YYYYMMDD Filter to a WhatsApp specific [IMG,VID]-YYYYMMDD-WA* Filter 2023-06-27 22:00:07 +02:00
Bur0k
37c40c9b3d Accept YYYYMMDD format in filenames (e.g. WhatsApp) 2023-06-27 22:00:07 +02:00
Michael Mayer
111d0a2ae6 Tests: Reorder imports in fileinfo_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-27 20:25:50 +02:00
graciousgrey
5f103681fb Tests: Add unit tests 2023-06-27 19:27:34 +02:00
graciousgrey
29462bce13 Tests: Add unit tests 2023-06-27 19:20:11 +02:00
graciousgrey
e1ddaa7c0b Tests: Add unit tests 2023-06-27 18:41:36 +02:00
graciousgrey
1e55e5b1d9 Tests: Add unit tests for pkg/clean 2023-06-26 15:57:56 +02:00
graciousgrey
43e98cc687 Tests: Add unit tests for pkg/authn 2023-06-26 15:54:23 +02:00
Michael Mayer
87b6d72477 CLI: Improve length check in "photoprism passwd" command #3482
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-19 17:24:02 +02:00
Michael Mayer
53aeaffe0e Photos: Refactor link from the Files tab to the file folder #2926
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-13 15:57:02 +02:00
Michael Mayer
66dc5ed688 Txt: Update tests in empty_test.go #3412
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-17 20:37:57 +02:00
Michael Mayer
4895d4102c Search: Fix "unknown country" filter #3412
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-17 20:33:24 +02:00
Michael Mayer
db7fcbbd62 Build: Update author and copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-01 12:28:55 +02:00
Michael Mayer
163398b76c Passwords: Enforce 72-character limit and improve bcrypt support #1987
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-13 17:21:18 +02:00
Michael Mayer
e34c9759e4 WebDAV: Replace studio-b12/gowebdav client with emersion/go-webdav #3310
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-28 20:37:42 +02:00
Michael Mayer
9ad86ac017 Edit: Change image orientation through the user interface #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 16:18:27 +01:00
Michael Mayer
cc12f3f457 Auth: Improve sanitization of usernames and handles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-15 22:41:59 +01:00
Michael Mayer
9ab833c2ec Auth: Improve username validation and parsing
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 16:36:30 +01:00
Michael Mayer
cc97759806 Moments: Change default sort order in the overview to "newest" #3280
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 22:17:23 +01:00
Michael Mayer
5b73101442 Auth: Refactor user roles and auth providers in entity model #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 16:04:37 +01:00
Michael Mayer
50913e301c Auth: Prevent duplicate super admin accounts from being created #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 15:59:08 +01:00
Michael Mayer
d8ab9616a5 Auth: Refactor user management API and CLI commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 15:12:10 +01:00
Michael Mayer
60162b3fc5 Auth: Refactor user management API and CLI commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-08 23:30:39 +01:00
Michael Mayer
77714e8e3f Metadata: Add date string defaults to be ignored #3229
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-24 16:21:17 +01:00
Michael Mayer
6f578af5c1 Metadata: Add date string defaults to be ignored #3229
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-24 16:15:43 +01:00
Michael Mayer
96ea732637 Metadata: Ignore date string defaults caused by software errors #3229
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-24 15:53:59 +01:00
Michael Mayer
a934d74c26 Videos: Treat Apple iTunes .m4v files as a separate format
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 18:49:56 +01:00
Michael Mayer
ae4a2abc37 Videos: Add .dv to the list of known video file types #3226
Note that this is completely untested as we have no sample files.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 22:45:53 +01:00
Michael Mayer
b44b8d52c1 WebP: Add support for indexing and playing animations #3197 #668
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 20:58:21 +01:00
Michael Mayer
eaff0abb6d Videos: Index and display durations of less than one second #3224
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 16:33:33 +01:00
Michael Mayer
7ed5e0d122 Metadata: Extend valid year range from 1990 to 1970 #3220
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 14:24:38 +01:00
Michael Mayer
057a8b7cd7 Videos: Set MOV mime type based on file extension #3008
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 13:27:45 +01:00
Michael Mayer
527fc0319e Index: Add experimental support for JPEG XL and APNG files #668 #3197
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:43:49 +01:00
Michael Mayer
0c4aa86f85 CLI: Create thumbs and convert files in deterministic order #3194
This also adds support for specifying a path to the thumbs command.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 11:37:22 +01:00
Michael Mayer
4e0f38881d Adobe: Remove support for PDF files #1177 #2207
Does not make sense for our software at the moment.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 23:47:01 +01:00
Michael Mayer
e533aa7beb Adobe: Add support for PDF, AI, and PSD file formats #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 20:02:26 +01:00
Michael Mayer
ec3708bf65 Text: Add PostScript, PS, EPS and SVG to list of special words #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 15:36:09 +01:00
Michael Mayer
32483cc88e Vector: Change icon from "draw" to "polyline" and fix viewer #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 13:59:17 +01:00
Michael Mayer
005f959db9 Index: Add experimental PostScript file support #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-11 21:12:39 +01:00
Michael Mayer
97c9962053 Index: Add experimental EPS and SVG vector graphics support #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-11 20:18:04 +01:00
Michael Mayer
826addb4c1 PWA: Create manifest.json in code without using a template #3181
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 15:53:01 +01:00
Michael Mayer
ef6e3d3f9d Metadata: Ensure the altitude is not out of range and fix logs #3182
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 11:51:26 +01:00
Michael Mayer
a5a538a67e Links: Change https://photoprism.app/ to https://www.photoprism.app/
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-08 09:07:42 +01:00
Michael Mayer
4258b94955 Search: Update stopwords.txt and stopwords.go
This removes words that may be part of location, artist or event names.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-04 07:19:56 +01:00
Michael Mayer
47defc861c API: Add sort order "random" to find a random set of photos #153
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer
adc91fcf6e Auth: Refactor WebDAV login and increase maximum length of username
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-24 06:05:31 +01:00