aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Set openfile params when following internal linksLouis Chemineau2021-07-271-3/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix variabable override in file viewLouis Chemineau2021-07-261-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Trigger click event when scrollTo is setLouis Chemineau2021-06-092-1/+55
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #26494 from rigrig/fix-php8-deprecationsMorris Jobke2021-06-071-1/+1
|\ | | | | Fix some php 8 warnings
| * Fix functions taking optional parameters before required onesRichard de Boer2021-05-291-1/+1
| | | | | | | | | | | | | | 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>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0446-91/+55
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix more psalm warningsRoeland Jago Douma2021-05-211-8/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add proper PHPDoc tags to files ApiControllerMorris Jobke2021-05-211-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #26727 from nextcloud/group-exclude-link-shareMorris Jobke2021-05-211-2/+7
|\ | | | | Add option to exclude groups from creating link shares
| * load share settings from the share manager in more placesRobin Appelman2021-05-121-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | optimize getting share types for recent filesRobin Appelman2021-04-211-33/+49
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move over notification to new registrationRoeland Jago Douma2021-04-161-6/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #26198 from nextcloud/unified-search-nodeMorris Jobke2021-03-221-31/+46
|\ | | | | Handle limit offset and sorting in files search
| * pass order from unified search to file searchRobin Appelman2021-03-191-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * use "newer" node search api directly in unified searchRobin Appelman2021-03-181-31/+42
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Only perform login check during ownership transfer for encryptionChristoph Wurst2021-03-191-2/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #25676 from nextcloud/drop/utl-is-ieMorris Jobke2021-03-171-1/+1
|\ \ | |/ |/| Drop \OCP\Util::isIe
| * Drop \OCP\Util::isIeChristoph Wurst2021-03-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #26131 from nextcloud/fix/initialstate-templatesVincent Petry2021-03-171-1/+1
|\ \ | | | | | | Fix default missing initial state for templates
| * | Fix default missing initial state for templatesJohn Molakvoæ (skjnldsv)2021-03-151-1/+1
| |/ | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* / limit constructing of result objects in file searchRobin Appelman2021-03-111-2/+3
|/ | | | | | | | 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>
* Activity: show if files are hidden or notRoeland Jago Douma2021-03-041-2/+38
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-2/+2
| | | | | | | | | | 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>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-281-1/+1
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-282-7/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-283-2/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-282-1/+89
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* cast intsRobin Appelman2021-01-271-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* handle the cache where a cache entry with the correct path has already been ↵Robin Appelman2021-01-271-6/+28
| | | | | | recreated Signed-off-by: Robin Appelman <robin@icewind.nl>
* also repair storage idRobin Appelman2021-01-271-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add command to repair broken filesystem treesRobin Appelman2021-01-271-0/+107
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #25055 from nina-py/18439-add-crop-image-previews-settingJulius Härtl2021-01-152-0/+16
|\ | | | | Add "Crop image previews" setting to files
| * Add "Crop image previews" setting to filesNina Pypchenko2021-01-142-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix database connection usage in the files scannerChristoph Wurst2021-01-112-18/+22
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-1/+1
|/ | | | | | 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>
* Update license headersChristoph Wurst2020-12-302-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-222-2/+2
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-172-2/+2
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Update all license headers for Nextcloud 21Christoph Wurst2020-12-1611-12/+13
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Indicate preview availability in recent file api responsesRichard Steinmetz2020-12-101-0/+1
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Address minor commentsJulius Härtl2020-12-091-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-092-2/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add attributes to file search resultsChristoph Wurst2020-12-031-1/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix getstorage callRoeland Jago Douma2020-11-061-0/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Do not setup the default FS on normal routesRoeland Jago Douma2020-11-061-0/+1
| | | | | | | | | | | | | | 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>
* | only run the background scanner for users that have unscanned filesRobin Appelman2020-10-201-26/+41
| | | | | | | | | | | | 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>
* | Stop transfer of ownership between same usersSujith Haridasan2020-10-121-0/+10
| | | | | | | | | | | | Stop the transfer of ownership between same user. Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-055-49/+49
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | add mount point to quota warning messageRobin Appelman2020-10-041-0/+1
|/ | | | | | makes it more clear to the user what the quota applies to Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #22854 from nextcloud/bugfix/noid/unified-searchRoeland Jago Douma2020-09-151-2/+2
|\ | | | | Bugfix/noid/unified search