Commit Graph

69 Commits (addParameterTypingVersionsMapper)

Author SHA1 Message Date
Ferdinand Thiessen d6d6747a73 refactor: apply rector rules for PHPUnit 10 2 months ago
Carl Schwan 9b2fff5931 refactor(querybuilder): Port away from qb::execute() in tests/ 4 months ago
Robin Appelman aa15f9d16d
chore: run rector 6 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
Robin Appelman 29e39c0a2e
chore: run rector on tests 7 months ago
Joas Schilling 5f9117b939
test: Fix coding standards 8 months ago
Joas Schilling 53b116b8a5
test: Remove more withConsecutive 8 months ago
Daniel Calviño Sánchez 5ea5b2de84
fix: Handle exception when clearing previously removed two factor tokens 1 year ago
Daniel Calviño Sánchez 381a2aa627
fix: Clear pending two factor tokens also from configuration 1 year ago
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods 1 year ago
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header 2 years ago
Alexander Piskun 26d343d33a
AppAPI: allowed to bypass Two-Factor 2 years ago
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1 2 years ago
Joas Schilling dac31ad101
fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager 2 years ago
Joas Schilling 05aa39d777
Fix event names of 2FA related typed events 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Joas Schilling 343476f54f
Fix unit tests 4 years ago
Joas Schilling 4ed296db9f
Fix Authentication test 5 years ago
Roeland Jago Douma 5ee9e1f784 Move 2FA registration to IBootstrap 5 years ago
Roeland Jago Douma 3c5cf825b3 Add real events for enabled 2fa providers for users 5 years ago
Christoph Wurst 99d525eb36
Convert 2FA token type to string 5 years ago
Joas Schilling 49ff48fcd3
Use PSR logger in authentication 5 years ago
Christoph Wurst d9015a8c94
Format code to a single space around binary operators 5 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 5 years ago
Christoph Wurst 68794ebc92
Emit an event for every disabled 2FA provider during cleanup 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2a529e453a
Use a blank line after the opening tag 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 74936c49ea
Remove unused imports 6 years ago
Christoph Wurst 60d4b45e89
Clean up 2FA provider registry when a user is deleted 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Christoph Wurst a1ef939c06
Use Symfony's new contract Event class instead of the deprecated one 6 years ago
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login 7 years ago
Christoph Wurst 83e994c11f
Make it possible to enforce mandatory 2FA for groups 7 years ago
Roeland Jago Douma 956fe1b867
Generate backups code notification if not enable but 2fa is 7 years ago
Christoph Wurst 259c0ce11d
Add mandatory 2FA service/class 7 years ago
Christoph Wurst 7586b19e52
Only allow 2FA state changs if providers support the operation 7 years ago
Christoph Wurst 5c70aa2a22
Remove unused import 7 years ago
Christoph Wurst 1124b87bc0
Fix 2FA being enforced if only backup codes provider is active 7 years ago
Christoph Wurst 8db66d5dfb
Fix double-inserts of the same provider state 7 years ago
Christoph Wurst 85bc5edb5e
Add integration/unit test for the double-insert of same values 7 years ago
Christoph Wurst d8197f2b97
Rename providerset method to get primary providers 7 years ago
Christoph Wurst c6e47e8a51
Fix login redirection if only one 2FA provider is active 7 years ago
Christoph Wurst d248a0bd1e
Fix 2FA provider registry population on login 7 years ago
Christoph Wurst fc149bab3c
Fix duplicate inserts in the 2fa provider registry DAO 8 years ago
Christoph Wurst 7be465febe
Make new classes strict and fix license header 8 years ago
Christoph Wurst 13d93f5b25
Make 2FA providers stateful 8 years ago