aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Move legacy classes from PSR0 to PSR4Christoph Wurst2020-04-071-601/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19781 from ↵Robin Appelman2020-04-011-12/+8
|\ | | | | | | | | nextcloud/quota-include-external-dont-use-current-user Dont always use the current users quota when calculating storage info
| * Dont always use the current users quota when calculating storage infoRobin Appelman2020-03-041-12/+8
| | | | | | | | | | | | | | | | | | | | instead pass the quota as parameter. Without this fix, when 'quota_include_external_storage' is enabled, the webui will show the quota configured for the admin for every user instead of the users quota Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-5/+5
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-4/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* actually return the quote when getting global storage infoRobin Appelman2019-11-061-2/+7
| | | | | | prevents 'undefined' index errors when 'include external storage in quota' is enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* Deprecate TemplateManagerJulius Härtl2019-10-161-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove the upload and memory settingJoas Schilling2019-03-041-26/+0
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-17/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dont use find to lookup binariesDaniel Kesselberg2018-09-291-14/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-2/+2
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix explode() call in legacy/helper.php to have correct typesMorris Jobke2018-01-121-2/+2
| | | | | | Found while enabling strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* don't pass User object when uid string is expectedArthur Schiwon2017-09-181-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Some more invalid PHPDocs in legacy classesLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix \OCP\UtilLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Correctly calculate used space for quota with external storageArdinis2017-05-121-1/+1
| | | | | | issue #4348 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "cache the storage info for 5 min"Morris Jobke2017-02-161-29/+5
|
* hash the path used for the cache key to prevent key length problemsRobin Appelman2017-01-241-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* cache the storage info for 5 minRobin Appelman2017-01-231-5/+28
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove checks whether OC is running on Windows pt. 2RealRancor2016-10-241-11/+3
|
* Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-1/+1
|
* Simplify isSubDirectory checkLukas Reschke2016-10-071-26/+0
| | | | | | Shaves off another 9ms per request as can be seen at https://blackfire.io/profiles/compare/dd54cef3-e58d-4a22-b8f4-c7c4b70697be/graph Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #847 from nextcloud/quota-mount-in-homefolderLukas Reschke2016-08-281-1/+1
|\ | | | | fix quota calculation when a filesystem is mounted in a user home
| * fix quota calculation when a filesystem is mounted in a user homeRobin Appelman2016-08-121-1/+1
| |
* | fix getting quota for public links with quota_include_external_storageRobin Appelman2016-08-121-1/+13
|/
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Remove unneeded checks if it runs on a Windows machineMorris Jobke2016-07-081-1/+1
| | | | * the setup check is still there
* dissalow symlinks in local storages that point outside the datadirRobin Appelman2016-06-071-1/+3
|
* Fix second check for quota size (#24989)Joas Schilling2016-06-061-1/+1
|
* Update license headersLukas Reschke2016-05-261-3/+3
|
* Remove unneeded private wrapper methodsMorris Jobke2016-05-021-31/+0
|
* Move non PSR-4 files from lib/private root to legacyRoeland Jago Douma2016-04-301-0/+703
As discussed we move all old style classes (OC_FOO_BAR) to legacy. Then from there we can evaluate the need to convert them back or if they can be fully deprecated/deleted.