Commit graph

160 commits

Author SHA1 Message Date
Michael Mayer
86dc89c4b9 Config: Show error if originals and storage path seem identical #1642
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-21 14:22:16 +01:00
Michael Mayer
89ca0d8899 Index: Ignore nested storage folder in the originals path #1642
This creates a .ppstorage file in the storage folder so that it can be
automatically ignored if found in the originals path while indexing.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 17:32:10 +01:00
Michael Mayer
01da5bdec7 CRC32: Move checksum generation to a dedicated package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 14:56:07 +01:00
Michael Mayer
0ca37b2c92 Docs: Update year in backend and frontend package file headers
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-05 16:38:36 +01:00
Michael Mayer
713593da4e Auth: Add CLI command to create access tokens for apps #782 #808 #3943
You can now run "photoprism auth add" to create new client access tokens
that allow external applications to use the built-in REST API.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-05 16:31:07 +01:00
graciousgrey
55d5e7a732 Videos: Add file info for .mxf files #3935 2023-12-06 12:02:13 +01:00
graciousgrey
3507f5ef55 Add support for .mxf files #3935 2023-12-06 11:59:53 +01:00
Michael Mayer
09f8a58404 Library: Stack sidecar files with vendor specific naming schemes #2983
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 15:02:16 +02:00
Michael Mayer
54f281a425 FS: Improve matching of related media files #2983
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-20 16:02:52 +02:00
Michael Mayer
26ca084699 Videos: Cache embedded media to allow streaming and transcoding #3764
This is a follow-up improvement for the following feature requests that
have already shipped with our stable release:

- Live Photos: Add support for Samsung Motion Photos #439
- Live Photos: Add support for Google Camera Motion Photos #1739

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-24 17:13:06 +02:00
Michael Mayer
529103462c Index: Add native support for MP4 and Samsung/Google Motion Photos #439
Related Issues:
- Samsung: Initial support for Motion Photos (#439)
- Google: Initial support for Motion Photos (#1739)
- Metadata: Flag Samsung/Google Motion Photos as Live Photos (#2788)

Related Pull Requests:
- Live Photos: Add Support for Samsung Motion Photos (#3588)
- Samsung: Improved support for Motion Photos (#3660)
- Google: Initial support for Motion Photos (#3709)
- Google: Add support for Motion Photos (#3722)

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-22 23:59:56 +02:00
Michael Mayer
a59885cede FS: Refactor file extensions lookup table #1927
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-03 15:38:57 +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
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
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
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
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
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
4066cd7ad1 Update year in copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-11 16:43:01 +01:00
Michael Mayer
e277fa0add Videos: Remove custom read limit for mime detection #3008
The default value is 3072 instead of 1024 bytes, so this might help to
avoid incorrect results as observed earlier with QuickTime videos that
were not recognized.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-30 00:05:34 +01:00
Michael Mayer
a22edb29a5 Videos: Assume "video/quicktime" mime type for .mov files #3008
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-23 02:02:47 +01:00
Michael Mayer
b346765d45 Videos: Add .m2ts to known file extensions #2899
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-16 13:53:30 +01:00
Michael Mayer
7c634a1f51 Index: Ignore paths starting with _. and __ like "__MACOSX" #2844
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-02 18:02:18 +01:00
Michael Mayer
9be52990fa Index: Don't ignore filenames starting with _, only _. #2844
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-02 17:23:59 +01:00
Michael Mayer
91774c4068 Security: Create new files without execution permission #2809
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 15:01:48 +01:00
Michael Mayer
3b9890e345 Config: Update options report, parameter names and tests
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-25 06:19:56 +02:00
Michael Mayer
2034110c5d HEIF/AVIF/DNG: Update file format descriptions in the UI #2726
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 16:37:47 +02:00
Michael Mayer
c51c95406c FS: Ignore folders starting with _ like "__MACOSX"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 11:54:46 +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
278ebd1c62 Images: Add AV1 Image File Format (AVIF) support #2706
AVIF can be converted

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-15 00:43:08 +02:00
dynm
1673bb05b4 Add Sony .HIF file extension
Sony HEIF uses the ".HIF" file extension.
2022-09-14 10:16:34 +02:00
Michael Mayer
fb921a4932 CLI: Generate thumbs for files in the sidecar folder #2669
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-31 18:53:04 +02:00
Michael Mayer
b072a18a17 Backend: Run "make fmt" with Go v1.19
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-10 16:09:21 +02:00
Michael Mayer
eba9fd701b Index: Check if the originals folder is empty before indexing #2299
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-01 17:08:46 +02:00
Michael Mayer
4a4c322779 Cleanup: Refactor deleting related sidecar files #2521
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-21 20:23:00 +02:00
Michael Mayer
58521190ba Zip: Fix potential filesystem permission and timing issues #2532
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-19 20:41:36 +02:00
Michael Mayer
a73ee48213 Import/Convert: Improve symbolic link handling to support files #1049
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-07 19:54:22 +02:00
Michael Mayer
5ec90a5fff Index: Skip redundant thumbs and support symbolic file links #1049 #1874
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-06 23:01:54 +02:00