Immanuel Pasanec
1f42657bb9
Added support for transfering incoming file shares.
...
- new option --transfer-incoming-shares=1 | 0
- new config.php option 'transfer-incoming-shares' => true | false
The command line option overrules the config.php option.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-27 17:55:58 +07:00
Christoph Wurst
ffcf27c757
Log exception message during failed ownership transfer share restore
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-24 09:22:30 +07:00
Louis
1ad5e8ad73
Fix typo
...
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2021-07-28 11:15:03 +07:00
Louis Chemineau
e558a00496
Set openfile params when following internal links
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-27 11:41:32 +07:00
Louis Chemineau
2cbc3e9245
Fix variabable override in file view
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-26 15:47:37 +07:00
Louis Chemineau
c03a14934b
Trigger click event when scrollTo is set
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-09 16:19:11 +07:00
Morris Jobke
2ae60b42ab
Merge pull request #26494 from rigrig/fix-php8-deprecations
...
Fix some php 8 warnings
2021-06-07 23:30:59 +07:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +07:00
Richard de Boer
f23d057ad9
Fix functions taking optional parameters before required ones
...
PHP 8 shows deprecation warnings about this, see #25806
Removes the "default" values, as they actually are required parameters anyway.
Signed-off-by: Richard de Boer <git@tubul.net>
2021-05-29 14:14:52 +07:00
Roeland Jago Douma
bcf01a1b90
Fix more psalm warnings
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-21 16:58:15 +07:00
Morris Jobke
eb1d16d92d
Add proper PHPDoc tags to files ApiController
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-21 16:58:15 +07:00
Morris Jobke
f1dbabd910
Merge pull request #26727 from nextcloud/group-exclude-link-share
...
Add option to exclude groups from creating link shares
2021-05-21 15:35:39 +07:00
Robin Appelman
b1dca57a1c
load share settings from the share manager in more places
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:28 +07:00
Robin Appelman
907e997c99
optimize getting share types for recent files
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-21 13:56:11 +07:00
Roeland Jago Douma
0593b039fc
Move over notification to new registration
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +07:00
Morris Jobke
1c074e7602
Merge pull request #26198 from nextcloud/unified-search-node
...
Handle limit offset and sorting in files search
2021-03-22 21:48:51 +07:00
Robin Appelman
a0fb6d2518
pass order from unified search to file search
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 16:07:57 +07:00
Christoph Wurst
e68c4a4ed3
Only perform login check during ownership transfer for encryption
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-19 11:25:56 +07:00
Robin Appelman
14a1b5063e
use "newer" node search api directly in unified search
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 16:22:29 +07:00
Morris Jobke
f56e5bb0db
Merge pull request #25676 from nextcloud/drop/utl-is-ie
...
Drop \OCP\Util::isIe
2021-03-17 20:18:11 +07:00
Vincent Petry
ab5c19bb08
Merge pull request #26131 from nextcloud/fix/initialstate-templates
...
Fix default missing initial state for templates
2021-03-17 10:18:03 +07:00
John Molakvoæ (skjnldsv)
223fe2aae6
Fix default missing initial state for templates
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-15 17:23:30 +07:00
Robin Appelman
424db15dea
limit constructing of result objects in file search
...
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.
this saves about 40% of the time spend in the search request in my local testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11 14:49:57 +07:00
Christoph Wurst
7f3051e5bf
Drop \OCP\Util::isIe
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-09 20:29:42 +07:00
Roeland Jago Douma
997259d1cd
Activity: show if files are hidden or not
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 13:14:52 +07:00
dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +07:00
Julius Härtl
6c1b357973
Move TemplateProvider registration to boot context and make template type registration lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-28 12:00:21 +07:00
John Molakvoæ (skjnldsv)
4f90766ba3
Skip template picker if none available
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-28 12:00:20 +07:00
John Molakvoæ (skjnldsv)
78e114ed72
Add template picker
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-01-28 12:00:18 +07:00
Julius Härtl
4974404774
files: Create files from template API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-28 11:59:46 +07:00
Robin Appelman
1ecc02946f
cast ints
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-27 18:08:10 +07:00
Robin Appelman
68589f7792
handle the cache where a cache entry with the correct path has already been recreated
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-27 16:11:23 +07:00
Robin Appelman
8bd39f081f
also repair storage id
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-27 16:11:20 +07:00
Robin Appelman
291b72ec50
add command to repair broken filesystem trees
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-27 16:11:16 +07:00
Julius Härtl
c80e007607
Merge pull request #25055 from nina-py/18439-add-crop-image-previews-setting
...
Add "Crop image previews" setting to files
2021-01-15 08:07:52 +07:00
Nina Pypchenko
c14638877c
Add "Crop image previews" setting to files
...
Added a new user setting that toggles cropping on image previews
in grid view.
True (default value): crops each image to a square. False: keep original
aspect ratio.
Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>
Closes #18439 .
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-01-14 17:36:17 +07:00
Christoph Wurst
3678823748
Fix database connection usage in the files scanner
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-11 16:45:14 +07:00
Morris Jobke
24d436cb60
Remove unneeded casts that were found by Psalm
...
In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521 )
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-01-11 13:14:41 +07:00
Christoph Wurst
9ce3ea3368
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30 14:07:05 +07:00
Roeland Jago Douma
adc4f1a811
Merge pull request #22916 from J0WI/unifiy-links-to-php.net
...
Unify links to php.net
2020-12-22 09:53:31 +07:00
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-16 18:48:22 +07:00
Richard Steinmetz
f56eb82ddd
Indicate preview availability in recent file api responses
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-12-10 16:37:46 +07:00
Julius Härtl
c4ea37b8a1
Address minor comments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 15:51:41 +07:00
Julius Härtl
f3150f29a7
Introduce deck share type to ShareAPIController
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-12-09 13:20:24 +07:00
Christoph Wurst
885dabb761
Add attributes to file search results
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-03 18:24:33 +07:00
Roeland Jago Douma
448044d831
Fix getstorage call
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 09:03:32 +07:00
Roeland Jago Douma
48d843858d
Do not setup the default FS on normal routes
...
This should help with load times hopefully. Only initialize the FS if we
actually ned it.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-11-06 09:03:32 +07:00
Robin Appelman
d52328660e
only run the background scanner for users that have unscanned files
...
instead of looping trough all users and seeing if they have unscanned files, we do a single query to find all storages that need scanning and run trough the users for them
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-10-20 17:48:25 +07:00
Sujith Haridasan
08bdc549bb
Stop transfer of ownership between same users
...
Stop the transfer of ownership between same user.
Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-12 09:31:49 +07:00
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 20:25:24 +07:00