aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
...
| * Refactors "strpos" calls in lib/private to improve code readability.Faraz Samapoor2023-05-153-4/+4
| | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
* | chore: Drop \OC_App::getSettingsNavigationChristoph Wurst2023-06-011-13/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getNavigationChristoph Wurst2023-06-011-15/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getAppInfoChristoph Wurst2023-06-011-17/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-011-15/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #38552 from nextcloud/chore/drop-oc-defaults-getlogoclaimJoas Schilling2023-05-311-9/+0
|\ \ | | | | | | chore!: Drop \OC_Defaults::getLogoClaim
| * | chore!: Drop \OC_Defaults::getLogoClaimChristoph Wurst2023-05-311-9/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | chore!: Drop \OC_App::isEnabledChristoph Wurst2023-05-311-13/+0
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / fix: better error message on missing user files dirJohn Molakvoæ2023-05-251-1/+1
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Remove version check for ancient libxml versionjld31032023-05-051-14/+0
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Add missing taint analysis docblock comments, and improve escaping in some ↵Carl Schwan2023-04-241-1/+3
| | | | | | | methods Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Read mtime of version.php only onceArthur Schiwon2023-04-211-3/+1
| | | | | | | - in most cases it would read again in \OC_Util::loadVersion anyway - remove some unused use statements Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-053-8/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix version number in phpdoc for app loading refactorCôme Chilliet2023-03-271-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36636 from nextcloud/fix/oc-image-getimagesizeSimon L2023-03-231-2/+2
|\ | | | | fix OC_Image: Prevent E_WARNING from getimagesize*
| * fix OC_Image: Prevent E_WARNING from getimagesize*Marcel Klehr2023-03-161-2/+2
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Merge pull request #36057 from nextcloud/feat/esm-js-scriptsJulius Härtl2023-03-221-5/+11
|\ \
| * | feat(OC/Template): Add `type="module"` for ES6 scriptsFerdinand Thiessen2023-02-221-5/+11
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | Small cleanups for AppManagerCôme Chilliet2023-03-201-1/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move loadApps to the AppManagerCôme Chilliet2023-03-201-32/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move isType to AppManagerCôme Chilliet2023-03-201-27/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Move loadApp function to the AppManagerCôme Chilliet2023-03-201-129/+5
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | perf(autoloader): Drop legacy class autoloaderChristoph Wurst2023-03-161-2/+0
| |/ |/| | | | | | | | | | | | | The documentation says apps should use PSR-4 to get their classes loaded. The legacy PSR-0 is still in place and has a negative impact on performance. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-1/+5
| | | | | | | | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #36883 from nextcloud/fix/noid/gs-saml-pre-login-eventMaxence Lange2023-03-071-2/+9
|\ \ | | | | | | dispatch BeforeUserLoggedInEvent
| * | dispatch BeforeUserLoggedInEventMaxence Lange2023-03-011-2/+9
| |/ | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix: Use proper path for quota fetchingJulius Härtl2023-03-061-4/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix: Recalculate storage statistics on updating the quotaJulius Härtl2023-03-061-0/+9
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-0/+184
|
* Do not set up filesystem on every callAnna Larch2023-02-171-184/+0
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-151-1/+1
| | | | | | | | | | While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
* instrumentation for app bootingRobin Appelman2023-02-091-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make sure application are only loaded onceCôme Chilliet2023-02-071-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Put back string in $includeMounts as it actually does somethingCôme Chilliet2023-02-071-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Type sizes as int|float throughout the code baseCôme Chilliet2023-02-071-9/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix computerFileSize when called with a string without unitCôme Chilliet2023-02-071-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix 32bits bigint support in Util/OC_HelperCôme Chilliet2023-02-072-15/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix bigsize support on 32bits in OC_HelperCôme Chilliet2023-02-071-7/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "remove 32-bit workarounds"Côme Chilliet2023-02-071-0/+13
| | | | | | This reverts commit dd8774389e21b59c07882580356d51de018fe867. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refresh cached app folder on install/upgradeMaxence Lange2023-02-011-5/+9
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* composer run cs:fixCôme Chilliet2023-01-208-41/+34
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Attempt at reducing psalm errorsCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(files): Quota in navigationJohn Molakvoæ2023-01-171-1/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Small fix in OC_APICôme Chilliet2023-01-021-5/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* increase preview_max_memory and make it easier to debugSimon L2022-12-221-3/+3
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Use display name cache on getStorageInfoJulius Härtl2022-12-161-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Adapt test to also run isolated Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow empty mimeTypeJ0WI2022-12-041-8/+7
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Add type hintsJ0WI2022-12-041-49/+45
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Fix redundant conditionJ0WI2022-12-041-1/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Remove obsolete GD function overwritesJ0WI2022-12-041-281/+1
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>