Commit Graph

1006 Commits (c84697d6bbad82a7be92c1e6379786287db5f739)

Author SHA1 Message Date
Varun Patil 46a15a16eb clusters: fix linting (ugh)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 19:56:32 -07:00
Varun Patil 66f9616942 perf: reduce metadata queries
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 19:43:57 -07:00
Varun Patil d00411670e image: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 18:57:23 -07:00
Varun Patil db5030c18b clusters: make fileid filter generic
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 18:56:51 -07:00
Varun Patil dc99fcd3e5 admin: support go-vod useTranscoder option
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 13:13:17 -07:00
Varun Patil 2f6e80c4de admin: check for preview generator
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 10:11:39 -07:00
Varun Patil 62eea6c4e1 places: fix duplicate where
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-02 19:33:15 -07:00
Varun Patil af226344b8 metadata: show faces
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-02 18:52:29 -07:00
Varun Patil 8283516911 albums: rearrange stuff in backend
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-02 18:08:16 -07:00
Varun Patil ce2b5f2fae albums: refactor change
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-02 15:28:28 -07:00
Varun Patil 4da3bd938a albums: refactor backend
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-02 15:22:06 -07:00
Alex Saltykov 7eca2b7111
Merge branch 'pulsejet:master' into issue-738.ux-improvements 2023-07-25 13:13:02 +03:00
Alexander Saltykov 2457eb70aa Fixes indicator styling, adds info whether an album contains selected file
Signed-off-by: Alexander Saltykov <temp.kroogi@gmail.com>
2023-07-24 22:35:25 +03:00
Varun Patil 2d6b025582 image: clear imagick
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-23 15:26:41 -07:00
Varun Patil 33d968dc53 chore: bump up go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-21 20:26:56 -07:00
Varun Patil 45fa284b75 albums: fix name for shares (fix #723)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-06 13:18:59 -07:00
Varun Patil 590d8272d5 Implement unclustered photos for recognize (fix #475)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-03 17:07:50 -07:00
Varun Patil 9d9ef6654e tw: fix array_pop arg (close #720)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-03 12:02:52 -07:00
Varun Patil 906f6594bb util: fall back to busybox for ps (fix #714)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-07-03 12:00:36 -07:00
Varun Patil 1e881fb93b exif: turn on LFS (close #713)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-30 10:40:17 -07:00
Varun Patil c1cc0c695a public: prevent 500 for unindexed share (fix #711)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-29 08:42:56 -07:00
Varun Patil e6597844f7 share: prevent init screen on shares (fix #562)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-26 14:53:32 -07:00
Varun Patil 2fda196cbf exif: prevent original duplicates on edit (fix #699)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-26 14:39:25 -07:00
Varun Patil 4e283ecc93 refactor: use consistent preview sizes (fix #679)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-04 10:44:35 -07:00
Varun Patil 078f4f7a5c lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-03 09:06:46 -07:00
Varun Patil 089c5298c4 nx: detect with requested header
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-06-02 20:05:34 -07:00
Rhys Tyers 011a862367 Create global preview/full res image settings and allow user to override them 2023-06-01 20:58:23 +01:00
Rhys Tyers 1be43bdeeb Add configuration for full res on zoom and full res always for public shares 2023-05-31 12:35:40 +01:00
Varun Patil f8eaa75b8e exif: fix set with unicode names
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-30 20:55:17 -07:00
Varun Patil 483bf74d29 timeline-root: fix .nomedia matching (fix #668)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-30 10:36:20 -07:00
Varun Patil b1a141ff9b lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-29 23:23:40 -07:00
Varun Patil 34d48c3cc6 places: implement hierarchy (close #511)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-29 23:12:55 -07:00
Varun Patil 985bcee976 admin: test temp go-vod bin only
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-28 10:09:50 -07:00
Varun Patil 86e27e0f46 admin: add params to render
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-28 09:59:34 -07:00
Varun Patil c1ab6572bd chore: bump up go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-28 01:24:42 -07:00
Varun Patil 8899021c96 image: fix editing png
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-28 00:58:45 -07:00
Varun Patil 1ec29d83eb lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-27 21:23:54 -07:00
Varun Patil 7b027a1fe9 metadata: fix display of mtime (fix #666)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-27 17:10:20 -07:00
Varun Patil e7cd6d0e60 hooks: clear all cache on logout (close #665)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-26 11:05:44 -07:00
Varun Patil 1a6f17fb54 util: use native PHP user agent
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-26 10:51:31 -07:00
Varun Patil f154e12804 admin: minor refactor
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-26 10:23:16 -07:00
Varun Patil 0532bc8ee3 refactor: use separate entry point for admin
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-26 09:47:05 -07:00
Varun Patil 24644c646f page: cosmetic refactor
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-26 09:26:45 -07:00
Varun Patil ca8e447409 exif: always call proc_close (#663)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-25 11:00:27 -07:00
Varun Patil 97b18e9ece lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-24 23:10:57 -07:00
Varun Patil ca30e2f876 albums: show better title
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-24 21:59:03 -07:00
Varun Patil 5c6728d413 chore: lint for new cs-fixer
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-24 19:23:04 -07:00
Varun Patil ff2fe92115 Bump up go-vod version
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 22:43:44 -07:00
Varun Patil b2bb64e83d admin: allow preview configuration (close #587)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 22:35:29 -07:00
Varun Patil 8b37c33154 admin: add preview types
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 21:57:53 -07:00
Varun Patil 98b60f44ca public-album: add download API (fix #621)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 21:21:22 -07:00
Varun Patil 4bb41d1cc4 refactor: fs manager strings
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 21:06:22 -07:00
Varun Patil 1d1ba59ae2 clusters: fix query name
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 20:52:54 -07:00
Varun Patil d4fcf94047 refactor: download controller params
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-22 20:30:08 -07:00
Varun Patil 72c83319cb api: inherit OCSController
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-21 10:21:10 -07:00
Varun Patil 2f0fb83f7c page: do not hide bg
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-20 21:53:05 -07:00
Varun Patil 662397c320 nx: check version
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-17 23:16:11 -07:00
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 8e410f73da util: move system config defaults to file
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-17 20:42:21 -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 bf7721cb1f nx: strip empty auth header
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-16 23:34:04 -07:00
Varun Patil df870d5024 nx: UA update
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-16 23:33:38 -07:00
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 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 042dfe4307 Bump go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-14 19:39:54 -07:00
Varun Patil 2e59e59df8 video: get rid of CSS rotation
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-14 18:44:05 -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 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 2641a7619b util: allow all path chars (fix #635)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-06 21:30:51 -07:00
Varun Patil 1309f6bcbd lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 17:12:04 -07:00
Varun Patil 2680284b05 Bump exiftool
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 03:49:39 -07:00
Varun Patil 402e12b287 places-setup: fix unlink warnings
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-05-05 02:19:15 -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 c5deb0baa0 exif: prefer CreateDate for all videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-30 04:57:39 -07:00
Varun Patil 289317bbc6 exif: fix timezone parsing for Apple Quicktime
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-30 04:22:22 -07:00
Varun Patil 1013076051 exif: prevent stay_open zombies
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-29 11:27:59 -07:00
Varun Patil 7e252fd56c binext: improve ffmpeg check
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-29 10:56:52 -07:00
Varun Patil 429c821fbf Support for recognize v3.8 (fix #618)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-28 22:29:10 -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 0718a03ee0 db: use 1 for literals
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 23:03:33 -07:00
Varun Patil 5eb6115680 binext: fix crash on non-existent exiftool
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 22:54:53 -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 ad5a75b2f6 frmagick: orient before transformations (fix #609)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-24 14:33:22 -07:00
Varun Patil fec633e51b
Merge pull request #602 from dpjl/master
Add x-msvideo mime type
2023-04-24 13:08:46 -07:00
Varun Patil 6c28bc054e
Merge pull request #606 from llucax/fix-605
Avoid showing "Memories: Indexing process stopped before completion. Will continue on next run" as a warning
2023-04-24 13:06:46 -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
Leandro Lucarella 94e9b616d2
Avoid showing "Memories: Indexing process stopped before completion. Will continue on next run" as a warning
An indexing cron job not finishing is just normal operation, so
we shouldn't emit a warning for it. This commit emits a info
instead when this happens.

While we are at it, we also emit a info message if the indexing
was successful.
2023-04-23 11:53:38 +02:00
dpjl 8e0ebce13d
Add x-msvideo mime type 2023-04-23 07:37:56 +02: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 0aa822c5e4 binext: use CRC for getTimeBin
Academic only, the performance difference between these is zero

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-21 01:13:15 -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 48b417db0a index: add type hint for section
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:27:36 -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 31e753c176 index: don't exit
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-20 14:11:54 -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 4239e05b3c lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 17:49:30 -07:00
Varun Patil 0e5f058af9 exif: blacklist invalid date (fix #539)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-04-19 17:37:35 -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 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 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 418cfb7e5c Bump up go-vod
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-17 00:39:02 -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 c3067dab91 index: add background job (close #110)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 18:07:57 -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 c25dd6e640 albums: fix empty root check
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:46:26 -07:00
Varun Patil 5934ab4a11 Remove duplicate mime type
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 15:07:38 -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 9db4d6b8b9 frmagick: orient image
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 11:29:00 -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 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 bc704e8221 frmagick: ensure correct colorspace
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-16 10:13:13 -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 9f62a23895 tw: acquire lock before processing
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 12:02:07 -07:00
Varun Patil 039115d8f4 index: move clean to finally
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-15 11:41:15 -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 b4a80dff55 binext: add type cast
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:08:58 -07:00
Varun Patil 24fb01edd6 binext: add strict types
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-14 16:03:22 -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 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 a9b0f463a1 index: better output
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-13 22:24:01 -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 7ab557093b bin-ext: scope by instance (also fix #559)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-11 11:52:12 -07:00
Varun Patil 3ffb9ad19d binext: add suffix to tempfile
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:45:42 -07:00
Varun Patil c39bca0278 places: fix error message
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:40:32 -07:00
Varun Patil 6d26fadfe6 binext: use realpath
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:38:07 -07:00
Varun Patil 5852102eb7 places-setup: add reindex note
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:23:01 -07:00
Varun Patil 42a5616860 cmd: remove unused constants
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 19:19:00 -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 b84bdc65a5 Bump up vod
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 17:03:51 -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 31a37deda2 Remove video-setup
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:34:16 -07:00
Varun Patil 312039deab add more config to repair step
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-10 14:32:35 -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 203cb146c8 admin: add exiftool
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-09 23:42:23 -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 0a37263dda places-setup: reduce transactioon size to 100 (fix #535)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-04-01 09:44:13 -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 70c2b0d11d index: allow specifying user and folder (fix #184)
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-29 16:38:17 -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 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