Commit Graph

639 Commits (3bf221a663d646da248ff58e999bcc109916911e)

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