Eng Zer Jun
44f7700c0c
Enable module graph pruning and deprecate io/ioutil ( #1600 )
...
* Backend: Enable Go module graph pruning and lazy module loading
This commit applies the changes by running `go mod tidy -go=1.17` to
enable module graph pruning and lazy module loading supported by Go 1.17
or higher.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
* Backend: Move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-06 07:10:50 +02:00
Michael Mayer
f7153cdd21
People: Improve logging, command help, and handling of broken files #22
2021-10-05 18:42:39 +02:00
Michael Mayer
2e18c2ef9c
Metadata: Upgrade all go-exif image structure libs to v2 #1326 #1463
2021-08-19 13:28:12 +02:00
Michael Mayer
bc86997ba3
Backend: Replace gopkg.in/ugjka/go-tz with gopkg.in/photoprism/go-tz
...
Original package was archived and not maintained anymore.
2021-07-17 15:21:03 +02:00
Michael Mayer
4fcd009b8b
Metadata: Fix time zone for Quicktime videos #1388
...
Assume UTC, same as for MP4 videos.
2021-07-13 18:08:47 +02:00
Michael Mayer
c819e9159c
Metadata: Fix time zone for MP4 videos #1388
...
As it turned out, the exiftool -api QuickTimeUTC parameter converts
CreateDate to local time using the server's time zone. This doesn't
help as it's technically still a local time and not UTC. Had to
implement this manually in our Exiftool JSON parser for MP4 videos only.
2021-07-13 17:56:26 +02:00
Michael Mayer
513a7e9257
Exiftool: Fix CLI parameters and add tests #1388 #1401
2021-07-12 21:41:44 +02:00
Michael Mayer
e29e9977a9
UI: Add people tab to photo edit dialog #22
...
Work in progress. Buttons don't work yet.
2021-06-01 17:39:03 +02:00
Michael Mayer
365e582ffd
Backend: Upgrade dsoprea/go-exif and revert exif test assertion
...
see https://github.com/dsoprea/go-exif/issues/55
2021-05-14 18:24:10 +02:00
Michael Mayer
e10118a65f
Metadata: Merge keywords if priority is the same #1153
...
Also reduces length limit for latin words to 2 letters.
2021-05-04 15:02:54 +02:00
Michael Mayer
2d7becdbbc
Metadata: Add keywords tests #1153
2021-05-01 10:52:28 +02:00
Michael Mayer
6cbf0696c4
Metadata: Don't remove stopwords from keywords #1153
2021-04-30 17:37:37 +02:00
Michael Mayer
28c5c1be7b
Metadata: Upgrade dsoprea/go-exif
...
See https://github.com/dsoprea/go-exif/issues/55
2021-04-30 10:59:06 +02:00
Theresa Gresch
da6e948f31
Metadata: Add support for XMP sidecar CreateDate and Keywords ( #1161 )
...
* Metadata: Read title, description, date and keywords from apple xmp
* Metadata: Add testfiles and tests
* Metadata: Add support for XMP sidecar CreateDate and Keywords #1151
Co-authored-by: Michael Mayer <michael@lastzero.net>
2021-04-26 13:54:14 +02:00
Michael Mayer
180e46b95f
Frontend: Add Yellowstone theme, unlock Grayscale for everyone
2021-04-26 12:37:52 +02:00
Michael Mayer
27c106863d
Metadata: Merge existing keywords #1153
2021-04-25 14:17:34 +02:00
theresa
1532e6b748
Tests: Add test and testfiles for bug #1153
2021-03-25 11:45:32 +01:00
theresa
bc714059c3
Meta: Add charset=Ascii to unwanted descriptions
2021-03-24 14:24:24 +01:00
theresa
0192f976bc
Tests: Add tests for internal/meta
2021-02-25 16:03:07 +01:00
Michael Mayer
f7f0b8d17a
Metadata: Add unwanted descriptions
2021-02-21 17:54:26 +01:00
Michael Mayer
d42eb4e01b
Classify: Improve moments & location labels
2021-02-21 17:18:36 +01:00
theresa
d6f7601246
Meta: Add default to unwanted descriptions list
2021-02-17 09:47:15 +01:00
theresa
74663f53b0
Meta: Add binary comment to unwanted descriptions #1046
2021-02-15 17:25:22 +01:00
Michael Mayer
e12eac7b23
Metadata: Re-enable gopro camera model assertion in test #990 #1046
2021-02-15 16:40:47 +01:00
Michael Mayer
a78a5f6f48
Metadata: Add workaround for exif strings containing \n or \r
...
See: https://github.com/dsoprea/go-exif/issues/55
2021-02-13 18:11:44 +01:00
Michael Mayer
aacb524f1e
Add video transcoding support to convert command #703
2021-02-11 21:37:44 +01:00
Michael Mayer
8b361093be
Metadata: Upgrade Go dependencies #990
2021-02-05 09:45:28 +01:00
Michael Mayer
67259fbca6
Metadata: Add "SAMSUNG CAMERA PICTURES" to unwanted descriptions
2021-01-27 12:13:09 +01:00
Michael Mayer
24f8c1acfa
Metadata: Add strings to unwanted descriptions in sanitize.go
2021-01-27 12:00:56 +01:00
Michael Mayer
9ec2381307
Update copyright after year change
2021-01-01 22:37:25 +01:00
Michael Mayer
8e22fbf8f6
Metadata: Store and compare data source for details #755
2020-12-31 13:51:31 +01:00
Michael Mayer
8cfabe3205
Metadata: Cache ExifTool JSON by original file hash #755 #759
2020-12-30 13:33:47 +01:00
Michael Mayer
d430ae24ee
Indexer: Fix JSON sidecar creation using Exiftool
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-25 20:29:06 +01:00
Michael Mayer
837fc495f9
Metadata: Ignore invalid Exif GPS coordinates #736
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-23 18:43:52 +01:00
Michael Mayer
b433c630ed
Metadata: Fix negative time offsets in timestamps with zone #727
2020-12-22 09:43:19 +01:00
Michael Mayer
8859a23fd8
Metadata: Add iPhone X mov example JSON file #727
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-22 09:28:52 +01:00
Michael Mayer
2ed6880270
Metadata: Add support for CreationDate in ExifTool JSON files #727
2020-12-22 07:47:16 +01:00
Michael Mayer
bc535b6248
Metadata: Support time zones in ExifTool JSON files #727
2020-12-22 01:52:36 +01:00
Michael Mayer
473566f404
Videos: Enforce transcoding to MPEG-4 AVC #603
2020-12-12 17:20:31 +01:00
Michael Mayer
604f110277
Metadata: Add test case for bad Exif rotation #637
2020-12-05 00:46:54 +01:00
Michael Mayer
c4a94f8135
Indexer: Update changed Exif metadata #563
2020-12-04 22:06:23 +01:00
Michael Mayer
902aacece9
Indexer: Merge identical photos (stack files) #576
2020-12-04 19:51:51 +01:00
Michael Mayer
25e88bb1fc
Use mutex when extracting Exif metadata #600
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-11-21 23:43:53 +01:00
Michael Mayer
5daa689975
Backend: Format go imports
2020-11-21 18:08:41 +01:00
Theresa Gresch
67287a2d57
Backend: Add testdata
2020-10-27 09:30:20 +01:00
Theresa Gresch
c72ddbedcb
Backend: Add unit tests
2020-10-20 10:07:27 +02:00
Michael Mayer
5bafb17c4b
Metadata: Sanitize keywords, subject & artist #490
...
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-19 11:50:54 +02:00
Michael Mayer
2e51e84605
Backend: Index camera make & model for video files #506
2020-10-04 12:47:53 +02:00
Phil Davis
c90f19ec21
Fix minor typos
2020-10-01 16:00:43 +05:45
Theresa Gresch
c5b657ba05
Merge pull request #503 from nvllsvm/optimize
...
Optimize images
2020-09-30 10:48:40 +02:00