Commit Graph

348 Commits (c7f7d98d4f237654a5b49e5b93bf72f475b8c751)

Author SHA1 Message Date
Varun Patil d4fee58c88 tw: prevent discarding S/W coordinates (fix #649)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-16 21:22:26 -07:00
Varun Patil a49d5dfad3 nx: fix sort order
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 21:30:45 -07:00
Varun Patil 968f7a9164 Allow duplicate live video files (close #594)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-25 14:50:48 -07:00
Varun Patil 0718a03ee0 db: use 1 for literals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 23:03:33 -07:00
Varun Patil a0f347806d db: use literals for literals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 22:07:58 -07:00
Varun Patil 34dc2263da tw: fix cleanup function
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 21:48:36 -07:00
Varun Patil 4b86dc96cc index: add stale cleanup (close #610)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 17:59:26 -07:00
Varun Patil fe8fb6b164 tw: use transaction for delete
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 16:58:34 -07:00
Varun Patil f833ddaac8 fs: minor variable name fix
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 01:10:28 -07:00
Varun Patil 2d6ac784b3 doc: add comments to remaining exits
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:12:42 -07:00
Varun Patil 52e1901ffc fs: fix crash with .nomedia folder (fix #589)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 09:47:57 -07:00
Varun Patil 526559b672 place-setup: recalculate places
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 19:53:06 -07:00
Varun Patil 265c0f795c refactor: move utils to Util from Exif
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 16:03:59 -07:00
Varun Patil 83be3c93b1 sec: better path sanitization
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:58:11 -07:00
Varun Patil c25dd6e640 albums: fix empty root check
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:46:26 -07:00
Varun Patil 666da6e11d tq: check categoryid exists (fix #572)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 13:47:49 -07:00
Varun Patil d99647291a index: fix parallelization
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 12:58:29 -07:00
Varun Patil 35e4402030 refactor: info
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:27:40 -07:00
Varun Patil 9f62a23895 tw: acquire lock before processing
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 12:02:07 -07:00
Varun Patil 5fe7eb9be4 tw: don't catch and throw
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 11:32:02 -07:00
Varun Patil 3ada3d6510 Exclude mounts in nomedia
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 15:49:18 -07:00
Varun Patil 8ec21747f3 lint: fix php 2023-04-14 00:02:16 -07:00
Varun Patil 5438223b29 tw: drop invalid GPS data
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 00:02:04 -07:00
Varun Patil 9ab896989f tw: catch exeption not error
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:37:30 -07:00
Varun Patil cf8533968d cte: add brackets for clarity
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:20:23 -07:00
Varun Patil acb9f21414 Exclude nomedia with CTE (fix #185)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 23:16:48 -07:00
Varun Patil 04728a1d60 refactor: move CTE to trait
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 22:49:12 -07:00
Varun Patil 86c3c260a1 Remove dead code
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 21:59:45 -07:00
Varun Patil a611169e7d Restore refresh command
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 21:59:01 -07:00
Varun Patil 641574ccd2 index: move to service (partial)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 19:43:13 -07:00
Varun Patil 7c53248936 map: fix init position
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-01 18:14:37 -07:00
Varun Patil d8176b93c8 perf(lp): use MicroVideoOffset for samsung
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 17:02:22 -07:00
Varun Patil 05cbccceec lp: add support for MVIMG (fix #468)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 16:58:34 -07:00
Varun Patil 2c3181b497 tw: remove useless byref
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 16:29:36 -07:00
Varun Patil 4501d75b26 tq: admin_level int
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 11:23:41 -07:00
Varun Patil 5f09ffd239 tw: fix function signature of processExifLocation
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-28 19:07:17 -07:00
Varun Patil 2453aad507 places: support user lang
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 18:53:01 -07:00
Varun Patil 3b24a62ba0 exif: use location for timezone
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 17:52:03 -07:00
Varun Patil dae5785462 single-item: fix post-processing (fix #470)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-25 07:58:03 -07:00
Varun Patil 8db1ce0350 More refactor for albums
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 18:09:31 -07:00
Varun Patil eb3c834241 refactor: separate folder logic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 15:54:58 -07:00
Varun Patil df9bb37fbe More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 22:01:49 -07:00
Varun Patil c867cc68ed More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 21:57:54 -07:00
Varun Patil f1461b720c More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 18:12:39 -07:00
Varun Patil fa9205a11e More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 17:56:41 -07:00
Varun Patil 7d9db06421 big refactor: move more stuff to backend
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 16:58:49 -07:00
Varun Patil 78d063eed6 refactor: fs manager
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 14:45:56 -07:00
Varun Patil e38d208067 tq: more cleanup
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:45:45 -07:00
Varun Patil ac1529bb87 tq: remove unused check
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:44:22 -07:00
Varun Patil a701ccd2f4 refactor: face recognition to use generic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:42:30 -07:00
Varun Patil 3f825073dc refactor: files --> photos
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 16:56:13 -07:00
Varun Patil 094a4b32d7 refactor: use generic for recognize
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 16:44:51 -07:00
Varun Patil fffc597797 refactor: use generic controller for most clusters
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 12:54:03 -07:00
Varun Patil 47e2d9197f recognize: fix compat with 3.6 (fix #500)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-18 19:03:17 -07:00
Varun Patil b1df9215f9 big: remove filename from IPhoto
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 09:58:43 -07:00
Varun Patil 811343e730 lint: fix php
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 16:59:31 -07:00
Varun Patil 8044298ab8 recognize: add faceid to response
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 16:12:55 -07:00
Varun Patil 27d027cabd
Merge pull request #465 from silopolis/stringfix
typo: fix Live Photo capitalization
2023-03-10 17:37:18 -08:00
Jérémie Tarot (@silopolis) 91b846707b typo: fix Live Photo capitalization
Signed-off-by: Jérémie Tarot (@silopolis) <silopolis@gmail.com>
2023-03-10 19:09:52 +01:00
Varun Patil 4e6a2a1329 folder-share: add node share fake API 2023-03-10 09:30:56 -08:00
Varun Patil 0b62dc4aee albums: redirect public to local link 2023-03-09 18:27:18 -08:00
Varun Patil 0e5806fddb all: use typed perm methods 2023-03-09 16:44:56 -08:00
Varun Patil 4b4fcd5047 lint: fix php 2023-03-08 11:48:36 -08:00
Varun Patil 3073d92a89 edit-meta: allow removing gps data (#418) 2023-03-08 11:32:57 -08:00
Varun Patil 40356b3d51 lint: fix php 2023-03-07 12:27:25 -08:00
Varun Patil 47afed642b index: improve forcing logic 2023-03-07 12:20:07 -08:00
Varun Patil ef9b567483 index: prevent repeats on shared files (fix #455) 2023-03-03 11:08:23 -08:00
Varun Patil 4bbf8770b7
Merge pull request #417 from matiasdelellis/FRFixSigleClusters
Face Recognition: Fix query to not show individual clusters
2023-03-03 11:10:17 -05:00
Varun Patil fe0de6e9cb tw: wrap map ops in transaction 2023-02-24 01:38:31 -08:00
Varun Patil eb51b59152 tw: prevent map cluster zero division (fix #436) 2023-02-24 00:50:45 -08:00
Matias De lellis 7209c49105 Face Recognition: Fix query to not show individual clusters
It was working incorrectly since my last PR. Sorry.
Note that may seem useful to show them all, but it ends up being a
never-ending task that annoys the user.

On the other hand, I made two public functions to improve the
readability of the controller code.
2023-02-14 20:59:30 -03:00
Varun Patil f4940710a6 map: use floor for consistent grouping 2023-02-10 09:55:58 -08:00
Varun Patil 4ae8537691 tw: refactor and add comments to map 2023-02-10 09:36:20 -08:00
Varun Patil 87e0b05726 tw: refactor map function names 2023-02-10 09:29:42 -08:00
Varun Patil 37c2a0fc74 map: use separate statement for aggregate update (fix #403) 2023-02-10 09:26:49 -08:00
Varun Patil eaeb114c59 map: remove fine grouping 2023-02-09 20:30:25 -08:00
Varun Patil 77c63c55cf map: fix typing 2023-02-09 20:14:10 -08:00
Varun Patil efcf9a9e91 map: fix wrong URL for preview 2023-02-09 18:14:12 -08:00
Varun Patil 4527b157a6 lint: fix php 2023-02-09 17:27:18 -08:00
Varun Patil cc2accae54 map: open photo on click at high zoom 2023-02-09 17:27:03 -08:00
Varun Patil efceb7feaf
Merge pull request #391 from matiasdelellis/FRpostgresql
Fix FaceRecognition integration doesn't work with postgresql database.
2023-02-09 11:18:02 -08:00
Varun Patil f7b7fa2ac8 map: fix cluster on deletion 2023-02-09 08:40:26 -08:00
Varun Patil 36f32da13f map: more minor fixes 2023-02-09 08:25:37 -08:00
Varun Patil 1751ad7d80 map: add migration 2023-02-09 00:35:35 -08:00
Varun Patil 85f3d635c6 map: show preview of coarse 2023-02-08 23:36:31 -08:00
Varun Patil e7c8748cc9 draft: eager clustering 2023-02-08 21:55:12 -08:00
Varun Patil 74e69d0d6f tq: fix typing 2023-02-08 17:45:55 -08:00
Varun Patil 64d4205346 map: refactor 2023-02-08 14:00:56 -08:00
Varun Patil 7d90aeacb1 map: restore functionality 2023-02-08 13:35:42 -08:00
Varun Patil bcc35d6132 Merge branch 'RaymondHuang210129-location' into map 2023-02-08 11:44:51 -08:00
Varun Patil 4d94353406 Merge branch 'location' of https://github.com/RaymondHuang210129/memories into RaymondHuang210129-location 2023-02-08 11:43:52 -08:00
Raymond Huang 0987ab95c5 feat: improve marker clustering logic 2023-02-09 02:52:53 +08:00
Varun Patil 99ce1fcfd6 map: add migration 2023-02-08 10:45:25 -08:00
Varun Patil c6edd10c85 Merge branch 'location' of https://github.com/RaymondHuang210129/memories into RaymondHuang210129-location 2023-02-08 10:12:40 -08:00
Raymond Huang 7d01849f8e feat: show clusters of photos on the map 2023-02-08 11:59:04 +08:00
Varun Patil e32f934fd2 tw: improve place error handling 2023-02-07 19:48:19 -08:00
Varun Patil df359bc099 tw: rename updateGeoData 2023-02-06 07:38:30 -08:00
Varun Patil 6c9d2d12c5 tw: add missing execute to geo 2023-02-06 07:38:07 -08:00
Varun Patil 24c0956b20 places: fix inners for postgres 2023-02-06 07:36:29 -08:00
Varun Patil a0280aea73 places: handle inner rings 2023-02-06 07:30:04 -08:00