Commit Graph

823 Commits (aecc53841c920195d2cba5069530baeba6aa73ad)

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