Commit Graph

898 Commits (278b2458b33d08415276a182257b3bf06bd6dadd)

Author SHA1 Message Date
Raymond Huang 60ee600c52 refactor: program as a transform insstead of duplication 2023-02-01 11:54:35 +08:00
Varun Patil ecc6510713 video: ensure no trailing slash in govod temp dir 2023-01-31 19:39:57 -08:00
Varun Patil 8ff3bf0f4d video: create go-vod temp dir (fix #353) 2023-01-31 19:37:39 -08:00
Varun Patil 6261ffd35a fix: clear temp fies during index (fix #355) 2023-01-31 19:14:52 -08:00
Varun Patil d6fba7e4a9 write: check array keys for exif filter (fix #381) 2023-01-28 08:53:01 -08:00
Varun Patil 25318b9402 write: fix getLivePhotoId call 2023-01-26 11:52:19 -08:00
Varun Patil 457ac16db1 livephoto: multiple trailers in Google (fix #373) 2023-01-26 10:50:41 -08:00
Raymond Huang 2097f26d17 style: apply prettier lint 2023-01-26 12:51:42 +08:00
Raymond Huang ea8d08eba7 style: apply php-lint 2023-01-26 08:48:17 +08:00
Raymond Huang 2bc2c50bee fix: call withBound function in preloadDays 2023-01-26 07:23:46 +08:00
Raymond Huang 68a39918b5 feat: show photos taken in locations visible in map 2023-01-26 02:41:55 +08:00
Varun Patil c59066ce0e write: filter EXIF fields with whitelist (fix #367) 2023-01-22 16:51:26 -08:00
Varun Patil a4f276b605 util: use 9 for SIGKILL (#360) 2023-01-21 09:01:50 -08:00
Varun Patil b9722e925c download: fix wrong user context in one (fix #361) 2023-01-21 08:53:48 -08:00
Varun Patil 0fae4d1ba9 Tab -> Space 2023-01-20 10:50:48 -08:00
Varun Patil 810fc69c5b video: reword QSV to VAAPI (#351) 2023-01-19 10:40:07 -08:00
Varun Patil b9a846603b base: add type cast to album check (#346) 2023-01-18 11:32:13 -08:00
Varun Patil 134a1bd898 image: touch file on exif change (fix #282) 2023-01-18 10:34:34 -08:00
Varun Patil fbbfbf18ec folder: fixes for timeline view 2023-01-17 21:18:27 -08:00
Varun Patil 1b14fc4901 Merge branch 'feat/recursive-folder' of https://github.com/keyeh/memories into keyeh-feat/recursive-folder 2023-01-17 21:09:48 -08:00
Varun Patil b18a098f47 index: allow cleaning up orphans (fix #326) 2023-01-17 20:52:26 -08:00
Varun Patil 62ae3c910a download: use unified API for single file stream 2023-01-17 19:55:17 -08:00
Varun Patil 0b40d80854 video-setup: add null check for ffmpeg (#345) 2023-01-17 19:11:20 -08:00
Varun Patil 8bd1834214 refactor: page controller csp together 2023-01-17 19:09:02 -08:00
Varun Patil 24a3b8c638 Fix album public link (fix #344, fix #274) 2023-01-17 19:02:00 -08:00
Varun Patil 816294b591 album: fix sharing with group (fix #329) 2023-01-15 14:43:48 -08:00
Varun Patil 892abe81cc album: cast id to int (fix #292) 2023-01-15 13:50:32 -08:00
Kevin Yeh c42825daad Merge branch 'master' into feat/recursive-folder 2023-01-05 10:19:41 -08:00
Varun Patil 5ce8e1d438 util: fix pkill when no process 2023-01-04 12:47:10 -08:00
Varun Patil 33a14932c4 Fix header title on public share (fix #323) 2023-01-04 12:38:44 -08:00
Varun Patil 6a0a3a370e Remove usage of pkill (fix #286) 2023-01-04 12:32:36 -08:00
Varun Patil 37a26b8c31 write: cast video duration to float before round 2022-12-22 10:49:28 -08:00
Varun Patil 70f3fbaea1 cmd: catch all indexing errors 2022-12-22 10:49:06 -08:00
Varun Patil a9dca58c98 Fix exiftool version 2022-12-21 11:25:00 -08:00
Varun Patil 057795b186 download: add UseSession annotation 2022-12-08 14:40:31 -08:00
Varun Patil 1204982c0b multipreview: check params 2022-12-08 13:37:55 -08:00
Varun Patil 141a9fe4a4 php: lint docs 2022-12-08 13:08:38 -08:00
Matias De lellis aeffe628f2 Integration with facerecognition 2022-12-08 13:07:14 -08:00
Varun Patil 6707050883 lint: php 2022-12-07 15:46:52 -08:00
Varun Patil 0f31f845fb big: add multipreview 2022-12-07 15:33:47 -08:00
Varun Patil 95925c20e8 lint: php 2022-12-06 11:53:43 -08:00
Varun Patil 56df346c92 download: fix zip file name 2022-12-06 11:53:31 -08:00
Varun Patil 2011433536 albums: add download menu 2022-12-06 11:38:57 -08:00
Varun Patil 67cc205288 download: switch to unified API (fix #259, fix #262)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2022-12-06 11:02:53 -08:00
Varun Patil ceb2365cf5 lint: php 2022-12-04 20:05:05 -08:00
Varun Patil c6a4b4e3e9 days: remove rootid from response 2022-12-04 20:04:48 -08:00
Varun Patil 604371c5cd tag: design update 2022-12-04 18:52:29 -08:00
Varun Patil d9c6d0a597 general: fix use of deprecated get methods 2022-12-04 09:57:31 -08:00
Varun Patil 355b74e19b general: reduce more DI 2022-12-04 09:47:10 -08:00
Varun Patil 4c2bc5a675 general: reduce some DI 2022-12-04 09:33:20 -08:00
Varun Patil 04614b9c6e base: uppercase getUid 2022-12-04 09:22:59 -08:00
Varun Patil d8af8ae3ba base: validate no-read shares 2022-12-04 09:20:46 -08:00
Varun Patil 93da22e0fa image: don't interlace jpeg 2022-12-03 09:07:08 -08:00
Varun Patil 5a54c1217b video: remove useless ob_flush call 2022-12-03 00:19:57 -08:00
Varun Patil 0ce283561e tq: fix davPaths warning 2022-12-03 00:14:29 -08:00
Varun Patil 4f81eadb9b albums: fix collabs table on 2.0.1 2022-12-02 23:54:09 -08:00
Varun Patil e2919ff2d4 exif: store w/h for high-res images 2022-12-02 23:50:33 -08:00
Varun Patil e60d97ae5e video: allow transcoding everywhere 2022-12-02 22:23:43 -08:00
Varun Patil 874258dae9 livephoto: allow access for folder shares 2022-12-02 21:53:30 -08:00
Varun Patil 1866ce5dfa preview: fix for shared album 2022-12-02 21:42:52 -08:00
Varun Patil 6b1cb41c25 share: hide download button if needed (fix #273) 2022-12-02 21:25:24 -08:00
Varun Patil 0e17ef69a9 preview: increase efficiency 2022-12-02 21:11:09 -08:00
Varun Patil db125b5298 preview: use unified preview API 2022-12-02 21:04:31 -08:00
Varun Patil df0272e95d refactor: use args for controller query params 2022-12-02 20:48:55 -08:00
Varun Patil a59860e654 Fix lint 2022-12-02 20:42:39 -08:00
Varun Patil 63059ecba2 share: check password in API calls 2022-12-02 20:29:34 -08:00
Varun Patil 719022848b refactor: add getShareNode to ApiBase 2022-12-02 20:21:34 -08:00
Varun Patil 6db1752359 apibase: check share readable 2022-12-02 20:12:21 -08:00
Varun Patil 1a9d229b95 general: add unified file get API 2022-12-02 20:07:06 -08:00
Varun Patil 22d20756d7 albums: don't pass connection for no reason 2022-12-02 19:23:29 -08:00
Varun Patil 145d6affdd Interlace output jpeg 2022-12-02 19:08:53 -08:00
Varun Patil 474090017c tags: make sorting case-insensitive (fix #271) 2022-11-30 06:31:45 -08:00
Varun Patil 9a958a65b7 Use mov for livephoto transcodes 2022-11-29 14:21:34 -08:00
Varun Patil 1f60010f6f video: refactor transcoder starter 2022-11-29 14:16:59 -08:00
Varun Patil 5550551e8a Use client id for live photo transcodes 2022-11-29 14:09:48 -08:00
Varun Patil 15997dc793 Add GPU transcoding for NVIDIA (fix #194) 2022-11-29 14:03:37 -08:00
Varun Patil f5cfa095ce livephoto: transcode Apple for HEVC (fix #234) 2022-11-29 13:31:06 -08:00
Varun Patil 8adedd1885 video: abort curl on termination 2022-11-29 13:00:54 -08:00
Varun Patil a982416712 video: stream directly to browser 2022-11-29 11:11:03 -08:00
Varun Patil 240ca8a2b5 lint: fix whitespace 2022-11-29 09:04:09 -08:00
Varun Patil 7458478f93 Fix albums for Photos v2.2.0 2022-11-29 08:57:03 -08:00
Varun Patil e2e5375e53 General cleanup 2022-11-28 15:19:26 -08:00
Varun Patil 09be416802 lint: add missing whitespace 2022-11-28 06:11:19 -08:00
Varun Patil 7862d28dc1 faces: skip invalid face images (#230) 2022-11-28 06:00:55 -08:00
Kevin Yeh 069db130a7 feat: recursive folder view 2022-11-25 19:51:05 -08:00
Varun Patil 94516d183b Prevent log spam when missing mime (#258) 2022-11-25 07:36:23 -08:00
Varun Patil 4a80d94cb0 Fix double slash in filename (#242) 2022-11-24 07:52:19 -08:00
Varun Patil 876cfac192 exif: increase timeout to 30s 2022-11-24 03:18:35 -08:00
Varun Patil e5cc14bad0 index: use realpath for test file 2022-11-24 03:13:34 -08:00
Varun Patil 2537239af2 Catch all processing errors (#250) 2022-11-24 03:04:41 -08:00
Varun Patil f7c89e8789 Improve php typings 2022-11-23 18:28:34 -08:00
Varun Patil b81d9c1df6 Delete livephoto entries on deletion 2022-11-23 10:40:41 -08:00
Varun Patil 271dd5b230 PHP lint fix 2022-11-23 04:53:16 -08:00
Varun Patil d954c9422f refactor: video controller live 2022-11-23 01:49:43 -08:00
Varun Patil 573f5c3fad Truncate livephoto on clear 2022-11-23 01:49:00 -08:00
Varun Patil 92d6d9a5e2 Fix video-setup checks (fix #223) 2022-11-23 01:38:36 -08:00
Varun Patil 776758bd68 cmd: make parseFolder args float (#238) 2022-11-23 01:25:07 -08:00
Varun Patil 6a9c95a67e Revert "release: v4.8.0"
This reverts commit d81887bf65.
2022-11-22 09:42:31 -08:00
Varun Patil d81887bf65 release: v4.8.0 2022-11-22 09:39:45 -08:00
Varun Patil 9fe31c87b6 livephoto: fix iOS deletion 2022-11-22 09:19:31 -08:00
Varun Patil 799a39f968 livephoto: add Google and Samsung support 2022-11-22 08:54:19 -08:00
Varun Patil 71323da83a Lint php 2022-11-22 06:30:24 -08:00
Varun Patil c3ddd4087f livephoto: add video download button 2022-11-22 06:27:10 -08:00
Varun Patil 48fabeb445 livephoto: return video 2022-11-22 03:35:20 -08:00
Varun Patil aded4275d1 livephoto: add API to get video 2022-11-22 03:31:31 -08:00
Varun Patil ffbde874d4 Separate apple livephoto video part 2022-11-22 03:10:25 -08:00
Varun Patil 8358c74abb Strip Nikon shotinfo 2022-11-22 02:46:48 -08:00
Varun Patil 6c74fdf340 video-setup: don't overwrite manually configured transcoder (#224) 2022-11-21 02:43:03 -08:00
Varun Patil 0315668e28 lint: fix php 2022-11-21 02:38:12 -08:00
Varun Patil 83650482da Explicitly detect ffmpeg path (fix #212) 2022-11-21 02:34:57 -08:00
Varun Patil 81bceb9334 Lint PHP 2022-11-21 02:18:06 -08:00
Varun Patil 08ce081a96 Merge branch 'patch-1' of https://github.com/eltos/memories into eltos-patch-1 2022-11-21 02:16:03 -08:00
Varun Patil cf4ae6a84a Allow server-side encryption
Close #175. Close #99. Squashed commit of the following:

commit 7c5e11dded8aff22b77bb3d01233350f86af04f4
Author: Varun Patil <varunpatil@ucla.edu>
Date:   Mon Nov 21 02:12:34 2022 -0800

    Fix lint

commit b421a6d61c1143aac38d954bee032f582b71b492
Merge: 9e91d1d 019cdd3
Author: Varun Patil <varunpatil@ucla.edu>
Date:   Mon Nov 21 02:11:37 2022 -0800

    Merge branch 'eltos-patch-99' of https://github.com/eltos/memories into eltos-eltos-patch-99

commit 019cdd31f2
Author: eltos <eltos@outlook.de>
Date:   Sat Nov 19 18:32:36 2022 +0100

    Check for e2e encryption before indexing

commit 5078d986da
Author: eltos <eltos@outlook.de>
Date:   Sat Nov 19 18:28:57 2022 +0100

    Check for e2e encryption when changing exif data

commit 1167365f7e
Merge: d465400 e210c32
Author: Philipp Niedermayer <eltos@outlook.de>
Date:   Sat Nov 19 15:52:58 2022 +0100

    Merge branch 'pulsejet:master' into eltos-patch-99

commit d465400969
Author: Philipp Niedermayer <eltos@outlook.de>
Date:   Mon Nov 7 22:21:20 2022 +0100

    Allow server-side encryption

    See https://github.com/pulsejet/memories/issues/99
2022-11-21 02:13:43 -08:00
Varun Patil 9e91d1d435 write: check encoded json (fix #220) 2022-11-21 01:43:17 -08:00
Philipp Niedermayer 5ea35fb36a Report progress during indexing
Besides adding a percentage progress, this also exploits the ConsoleSectionOutput capability of Symfony to simplify the carriage return gymnastics and to fix it for paths exceeding the console window width.
2022-11-19 22:58:41 +01:00
Varun Patil cc7567aca3 exif: exclude binary fields 2022-11-16 03:24:59 -08:00
Varun Patil c75e94108c Store unknown exif fields 2022-11-16 03:05:48 -08:00
Varun Patil 579984041a albums: fix for multipath 2022-11-16 02:35:17 -08:00
Varun Patil c3f874d4b4 PHP Lint 2022-11-16 02:30:51 -08:00
Varun Patil c1ae720656 archive: fix for multipath 2022-11-16 02:30:18 -08:00
Varun Patil 0a0d1d9e52 Fix duplicate folders in CTE response 2022-11-16 01:49:03 -08:00
Varun Patil 3154de7ac9 Select rootid only for day query 2022-11-16 01:17:01 -08:00
Varun Patil cd3fb4b897 Fix rootid warning 2022-11-16 00:23:57 -08:00
Varun Patil bd89c9d355 Fix some errors 2022-11-16 00:16:07 -08:00
Varun Patil a6ef3ac9bf Add support for multiple timeline paths 2022-11-16 00:16:01 -08:00
Varun Patil d9afbbe710 Refactor all calls to use TimelineRoot 2022-11-15 23:45:01 -08:00
Varun Patil e9f67b24e6 Lint PHP 2022-11-15 21:45:52 -08:00
Varun Patil c41ad9549a Fix archive logic for mounts 2022-11-15 21:45:32 -08:00
Varun Patil 46ac8cf55e Fix archive rootid 2022-11-15 21:22:40 -08:00
Varun Patil 0c6d5a57b5 Fix filename of recursive mounts 2022-11-15 21:05:11 -08:00
Varun Patil f1e9765814 folders: fix byref error (fix #207) 2022-11-15 18:29:26 -08:00
Varun Patil 34340de5f1 big: recurse all mountpoints in timeline path 2022-11-15 07:12:27 -08:00
Varun Patil 5f59183726 Add more permissions checks 2022-11-15 05:40:46 -08:00
Varun Patil 8d6e49da7d php-lint 2022-11-15 02:39:15 -08:00
Varun Patil 220a685bf6 Allow specifying ff* path (fix #201) 2022-11-15 02:27:20 -08:00
Varun Patil 39daae1cb7 Make sure transcoder is executable (fix #193) 2022-11-14 00:24:23 -08:00
Varun Patil 139136d3c0 folder-share: use public template (fix #192) 2022-11-13 18:28:43 -08:00
Varun Patil ce0fcc8210 PHP lint fix 2022-11-11 18:26:02 -08:00
Varun Patil b93d613fab video-setup: improve docs 2022-11-11 18:24:37 -08:00
Varun Patil ce6afddc4f IMDB LMAO 2022-11-11 02:49:02 -08:00
Varun Patil c61edac55d Fix error in info 2022-11-10 22:39:52 -08:00
Varun Patil 09e0929096 Lint fixes 2022-11-10 22:22:06 -08:00
Varun Patil b14a01962f Add repair steps 2022-11-10 22:18:15 -08:00
Varun Patil 782a1143da release: v4.7.0-alpha.4 2022-11-10 22:02:33 -08:00
Varun Patil 6b566b34e0 Switch to go-vod 2022-11-10 21:25:26 -08:00
Varun Patil 515f0c48eb editor: heic 2022-11-09 22:43:58 -08:00
Varun Patil 0074647b21 apibase: fix getuserfile 2022-11-09 22:34:58 -08:00
Varun Patil 8a002ac331 Add missing annotations 2022-11-09 22:24:38 -08:00
Varun Patil 11afad852b Lot of de-duplication 2022-11-09 22:19:44 -08:00
Varun Patil 5519020c2a editor: use b64 for save 2022-11-09 21:55:14 -08:00
Varun Patil 0dc4784f1a Restore metadata after image edit (fix #174) 2022-11-09 21:39:13 -08:00
Varun Patil 06d226432f timeline: show video duration 2022-11-09 19:48:03 -08:00
Varun Patil faa0866229 video: curl use IP 2022-11-09 13:05:05 -08:00
Varun Patil c85e8870b7 videoc: escape path 2022-11-09 12:59:55 -08:00
Varun Patil 9d5a431c07 Add QSV env var 2022-11-09 06:21:17 -08:00
Varun Patil c10ad711f7 chmod on go-transcode 2022-11-09 03:21:50 -08:00
Varun Patil 567d20a165 Add transcode checks 2022-11-09 02:42:42 -08:00
Varun Patil bae6662e37 Start transcoding server 2022-11-09 02:26:51 -08:00
Varun Patil 007a8c3f4f More batteries 2022-11-09 01:23:12 -08:00
Varun Patil c41854e141 Lint 2022-11-09 00:52:44 -08:00
Varun Patil 3229ee32f0 video: minor tweaks 2022-11-08 23:48:30 -08:00
Varun Patil dc89f0e95b video: find file in user folder 2022-11-08 23:02:32 -08:00
Varun Patil 8a16deeec4 hls: initial commit 2022-11-08 20:08:30 -08:00
Varun Patil 0b4ee8348b osm 2022-11-07 16:26:56 -08:00
Varun Patil 134c95d35a metaview: add loc 2022-11-07 15:49:50 -08:00
Varun Patil 0fbe35db7d Return exif in info call 2022-11-07 13:25:52 -08:00
Varun Patil 1d65a6dabe Store exif meta in db 2022-11-07 13:13:16 -08:00
Varun Patil 0576b28f5c Print per-file in index 2022-11-07 12:46:43 -08:00
Varun Patil 64c96d0f2a Restore CSRF check 2022-11-06 20:50:13 -08:00
Varun Patil 5ce70faee1 php-lint 2022-11-06 20:49:33 -08:00
Varun Patil 6f3cb99ddb Hide folders without photos (fix #163) 2022-11-06 20:48:10 -08:00
Varun Patil cb04070a92 Allow password protected folder shares (fix #165) 2022-11-06 19:36:11 -08:00
Varun Patil 6d65db6861 viewer: unload upstream 2022-11-06 12:28:58 +05:30
Varun Patil 9fb2ba6d05 Sort albums ascending (fix #130) 2022-11-03 15:44:52 -07:00
Varun Patil 80a76a5a48 Group months in album 2022-11-03 15:39:48 -07:00
Varun Patil 66ff46cc84 Lint with latest fixer 2022-10-31 23:35:14 -07:00
Varun Patil c640101c32 Specify char length in migration (postgres) 2022-10-31 23:21:01 -07:00
Varun Patil 8698197ed5 Group by ID in tags (postgres) 2022-10-31 23:15:39 -07:00
Varun Patil 47461c9a8c Single quote for string in SQL 2022-10-31 22:59:14 -07:00
Varun Patil 922e9a5c51 Store fileid as string (objectid) for tags (#118) 2022-10-31 20:56:26 -07:00
Varun Patil defa30f547 Remove hardcoded mimetype (fix #136) 2022-10-31 20:21:21 -07:00
Varun Patil c98edeeb00 Get rid of stream copy (close #60, close #134) 2022-10-30 21:18:39 -07:00
Varun Patil 4b75118f3c Truncate for clear instead of delete 2022-10-29 21:28:42 -07:00
Varun Patil af5ace8eba Use PATH perl (#135) 2022-10-29 21:23:20 -07:00
Varun Patil afa4f0cc72 Refactor page routes 2022-10-29 11:09:38 -07:00
Varun Patil f0e89f4056 Reorganize API controller 2022-10-29 11:05:05 -07:00
Varun Patil 705cb4fdbd cmd: don't pass schema byref 2022-10-28 23:00:56 -07:00
Varun Patil 7dd758ee4d Remove album folder in day call 2022-10-28 22:44:16 -07:00
Varun Patil 2c40f8d57e Fix filename for shared folders 2022-10-28 18:29:28 -07:00
Varun Patil cd2f714e92 Include filename in days 2022-10-28 18:11:58 -07:00
Varun Patil 9209b8f55d Add basic folder share stuff 2022-10-28 17:25:39 -07:00
Varun Patil f2d61c3e07 Fix shared album photo viewing 2022-10-28 14:26:56 -07:00
Varun Patil 2c1ad8ce2c Don't store invalid dims (#129) 2022-10-28 09:48:08 -07:00
Varun Patil d5f5334a50 Lint php 2022-10-27 13:57:00 -07:00
Varun Patil 1af61db512 Add photos version check 2022-10-27 13:45:03 -07:00
Varun Patil a0d757adfc Use separate tag preview endpoint 2022-10-27 13:26:51 -07:00
Varun Patil 46eb0fd97a Fix debug fun 2022-10-27 12:58:47 -07:00
Varun Patil de845bd543 Speed up tags 2022-10-27 12:54:51 -07:00
Varun Patil 759076c4ac Use INNER JOIN for CTE 2022-10-27 09:19:25 -07:00
Varun Patil 86660056bb Check photos version for albums 2022-10-27 02:39:44 -07:00
Varun Patil 038ba2eb87 Add shared albums 2022-10-27 02:36:20 -07:00
Varun Patil 9afd99de2a Lint php 2022-10-27 00:53:44 -07:00
Varun Patil 9891a03d9e Add album create dialog 2022-10-27 00:11:35 -07:00
Varun Patil c9a2c8a021 Add album form 2022-10-26 23:37:56 -07:00
Varun Patil 8d97dc7914 Add albums transform 2022-10-26 21:33:37 -07:00
Varun Patil 50bb55536f albums: add list 2022-10-26 21:33:37 -07:00
Varun Patil 294b3b8a0c albums: initial commit 2022-10-26 21:33:37 -07:00
Varun Patil 524c029134 Make day preload lighter 2022-10-26 15:18:18 -07:00
Varun Patil dffd84ba20 Add link to maps (fix #121) 2022-10-26 11:58:06 -07:00
Varun Patil bf04221a0a Fix invalid type of excludedFolderIds 2022-10-26 11:13:58 -07:00
Varun Patil 9ddab71370 Use single query for day preload 2022-10-26 11:10:24 -07:00
Varun Patil d43fd807f9 Convert folderIds to int 2022-10-26 10:51:43 -07:00
Varun Patil 15db6da859 Pass only var by ref 2022-10-26 10:40:33 -07:00
Varun Patil cfeebbf4fa perf: add indices (#114) 2022-10-26 10:06:45 -07:00
Varun Patil 6d8f06c885 tag: get rid of windowing 2022-10-26 09:31:27 -07:00
Varun Patil 8a9f9fd0df Lint fix 2022-10-25 11:48:54 -07:00
Varun Patil 6e01d64311 Improve console output 2022-10-25 10:49:42 -07:00
Varun Patil 397aeb91e8 command: minor output fix 2022-10-25 10:35:21 -07:00
Varun Patil 2ece006f0d Rewrite console line 2022-10-25 10:30:17 -07:00
Varun Patil 58e3b87cc4 Only check images for preview 2022-10-25 10:25:26 -07:00
Varun Patil 02becf6766 Print info on file type support 2022-10-25 10:20:50 -07:00
Varun Patil 211519ddde Add start page (fix #109) 2022-10-24 21:30:43 -07:00
Varun Patil 9bc8378207 Enable RAW support (fix #107) 2022-10-24 17:57:12 -07:00
Varun Patil 506ea05d8b Add preview generator check to write 2022-10-24 17:47:25 -07:00
Varun Patil 69184e0bb0 Lint migration 2022-10-24 17:45:08 -07:00
Varun Patil 17c7e8db7c Remove filecache index 2022-10-24 17:28:42 -07:00
Varun Patil fac08ae96d Switch to CTE 2022-10-24 17:14:50 -07:00
Varun Patil 42d00807ec Whitelist more special chars in path (fix #108) 2022-10-24 15:50:22 -07:00
Varun Patil f2367ac7b7 Don't join facerect for days (#105) 2022-10-24 09:21:38 -07:00
Varun Patil 44ac291457 Fix lint 2022-10-22 15:07:08 -07:00
Varun Patil 4a4430b3bb Make sure ldd output isn't null (#92) 2022-10-22 14:53:26 -07:00
Varun Patil d8fea76992 chmod exiftool in Exif.php 2022-10-22 14:47:49 -07:00
Varun Patil 8a624eab95 Fix lint error 2022-10-22 10:59:54 -07:00
Varun Patil d296d6d8e9 Use dot in configs 2022-10-22 10:45:20 -07:00
Varun Patil fc2ddcd24e Add readonly mode 2022-10-22 10:41:34 -07:00
Varun Patil 488ad4f574 tq: fix ambiguous column name 2022-10-22 08:40:41 -07:00
Varun Patil 67974878d9 Lint PHP 2022-10-20 20:53:38 -07:00
Varun Patil ae5e24c74a Improve face scoring 2022-10-20 20:52:47 -07:00
Varun Patil 8e45118d62 Lint php 2022-10-20 14:05:01 -07:00
Varun Patil 9e0398ba8f Also bundle perl script 2022-10-20 13:41:34 -07:00
Varun Patil d251cd809e Bundle exiftool 2022-10-20 12:31:12 -07:00
Varun Patil 593f0cea31 Add support for memes from the 90s
MIMEs test by @illnesse (#83)
2022-10-19 16:06:32 -07:00
Varun Patil 25d787f419 Allow setting folder base path (close #85) 2022-10-19 12:26:32 -07:00
Varun Patil fcd8c4c388 More lint 2022-10-19 10:15:14 -07:00
Varun Patil 26cb158b2e Lint 2022-10-19 10:10:36 -07:00
Varun Patil 38ceddc609 Mark person in preview (fix #79) 2022-10-18 14:08:27 -07:00
Varun Patil 2f159d0949 faces: place unnamed clusters at the end (fix #76) 2022-10-18 08:02:56 -07:00
Varun Patil ed8494570e resize --> scale in face preview (#72) 2022-10-18 07:54:44 -07:00
Varun Patil 048cc97db4 Fix exif rotation (not orientation) 🙄 2022-10-17 19:45:44 -07:00
Varun Patil 8dc7ba9367 Fix exif orientation issues 2022-10-17 19:16:03 -07:00
Varun Patil 3e54bc72c1 faces: crop with imagick (#72) 2022-10-17 10:41:58 -07:00
Varun Patil 36e2f9d9ff Add service worker 2022-10-16 19:52:44 -07:00
Varun Patil 8a2631ffff Break ties in face/tag 2022-10-16 16:46:37 -07:00
Varun Patil 16f1562ade Bust cache with version 2022-10-16 13:18:47 -07:00
Varun Patil 17e54825e1 query: add tie-breaker to days sorting 2022-10-16 12:18:31 -07:00
Varun Patil 430e0e0a11 Fix w/h after Exif rotation 2022-10-15 22:23:07 -07:00
Varun Patil c30a0828cb Add w/h to day response 2022-10-15 12:23:31 -07:00
Varun Patil 41112ad641 Store image dimensions in table 2022-10-15 12:15:07 -07:00
Varun Patil 11e7b4fbb1 Catch ValueError in Exif parsing (#66) 2022-10-11 12:57:55 -07:00
Varun Patil e81b7c6d59 Fix opening nameless faces 2022-10-10 17:17:42 -07:00
Varun Patil 6d99ad01d7 Catch transform errors 2022-10-07 23:46:08 -07:00
Varun Patil 3f6a31f2b5 Improve folder error 2022-10-07 23:36:16 -07:00
Varun Patil 6fcb3ba457 Use name for face fetching 2022-10-07 23:26:09 -07:00
Varun Patil d40217604e Use single query for tag previews 2022-10-07 19:09:05 -07:00
Varun Patil 991515e9e5 Get face previews in single query 2022-10-07 19:00:55 -07:00
Varun Patil ff502b5068 Speed up tag thumb load 2022-10-07 17:57:48 -07:00
Varun Patil 1505218fd0 Check enabled recognize and version 2022-10-07 13:21:46 -07:00
Varun Patil d1e9205a54 Implement people tab for recognize 3 (fix #43) 2022-10-07 12:28:39 -07:00
Varun Patil 9dc4ae20cb Explicitly sort tags 2022-10-07 11:06:16 -07:00
Varun Patil 5f3323529b Fix tags response typing 2022-10-07 11:02:41 -07:00
Varun Patil 4c684f1aef Ensure tags enabled 2022-10-07 10:46:09 -07:00
Varun Patil f5baf36109 Add tags view 2022-10-06 16:28:35 -07:00
Varun Patil 68a40ffbc7 Allow wildcard day query 2022-10-06 15:01:28 -07:00
Varun Patil 66f479844e Add limit transform 2022-10-06 14:44:14 -07:00
Varun Patil 994320f78e Add get tags API 2022-10-06 14:37:18 -07:00
Varun Patil 90ccce5477 Add systemtag transform 2022-10-06 14:19:47 -07:00
Varun Patil 4c38124ac8 Fix broken day GET 2022-10-06 13:37:12 -07:00
Varun Patil 5a250818a5 Add on this day tab (#41) 2022-10-06 13:20:39 -07:00
Varun Patil efd9232c94 Allow POST for day 2022-10-06 13:18:15 -07:00
Varun Patil b62e73735c Allow querying multiple day ids 2022-10-06 12:24:45 -07:00
Varun Patil 515addf497 Show days API errors properly 2022-10-06 11:49:51 -07:00
Varun Patil 373a02fd2c Convert time to epoch in PHP (#56) 2022-09-27 14:39:54 -07:00
Varun Patil 664457b17e exif: forget time zone in fallback 2022-09-27 14:05:26 -07:00
Varun Patil d1339add77 Fix archive filter with external storage 2022-09-25 16:37:08 -07:00
Varun Patil dc2615e107 Implement archive (close #38) 2022-09-25 16:02:26 -07:00
Varun Patil 507a1c19a1 Add permission check 2022-09-25 08:09:04 -07:00
Varun Patil 1e297f86f4 Add single file exif update (#42) 2022-09-25 06:21:40 -07:00
Varun Patil df7866b876 Clean up cursor when done 2022-09-25 04:30:28 -07:00
Varun Patil 3be44725cc Fix array_map error (#54) 2022-09-25 03:00:07 -07:00
Varun Patil 821e10525e Optimize folders listing 2022-09-25 02:46:01 -07:00
Varun Patil 373c398941 Drop uid column 2022-09-23 19:13:49 -07:00
Varun Patil f5eeb1ae9d Use storage for lookups 2022-09-23 18:54:14 -07:00
Varun Patil ec397f3ae6 Hide hidden folders (fix #45) 2022-09-16 15:42:29 -07:00
Varun Patil eaeb7af274 Change folder tag to int 2022-09-16 14:37:52 -07:00
Varun Patil c59c136131 Remove external css 2022-09-15 21:06:40 -07:00
Varun Patil 177774e55f Fix case with nested folder timeline (#39)
@folosleg
2022-09-15 11:06:19 -07:00
Varun Patil 2c46fc8689 Minor fixes + bump up version 2022-09-14 18:20:23 -07:00
Varun Patil d66ca0a281 Add timeout to exif reads (#34) 2022-09-14 18:14:06 -07:00
Varun Patil 463e57d98b Remove underscore in date_taken 2022-09-14 15:48:17 -07:00
Varun Patil a49d0ff1c9 Fix error on postgres (fix #35) 2022-09-14 15:47:26 -07:00
Varun Patil 111e408ebd Use DISTINCT for selection 2022-09-14 15:36:06 -07:00
Varun Patil 5a6bcb3724 Add test workflow 2022-09-14 11:19:51 -07:00
Varun Patil 8f5c4d061e UTF-8 path support (fix #31) 2022-09-13 16:30:01 -07:00
Varun Patil 91c6086896 sqlite: use delete for truncate 2022-09-13 15:05:26 -07:00
Varun Patil 58aa071e9e Remove type Or 2022-09-13 15:01:03 -07:00
Varun Patil 77b1101bb3 Fix multiple entries in external share 2022-09-13 11:35:54 -07:00
Varun Patil 9c77a8f0c8 Fix category filter for shared folders 2022-09-13 11:25:24 -07:00
Varun Patil be961b3fb4 Check external paths (#30) 2022-09-13 10:39:38 -07:00
Varun Patil 4d5431c6b4 Restore CSRF check
I'm sleepy
2022-09-13 00:59:47 -07:00
Varun Patil 06ea3401fa Add videos tab 2022-09-13 00:55:32 -07:00
Varun Patil b6e709b07b Fix case 2022-09-12 21:59:35 -07:00
Varun Patil 22e0e07a47 Optimize initial load for timeline 2022-09-12 20:21:25 -07:00
Varun Patil d977ec7cbe Fix broken folderDay 2022-09-12 02:35:09 -07:00
Varun Patil 4ca6e3977c Use flag for isvideo 2022-09-11 20:52:07 -07:00
Varun Patil fa65f1866f Show star on photos 2022-09-11 20:46:31 -07:00
Varun Patil ee274ebf7f Fix main route 2022-09-11 20:06:28 -07:00
Varun Patil e8774b2aa4 Use correct category for favorites 2022-09-11 20:03:04 -07:00
Varun Patil d4746abade Add favorites note 2022-09-11 19:02:51 -07:00
Varun Patil 1d16da7235 Add favorites API 2022-09-11 18:33:38 -07:00
Varun Patil ba2c3ecdd0 Minor stylistic change 2022-09-11 18:06:16 -07:00
Varun Patil 02fe4d936f Refactor queries 2022-09-11 18:03:40 -07:00
Varun Patil b8e5ee7f1b Indicate uid can be null in PageController 2022-09-11 02:38:40 -07:00
Varun Patil aeee6592b0 Use querybuilder in TimelineWrite 2022-09-10 19:22:57 -07:00
Varun Patil 48dc8c1a55 Use querybuilder for TimelineQuery 2022-09-10 19:05:04 -07:00
Varun Patil 91f329b7b8 Honor .nomedia in postlistener (fix #5) 2022-09-10 17:50:08 -07:00
Varun Patil 075ff4e006 Fix another byref error 2022-09-10 17:49:21 -07:00
Varun Patil a5e04822ff Honor nomedia in indexing (fix #24) 2022-09-10 17:22:50 -07:00
Varun Patil ed7898291e Add clear flag for index (fix #23) 2022-09-10 17:15:40 -07:00
Varun Patil 3b80998d93 Fix another byref error 2022-09-10 15:32:49 -07:00
Varun Patil 23ccf41ebd Fix byref errors 2022-09-10 15:31:11 -07:00
Varun Patil ff29114429 Null coalesce exif props explicitly 2022-09-09 08:42:44 -07:00
Varun Patil 6f1248f667 Prevent exiftool zombies 2022-09-09 08:18:55 -07:00
Varun Patil 21e25b1ecd Allow refreshing index (fix #18)
Add the -f option to the index command
2022-09-09 08:07:05 -07:00
Varun Patil 8b68c9ca92 Add note to install exiftool 2022-09-09 00:37:52 -07:00
Varun Patil d02ce0b21d Improve Exif test logs 2022-09-09 00:36:53 -07:00
Varun Patil af38c24198 Tab -> Space 2022-09-09 00:31:42 -07:00
Varun Patil 3b0b5c05dc Rename album to folder 2022-09-08 16:57:50 -07:00
Varun Patil 3fa8aa736f Attempt to create index only once 2022-09-08 09:43:56 -07:00
Varun Patil 27666671fe Fix video timezone to server timezone 2022-08-27 16:05:25 -07:00
Varun Patil 1ad335ed8b Create static proc only for command 2022-08-26 00:37:40 +00:00
Varun Patil 9b93a508ce Remove rename listener 2022-08-25 20:25:16 +00:00
Varun Patil 08dbabb3f2 Sort day folder by date taken 2022-08-23 09:59:56 +00:00
Varun Patil 772a59c868 Add time to stats 2022-08-23 09:39:41 +00:00
Varun Patil 0e207e6648 Write command stats at end 2022-08-23 09:35:51 +00:00
Varun Patil e933c1c457 Massively speed up indexing for local files 2022-08-23 09:19:19 +00:00
Varun Patil e9fab264fc Do not use upload time for fallback 2022-08-23 08:33:37 +00:00
Varun Patil ac75f52ca4 Fix indentation 2022-08-23 08:04:26 +00:00
Varun Patil 311d3ea279 Fix Exif TZ and handling for HEIC (fix #15) 2022-08-23 07:54:39 +00:00
Varun Patil 7b7ea2b597 Remove comma after arg list (#14) 2022-08-22 18:48:35 +00:00
Varun Patil 16763904e1 Catch insert exception 2022-08-22 18:42:06 +00:00
Varun Patil be2cdd6197 Catch exceptions with var (#14) 2022-08-22 18:16:05 +00:00
Varun Patil 829487cac7 WARNING: Change migrations to fit NC names
Okay, promise this is the last time
2022-08-20 21:28:41 +00:00
Varun Patil 2242d2b4d9 Sort folders by natural name 2022-08-20 08:45:50 +00:00
Varun Patil 3999f7b9bd Show previews on folders 2022-08-20 08:26:52 +00:00
Varun Patil 522e1f5e1e Refactor to more files 2022-08-20 02:53:21 +00:00
Varun Patil c0c3423943 Test for exiftool before running (fix #6) 2022-08-20 02:25:39 +00:00
Varun Patil 021ba58adc Pass by ref in command 2022-08-20 02:14:03 +00:00
Varun Patil 14087e2732 Pass everything byref 2022-08-20 02:12:55 +00:00
Varun Patil 42b0a82e3f Check handle before using it 2022-08-20 02:10:15 +00:00
Varun Patil 83f4db77e8 Refactor 2022-08-20 02:08:54 +00:00
Varun Patil 6b211499f9 Get rid of mysql specific syntax 2022-08-20 01:39:17 +00:00
Varun Patil ba67062a45 Enable some extra mime types 2022-08-20 00:20:55 +00:00
Varun Patil 6b8f53e89b Allow changing base folder (fix #9) 2022-08-20 00:18:10 +00:00
Varun Patil 36c9b0f79d Require CSRF token 2022-08-19 22:16:13 +00:00
Varun Patil af49dbb933 stream_copy_to_stream for exif 2022-08-19 21:53:57 +00:00
Varun Patil 4decbb91cb Close proc pipes explicitly 2022-08-19 21:42:23 +00:00
Varun Patil ebab5225e0 Fix two calls to exiftool 2022-08-19 21:38:18 +00:00
Varun Patil 0aa3d485c1 Fix icon 2022-08-18 18:50:48 +00:00
Varun Patil 0d03a9142c Rename again to memories
Fix the migration directly because I'm the only user right now.
If this is a problem for you, drop the oc_polaroid table and the
corresponding index on the oc_filecache table.
2022-08-18 18:27:25 +00:00
Varun Patil 93bed9c1c2 Prevent invalid dates 2022-08-18 04:19:09 +00:00
Varun Patil 62fb0621a3 Fix some SQL weirdness 2022-08-18 03:23:41 +00:00
Varun Patil 0a3bfc096f Fix timeline after move 2022-08-18 00:35:14 +00:00
Varun Patil 833ce737b7 Fix prefix (fix #3) 2022-08-17 23:56:14 +00:00
Varun Patil 68b28ed2ec Implement includsion (fix #1) 2022-08-17 23:51:48 +00:00
Varun Patil 5d20cc2e7c Fix PostDelete 2022-08-17 23:26:10 +00:00
Varun Patil d101a09137 Use search for getting albums 2022-08-17 22:03:29 +00:00
Varun Patil 0e99d887d8 Update to use exiftool 2022-08-17 21:45:01 +00:00
Varun Patil cb5487065e Fix some bugs 2022-08-17 20:59:26 +00:00
Varun Patil 4936a2fdf8 Add albums 2022-08-17 20:39:48 +00:00
Varun Patil 0ce5224148 Change stored date to DATETIME 2022-08-16 04:31:09 +00:00
Varun Patil 37002f1721 Rename shared api 2022-08-16 04:02:19 +00:00
Varun Patil 3c0858b706 Add folder APIs 2022-08-16 03:58:55 +00:00
Varun Patil b26c1d3108 Get rid of day table 2022-08-16 02:47:49 +00:00
Varun Patil 83e6247716 Fix shared folder upload 2022-08-16 02:33:15 +00:00
Varun Patil 2de33bff69 Change project name 2022-08-16 01:19:43 +00:00
Varun Patil b4bda3744e Add video icon 2022-08-16 00:46:36 +00:00
Varun Patil b8e5901aaf Fallback to upload time first 2022-08-16 00:32:57 +00:00
Varun Patil 56fee51f1c Minor cleanup 2022-08-16 00:20:32 +00:00
Varun Patil 1481526402 Fix date update 2022-08-16 00:12:31 +00:00
Varun Patil cfbbe0c567 Refactor+error image 2022-08-15 23:43:10 +00:00
Varun Patil 5c55b79175 Add etag 2022-08-15 23:14:24 +00:00
Varun Patil 61161b234e Fix viewer 2022-08-15 21:41:05 +00:00
Varun Patil ee41e8441d Add exif 2022-08-15 03:25:12 +00:00
Varun Patil aa008dbe91 Add days api 2022-08-14 23:31:47 +00:00
Varun Patil 61ebfb3f83 Add day table 2022-08-14 23:19:13 +00:00
Varun Patil 0286dce13a Add vue 2022-08-14 20:54:18 +00:00
Varun Patil 365b71b5bf Add some things 2022-08-13 03:34:05 +00:00
Varun Patil 6458abd0b4 Initial Commit 2022-08-13 01:58:37 +00:00