Commit Graph

1004 Commits (1c8fed779df0d4d0545c0df0b979eed8ee401dbf)

Author SHA1 Message Date
Akhil 83ed204d9c
Set default timeline path option 2023-09-26 20:08:54 +05:30
Varun Patil 277f1789f5 lint: fix php with latest cs-fixer
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 10:56:59 -07:00
Varun Patil 73fdcd9166 Refactor implementation 2023-09-12 10:40:23 -07:00
Varun Patil 66c5baa964 Merge branch 'add-public-full-res-options' of https://github.com/rhyst/nextcloud-memories into rhyst-add-public-full-res-options
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 09:40:28 -07:00
Varun Patil f7f4c12dba app: whitelist HEIF and WebP (#812, close #811)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-12 09:28:25 -07:00
Varun Patil fd7ac71d96 tw: simplify cleanup query
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-08 16:30:38 -07:00
Varun Patil 94d423a9df lint: fix php 2023-09-08 16:10:29 -07:00
Varun Patil a9a25a9555 Merge branch 'dev/index-command-options' of https://github.com/Murena-SAS/memories into Murena-SAS-dev/index-command-options 2023-09-08 16:09:40 -07:00
Varun Patil 50dfffc0f8 admin: improve perl detection
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-03 13:30:31 -07:00
Varun Patil 134e0f3748 download: don't cap video downloads
This doesn't work in Firefox due to a bug in video streaming.

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-03 09:37:23 -07:00
Varun Patil 0752081d15 refactor: remove force option from getSysConfig
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-03 09:26:54 -07:00
Akhil d08778122b
Fix group condition
Signed-off-by: Akhil <akhil@e.email>
2023-09-01 20:23:24 +05:30
Akhil 16f12ef061
Add per-group and skip cleanup options 2023-09-01 17:03:50 +05:30
Varun Patil deef94f7cd lp: reduce liveid size to 128
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-31 13:32:52 -07:00
Varun Patil 5ad9092928 migrations: reduce size of old UID field
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-31 13:30:50 -07:00
Varun Patil 5ba43a134a binext: bump go-vod to 0.1.13 (close #800)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 20:10:04 -07:00
Varun Patil b4873776a3 refactor: lint fix
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 13:27:43 -07:00
Varun Patil 4122f592b6 public: fix extra slash in path (fix #716)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 13:25:28 -07:00
Varun Patil f1ed890480 chore: update php-cs-fixer
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 11:10:08 -07:00
Varun Patil 5cffbf2197 places: reduce column size
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-30 10:25:25 -07:00
Varun Patil b1ab26e44a refactor: improve typing and doc
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-29 10:27:26 -07:00
Varun Patil 45b042d704 db: change mtime to BIGINT (fix #518)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-28 09:10:23 -07:00
Varun Patil ff481dffbb image: revert filename format change
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 19:55:04 -07:00
Varun Patil cd853f4a04 metadata: make basename clickable
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 19:40:01 -07:00
Varun Patil fbcec52de4 metadata: refactor
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 13:49:40 -07:00
Varun Patil 001c63ad90 metadata: add file path (fix #173)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-25 12:53:15 -07:00
Varun Patil 19a1aebba3 Bump up go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-24 22:16:10 -07:00
Varun Patil b0bf05df31 admin: detect recognize installed but not enabled (fix #789)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-24 21:14:41 -07:00
Varun Patil 1426e947ba image: prevent quality loss during commit
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-22 10:46:53 -07:00
Varun Patil 290c550f2f native: implement AUID
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-20 23:07:07 -07:00
Varun Patil 25761f119b migrations: update copyright
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-20 22:13:09 -07:00
Varun Patil 5928255463 fs: document nomedia exclusion
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-20 10:38:17 -07:00
Varun Patil 0091fdd962 index: support .nomemories (fix #777)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-20 09:42:04 -07:00
Varun Patil 9fe1c02076 refactor: use selectAlias
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-17 10:48:43 -07:00
Varun Patil 4e3ed6fc49 admin: check for preview imagick and ffmpeg
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-16 20:24:38 -07:00
Varun Patil ea11e8d984 Merge branch 'memoriesMetadata' of https://github.com/matiasdelellis/memories into matiasdelellis-memoriesMetadata 2023-08-16 08:25:50 -07:00
Varun Patil b513650892 recognize: filter user in unassigned (fix #773)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-16 08:18:51 -07:00
Varun Patil a6d7ddecdb clusters: add error message to preview
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-16 08:16:06 -07:00
Matias De lellis df918a04de Don't show the individual clusters but now accordingly with the new version of Face Recogntion. 2023-08-08 20:38:15 -03:00
Matias De lellis 68e8204ee6 Two small micro optimizations
Confidence is not used since the faces scoring method is shared with
recognize and fix removal of two parameters in image list response.
2023-08-08 19:21:18 -03:00
Matias De lellis b956cbdb53 Implement Face Recognition getClustersInternal filtered with fileid 2023-08-07 21:11:36 -03:00
Varun Patil 71f0f5e523 chore: bump up go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-05 11:27:29 -07:00
Varun Patil 5e7e4fae4d viewer: allow disabling live photo autoplay (fix #591)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-05 10:39:29 -07:00
Varun Patil 5b1cab9f91 albums: fix sort order
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 22:44:28 -07:00
Varun Patil 7af24abcc9 api: revert OCS API change
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 22:27:10 -07:00
Varun Patil c7b05c1194 image: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 22:15:27 -07:00
Varun Patil 0ddb478759 chore: bump go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 21:11:28 -07:00
Varun Patil b8160e6ae8 util: fix constructor of callback response
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-08-03 20:54:44 -07:00
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