aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge pull request #39852 from nextcloud/pragmaHeaderFerdinand Thiessen2023-10-181-1/+0
| |\ \ | | | | | | | | Stop sending deprecated Pragma header
| | * | Stop sending deprecated Pragma headerGit'Fellow2023-08-281-1/+0
| | |/ | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-1/+1
| | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| * | Remove deprecated methods Util::writeLog and DIContainer::logCôme Chilliet2023-09-252-12/+11
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Merge pull request #39216 from shdehnavi/replace_substr_calls_in_lib_privateRobin Appelman2023-09-211-1/+1
| |\ \ | | | | | | | | Refactor "substr" calls in lib/private to improve code readability
| | * | Refactor "substr" calls to improve code readabilityHamid Dehnavi2023-07-071-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
| * | | fix(autoloader): no apcu no side effectsArthur Schiwon2023-09-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apcu lead to side effects especially with app management and (soft) inter-dependencies, and lead also to 500 server errors. While we could add management to clear apcu cache in many cases (may stil leave edge cases) the performance benefit is marginally as also class maps are already cached in opcache. Hence, the simple and effective way to go is to not use apcu for autoloading. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | Detect aborted connection in OC\Files\View and stop writing data to the ↵Benjamin Gaussorgues2023-09-071-0/+4
| | |/ | |/| | | | | | | | | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* / | Refactor `OC\Server::getSecureRandom`Andrew Summers2023-08-291-2/+3
|/ / | | | | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* | Merge pull request #39888 from nextcloud/less-container-queriesJoas Schilling2023-08-181-7/+12
|\ \ | | | | | | Reduce the number of container queries
| * | better caching in storage stats calculationsRobin Appelman2023-08-181-7/+12
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | add separate event for rendering login page templateRobin Appelman2023-08-171-1/+0
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | move core script loading from static template to event listenerRobin Appelman2023-08-171-39/+0
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix lintGit'Fellow2023-08-131-1/+0
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Remove check for very old PGsql Git'Fellow2023-08-131-39/+0
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanupJoas Schilling2023-08-041-1/+1
|\ \ | | | | | | fix!: Final round of moving to IEventDispatcher
| * | fix!: Move getEventDispatcher usage to IEventDispatcherJoas Schilling2023-07-281-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | provisioning_api: Add OpenAPI specjld31032023-07-311-4/+27
|/ / | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* / fix: Correctly add `module` content type to script tags when scripts with ↵Ferdinand Thiessen2023-07-181-1/+2
|/ | | | | | versions are used Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-064-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Silent imagecreatefromstring() errorsGit'Fellow2023-06-301-1/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* refactor: migrate OC_EventSource to dependency injectionDaniel Kesselberg2023-06-031-2/+11
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_privateRobin Appelman2023-06-013-4/+4
|\ | | | | Refactors "strpos" calls in lib/private to improve code readability.
| * 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>