Commit Graph

96 Commits (2e36ea010a445295a451a00aaece42b081eb82ee)

Author SHA1 Message Date
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 85e369cddb
Fix multiline comments 6 years ago
Christoph Wurst c4998efcfc
Migrate to PSR1 coding style 6 years ago
Roeland Jago Douma 84f3d2ddeb
[POC] Event for failed login attempts 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
Joas Schilling 9935c71ec3
Check the user on remote wipe 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 0299ea0a96
Handle token insert conflicts 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma 210a0554a2
Use the actual password to update the tokens 6 years ago
Christoph Wurst a1ef939c06
Use Symfony's new contract Event class instead of the deprecated one 6 years ago
Joas Schilling 565838da9c
Update unit tests 7 years ago
Christoph Wurst d058ef2b6c
Make it possible to wipe all tokens/devices of a user 7 years ago
Christoph Wurst 1c261675ad
Refactor: move remote wipe token logic to RW service 7 years ago
Christoph Wurst c50fe2a9c9
Send emails when remote wipe starts/finishes 7 years ago
Christoph Wurst aa6622ccef Decouple remote wipe notifcation channels with events 7 years ago
Roeland Jago Douma 579162d7b9
Allow 2FA to be setup on first login 7 years ago
Christoph Wurst 170582d4f5
Add a login chain to reduce the complexity of LoginController::tryLogin 7 years ago
Joas Schilling bb352fb667
Use the defined func()->count() instead of manual counting 7 years ago
Roeland Jago Douma 674930da7f
Move ExpiredTokenException to the correct namespace 7 years ago
Christoph Wurst 83e994c11f
Make it possible to enforce mandatory 2FA for groups 7 years ago
Roeland Jago Douma 19f84f7b54
Add tests 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
Daniel Kesselberg 6bdcec67ab
Add openssl to mock 7 years ago
Christoph Wurst 5c70aa2a22
Remove unused import 8 years ago
Christoph Wurst 1124b87bc0
Fix 2FA being enforced if only backup codes provider is active 8 years ago
Christoph Wurst 8db66d5dfb
Fix double-inserts of the same provider state 8 years ago
Christoph Wurst 85bc5edb5e
Add integration/unit test for the double-insert of same values 8 years ago
Christoph Wurst d8197f2b97
Rename providerset method to get primary providers 8 years ago
Christoph Wurst c6e47e8a51
Fix login redirection if only one 2FA provider is active 8 years ago
Christoph Wurst d248a0bd1e
Fix 2FA provider registry population on login 8 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
Roeland Jago Douma df34571d1d
Use constant for token version 8 years ago
Roeland Jago Douma 9e7a95fe58
Add more tests 8 years ago
Roeland Jago Douma 4bbc21cb21
SetPassword on PublicKeyTokens 8 years ago
Roeland Jago Douma 4c0d710479
Just pass uid to the Token stuff 8 years ago
Roeland Jago Douma 1f17010e0b
Add first tests 8 years ago
Roeland Jago Douma 6b7cf46727
Certain tokens can expire 8 years ago
Roeland Jago Douma aba255997a
Allow the rotation of tokens 8 years ago
Roeland Jago Douma 466297829e
Fix tests 8 years ago