Commit Graph

366 Commits (10da3fd3e8080a1ba06811c277acf58d4b77f5a3)

Author SHA1 Message Date
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