Commit Graph

781 Commits (ab91783fa6711f0b167cbba5ad79214c0d4e4aa9)

Author SHA1 Message Date
Varun Patil 1309f6bcbd lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 17:12:04 -07:00
Varun Patil 2680284b05 Bump exiftool
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 03:49:39 -07:00
Varun Patil 402e12b287 places-setup: fix unlink warnings
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 02:19:15 -07:00
Varun Patil 917fccf0da nx: add more interfaces
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 19:59:58 -07:00
Varun Patil 0143148f61 explore: add new component
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 04:10:31 -07:00
Varun Patil 18e85006e7 nx: remove base render
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 01:12:18 -07:00
Varun Patil 9903885862 nx: base layout 2023-05-03 00:37:25 -07:00
Varun Patil 3c1d6cffdd lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 23:38:45 -07:00
Varun Patil 37abc991b1 big: remove initial state except for shares
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 22:52:00 -07:00
Varun Patil 80836d4e05 refactor: move admin out of other
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 20:31:47 -07:00
Varun Patil 4e5003457c refactor: remove unused var
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 20:29:45 -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 7e252fd56c binext: improve ffmpeg check
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-29 10:56:52 -07:00
Varun Patil 429c821fbf Support for recognize v3.8 (fix #618)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-28 22:29:10 -07:00
Varun Patil 7b8053652d download: cast fread len to int
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-27 10:27:33 -07:00
Varun Patil 968f7a9164 Allow duplicate live video files (close #594)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-25 14:50:48 -07:00
Varun Patil 081687838a video: catch bad request for json
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-25 13:48:25 -07:00
Varun Patil 0718a03ee0 db: use 1 for literals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 23:03:33 -07:00
Varun Patil 5eb6115680 binext: fix crash on non-existent exiftool
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 22:54:53 -07:00
Varun Patil a0f347806d db: use literals for literals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 22:07:58 -07:00
Varun Patil 34dc2263da tw: fix cleanup function
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 21:48:36 -07:00
Varun Patil 4b86dc96cc index: add stale cleanup (close #610)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 17:59:26 -07:00
Varun Patil fe8fb6b164 tw: use transaction for delete
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 16:58:34 -07:00
Varun Patil ad5a75b2f6 frmagick: orient before transformations (fix #609)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 14:33:22 -07:00
Varun Patil fec633e51b
Merge pull request #602 from dpjl/master
Add x-msvideo mime type
2023-04-24 13:08:46 -07:00
Varun Patil 6c28bc054e
Merge pull request #606 from llucax/fix-605
Avoid showing "Memories: Indexing process stopped before completion. Will continue on next run" as a warning
2023-04-24 13:06:46 -07:00
Varun Patil a8aaece932 binext: allow empty exiftool path (#601)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:48:18 -07:00
Varun Patil 13341ebbd3 binext: catch missing exiftool error (fix #601)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:42:54 -07:00
Varun Patil 0a79f30861 download: limit only videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:24:25 -07:00
Leandro Lucarella 94e9b616d2
Avoid showing "Memories: Indexing process stopped before completion. Will continue on next run" as a warning
An indexing cron job not finishing is just normal operation, so
we shouldn't emit a warning for it. This commit emits a info
instead when this happens.

While we are at it, we also emit a info message if the indexing
was successful.
2023-04-23 11:53:38 +02:00
dpjl 8e0ebce13d
Add x-msvideo mime type 2023-04-23 07:37:56 +02:00
Varun Patil 0abdb57f28 download: disable time limit
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 11:06:49 -07:00
Varun Patil 5e0af5a2e9 download: prevent buffer/gzip
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 10:52:42 -07:00
Varun Patil 0aa822c5e4 binext: use CRC for getTimeBin
Academic only, the performance difference between these is zero

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 01:13:15 -07:00
Varun Patil f833ddaac8 fs: minor variable name fix
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 01:10:28 -07:00
Varun Patil 48b417db0a index: add type hint for section
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:27:36 -07:00
Varun Patil 2d6ac784b3 doc: add comments to remaining exits
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:12:42 -07:00
Varun Patil 31e753c176 index: don't exit
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:11:54 -07:00
Varun Patil f9559ab990 lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:03:18 -07:00
Varun Patil fe766ce30e other: use direct for places setup
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:28:45 -07:00
Varun Patil 01c82dfe1b video: use guardExDirect for live photo
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:20:46 -07:00
Varun Patil 9ae10a68f1 video: use guardExDirect for transcode
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:04:42 -07:00
Varun Patil 67fccd0799 image: use guardExDirect for multipreview
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:02:23 -07:00
Varun Patil 3e6e8f9b14 download: do not exit (#597)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 11:33:54 -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 35754c36fa download: do not read excess (fix #592)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 16:44:19 -07:00
Varun Patil da192ee70e download: fix invalid destructuring in range (fix #590)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 16:32:29 -07:00
Varun Patil 7861ac6549 refactor: break up admin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 15:26:08 -07:00
Varun Patil 52e1901ffc fs: fix crash with .nomedia folder (fix #589)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 09:47:57 -07:00
Varun Patil aabaaef390 admin: include versions of bin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-18 14:02:34 -07:00
Varun Patil 475d6f69cd admin: device is not file (fix #577)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 09:31:54 -07:00
Varun Patil 529b9573d9 other: remove unused import
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 09:19:32 -07:00
Varun Patil 418cfb7e5c Bump up go-vod
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 00:39:02 -07:00
Varun Patil 2531854552 admin: add token to prevent too many actions
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 20:05:29 -07:00
Varun Patil 526559b672 place-setup: recalculate places
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 19:53:06 -07:00
Varun Patil 7a733d3d11 index: improve job message
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 18:47:26 -07:00
Varun Patil c3067dab91 index: add background job (close #110)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 18:07:57 -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 14011dc5fd public: allow empty foldersPath (fix #550)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:58:28 -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 c25dd6e640 albums: fix empty root check
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:46:26 -07:00
Varun Patil 5934ab4a11 Remove duplicate mime type
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:07:38 -07:00
Varun Patil 666da6e11d tq: check categoryid exists (fix #572)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 13:47:49 -07:00
Varun Patil d99647291a index: fix parallelization
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 12:58:29 -07:00
Varun Patil 9db4d6b8b9 frmagick: orient image
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:29:00 -07:00
Varun Patil 35e4402030 refactor: info
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:27:40 -07:00
Varun Patil 6b25ad6780 editor: improve edit propagation
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:13:58 -07:00
Varun Patil bb047d9418 editor: fix load after resize
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 10:52:54 -07:00
Varun Patil bc704e8221 frmagick: ensure correct colorspace
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 10:13:13 -07:00
Varun Patil 7e88bc4248 image: prevent overwrite on copy
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 00:05:41 -07:00
Varun Patil 967646572c imge: more updates
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 23:59:29 -07:00
Varun Patil 678c46b15e More on frmagick
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 23:51:05 -07:00
Varun Patil 9f62a23895 tw: acquire lock before processing
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 12:02:07 -07:00
Varun Patil 039115d8f4 index: move clean to finally
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 11:41:15 -07:00
Varun Patil 5fe7eb9be4 tw: don't catch and throw
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 11:32:02 -07:00
Varun Patil b4a80dff55 binext: add type cast
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:08:58 -07:00
Varun Patil 24fb01edd6 binext: add strict types
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:03:22 -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 3ada3d6510 Exclude mounts in nomedia
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 15:49:18 -07:00
Varun Patil 8ec21747f3 lint: fix php 2023-04-14 00:02:16 -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 9ab896989f tw: catch exeption not error
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:37:30 -07:00
Varun Patil cf8533968d cte: add brackets for clarity
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:20:23 -07:00
Varun Patil acb9f21414 Exclude nomedia with CTE (fix #185)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:16:48 -07:00
Varun Patil 04728a1d60 refactor: move CTE to trait
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 22:49:12 -07:00
Varun Patil a9b0f463a1 index: better output
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 22:24:01 -07:00
Varun Patil 86c3c260a1 Remove dead code
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 21:59:45 -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 7ab557093b bin-ext: scope by instance (also fix #559)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-11 11:52:12 -07:00
Varun Patil 3ffb9ad19d binext: add suffix to tempfile
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:45:42 -07:00
Varun Patil c39bca0278 places: fix error message
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:40:32 -07:00
Varun Patil 6d26fadfe6 binext: use realpath
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:38:07 -07:00
Varun Patil 5852102eb7 places-setup: add reindex note
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:23:01 -07:00
Varun Patil 42a5616860 cmd: remove unused constants
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:19:00 -07:00
Varun Patil e495dbfcb8 admin: add places-setup route
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:17:16 -07:00
Varun Patil 4871c2c2bc admin: fix checks of go-vod bin
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 17:57:57 -07:00