summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #43996 from nextcloud/feat/store-last-known-quota-usageCôme Chilliet2024-03-071-0/+5
|\ | | | | feat: Store last known quota usage for a user
| * fix: Avoid calling setUserValue on null user idCôme Chilliet2024-03-061-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * feat: Store last known quota usage for a userCôme Chilliet2024-03-061-0/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Remove calls to deprecated OC_JSON::encodeCôme Chilliet2024-03-063-16/+4
|/ | | | | | | | to_string was useless because L10N string is json serializable now and serialize to string correctly. Removed all external calls to OC_JSON::encode to ease removing the rest of it later. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Enforce forbidden filename characters on backendFerdinand Thiessen2024-02-281-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge branch 'master' into fix/42480/user-admin-not-adminJohn Molakvoæ2024-02-241-20/+55
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * feat: theme error pageRichard Steinmetz2024-02-241-9/+36
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
| * feat: Print early exceptions in debug mode instead of plain error pagesJulius Härtl2024-02-231-11/+19
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix(admin role): fix old and wrong way to determine whether user is adminArthur Schiwon2024-02-191-11/+11
|/ | | | | | | | | - fixes Settings knowing who is an admin of non-local group backend groups - obsoletes and removes a little old, deprecated code - double checks proper parameter type on Group\Manager::isAdmin - also fixes legacy OC_User code to check whether user is an admin Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* feat: rename users to account or personVincent Petry2024-02-132-3/+3
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* chore: Deprecate OC_App::loadApps and add missing return type in ServerCôme Chilliet2024-02-081-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: use DI for \OC\RepairCôme Chilliet2024-01-301-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Cleanup Installer class as wellCôme Chilliet2024-01-291-3/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use DI for Setup class and move away from deprecated methodsCôme Chilliet2024-01-291-9/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* lazy AppConfigMaxence Lange2024-01-151-2/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-11/+11
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Repalce array_search with in_array in lib/Christoph Wurst2023-11-222-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* | 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>