Commit Graph

811 Commits (a2569f16905c5c42fff017a3c6a55cb708db9138)

Author SHA1 Message Date
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 c65ad77be3 lint: fix php
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 16:19:31 -07:00
Varun Patil b6d251ebf5 image: set autoOrient flag
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 15:08:44 -07:00
Varun Patil abfe0cf94d image: throw proper errors in decodable (close #529)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 15:05:05 -07:00
Varun Patil 687cafb13d people: use IImage instead of Imagick (#529)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 14:57:09 -07:00
Varun Patil 9d38a66533 places: optimize clusters query to use index properly
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 12:14:14 -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 9e7a6a0bd1 edit-meta: fix location ref
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 22:16:34 -07:00
Varun Patil 1b83ab3405 places: bump up planet db
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 18:56:29 -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 86ceaf7bb2 exif: improve date parsing
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 15:26:08 -07:00
Varun Patil 0c17d7e209 exif: ignore all invalid dates
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 12:47:24 -07:00
Varun Patil 7faa4afb1e takeout: keep TrackCreateDate
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 11:57:44 -07:00
Varun Patil 642816f4b9 migrate-takeout: allow restricting to one user/folder
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-27 11:15:36 -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 81708a4de7 facerecog: check key in post process
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-25 07:56:42 -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 1a5e2399a3 lint: fix php
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 13:55:47 -07:00
Varun Patil 92781df0c1 clusters: add type to response
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 04:17:54 -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 9e43075df4 fs: throw 412 when not logged in
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 21:16:53 -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 df9bd84c92 More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 18:04:20 -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 f6fa48e089 More refactor
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 17:19:05 -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 5c9f1c4915 util: remove duplicate checks
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 13:49:26 -07:00
Varun Patil 0e385d2283 refactor: rework controller (1)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 13:32:23 -07:00
Varun Patil bd6aaeee3a Use DI for tq everywhere
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 11:16:28 -07:00
Varun Patil f284085a1a refactor: cluster backends
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-23 11:08:36 -07:00
Varun Patil da7ab397ae cluster: restore CSRF check
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:51:11 -07:00
Varun Patil b55c0b3950 controller: add docs to people utils
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:50:36 -07:00
Varun Patil 473eb0a17e fr: add more casts
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:47:49 -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 ca49eb19e8 refactor: dedup try-catch
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 17:01:41 -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 af7000a037 refactor: make cluster more generic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 16:19:59 -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 a5f1685987 refactor: rename base to generic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 11:40:56 -07:00
Varun Patil eb15e48b76 apibase: mark abstract
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 11:38:05 -07:00
Varun Patil 5e6976fc2b refactor: split ApiBase
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-22 11:24:15 -07:00
Varun Patil 979b53495c Merge branch 'master' of https://github.com/pulsejet/memories 2023-03-21 11:13:15 -07:00
Varun Patil e356a8c2d9 deps: bump up exiftool
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-21 11:05:10 -07:00
Genki Sakanashi cb3afda011 to sequential 2023-03-21 12:41:41 +09:00
Varun Patil e207d3a8c5 fix: change return type to generic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-18 20:38:57 -07:00
Varun Patil d1720e8006 errors: fix string
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-18 20:32:27 -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 5f9a299af4 refactor: add errors class
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-18 10:52:04 -07:00
Varun Patil 00e51ef8d4 video-setup: print more info
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-18 10:50:49 -07:00
Varun Patil cbef18d1e5 recognize: hide when faces disabled (fix #494)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 17:03:10 -07:00
Varun Patil 51adf19eae video: support new vod post api
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 14:11:26 -07:00
Varun Patil afd3cf937d video: check lp status code
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 13:16:43 -07:00
Varun Patil 40ff469e8f video: add external flag
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 10:52:44 -07:00
Varun Patil 5ab14ad07a video-setup: add print-config
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 09:50:09 -07:00
Varun Patil 2ccc03e7e1 vod: allow configuring connect address
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 09:32:43 -07:00
Varun Patil 17c494e5f9 takeout: minor fixes
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 01:11:13 -07:00
Varun Patil 2441d5f556 edit-meta: forbid some types e.g. mts
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-17 00:12:18 -07:00
Varun Patil 758beab34e takeout: add catch block to migrateFile
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 23:51:19 -07:00
Varun Patil e301ee84cb takeout: skip migration if blank exif
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 23:47:12 -07:00
Varun Patil 337d466644 app: enable support for MTS video
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 23:43:54 -07:00
Varun Patil 94bb94f34d lint: fix php
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 23:34:13 -07:00
Varun Patil 7c95638e0d takeout: add migrator (fix #430)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 23:33:06 -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 6698d58135 viewer: allow loading full image (fix #266)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 14:06:30 -07:00
Varun Patil 41a37df454 image: jpeg --> decodable
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 12:28:33 -07:00
Varun Patil 695b5c54ec exif: support more cases in date parsing (fix #485)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-15 10:51:33 -07:00
Varun Patil 7a35229b47 public-album: add og metadata
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-14 13:42:55 -07:00
Varun Patil 2a9cfaf81b Add og metadata to share (fix #466)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-14 13:20:24 -07:00
Varun Patil 6bff20fad2 vod: fix bind configuration (fix #477)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-03-12 21:58:10 +00:00
Varun Patil fcd68a5172 image: minor fixes to multipreview
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-11 00:05:49 -08:00
Varun Patil 95c50c905d video-setup; turn off vaapi before checking nvenc
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-10 18:24:13 -08:00
Varun Patil 27d027cabd
Merge pull request #465 from silopolis/stringfix
typo: fix Live Photo capitalization
2023-03-10 17:37:18 -08:00
Varun Patil 8f64d630ec share: fix jpeg on public link 2023-03-10 17:30:42 -08:00
Varun Patil 862d742efc lint: fix php 2023-03-10 13:29:41 -08:00
Varun Patil 5a571b29b7 share: refactor refreshing list 2023-03-10 13:25:34 -08:00
Varun Patil c74ef0766c lint: fix php 2023-03-10 12:17:11 -08:00
Varun Patil 1891d86f63 folder-share: add creation button 2023-03-10 12:15:13 -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 f136d511da folder-share: prevent files 2023-03-09 18:55:22 -08:00
Varun Patil bd85a16f02 folder-share: redirect to local if owned 2023-03-09 18:47:59 -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 af2a095059 all: force permissions for external shares 2023-03-09 16:39:26 -08:00
Varun Patil efd0a0e97a page: do not load sidebar on public 2023-03-09 14:53:24 -08:00
Varun Patil 05e55e27ec sidebar: fix for albums and shares (fix #320) 2023-03-09 14:48:18 -08:00
Varun Patil 509ab8402b vod: add more configuration
Close #450
Close #445
Close #428
Close #297
2023-03-09 13:06:08 -08:00
Varun Patil ec4db393b3 vod: switch to new config pattern 2023-03-09 12:40:02 -08:00
Varun Patil 03dce35da8 tl: allow choosing sort order (fix #371) 2023-03-08 16:34:17 -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 ffd105eac6 feat: add gps data editor (close #418) 2023-03-08 10:22:36 -08:00
Varun Patil 8b2f900e50 video; ensure transcoder is a file 2023-03-07 20:46:20 -08:00
Varun Patil 6ad37a4812 feat: allow editing collaborative tags (fix #270) 2023-03-07 20:14:42 -08:00
Varun Patil 2b0afe8db6 image: refactor to use arg for body 2023-03-07 20:00:21 -08:00
Varun Patil efdb4c726f exif-edit: do not query tags 2023-03-07 19:12:43 -08:00
Varun Patil f2285a6fa5 lint: fix whitespace 2023-03-07 18:49:21 -08:00
Varun Patil 538bca5bb4 metadata: show tag list 2023-03-07 14:38:37 -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 2bfb04702e archive: prevent crossing user boundary 2023-03-03 12:29:17 -08:00
Varun Patil d7bf0ca55c index: remove confusing percent numbers 2023-03-03 11:10:04 -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 efec646ecb image: use output buffer for multipreview 2023-02-27 10:01:04 -08:00
Varun Patil be98777880 exif: refactor args to const 2023-02-24 09:28:57 -08:00
Varun Patil c6f8d1caa1 lint: fix php 2023-02-24 09:12:34 -08:00
Varun Patil cf1109e5fd video-setup: kill existing processes 2023-02-24 09:12:23 -08:00
Varun Patil b30bd9bd38 places-setup: increase batch size to 500 2023-02-24 01:47:34 -08:00
Varun Patil 3a20efb8a3 places-setup: check if exists before deleting 2023-02-24 01:44:42 -08:00
Varun Patil 8eaea1cf7a places-setup: speedup by 10x 2023-02-24 01:39:49 -08: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
Varun Patil 79b6978bb9 lint: fix php 2023-02-24 00:22:21 -08:00
Varun Patil a2798c8763 video: improve transcode logging (#428) 2023-02-24 00:21:56 -08:00
Varun Patil 9295f2d026 general: use byval for array_map 2023-02-23 23:50:09 -08:00
Varun Patil e93571c7f6 Improve handling of temp dir (#428) 2023-02-23 23:26:49 -08:00
Varun Patil 62db624710 refactor: move places warning outside condition 2023-02-23 22:49:25 -08:00
Varun Patil b4e1bf2c4f places: stop when not using db prefix (#427) 2023-02-23 22:47:29 -08:00
Varun Patil 63ecdf30a2 exif: ignore invalid values (fix #420) 2023-02-23 21:19:09 -08:00
Varun Patil bdbce20f91 base: byval for getPreviewFromImageList (#25) 2023-02-20 08:12:16 -08:00
Varun Patil 6a3fda1e0b lint: fix php 2023-02-16 13:39:42 -08:00
Varun Patil dd84e31eb9 cmd: detect db explicitly in places-setup 2023-02-16 13:34:51 -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 99baf691e9 lint: fix php 2023-02-14 10:33:32 -08:00
Varun Patil f75b68baaf tags: add translation from recognize 2023-02-14 09:51:52 -08:00
Varun Patil fc12219695 video: transcode all live photos (fix #388) 2023-02-11 08:19:46 -08:00
Varun Patil f8919306f5 exif: remove timezone from CreateDate
Supercedes #397
Closes #405

Contributed by @AndreAle94
2023-02-11 07:41:11 -08:00
Varun Patil d93a072e3d Revert "Refactor date taken extraction logic"
This reverts commit 0e345b1592.
2023-02-11 07:34:47 -08:00
Varun Patil 22af8a5615 map: animate cluster joins and splits 2023-02-10 11:42:16 -08: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 e5149792ab index: revert incorrect commit 2023-02-09 20:14:24 -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 fc18e551fb release: v4.11.0-beta.1 2023-02-09 17:54:08 -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 e0d54c0f81 lint: fix php 2023-02-09 13:13:59 -08:00
Varun Patil b584add525 onthisday: allow disabling at top (fix #368) 2023-02-09 13:13:44 -08:00
Varun Patil 3fde5c1caf settings: add dialog 2023-02-09 13:03:06 -08:00
Varun Patil 479665ca62 map: fix for sw 2023-02-09 12:02:11 -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
Andrea Alemani 0e345b1592 Refactor date taken extraction logic 2023-02-09 10:32:03 -08:00
Varun Patil 36c591a82a
Merge pull request #396 from pulsejet/map
Map Implementation
2023-02-09 10:08:52 -08:00
Varun Patil 5004de8cf6 map: use terrain at high zoom levels 2023-02-09 09:51:26 -08:00
Varun Patil f7b7fa2ac8 map: fix cluster on deletion 2023-02-09 08:40:26 -08:00
Varun Patil efea8369bd map: restore CSRF check 2023-02-09 08:29:53 -08:00
Varun Patil 36f32da13f map: more minor fixes 2023-02-09 08:25:37 -08:00
Varun Patil e0d3983c5b page: disable cache 2023-02-09 00:57:37 -08:00
Varun Patil 1751ad7d80 map: add migration 2023-02-09 00:35:35 -08:00
Varun Patil 72a08b917f map: revert cluster post-processing 2023-02-08 23:55:54 -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 0656368975 places: remove invalid levels 2023-02-08 15:09:54 -08:00
Varun Patil adc16bec29 map: rename from locations 2023-02-08 14:13:13 -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 b7cfaca2d8 controller: add type casts for getPreviewFromImageList 2023-02-07 18:52:43 -08:00
Varun Patil 92b36613a7 places: add type cast to postgres function 2023-02-06 11:45:35 -08:00
Varun Patil 2adb7d693a places: use prepared statement for setup 2023-02-06 11:40:33 -08:00
Varun Patil bc6366c65f places: refactor string interpolation 2023-02-06 10:50:48 -08:00
Varun Patil 5dffccbc91 places-setup: fix duplicate prints 2023-02-06 08:01:47 -08:00
Varun Patil 1be68551e5 lint: fix php 2023-02-06 07:58:36 -08:00
Varun Patil db6b240593 places: ensure zip is also deleted 2023-02-06 07:56:02 -08:00
Varun Patil 8018edd5b2 places: make sure data is deleted 2023-02-06 07:54:25 -08:00
Varun Patil a43316353b places: bump up geodb 2023-02-06 07:50:07 -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 02356f76ac places: remove frivolous print 2023-02-06 07:31:48 -08:00
Varun Patil a0280aea73 places: handle inner rings 2023-02-06 07:30:04 -08:00
Varun Patil b23fa125ac places: skip overly specific places 2023-02-05 23:24:29 -08:00
Varun Patil 63576dbde9 places: add data download 2023-02-05 22:42:34 -08:00
Varun Patil 75de618f56 places: fix for postgres 2023-02-05 22:23:44 -08:00
Varun Patil 926692d65b migration: change index name 2023-02-05 22:00:54 -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 9ac95ef844 geo-setup: combine truncate statements 2023-02-05 18:46:39 -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 6885155313 Add geo to info.xml 2023-02-05 17:24:39 -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
Varun Patil 0f5162bd68 video: allow setting default quality (fix #364) 2023-01-31 20:15:16 -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
Varun Patil eb9cd27d98 video: make go-vod port configurable (fix #354) 2023-01-31 19:56:41 -08:00
Raymond Huang 60ee600c52 refactor: program as a transform insstead of duplication 2023-02-01 11:54:35 +08:00
Varun Patil ecc6510713 video: ensure no trailing slash in govod temp dir 2023-01-31 19:39:57 -08:00
Varun Patil 8ff3bf0f4d video: create go-vod temp dir (fix #353) 2023-01-31 19:37:39 -08:00
Varun Patil 6261ffd35a fix: clear temp fies during index (fix #355) 2023-01-31 19:14:52 -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 2097f26d17 style: apply prettier lint 2023-01-26 12:51:42 +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 a4f276b605 util: use 9 for SIGKILL (#360) 2023-01-21 09:01:50 -08:00
Varun Patil b9722e925c download: fix wrong user context in one (fix #361) 2023-01-21 08:53:48 -08:00
Varun Patil 0fae4d1ba9 Tab -> Space 2023-01-20 10:50:48 -08:00
Varun Patil 810fc69c5b video: reword QSV to VAAPI (#351) 2023-01-19 10:40:07 -08:00
Varun Patil b9a846603b base: add type cast to album check (#346) 2023-01-18 11:32:13 -08:00
Varun Patil 134a1bd898 image: touch file on exif change (fix #282) 2023-01-18 10:34:34 -08:00
Varun Patil fbbfbf18ec folder: fixes for timeline view 2023-01-17 21:18:27 -08:00
Varun Patil 1b14fc4901 Merge branch 'feat/recursive-folder' of https://github.com/keyeh/memories into keyeh-feat/recursive-folder 2023-01-17 21:09:48 -08:00
Varun Patil b18a098f47 index: allow cleaning up orphans (fix #326) 2023-01-17 20:52:26 -08:00
Varun Patil 62ae3c910a download: use unified API for single file stream 2023-01-17 19:55:17 -08:00
Varun Patil 0b40d80854 video-setup: add null check for ffmpeg (#345) 2023-01-17 19:11:20 -08:00
Varun Patil 8bd1834214 refactor: page controller csp together 2023-01-17 19:09:02 -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 892abe81cc album: cast id to int (fix #292) 2023-01-15 13:50:32 -08:00
Kevin Yeh c42825daad Merge branch 'master' into feat/recursive-folder 2023-01-05 10:19:41 -08:00
Varun Patil 5ce8e1d438 util: fix pkill when no process 2023-01-04 12:47:10 -08:00
Varun Patil 33a14932c4 Fix header title on public share (fix #323) 2023-01-04 12:38:44 -08:00
Varun Patil 6a0a3a370e Remove usage of pkill (fix #286) 2023-01-04 12:32:36 -08:00
Varun Patil 37a26b8c31 write: cast video duration to float before round 2022-12-22 10:49:28 -08:00
Varun Patil 70f3fbaea1 cmd: catch all indexing errors 2022-12-22 10:49:06 -08:00
Varun Patil a9dca58c98 Fix exiftool version 2022-12-21 11:25:00 -08:00
Varun Patil 057795b186 download: add UseSession annotation 2022-12-08 14:40:31 -08:00
Varun Patil 1204982c0b multipreview: check params 2022-12-08 13:37:55 -08:00
Varun Patil 141a9fe4a4 php: lint docs 2022-12-08 13:08:38 -08:00