Граф коммитов

47 Коммитов

Автор SHA1 Сообщение Дата
Roeland Jago Douma b6044d8bae
Switch to real initial state API
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-08 19:48:12 +02:00
Christoph Wurst d8d2a25940
Fix events unit test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-28 11:06:55 +02:00
Roeland Jago Douma 165b0f09e9
Add setup at login
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-08-09 11:05:27 +02:00
Christoph Wurst dd65ad98b9
Fix acceptance tests failing due to removed notifications element
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-13 08:03:07 +02:00
Christoph Wurst dfb3a94cab Swith to client-side QR lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-03-15 17:08:57 +01:00
Christoph Wurst 3ac1d325ec
Make the provider deactivatable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-12-04 08:34:24 +01:00
Christoph Wurst aa5de5f0f1
Migrate to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-18 15:24:55 +02:00
Christoph Wurst 9adf74eb46
Fix acceptance tests to match the restructured 2FA pages in nc15
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-18 11:24:53 +02:00
Christoph Wurst 71e6cf74cc
Fix strict activities incompatibility in unit tests
Ref 16817f3743

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-18 10:26:29 +02:00
Christoph Wurst 8313fa581e Test newly added code
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-03 11:55:32 +02:00
Christoph Wurst d212851280 Fix outdated ui string in acceptance test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-03 11:40:36 +02:00
Christoph Wurst ac24f62868
Fix usage of deprecated/removed phpunit method
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-09-18 11:05:35 +02:00
Christoph Wurst 35fed0ea24
Fix provider registration in acceptance test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 09:01:11 +02:00
Christoph Wurst 92b6bac0cf
Fix state population on provider enable/disable event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 09:01:11 +02:00
Christoph Wurst 4252b9b778
Refactor state change to use events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-07-31 09:01:11 +02:00
Christoph Wurst 8dc7bbab04
Make app strict
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-03-12 14:04:08 +01:00
Christoph Wurst e29be923b1
Do not search for test cases in the vendor dir
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-02-19 19:02:59 +01:00
Christoph Wurst 1da05b34b7
Refactor testing framework
* Use christophwurst/nextcloud_testing
* Move selenium test framwork to testing lib
* Make sure all test classes are based on the test lib's test case

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-02-19 16:58:03 +01:00
Christoph Wurst a642e52704
Clean up acceptance test
* Use sauce username from env
* Create test name for local tests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-02-19 14:34:55 +01:00
Christoph Wurst 923dd9e291
Fix unit test
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-01-15 21:02:05 +01:00
Christoph Wurst f35140b7a4
Start developing for nc13
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-10-09 10:37:32 +02:00
Christoph Wurst b46f432e79
Add acceptance tests for the new totp key confirmation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-03-14 12:48:05 +01:00
Christoph Wurst c1581c6f52
Let users confirm their TOTP setup before enforcing the provider
Users might have trouble get their TOTP app to work. By checking
whether their basic setup is configured correctly, we lower the
risk of users being locked out unexpectedly.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-03-14 12:48:05 +01:00
Christoph Wurst 64dd6cbb75 Merge pull request #150 from nextcloud/readme-saucelabs-testmatrix
Add sauce labs browser test matrix to readme
2017-03-14 09:49:35 +01:00
Christoph Wurst c163a8329e
Remove resolved TODO
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-03-07 10:21:57 +01:00
Christoph Wurst aa41ab19bf
Factor out test code and report status back to sauce labs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-03-07 10:12:41 +01:00
Christoph Wurst cf5d30ffd4
Select the new button in accepance tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-03-07 09:07:37 +01:00
Christoph Wurst 4045525705 add acceptance tests and run them on the sauce labs cloud
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-02-05 21:37:35 +01:00
Christoph Wurst 48888dfc9a
use vendor neutral name instead of 'Google authenticator'
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-17 14:45:42 +01:00
Christoph Wurst 290994a0cb
fix DI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-09 18:46:52 +01:00
Christoph Wurst 7a6f264a02
fix tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-01-09 17:43:20 +01:00
Christoph Wurst 4a7bfa67b7
return meaningful setting name 2017-01-09 17:42:17 +01:00
Christoph Wurst 9ec3b61f13
add activity icon and remove subject dot 2017-01-09 17:42:17 +01:00
Christoph Wurst ba07a48de7
add tests 2017-01-09 17:42:17 +01:00
Christoph Wurst 3dfa737e73
use phpunit's createMock for interfaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-11-07 16:45:18 +01:00
Christoph Wurst 5c4487a818 Merge pull request #77 from nextcloud/fix-coverage-whitelist
fix coverage whitelist directory
2016-11-07 16:20:03 +01:00
Christoph Wurst eaaaba7d1e
fix path 2016-11-07 15:16:13 +01:00
Christoph Wurst bff5ffba9f
fix coverage whitelist directory
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-11-07 15:05:12 +01:00
Christoph Wurst c07f693a08
use valid PSR-4 namespace
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-11-07 14:41:23 +01:00
Christoph Wurst 889dc38bdf add issuer prefix to label 2016-08-23 09:49:15 +02:00
Christoph Wurst ad836606b3 switch to more common naming scheme for the TOTP label and its issuer 2016-08-22 18:37:36 +02:00
Christoph Wurst bcef1062fc remove debug variable 2016-08-22 13:32:16 +02:00
Christoph Wurst 9fa4b44b4e fix url encoding of OTP QR codes 2016-08-22 11:17:31 +02:00
Christoph Wurst 853a39ad11
this app works for Nextcloud and ownCloud 2016-07-18 10:26:26 +02:00
Christoph Wurst dc8db09c17
add unit tests for the SettingsController 2016-06-07 08:17:57 +02:00
Christoph Wurst d4967d2ae0
add simple test and travis config 2016-06-06 22:06:09 +02:00
Christoph Wurst b6943ad9d2
initial commit 2016-06-04 11:43:53 +02:00