Commit Graph

328 Commits (22d20756d7166b6a10b2e62d7f6b06bb828e9ce7)

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