nextcloud-server/tests/lib
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
..
Accounts Fix tests 2022-11-22 10:06:19 +01:00
Activity
App set theming app to alwaysEnabled 2022-10-17 17:51:39 +02:00
AppFramework feat(app framework)!: Inject services into controller methods 2023-01-18 14:00:38 +01:00
Archive
Authentication PublickKeyTokenProvider: Fix password update routine with password hash 2023-01-04 08:30:53 +01:00
Avatar Update avatars on update 2022-09-09 14:23:41 +02:00
BackgroundJob Fix API breakage by using a new method instead 2023-01-12 17:18:59 +01:00
Cache Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Calendar Fix errors in calendar tests saying function handleIMipMessage does not exists on ICreateFromString 2022-12-06 13:52:13 +01:00
Collaboration adjusts tests for CloudIdManager 2022-08-31 15:47:00 +02:00
Command
Comments Delete comments that expired now 2022-07-25 11:30:20 -03:00
Contacts/ContactsMenu Fix unit tests of the ActionProviderStore 2023-01-04 16:17:43 +01:00
DB Fix dynamic properties and other problems in tests for PHP 8.2 2022-11-14 16:14:35 +01:00
Diagnostics
DirectEditing Fix dynamic property creations in test files 2022-08-01 15:07:53 +02:00
Encryption Fix codestyle in modified files 2022-12-05 16:08:40 +01:00
EventDispatcher
Federation adjusts tests for CloudIdManager 2022-08-31 15:47:00 +02:00
Files Also update the unencrypted size of files when creating them with empty content 2022-12-07 19:12:06 +01:00
GlobalScale
Group Add group display name cache 2022-11-28 11:52:55 +00:00
Hooks
Http Add remote host validation API 2022-10-31 16:13:28 +01:00
IntegrityCheck
L10N Cache available languages locally 2022-12-07 22:32:06 +01:00
Lock
Lockdown
Log add unit test for ExceptionSerializer 2022-07-29 12:07:41 +02:00
Mail refactor AutoSubmittedValue to Headers\AutoSubmitted and adding 2023-01-03 15:15:35 +01:00
Memcache
Metadata Fix dynamic property creations in test files 2022-08-01 15:07:53 +02:00
Migration Fix BackgroundRepairTest 2022-08-25 16:15:48 +02:00
Net Add remote host validation API 2022-10-31 16:13:28 +01:00
Notification Increase the fair-use push limit to 1.000 users 2022-11-18 15:39:23 +01:00
OCS Remove deprecated at matcher from tests/lib 2022-08-29 16:36:40 +02:00
Preview Adapt tests to new job constructors 2022-12-05 10:41:13 +01:00
PublicNamespace
Remote
Repair Move avatar clearing in the background 2022-09-26 15:26:31 +00:00
RichObjectStrings
Route Remove unused legacy ajax/list.php in files app 2023-01-09 15:18:37 +01:00
Security Fix syntax in VerificationTokenTest.php 2022-11-15 09:25:56 +01:00
Session
Settings Fix dynamic properties and other problems in tests for PHP 8.2 2022-11-14 16:14:35 +01:00
Share Cleanup tags and Share component 2022-09-29 15:15:28 +00:00
Share20 Merge pull request #34477 from nextcloud/bugfix/noid/sharee-recommendations-show-group-id 2022-12-09 22:39:28 +01:00
Support
SystemTag
Talk
Template Drop 3rdparty root since it is unused and adjust tests 2022-12-07 23:55:32 +01:00
Traits
Updater Remove deprecated at matcher in Updater/VersionCheckTest.php 2022-08-29 15:11:18 +02:00
User spaces are allowed in userids 2023-01-10 13:25:27 +01:00
Util
AllConfigTest.php
APITest.php
AppConfigTest.php
AppScriptSortTest.php
AppTest.php set theming app to alwaysEnabled 2022-10-17 17:51:39 +02:00
AutoLoaderTest.php
CapabilitiesManagerTest.php
ConfigTest.php
ContactsManagerTest.php Fix ContactsManagerTest test 2022-09-30 13:20:04 +00:00
DateTimeFormatterTest.php
EmojiHelperTest.php
ErrorHandlerTest.php Refactor the ErrorHandler into a dynamic class 2022-11-02 09:49:37 +01:00
FileChunkingTest.php
HelperStorageTest.php store unencrypted size in the unencrypted_size column 2022-08-16 13:54:26 +02:00
HookHelper.php
ImageTest.php increase preview_max_memory and make it easier to debug 2022-12-22 09:52:46 +01:00
InfoXmlTest.php
InitialStateServiceTest.php
InstallerTest.php
LargeFileHelperGetFileSizeTest.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +02:00
LargeFileHelperTest.php
LegacyHelperTest.php
LoggerTest.php
MemoryInfoTest.php
NaturalSortTest.php
NavigationManagerTest.php Add accessibility entry in user menu 2022-09-14 15:05:35 +02:00
RepairTest.php Fix RepairTest 2022-08-25 16:15:48 +02:00
ServerTest.php Inform ServerTest that TagMapper now uses QBMapper 2022-09-19 10:01:49 +00:00
SetupTest.php
SubAdminTest.php
TagsTest.php Cleanup tags and Share component 2022-09-29 15:15:28 +00:00
TemplateFunctionsTest.php
TempManagerTest.php
TestCase.php
TestMoveableMountPoint.php
UpdaterTest.php
UrlGeneratorTest.php Remove unused legacy ajax/list.php in files app 2023-01-09 15:18:37 +01:00
UtilCheckServerTest.php
UtilTest.php