aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* fix: delay calculating global cache prefix untill a cache is createdRobin Appelman2024-08-281-22/+29
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: don't make ICacheFactory depend on databaseRobin Appelman2024-08-281-8/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* refactor(Log): Use new in initializer instead of constructor bodyFerdinand Thiessen2024-08-171-1/+1
| | | | | | | PHP 8.1 allows us to now move the `new` into the initializer, this makes the code a bit nicer (and 3 lines shorter). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(session): Log when session_* calls are slowChristoph Wurst2024-08-071-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Remove deprecated legacy search backendJulius Härtl2024-08-011-15/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feat: mail provider backendSebastianKrupinski2024-07-231-0/+3
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* feat(Security): add Factory for IP addresses and rangesBenjamin Gaussorgues2024-07-191-0/+2
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-191-2/+5
| | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(security): restrict admin actions to IP rangesBenjamin Gaussorgues2024-07-191-1/+3
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #46398 from nextcloud/fix/46165/token-raceArthur Schiwon2024-07-111-1/+1
|\ | | | | fix(Session): avoid race conditions on clustered setups
| * fix(Session): avoid race conditions on clustered setupsArthur Schiwon2024-07-101-1/+1
| | | | | | | | | | | | | | | | - re-stablishes old behaviour with cache to return null instead of throwing an InvalidTokenException when the token is cached as non-existing - token invalidation and re-generation are bundled in a DB transaction now Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | feat: Add `IFilenameValidator` to have one consistent place for filename ↵Ferdinand Thiessen2024-07-091-0/+2
|/ | | | | | | | validation Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-49/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: register DI alias for IFileAccessRobin Appelman2024-05-221-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(tests): Adjust theming test for new splitted background and primary colorsFerdinand Thiessen2024-05-211-5/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(theming): Also reset background color settings when updating global ↵Ferdinand Thiessen2024-05-211-2/+5
| | | | | | background image Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Wire-up the new classesMarcel Klehr2024-05-141-0/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: Lazy load IURLGenerator from AppManager to avoid installation crashCôme Chilliet2024-04-221-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Migrate a few more classes away from OC_App::getAppPathCôme Chilliet2024-04-221-1/+2
| | | | | | Also fixed AppTest Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Make sure that AppManager can be built before Nextcloud is installedCôme Chilliet2024-04-221-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>