nextcloud/tests/lib
Arthur Schiwon f0494ec17a fix(Session): avoid password confirmation on SSO
SSO backends like SAML and OIDC tried a trick to suppress password
confirmations as they are not possible by design. At least for SAML it was
not reliable when existing user backends where used as user repositories.

Now we are setting a special scope with the token, and also make sure that
the scope is taken over when tokens are regenerated.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-11 20:19:18 +02:00
..
Accounts fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Activity composer run cs:fix 2023-01-20 11:45:08 +01:00
App fix(AppDiscoverFetcher): Do not remove entries as expired that have no expiry date 2024-03-19 09:36:06 +01:00
AppFramework fix(Session): avoid password confirmation on SSO 2024-06-11 20:19:18 +02:00
Archive Avoid Deprecation warning from Zip tests on PHP 8.1 2021-12-16 09:58:40 +01:00
Authentication Refactor OC\Server::getHasher 2024-03-15 13:04:27 +01:00
Avatar test: Update tests 2024-04-11 14:56:21 +02:00
BackgroundJob fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Cache Move CappedMemoryCache to OCP 2022-07-14 15:54:31 +02:00
Calendar composer run cs:fix 2023-01-20 11:45:08 +01:00
Collaboration chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Command Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +01:00
Comments fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Contacts/ContactsMenu test(php): Fix the unit tests 2024-01-31 10:44:40 +01:00
DB fix(db): Prevent two connections for single node databases 2024-05-28 09:45:18 +00:00
Diagnostics chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
DirectEditing feat(directediting): Allow opening by file id 2023-02-20 12:16:34 +01:00
Encryption add key location to info:file output 2024-02-01 15:32:33 +01:00
Federation fix(federation): ICloudId->getRemote() should contain the protocol 2024-04-02 15:59:24 +00:00
Files test: add test for jail watcher 2024-04-09 10:41:50 +00:00
GlobalScale Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
Group fix(groups): allows to save group names with more than 64 characters 2024-05-16 17:57:41 +02:00
Hooks Remove unused private ForwardEmitter and LegacyEmitter 2020-10-28 22:23:39 +01:00
Http Adjust tests to match new expected exception 2024-02-24 11:34:34 +01:00
IntegrityCheck feat(appconfig): switching integrity check to lazy config values 2024-03-11 10:59:43 -01:00
L10N fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Lock restore shared lock ttl when releasing 2023-12-21 15:14:27 +01:00
Lockdown Refactor OC\Server::getLockdownManager 2024-03-15 13:05:05 +01:00
Log add unit test for ExceptionSerializer 2022-07-29 12:07:41 +02:00
Mail fix(Mailer): Allow to enforce strict email format 2024-06-07 17:16:21 +02:00
Memcache adjust redis compareSetTTL to use a lua script 2023-12-21 15:14:27 +01:00
Migration fix: Make Repair object injectable and fix BackgroundRepair test 2024-02-01 09:49:32 +01:00
Net Add remote host validation API 2022-10-31 16:13:28 +01:00
Notification composer run cs:fix 2023-01-20 11:45:08 +01:00
OCS composer run cs:fix 2023-01-20 11:45:08 +01:00
Preview fix: Extend SVG reference check 2024-05-16 10:02:57 +02:00
PublicNamespace Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Repair chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
RichObjectStrings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Route DI for Router 2023-02-13 22:51:14 +01:00
Security fix(security): Handle idn_to_utf8 returning false 2023-12-04 10:38:46 +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 fix: add missing copyrights and strict types 2024-03-12 18:14:40 +02:00
Share chore: remove long depricated share code 2024-03-06 15:24:48 +01:00
Share20 test: adjust test to new permissions check logic 2024-05-13 14:02:29 +00:00
Support Adapt tests to config value typing 2023-04-05 17:42:14 +02:00
SystemTag fix: Move SystemTags events to IEventDispatcher 2023-07-27 09:57:52 +02:00
Talk Add a Talk API for OCP 2022-02-04 08:53:18 +01:00
Template fix(JSResourceLocator): Consider configured app roots for files 2024-02-29 17:27:20 +01:00
TextProcessing chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Traits Migrate from ILogger to LoggerInterface where needed in the tests 2022-03-24 16:21:26 +01:00
Updater fix(updatenotification): spread the use of new appconfig 2024-03-13 02:22:11 -01:00
User fix(session): Do not update authtoken last_check for passwordless 2024-06-03 22:54:50 +02:00
Util chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
AllConfigTest.php fix(config): Make sure user keys are strings 2024-03-19 18:27:53 +01:00
APITest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
AppConfigTest.php Merge pull request #44894 from nextcloud/backport/44644/stable29 2024-06-07 11:01:38 +02:00
AppScriptSortTest.php Sort app scripts topologically by its dependencies 2021-12-29 16:40:05 +01:00
AppTest.php feat(AppManager): Provide getAppIcon function 2024-03-07 22:40:31 +01:00
AutoLoaderTest.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
CapabilitiesManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ConfigTest.php Fix tests 2020-11-06 09:37:45 +01:00
ContactsManagerTest.php Fix ContactsManagerTest adressbook mocks having a null key 2023-09-05 09:20:26 +02:00
DateTimeFormatterTest.php chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps 2024-02-05 11:16:04 +01:00
EmojiHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
ErrorHandlerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
EventSourceFactoryTest.php refactor: migrate OC_EventSource to dependency injection 2023-06-03 21:42:51 +02:00
FileChunkingTest.php Revert "fix(performance): Do not set up filesystem on every call" 2023-02-21 07:36:43 +01:00
HelperStorageTest.php only determine quota_include_external_storage once for quota wrapper 2023-08-18 14:25:28 +02:00
HookHelper.php Use the short array syntax, everywhere 2020-03-26 16:34:56 +01:00
ImageTest.php increase preview_max_memory and make it easier to debug 2022-12-22 09:52:46 +01:00
InfoXmlTest.php chore: Drop \OC_App::getAppInfo 2023-06-01 11:31:27 +02:00
InitialStateServiceTest.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
InstallerTest.php Refactor OC\Server::getAppFetcher 2024-02-23 15:43:46 +01:00
LargeFileHelperGetFileSizeTest.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +02:00
LargeFileHelperTest.php Mode to modern phpunit 2019-11-27 15:27:18 +01:00
LegacyHelperTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
LoggerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
MemoryInfoTest.php Add helper to cast to int|float, fix MemoryInfo on 32bits 2023-02-07 11:23:29 +01:00
NaturalSortTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
NavigationManagerTest.php feat(AppManager): Provide getAppIcon function 2024-03-07 22:40:31 +01:00
RepairTest.php chore: use DI for \OC\Repair 2024-01-30 16:07:02 +01:00
ServerTest.php Refactor OC\Server::getCommentsManager 2024-03-15 13:14:06 +01:00
SetupTest.php fix: Use DI for Setup class and move away from deprecated methods 2024-01-29 15:28:00 +01:00
SubAdminTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TagsTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TemplateFunctionsTest.php fix: Correctly add module content type to script tags when scripts with versions are used 2023-07-18 13:10:37 +02:00
TempManagerTest.php composer run cs:fix 2023-01-20 11:45:08 +01:00
TestCase.php fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
TestMoveableMountPoint.php composer run cs:fix 2023-01-20 11:45:08 +01:00
UpdaterTest.php fix(updatenotification): spread the use of new appconfig 2024-03-13 02:22:11 -01:00
UrlGeneratorTest.php fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder 2023-11-20 11:18:47 +01:00
UtilCheckServerTest.php Convert isset ternary to null coalescing operator 2023-08-17 01:36:50 +02:00
UtilTest.php fix(Mailer): Allow to enforce strict email format 2024-06-07 17:16:21 +02:00