Commit Graph

993 Commits (f547d3edf42e6013da1a7062c2b388aaa71118ab)

Author SHA1 Message Date
Varun Patil 1a05220aa3 folders: sanitize the path
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-19 18:51:54 -07:00
Varun Patil f69765a42a fs: improve sanitization
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-19 18:47:58 -07:00
Clément Saccoccio 5d884a564c fix: check that share is a folder before trying to acces sub-folders 2023-10-19 22:50:35 +03:00
Clément Saccoccio c85a611651 share: show directory structure 2023-10-19 22:12:26 +03:00
Varun Patil 080bf1358d admin: show expected go-vod version
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 14:28:18 -07:00
Varun Patil 33561f9ab4 cluster: add missing return type
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 13:26:18 -07:00
Varun Patil 1565638405 lint: modernize old migrations
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 13:23:57 -07:00
Varun Patil 49848bbd16 pslam: fix more issues
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 13:16:57 -07:00
Varun Patil bd2101e7bb refactor: PHP 8 syntax migration
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-15 12:46:35 -07:00
Varun Patil eee5abf210 refactor: improve typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 19:34:30 -07:00
Varun Patil 465c5f2597 php-cs: add more rules
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 19:20:21 -07:00
Varun Patil 03c55a8d67 php-cs: add trailing commas
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 18:59:00 -07:00
Varun Patil fb32a94e2e refactor: move to PHP 8 syntax for constructors
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 18:51:17 -07:00
Varun Patil 6a58a10c86 psalm: remove more dead code
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 18:15:01 -07:00
Varun Patil f992d19932 refactor: remove dead code
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 17:54:29 -07:00
Varun Patil 1752396bf8 days: refactor for better typing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 17:46:54 -07:00
Varun Patil cb12398893 tq: fix string quoting for debug
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 17:31:19 -07:00
Varun Patil 27e9b093bf timeline: enable aggregation for month view
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 17:20:21 -07:00
Varun Patil 7b7ecab8e2 tq: refactor month days API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 17:01:56 -07:00
Varun Patil 2d5b687350 days: improve monthView query
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 16:35:06 -07:00
Varun Patil fe6205aea6 lin: bump psalm level
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 16:06:25 -07:00
Varun Patil eace12df0f days: remove wildcard API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 16:03:59 -07:00
Varun Patil b29ff26a18 days: make preload more efficient
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 15:37:05 -07:00
Varun Patil c8c6f1f8a1 tags: remove some filters
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 14:35:47 -07:00
Varun Patil 03d1f37a29 days: shorten function
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 12:44:26 -07:00
Varun Patil c982c35078 ci: psalm workflow 2023-10-14 02:17:35 -07:00
Varun Patil 3fddf35415 refactor: fix psalm info things
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 02:07:18 -07:00
Varun Patil 71ef41f763 refactor: add psalm
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-14 01:25:50 -07:00
Varun Patil ba959d2c43 refactor: rename timelineQuery
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 23:51:12 -07:00
Varun Patil 6baf1bc3f7 cmd: colorize places-setup output
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 19:05:55 -07:00
Varun Patil 99dfbef88d cmd: improve index logging
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 19:03:13 -07:00
Varun Patil 25d81987b9 tq: exclude hidden mounts
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 17:43:01 -07:00
Varun Patil 5ce8696efb tq: fix debug quoting
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 16:59:14 -07:00
Varun Patil 0c2de94ee3 fs: fix recursion in folder previews
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 16:18:37 -07:00
Varun Patil 12da305022 fs: fix recursive folders
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 15:28:06 -07:00
Varun Patil 6d7c623e46 tq: refactor in root function
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-13 15:10:59 -07:00
Varun Patil 08e75fb790 places-setup: fix output
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-10 04:56:56 -07:00
Varun Patil 7b647dc5c5 places-setup: improve transactions
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-10 04:48:20 -07:00
Varun Patil 1ca9aac7d6 tw: fix buid access (fix #849)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 10:40:38 -07:00
Varun Patil 4130dcd6fb index: document that --clear is now destructive
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 08:56:50 -07:00
Varun Patil 094a57e644 lp: fix mtime type
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 08:51:53 -07:00
Varun Patil 6be0cef3cd migrations: make them idempotent
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 08:45:35 -07:00
Varun Patil 255ef832ac migration: fix when exif is null (fix #848)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-07 08:18:21 -07:00
Varun Patil 82f82cfe5f repair: remove redundant idx, improve output
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 15:42:47 -07:00
Varun Patil 9f25571704 migration: move filecache index to repair
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 15:29:16 -07:00
Varun Patil 9a9783bea1 migration: fix index addition check
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 15:17:04 -07:00
Varun Patil 12bd8823e7 migration: add missing column checks (fix #845)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 15:14:16 -07:00
Varun Patil 57a161b7ed album: fix OG metadata in public link (fix #844)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 09:57:51 -07:00
Varun Patil b9dabc1e14 refactor: minor readjustment in util
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-06 09:55:39 -07:00
Varun Patil e56828f3e8 lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 23:52:11 -07:00
Varun Patil 20d049f160 lp: support Samsung HEIC
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 23:51:52 -07:00
Varun Patil 1360f411ca exif: trim db fields
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 23:33:59 -07:00
Varun Patil 686b399363 exif: only extract unknowns for lp
This is extremely slow for big MKV files, for example

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 16:44:03 -07:00
Varun Patil ce78d81d77 exif: fix buid definition
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:34:15 -07:00
Varun Patil 96ff22325f nx: implement buid
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 15:09:43 -07:00
Varun Patil 8a90e8e01d nx: remove useless size
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:54:24 -07:00
Varun Patil 4016d48007 nx: bump min version
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-04 12:47:19 -07:00
Varun Patil 3e272236a5 lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 11:03:15 -07:00
Varun Patil 8f88c0f96e Merge branch 'master' of https://github.com/pulsejet/memories 2023-10-03 11:01:43 -07:00
Varun Patil d9791d921c binext: allow directory change (fix #821)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-03 11:01:36 -07:00
Varun Patil f414c224c7
Merge pull request #840 from ASDFGamer/show-place-count
Show number of pictures per place
2023-10-03 10:45:18 -07:00
Varun Patil 1cb428b489 nx: use hidden API
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 17:54:56 -07:00
Varun Patil 51b096c194 api: add hidden day option
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 17:22:05 -07:00
Varun Patil 5820c53857 tq: mark hidden files
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 17:09:10 -07:00
Varun Patil a87bc2e14b migration: show progress on epoch migration
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 15:42:41 -07:00
Varun Patil b4eb9c1fc1 page: nxsetup is not public
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 10:09:23 -07:00
Varun Patil fd1671625a nx: move setup to this
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-02 10:03:58 -07:00
Varun Patil a14f2febb6 exif: fix mtime zone
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-10-01 08:45:44 -07:00
Christoph Wildhagen d7c55aa5a9
Update source of count value 2023-10-01 13:07:05 +02:00
Christoph Wildhagen f5f844e978
Merge branch 'pulsejet:master' into show-place-count 2023-10-01 13:05:51 +02:00
Varun Patil a78aa311f0 Bump up go-vod
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 14:14:42 -07:00
Varun Patil 679538e6df exif: remove useless byrefs
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 12:26:17 -07:00
Varun Patil 5fac290b37 share: enable sharing smaller videos
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 11:37:40 -07:00
Varun Patil 33b916d54a perf: add index on isvideo
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-30 09:01:26 -07:00
Varun Patil 23843c3ded exif: resume on failure to get file (fix #820)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 18:52:03 -07:00
Varun Patil fa9d26e3da index: fix error logging
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 18:50:32 -07:00
Christoph Wildhagen 06266a27e3 Show number of pictures per place
This shows the number of pictures per place.
This function was previously disabled, if the parameter 'mark'
wasn't set to 0. I found no reason why this was the case.

Signed-off-by: Christoph Wildhagen <git@christoph-wildhagen.de>
2023-09-30 00:58:50 +02:00
Varun Patil 697fc4535d index: prevent blank exif indexing
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 11:25:49 -07:00
Varun Patil 630a435dea Refactor PR 2023-09-29 11:00:44 -07:00
Varun Patil 6947ee9bc5 Merge branch 'dev/default-timeline' of https://github.com/Murena-SAS/memories into Murena-SAS-dev/default-timeline 2023-09-29 10:34:16 -07:00
Varun Patil 2bb0f30c6f admin: allow configuring GOP size workaround (fix #800)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 10:27:59 -07:00
Varun Patil 47a4ea7c78 Bump up go-vod (fix #822)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 10:27:29 -07:00
Varun Patil 151f1e9d8c docs: document OCC commands
closes #772

Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-29 09:50:49 -07:00
Varun Patil e10baecb69 lint: fix php
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-27 18:57:29 -07:00
Varun Patil 562128b02b tq: use MAX for mimetype query (fix #312)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-27 18:43:14 -07:00
Varun Patil 725c32cb4e tq: hide files in hidden folders (fix #825)
Signed-off-by: Varun Patil <radialapps@gmail.com>
2023-09-27 18:33:03 -07:00
Akhil 269d080df1
lint fix 2023-09-26 23:17:28 +05:30
Akhil 6b4983fc28
use getsystemconfig method 2023-09-26 20:36:49 +05:30
Akhil 77cb06e67a
Use default_timeline_path to show first start or not 2023-09-26 20:17:30 +05:30
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