Commit Graph

62 Commits (appStoreDisabledOcc)

Author SHA1 Message Date
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
Julius Härtl 372e06d742
Add all parameters to returnValueMap 8 years ago
Roeland Jago Douma c92eff919e
Fix tests 8 years ago
Roeland Jago Douma 9163cf9241
Fix AppPassword 2FA auth 8 years ago
Roeland Jago Douma b96485b6bd
Fix login with basic auth 8 years ago
Roeland Jago Douma 84b7022118
Improve 2FA 8 years ago
Roeland Jago Douma e43649e67e
Fix tests 9 years ago
Joas Schilling 5695a4ec92
Don't do a recursive search 9 years ago