Commit Graph

49 Commits (5cd1880daa048a685da689c7f41a2e50486494de)

Author SHA1 Message Date
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 6 years ago
Morris Jobke a5853d7ecc
Use dispatchTyped instead of dispatch on the new event dispatcher 6 years ago
Morris Jobke 234b510652
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 6 years ago
Morris Jobke 49f33ee632
Fix risky test in twofactor_backupcodes 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Christoph Wurst 2fbad1ed72
Fix (array) indent style to always use one tab 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst 2ee65f177e
Use the shorter phpunit syntax for mocked return values 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 3a7cf40aaa
Mode to modern phpunit 6 years ago
Roeland Jago Douma c007ca624f
Make phpunit8 compatible 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Roeland Jago Douma d878130fb2
Only human readbale backup chars 6 years ago
Arthur Schiwon e8095cf737
use OCP\EventDispatcher\Event over Symfony's deprecated Event 6 years ago
Roeland Jago Douma 50ab20c22c
Remove leftover unit test 7 years ago
Jan-Christoph Borchardt 51517d3a36
Add icon to twofactor_backupcodes notification 7 years ago
Christoph Wurst 3174012adf Add event dispatcher to OCP 7 years ago
Roeland Jago Douma 3d17ab0936
Do not send notification if no active 2fa 7 years ago
Roeland Jago Douma 1c29a01956
Clear backupcodes reminder if no 2FA is enabled 7 years ago
Joas Schilling 01f4506dad
Add a link to the notification to create the backup codes 7 years ago
Roeland Jago Douma f30877ea7c
Provide initial state 7 years ago
Roeland Jago Douma da7dd24378
Switch to OCP background jobs 7 years ago
Roeland Jago Douma 36bf522c8b
Add job to check users for backup code reminders 7 years ago
Roeland Jago Douma c557314262
Clear notification to generate backup code once codes are generated 7 years ago
Roeland Jago Douma 956fe1b867
Generate backups code notification if not enable but 2fa is 7 years ago
Christoph Wurst 2f34df4982
Fix integration test execution on Dron 8 years ago
Christoph Wurst 42035cab9d
Add an integration test that inserts long back codes values 8 years ago
Christoph Wurst f8fe7488a5
Fix state propragation of the backup codes provider 8 years ago
Joas Schilling 870023365c
Fix "Undefined method setExpectedException()" 8 years ago
Joas Schilling ca3a6ec607
Fix tests 9 years ago
Christoph Wurst 258c8720dd
Fix backup codes activity type 9 years ago
Christoph Wurst 1632bb4557
Move activities test code 9 years ago
Christoph Wurst d8b3fe460e
Hide 2FA backup codes if no other 2FA providers are enabled 9 years ago
Christoph Wurst 85e4febc24 ignore code we're unable to test 9 years ago
Christoph Wurst 3b4b49fa95 test activity provider 9 years ago
Christoph Wurst 6f6eb5b301 increase GenericProvider's test coverage 9 years ago
Christoph Wurst 6726c98bbd
use constant and clean up unit test 9 years ago
Christoph Wurst 3b76699c9c
Increase 2fa backup codes entropy 9 years ago
Christoph Wurst ed4017dfb4
fix minor issues 9 years ago
Christoph Wurst 9300312046
push activity when backup codes are generated 9 years ago
Christoph Wurst 7ae9442f3d
Publish, parse and filter 2FA activities 9 years ago
Joas Schilling b2d9c20aac
Fix unit tests 9 years ago
Christoph Wurst f27b7fa8d1
Do not use underscores in PSR4 namespaces of the backup codes app 9 years ago
Joas Schilling 6ac2b8d83f
Fix twofactor_backupcodes 10 years ago
Joas Schilling 60c22dd074
Fix more sniffing 10 years ago
Roeland Jago Douma 680b557a4b
Fix apps warnings 10 years ago
Christoph Wurst 8acb734854
add 2fa backup codes app 10 years ago