nextcloud-server/tests/lib
Morris Jobke dc479aae2d
Improve CertificateManager to not be user context dependent
* removes the ability for users to import their own certificates (for external storage)
* reliably returns the same certificate bundles system wide (and not depending on the user context and available sessions)

The user specific certificates were broken in some cases anyways, as they are only loaded if the specific user is logged in and thus causing unexpected behavior for background jobs and other non-user triggered code paths.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-11-03 00:13:01 +01:00
..
Accounts PSR logger for accounts 2020-10-20 17:41:47 +02:00
Activity Fix activity tests again 2020-08-18 18:21:03 +02:00
App Only retry fetching app store data once every 5 minutes in case it fails 2020-10-16 14:32:58 +02:00
AppFramework Remove deprecated OCSResponse 2020-11-01 14:12:27 +01:00
Archive Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Authentication Use PSR logger in authentication 2020-10-12 22:07:04 +02:00
Avatar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Cache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Calendar Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Collaboration Bump @nextcloud/vue to 3.0.0 2020-10-20 18:02:45 +02:00
Command Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Comments Fix PHP CS 2020-10-22 11:00:54 +02:00
Contacts/ContactsMenu Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
DB Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Diagnostics
DirectEditing Do not expose direct editing if no master key is available 2020-09-01 11:40:27 +02:00
Encryption Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Federation
Files Fix code style 2020-09-09 17:36:58 +02:00
GlobalScale Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Group Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http/Client Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
IntegrityCheck Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
L10N Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Lock
Lockdown
Log Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Mail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Memcache Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Migration Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Notification Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
OCS Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Preview Fix existing test and add a specific one for the new case 2020-08-13 23:24:21 +02:00
PublicNamespace
Remote
Repair Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
RichObjectStrings
Route Only load routes of the app which is requested 2020-08-19 21:58:20 +02:00
Security Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
Session Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Settings Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Share
Share20 use file name instead of path in 'not allowed to share' message 2020-10-29 16:43:21 +01:00
Support Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SystemTag
Template Clear cached app config while waiting for the SCSSCache to finish processing the file 2020-10-16 13:28:00 +02:00
Traits Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
Updater Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
User Fix more tests 2020-10-13 08:16:17 +02:00
Util Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AllConfigTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
APITest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
AppConfigTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
AppTest.php
AutoLoaderTest.php
CapabilitiesManagerTest.php
ConfigTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
ContactsManagerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
DateTimeFormatterTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
ErrorHandlerTest.php
FileChunkingTest.php
HelperStorageTest.php
HookHelper.php
ImageTest.php
InfoXmlTest.php
InitialStateServiceTest.php Move initial state provider to boostrap 2020-10-04 09:35:33 +02:00
InstallerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
LargeFileHelperGetFileSizeTest.php Don't use deprecated getIniWrapper() anymore 2020-08-20 16:35:38 +02:00
LargeFileHelperTest.php
LegacyHelperTest.php
LoggerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
MemoryInfoTest.php
NaturalSortTest.php
NavigationManagerTest.php Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
RepairStepTest.php
ServerTest.php Improve CertificateManager to not be user context dependent 2020-11-03 00:13:01 +01:00
SetupTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
SubAdminTest.php Change tests to typed event listener 2020-10-28 23:10:23 +01:00
TagsTest.php Make sure getUsersFavoritingObject can be run without a user 2020-10-06 16:49:23 +02:00
TemplateFunctionsTest.php
TempManagerTest.php Remove unneeded import 2020-08-20 16:53:34 +02:00
TestCase.php Overwrite also the new command bus name to execute them in sync in the tests 2020-10-12 21:04:00 +02:00
TestMoveableMountPoint.php
UpdaterTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UrlGeneratorTest.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
UtilCheckServerTest.php Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
UtilTest.php