Commit Graph

364 Commits (6d2ef1cf97a6ab1929c03c6223a256a38e230681)

Author SHA1 Message Date
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 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 bf04221a0a Fix invalid type of excludedFolderIds 2022-10-26 11:13:58 -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 58e3b87cc4 Only check images for preview 2022-10-25 10:25:26 -07:00
Varun Patil 506ea05d8b Add preview generator check to write 2022-10-24 17:47:25 -07:00
Varun Patil fac08ae96d Switch to CTE 2022-10-24 17:14:50 -07:00
Varun Patil f2367ac7b7 Don't join facerect for days (#105) 2022-10-24 09:21:38 -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 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 3e54bc72c1 faces: crop with imagick (#72) 2022-10-17 10:41:58 -07:00
Varun Patil 8a2631ffff Break ties in face/tag 2022-10-16 16:46:37 -07:00
Varun Patil 17e54825e1 query: add tie-breaker to days sorting 2022-10-16 12:18:31 -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 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 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 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 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 b62e73735c Allow querying multiple day ids 2022-10-06 12:24:45 -07:00
Varun Patil 373a02fd2c Convert time to epoch in PHP (#56) 2022-09-27 14:39:54 -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 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 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 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 91c6086896 sqlite: use delete for truncate 2022-09-13 15:05:26 -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 06ea3401fa Add videos tab 2022-09-13 00:55:32 -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 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 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 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 21e25b1ecd Allow refreshing index (fix #18)
Add the -f option to the index command
2022-09-09 08:07:05 -07:00
Varun Patil af38c24198 Tab -> Space 2022-09-09 00:31:42 -07:00
Varun Patil 08dbabb3f2 Sort day folder by date taken 2022-08-23 09:59:56 +00:00
Varun Patil 0e207e6648 Write command stats at end 2022-08-23 09:35:51 +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 522e1f5e1e Refactor to more files 2022-08-20 02:53:21 +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 6b8f53e89b Allow changing base folder (fix #9) 2022-08-20 00:18:10 +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 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 0e99d887d8 Update to use exiftool 2022-08-17 21:45:01 +00:00
Varun Patil 0ce5224148 Change stored date to DATETIME 2022-08-16 04:31:09 +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 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 365b71b5bf Add some things 2022-08-13 03:34:05 +00:00