Commit Graph

94 Commits (321f387d3f1cccf363f13c01a0905730e261352d)

Author SHA1 Message Date
Varun Patil 294feef80b exif: write in-place
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-11-24 13:18:47 -08:00
Varun Patil 8c16eecc11 edit-meta: add rotate
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-11-01 18:45:24 -07:00
Varun Patil 3be478b8ce edit-meta: fail fast for forbidden mimes
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-30 12:50:11 -07:00
Varun Patil 2904aa6aa4 exif: suppress Perl language warning
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-22 14:49:41 -07:00
Varun Patil d8f327141f exif: add null check for MIMEType
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-22 12:09:00 -07:00
Varun Patil 4be31f19d5 refactor: reduce array_key_exists
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-22 11:56:29 -07:00
Varun Patil bd2101e7bb refactor: PHP 8 syntax migration
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 12:46:35 -07:00
Varun Patil 465c5f2597 php-cs: add more rules
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 19:20:21 -07:00
Varun Patil 3fddf35415 refactor: fix psalm info things
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 02:07:18 -07:00
Varun Patil 71ef41f763 refactor: add psalm
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 01:25:50 -07:00
Varun Patil 20d049f160 lp: support Samsung HEIC
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 23:51:52 -07:00
Varun Patil 686b399363 exif: only extract unknowns for lp
This is extremely slow for big MKV files, for example

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 16:44:03 -07:00
Varun Patil ce78d81d77 exif: fix buid definition
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:34:15 -07:00
Varun Patil 96ff22325f nx: implement buid
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:09:43 -07:00
Varun Patil a14f2febb6 exif: fix mtime zone
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 08:45:44 -07:00
Varun Patil 679538e6df exif: remove useless byrefs
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 12:26:17 -07:00
Varun Patil 23843c3ded exif: resume on failure to get file (fix #820)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 18:52:03 -07:00
Varun Patil 290c550f2f native: implement AUID
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-20 23:07:07 -07:00
Varun Patil 1e881fb93b exif: turn on LFS (close #713)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-30 10:40:17 -07:00
Varun Patil 2fda196cbf exif: prevent original duplicates on edit (fix #699)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-26 14:39:25 -07:00
Varun Patil f8eaa75b8e exif: fix set with unicode names
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-30 20:55:17 -07:00
Varun Patil 1ec29d83eb lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-27 21:23:54 -07:00
Varun Patil 7b027a1fe9 metadata: fix display of mtime (fix #666)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-27 17:10:20 -07:00
Varun Patil ca8e447409 exif: always call proc_close (#663)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-25 11:00:27 -07:00
Varun Patil c5deb0baa0 exif: prefer CreateDate for all videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-30 04:57:39 -07:00
Varun Patil 289317bbc6 exif: fix timezone parsing for Apple Quicktime
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-30 04:22:22 -07:00
Varun Patil 1013076051 exif: prevent stay_open zombies
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-29 11:27:59 -07:00
Varun Patil 4239e05b3c lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 17:49:30 -07:00
Varun Patil 0e5f058af9 exif: blacklist invalid date (fix #539)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 17:37:35 -07:00
Varun Patil 265c0f795c refactor: move utils to Util from Exif
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 16:03:59 -07:00
Varun Patil 83be3c93b1 sec: better path sanitization
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:58:11 -07:00
Varun Patil 7245511bd2 refactor: move binext to service
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:02:13 -07:00
Varun Patil 5438223b29 tw: drop invalid GPS data
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 00:02:04 -07:00
Varun Patil a611169e7d Restore refresh command
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 21:59:01 -07:00
Varun Patil 641574ccd2 index: move to service (partial)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 19:43:13 -07:00
Varun Patil 5c5eef1ff4 add binext
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:01:29 -07:00
Varun Patil 3b24a62ba0 exif: use location for timezone
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 17:52:03 -07:00
Varun Patil 86ceaf7bb2 exif: improve date parsing
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 15:26:08 -07:00
Varun Patil 0c17d7e209 exif: ignore all invalid dates
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 12:47:24 -07:00
Varun Patil 78d063eed6 refactor: fs manager
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 14:45:56 -07:00
Varun Patil e356a8c2d9 deps: bump up exiftool
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-21 11:05:10 -07:00
Varun Patil 17c494e5f9 takeout: minor fixes
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 01:11:13 -07:00
Varun Patil 2441d5f556 edit-meta: forbid some types e.g. mts
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 00:12:18 -07:00
Varun Patil 695b5c54ec exif: support more cases in date parsing (fix #485)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 10:51:33 -07:00
Varun Patil be98777880 exif: refactor args to const 2023-02-24 09:28:57 -08:00
Varun Patil 63ecdf30a2 exif: ignore invalid values (fix #420) 2023-02-23 21:19:09 -08:00
Varun Patil f8919306f5 exif: remove timezone from CreateDate
Supercedes #397
Closes #405

Contributed by @AndreAle94
2023-02-11 07:41:11 -08:00
Varun Patil d93a072e3d Revert "Refactor date taken extraction logic"
This reverts commit 0e345b1592.
2023-02-11 07:34:47 -08:00
Andrea Alemani 0e345b1592 Refactor date taken extraction logic 2023-02-09 10:32:03 -08:00
Varun Patil 457ac16db1 livephoto: multiple trailers in Google (fix #373) 2023-01-26 10:50:41 -08:00