aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix variabable override in file viewLouis Chemineau2021-07-291-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix functions taking optional parameters before required onesRichard de Boer2021-06-071-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>
* Only perform login check during ownership transfer for encryptionChristoph Wurst2021-05-031-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* pass order from unified search to file searchRobin Appelman2021-03-231-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use "newer" node search api directly in unified searchRobin Appelman2021-03-231-31/+42
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #26087 from nextcloud/backport/26049/stable21Vincent Petry2021-03-181-2/+3
|\ | | | | [stable21] limit constructing of result objects in file search
| * limit constructing of result objects in file searchRobin Appelman2021-03-121-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>
* | Fix default missing initial state for templatesJohn Molakvoæ (skjnldsv)2021-03-171-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Activity: show if files are hidden or notRoeland Jago Douma2021-03-041-2/+38
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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
| * Use absolute URLs on search results for the clientsJoas Schilling2020-09-151-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix files search providerRoeland Jago Douma2020-09-111-1/+11
|/ | | | | | | | The move to OCS make it so no filesystem is setup. This makes the static file search code do boom. Explicitly getting the users filesystem helps. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow to get activities for files by email againJoas Schilling2020-09-101-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #22648 from nextcloud/bugfix/noid/transfer-all-sharesJoas Schilling2020-09-091-2/+2
|\ | | | | Transfer shares if no path provided
| * Transfer shares if no path providedJulius Härtl2020-09-071-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
|/ | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not expose direct editing if no master key is availableJulius Härtl2020-09-012-3/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Transfer shares of the transferred root nodeJulius Härtl2020-08-311-3/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* show better quota warning for group folders and external storageRobin Appelman2020-08-251-0/+1
| | | | | | instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-2411-5/+18
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21797 from rawtaz/patch-1Morris Jobke2020-08-201-1/+1
|\ | | | | Include e-mail shares when transferring ownership
| * Include circle shares when transferring ownershiprawtaz2020-07-151-1/+1
| |
| * Include e-mail shares when transferring ownershiprawtaz2020-07-111-1/+1
| | | | | | E-mail shares weren't included in the processing of shares when using the `occ files:transfer-ownership` command, so they'd be lost (not visible in either the former or the new account). This commit fixes that.
* | Merge pull request #21861 from nextcloud/techdebt/files-psr-containerMorris Jobke2020-08-171-15/+22
|\ \ | | | | | | Migrate files to the PSR container