aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* feat: add Context Chat OCP APIEdward Ly6 days1-0/+2
| | | | Signed-off-by: Edward Ly <contact@edward.ly>
* Revert "perf(base): Stop setting up the FS for every basic auth request"John Molakvoæ10 days1-7/+1
|
* Merge pull request #53141 from nextcloud/perf/files/setup-fs-basic-auth-requestJohn Molakvoæ10 days1-1/+7
|\
| * refactor(Server): Deprecate \OCP\ICache service and replace it with a ↵provokateurin14 days1-1/+7
| | | | | | | | | | | | distributed cache Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix: Make sure Request class can be dependency injected to fix ↵Côme Chilliet14 days1-1/+2
| | | | | | | | | | | | SameSiteCookieMiddleware injection Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Cleanup DIContainer classCôme Chilliet14 days1-19/+1
|/ | | | | | | | Also removed deprecated tag from the class as this class will not be removed, only the interface IAppContainer and associated methods should be removed. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(lexicon): fix testsMaxence Lange2025-06-241-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(lexicon): migrate config key/valueMaxence Lange2025-06-241-15/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(encryption): Fix DI for encryption Manager classfix/fix-encryption-manager-injectionCôme Chilliet2025-06-161-1/+2
| | | | | | | | Only IManager was registered but the class name is used as well for DI in the encryption application. This was causing a crash of encryption command when using PHP 8.4 and lazy ghosts. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: properly deprecate IOCMProviderRichard Steinmetz2025-06-161-1/+0
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Update lib/private/Server.phpMicke Nordin2025-06-161-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Micke Nordin <mickenordin@users.noreply.github.com>
* fix(OCMProvider): fix dependency injection for OCMProviderMicke Nordin2025-06-161-0/+3
| | | | Signed-off-by: Micke Nordin <kano@sunet.se>
* feat(OCM-invites): Implementation of invitation flowMicke Nordin2025-06-121-2/+3
| | | | | | | | | | | | | | | This patchset: * implements the /invite-accepted endpoint * adds capabilities and inviteAceptDialog to the discovery * adds a FederatedInviteAcceptedEvent https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Co-authored-by: Anna <anna@nextcloud.com> Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Co-authored-by: Navid Shokri <navid.pdp11@gmail.com> Signed-off-by: Micke Nordin <kano@sunet.se>
* fix: Use application ids as well as versions in the cache prefixCôme Chilliet2025-06-051-1/+1
| | | | | | | Avoids a corner case issue if one application was disabled and another one enabled with the same version, just to be safe. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Use only enabled applications versions in the cache prefixCôme Chilliet2025-06-051-1/+1
| | | | | | | This makes sure the cached routes are updated after enabling a previously disabled application Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: move primary object store configuration to a single placeprimary-object-store-settingsRobin Appelman2025-05-281-2/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Remove deprecated getters from Server that were previously removed from ↵Côme Chilliet2025-05-161-461/+0
| | | | | | public interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated ↵Côme Chilliet2025-05-161-1/+1
| | | | | | | | | getters Ideally circles and talk should migrate to calling registerProvider and core would not need to use their OCA classes like currently. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #51355 from AIlkiv/refactor/rollback-hook-usageStephan Orbaugh2025-04-251-1/+2
|\ | | | | refactor: cleanup rollback hook usage
| * refactor: cleanup rollback hook usageailkiv2025-04-251-1/+2
| | | | | | | | Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
* | fix: Move getAppInstalledVersions to AppConfig so that it can be used earlierfix/add-getappversions-replacementCôme Chilliet2025-03-251-1/+1
| | | | | | | | | | | | Call it from OC_App to make sure there is only one request to DB. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Put back OC_App::getAppVersions in Server.phpCôme Chilliet2025-03-251-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Do not try to load IAppManager too soonCôme Chilliet2025-03-251-3/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Cleanup Server.php a bit and remove OC_App usageCôme Chilliet2025-03-251-7/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Add missing ITemplate interface and clean code in Template classCôme Chilliet2025-03-061-0/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace OC_App calls by IAppManagerCôme Chilliet2025-02-241-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Fix psalm taint false-positives by small refactoringsfix/fix-psalm-taint-errors-2Côme Chilliet2025-02-171-1/+0
| | | | | | | Mostly make it clear that we trust admin input or that we correctly escape strings. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Correctly return app id and app version for `core` styles and imagesFerdinand Thiessen2025-01-241-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(api): File conversion APIElizabeth Danzberger2025-01-151-0/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(ocm): simpler codeMaxence Lange2024-12-041-1/+0
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(ocm): switching to IdentityProofMaxence Lange2024-12-041-2/+0
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(ocm): signing ocm requestsMaxence Lange2024-12-041-12/+8
| | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): renaming to IUserConfigenh/noid/user-preferencesMaxence Lange2024-11-181-2/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): switching to NCU/Maxence Lange2024-11-181-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): iterator instead of array on searchMaxence Lange2024-11-181-2/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(user-prefs): IUserPreferencesMaxence Lange2024-11-181-0/+2
| | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix: use Icrypto in place of Cyptoyemkareems2024-10-281-1/+1
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: crypto type made not nullable and tests run using ICryptoyemkareems2024-10-281-1/+1
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: encrypt and store password, decrypt and retrieve the sameyemkareems2024-10-281-1/+2
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* feat(bruteforce): Allow forcing the database throttlerbugfix/noid/allow-to-force-db-throttlerJoas Schilling2024-10-241-1/+2
| | | | | | | | Using the database is most likely worse for performance, but makes investigating issues a lot easier as it's possible to look directly at the table to see all logged remote addresses and actions. Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(theming): Use `AppConfig` for setting background imagefix/background-imageFerdinand Thiessen2024-09-281-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-4/+8
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore: Remove deprecated `ILogger` logging functionschore/remove-iloggerFerdinand Thiessen2024-09-191-12/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Fix Event and Notification creation with the new required parameterCôme Chilliet2024-09-171-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Add missing alias for IRichTextFormatterCôme Chilliet2024-09-171-0/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Remove deprecated aliases from dependency injectionCôme Chilliet2024-09-161-131/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-131-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Use `IAppConfig` instead of `IConfig->getAppValue`Ferdinand Thiessen2024-09-101-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-281-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>