summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: migrate OC_EventSource to dependency injectionDaniel Kesselberg2023-06-031-10/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Avoid db connection when logging db connection errorsfenn-cs2023-05-221-1/+7
| | | | | | | | `\OC\Log\LogDetails::logDetails` depends on `\OC_App::getAppVersions()` which makes a database connection causing the logger to break when the database service is unavaiable. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Merge branch 'master' into enh/type-iconfig-getter-callsCôme Chilliet2023-04-201-0/+4
|\ | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * feat(SpeechToText): Add SpeechToText provider APIMarcel Klehr2023-04-111-0/+4
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-5/+5
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36836 from nextcloud/fix/view-type-cleanupCôme Chilliet2023-04-051-1/+1
|\ | | | | Tidy up typing in OC\Files\View
| * Fix return type of methods returning false on errorCôme Chilliet2023-04-031-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #37542 from ↵Joas Schilling2023-04-031-0/+2
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
| * | feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CIJoas Schilling2023-04-031-0/+2
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Revert "Dark autoloader magic for ThemingDefaults"Christoph Wurst2023-03-271-10/+4
|/ | | | This reverts commit 4e1d50169651f608e4728d72c07e463c62a39b87.
* public interface to invalidate tokens of userArtur Neumann2023-03-141-0/+2
| | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* Introduced app enable/disable/update typed eventsThomas Citharel2023-03-131-0/+1
| | | | | | OCP\App\ManagerEvent is depreciated since 22 without a replacement Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* feat(appframework): ⌚ Make ITimeFactory extend \PSR\Clock\ClockInterfaceJoas Schilling2023-03-031-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(translations): Add translation provider APIJulius Härtl2023-02-271-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "fix(performance): Do not set up filesystem on every call"Joas Schilling2023-02-211-1/+0
|
* Do not set up filesystem on every callAnna Larch2023-02-171-0/+1
| | | | | | Also remove old Oc_FileChunking logis that produced GC- collectable chunks Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #36603 from nextcloud/imagick-cache-formatsRobin Appelman2023-02-141-1/+3
|\ | | | | cache formats supported by imagick
| * cache formats supported by imagickRobin Appelman2023-02-131-1/+3
| | | | | | | | | | | | turns out this can be quite slow Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #36656 from nextcloud/route-instrumentationJulius Härtl2023-02-141-3/+3
|\ \
| * | DI for RouterRobin Appelman2023-02-131-3/+3
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / more filesystem setup performance instrumentationRobin Appelman2023-02-101-7/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Pluggable share providerLouis Chemineau2023-02-021-0/+2
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(OCP): Remove deprecated dashboard interfaces and classesJulius Härtl2023-01-031-3/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cache available languages locallyJulius Härtl2022-12-071-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add group display name cacheAnna Larch2022-11-281-1/+2
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Fix logo invertJohn Molakvoæ2022-11-161-9/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add remote host validation APIChristoph Wurst2022-10-311-14/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Emit typed event when preview is requestedJulius Härtl2022-10-271-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* LDAP to no register new users when outside of fair use or over limitsArthur Schiwon2022-10-181-0/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Improve container return type annotationsJulius Härtl2022-10-141-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use color preset of shipped background as primary colorChristopher Ng2022-10-051-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix avatar cleanup on user deleteJoas Schilling2022-09-191-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #33764 from nextcloud/cloudid-cacheVincent Petry2022-09-011-1/+7
|\ | | | | cache cloud id data in CloudIdManager
| * adjusts tests for CloudIdManagerRobin Appelman2022-08-311-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * cache cloud id data in CloudIdManagerRobin Appelman2022-08-311-1/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | CleanupJulius Härtl2022-08-311-0/+4
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #33593 from nextcloud/improve-binary-cachingCarl Schwan2022-08-241-1/+5
|\ | | | | Move findBinaryFinder and isFunctionEnabled away from OC_Helper
| * Move findBinaryFinder and isFunctionEnabled away from OC_HelperCarl Schwan2022-08-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | findBinaryFinder is now a service that is still private but with some minor optimization (remove the hasKey check). isFunctionEnabled is now in OCP\Util Both function are still keep but all internal usage in nextcloud/server were migrated to the new usage, so that we can remove it in 26 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Use user displayname cache for comment mentionsJoas Schilling2022-08-191-7/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge branch 'master' into display-name-cache-publicCarl Schwan2022-08-151-49/+13
|\ | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Remove OCP\App and OCP\BackgroundJobCarl Schwan2022-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | Both deprecated since NC 23 IAppManager is the replacement for OCP\App unfortunately it can't be dependency injected in classes used by the installed otherwise the database connection is initialised too early Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Add a public interface for the bruteforce throttler and register for injectionJoas Schilling2022-07-281-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Cleanup avatar related codeCarl Schwan2022-06-221-48/+10
| | | | | | | | | | | | | | | | - Move event listener to new event handling - Add typing almost everywhere - Fix inconsistent interface parameter Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | expose displayname cache trough a public interfaceRobin Appelman2022-05-181-0/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #32077 from nextcloud/cleanup/lockCarl Schwan2022-05-121-1/+0
|\ | | | | Cleanup lock related code
| * Cleanup lock related codeCarl Schwan2022-05-121-1/+0
| | | | | | | | | | | | | | | | - Port to QueryBuilder - Improve the doc a bit - Add type hinting Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Make it possible to get the appdata folder using the public APICarl Schwan2022-05-111-1/+3
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Extract the EmojiService from user status and add an OCP interfaceJoas Schilling2022-04-281-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a metadata service to store file metadataCarl Schwan2022-04-131-4/+8
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>