Commit Graph

253 Commits (0e84a648279761b2dfe30339d6e8b0459fac92b0)

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