Commit Graph

482 Commits (ea540e1434eb34a127b0fb26695b6c51d7b0a480)

Author SHA1 Message Date
Varun Patil 554e91d447 other: add uid to describe API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-17 22:41:53 -07:00
Varun Patil 64faee08db image: bump down decodable quality to 85
We no longer use this API for image editing, so this is
an acceptable compromise for now

Signed-off-by: Varun Patil <radialapps@gmail.com>

#653
2023-05-17 17:36:05 -07:00
Varun Patil 0191f0153f other: add login flow URL to description
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-16 03:18:04 -07:00
Varun Patil d6c464f09f other: add describe API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-16 00:25:59 -07:00
Varun Patil 4513b461d9 admin: restore csrf checks
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-15 12:19:03 -07:00
Varun Patil c3a27eeb7d lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 21:19:13 -07:00
Varun Patil 1ffada41b1 download: use head for filename (nx)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 20:34:24 -07:00
Varun Patil 7d1cf975aa download: add range headers only for resumable
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 20:00:36 -07:00
Varun Patil 95e358c382 download: exceptions should be thrown
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 19:30:53 -07:00
Varun Patil 83c359e2e7 nx: use HTTP
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-08 13:25:13 -07:00
Varun Patil 917fccf0da nx: add more interfaces
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 19:59:58 -07:00
Varun Patil 0143148f61 explore: add new component
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 04:10:31 -07:00
Varun Patil 18e85006e7 nx: remove base render
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-03 01:12:18 -07:00
Varun Patil 9903885862 nx: base layout 2023-05-03 00:37:25 -07:00
Varun Patil 3c1d6cffdd lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 23:38:45 -07:00
Varun Patil 37abc991b1 big: remove initial state except for shares
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 22:52:00 -07:00
Varun Patil 80836d4e05 refactor: move admin out of other
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 20:31:47 -07:00
Varun Patil 4e5003457c refactor: remove unused var
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-02 20:29:45 -07:00
Varun Patil 7b8053652d download: cast fread len to int
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-27 10:27:33 -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 081687838a video: catch bad request for json
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-25 13:48:25 -07:00
Varun Patil a8aaece932 binext: allow empty exiftool path (#601)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:48:18 -07:00
Varun Patil 13341ebbd3 binext: catch missing exiftool error (fix #601)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:42:54 -07:00
Varun Patil 0a79f30861 download: limit only videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 12:24:25 -07:00
Varun Patil 0abdb57f28 download: disable time limit
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 11:06:49 -07:00
Varun Patil 5e0af5a2e9 download: prevent buffer/gzip
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 10:52:42 -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 f9559ab990 lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:03:18 -07:00
Varun Patil fe766ce30e other: use direct for places setup
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:28:45 -07:00
Varun Patil 01c82dfe1b video: use guardExDirect for live photo
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:20:46 -07:00
Varun Patil 9ae10a68f1 video: use guardExDirect for transcode
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:04:42 -07:00
Varun Patil 67fccd0799 image: use guardExDirect for multipreview
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 13:02:23 -07:00
Varun Patil 3e6e8f9b14 download: do not exit (#597)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 11:33:54 -07:00
Varun Patil 35754c36fa download: do not read excess (fix #592)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 16:44:19 -07:00
Varun Patil da192ee70e download: fix invalid destructuring in range (fix #590)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 16:32:29 -07:00
Varun Patil 7861ac6549 refactor: break up admin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 15:26:08 -07:00
Varun Patil aabaaef390 admin: include versions of bin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-18 14:02:34 -07:00
Varun Patil 475d6f69cd admin: device is not file (fix #577)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 09:31:54 -07:00
Varun Patil 529b9573d9 other: remove unused import
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 09:19:32 -07:00
Varun Patil 2531854552 admin: add token to prevent too many actions
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 20:05:29 -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 7a733d3d11 index: improve job message
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 18:47:26 -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 14011dc5fd public: allow empty foldersPath (fix #550)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:58:28 -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 6b25ad6780 editor: improve edit propagation
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:13:58 -07:00
Varun Patil bb047d9418 editor: fix load after resize
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 10:52:54 -07:00
Varun Patil 7e88bc4248 image: prevent overwrite on copy
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 00:05:41 -07:00
Varun Patil 967646572c imge: more updates
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 23:59:29 -07:00
Varun Patil 678c46b15e More on frmagick
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 23:51:05 -07:00
Varun Patil 7245511bd2 refactor: move binext to service
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:02:13 -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 e495dbfcb8 admin: add places-setup route
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:17:16 -07:00
Varun Patil 4871c2c2bc admin: fix checks of go-vod bin
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 17:57:57 -07:00
Varun Patil 98df8aa7b1 bin: copy externals outside before exec
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 17:51:16 -07:00
Varun Patil ac0cc6460b video: configure external go-vod too
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 16:45:04 -07:00
Varun Patil cb8ebcb6a8 admin: kill go-vod when changing config
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:37:56 -07:00
Varun Patil 8cdfe0a97e notranscode: remove error on UI
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:13:21 -07:00
Varun Patil 5c5eef1ff4 add binext
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:01:29 -07:00
Varun Patil 8c1432af45 admin: add status text
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 00:20:17 -07:00
Varun Patil f73b82bdd5 admin: add settings section
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-09 23:24:59 -07:00
Varun Patil ffdf49395d dl: use video hints
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-03 18:17:21 -07:00
Varun Patil a23ec41916 dl: better chunking
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-03 17:41:01 -07:00
Varun Patil cccc9798c0 image: sort multipreview priority by size
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-01 23:05:29 -07:00
Varun Patil 052134be6e ximg: process multipreview on the fly
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-01 22:35:11 -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 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 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 eb3c834241 refactor: separate folder logic
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 15:54:58 -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 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 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 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
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 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 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 b1df9215f9 big: remove filename from IPhoto
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-16 09:58:43 -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 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 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 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 2bfb04702e archive: prevent crossing user boundary 2023-03-03 12:29:17 -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 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 bdbce20f91 base: byval for getPreviewFromImageList (#25) 2023-02-20 08:12:16 -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