Commit Graph

306 Commits (79266d75b3e39bd9373403c021c5564ba36f89e2)

Author SHA1 Message Date
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
Varun Patil 75de618f56 places: fix for postgres 2023-02-05 22:23:44 -08:00
Varun Patil b25731e9ac places: hide when not configured/enabled 2023-02-05 19:55:39 -08:00
Varun Patil bae5f99b2b meta: use places 2023-02-05 19:46:44 -08:00
Varun Patil c3fa9f0d4c lint: fix php 2023-02-05 18:47:10 -08:00
Varun Patil 2c510b12b8 tw: clear places on delete 2023-02-05 18:34:54 -08:00
Varun Patil a074f158d3 geo: new adaption 2023-02-05 18:29:09 -08:00
Varun Patil 24e70a7e06 Add WIP table creation 2023-02-05 17:15:18 -08:00
Varun Patil 62579b1b89 Initial places implementation 2023-02-05 13:43:25 -08:00
Varun Patil 7f21e8802d tq: fix debugger for array 2023-02-05 12:41:36 -08:00
Matias De lellis 3b29328377 Fix FaceRecognition integration doesn't work with postgresql database.
Following the discussion in #304, I tried this solution using the
strict mode of mariadb/mysql.

Split the Clusters and People queries to minimize the considerations
of both functions. Otherwise I had to add many nested ifs.

Also change to only show 15 clusters (as a small optimization) since
there is no point in showing everything, and it is better to show these
little by little.
2023-02-02 22:28:59 -03:00
Raymond Huang 93b4b0274e Merge branch 'master' into location 2023-02-01 12:18:42 +08:00
Raymond Huang 750636de67 style: apply lint 2023-02-01 12:08:11 +08:00
Raymond Huang ea289c4f02 style: remove unused code 2023-02-01 12:02:01 +08:00
Raymond Huang 60ee600c52 refactor: program as a transform insstead of duplication 2023-02-01 11:54:35 +08:00
Varun Patil d6fba7e4a9 write: check array keys for exif filter (fix #381) 2023-01-28 08:53:01 -08:00
Varun Patil 25318b9402 write: fix getLivePhotoId call 2023-01-26 11:52:19 -08:00
Varun Patil 457ac16db1 livephoto: multiple trailers in Google (fix #373) 2023-01-26 10:50:41 -08:00
Raymond Huang ea8d08eba7 style: apply php-lint 2023-01-26 08:48:17 +08:00
Raymond Huang 2bc2c50bee fix: call withBound function in preloadDays 2023-01-26 07:23:46 +08:00
Raymond Huang 68a39918b5 feat: show photos taken in locations visible in map 2023-01-26 02:41:55 +08:00
Varun Patil c59066ce0e write: filter EXIF fields with whitelist (fix #367) 2023-01-22 16:51:26 -08:00
Varun Patil 0fae4d1ba9 Tab -> Space 2023-01-20 10:50:48 -08:00
Varun Patil b18a098f47 index: allow cleaning up orphans (fix #326) 2023-01-17 20:52:26 -08:00
Varun Patil 24a3b8c638 Fix album public link (fix #344, fix #274) 2023-01-17 19:02:00 -08:00
Varun Patil 816294b591 album: fix sharing with group (fix #329) 2023-01-15 14:43:48 -08:00
Varun Patil 37a26b8c31 write: cast video duration to float before round 2022-12-22 10:49:28 -08:00
Matias De lellis aeffe628f2 Integration with facerecognition 2022-12-08 13:07:14 -08:00
Varun Patil 2011433536 albums: add download menu 2022-12-06 11:38:57 -08:00
Varun Patil ceb2365cf5 lint: php 2022-12-04 20:05:05 -08:00
Varun Patil c6a4b4e3e9 days: remove rootid from response 2022-12-04 20:04:48 -08:00
Varun Patil 604371c5cd tag: design update 2022-12-04 18:52:29 -08:00
Varun Patil d9c6d0a597 general: fix use of deprecated get methods 2022-12-04 09:57:31 -08:00
Varun Patil 355b74e19b general: reduce more DI 2022-12-04 09:47:10 -08:00
Varun Patil 0ce283561e tq: fix davPaths warning 2022-12-03 00:14:29 -08:00
Varun Patil 4f81eadb9b albums: fix collabs table on 2.0.1 2022-12-02 23:54:09 -08:00
Varun Patil 1866ce5dfa preview: fix for shared album 2022-12-02 21:42:52 -08:00
Varun Patil 1a9d229b95 general: add unified file get API 2022-12-02 20:07:06 -08:00
Varun Patil 22d20756d7 albums: don't pass connection for no reason 2022-12-02 19:23:29 -08:00
Varun Patil 474090017c tags: make sorting case-insensitive (fix #271) 2022-11-30 06:31:45 -08:00
Varun Patil 240ca8a2b5 lint: fix whitespace 2022-11-29 09:04:09 -08:00
Varun Patil 7458478f93 Fix albums for Photos v2.2.0 2022-11-29 08:57:03 -08:00
Varun Patil e2e5375e53 General cleanup 2022-11-28 15:19:26 -08:00