-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 2fa backup codes app #1171
add 2fa backup codes app #1171
Conversation
@ChristophWurst, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bantu, @icewind1991 and @DeepDiver1975 to be potential reviewers |
2beb842
to
77dfd56
Compare
@@ -20,3 +20,11 @@ | |||
</p> | |||
</div> | |||
<a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a> | |||
<?php if (!is_null($_['backupProvider'])): ?> | |||
<a class="two-factor-cancel" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- TODO: rename class
db8d267
to
8a68d20
Compare
unrelated? |
8a68d20
to
2037cf9
Compare
@rullzer @LukasReschke @nicohauger @zkwoob @Alphakilo @jancborchardt @Mar1u5 review and test this please. The personal settings dialog definitely needs some UI/UX enhancements, that I'd like to postpone to follow-up PRs as this one is already rather big. |
Does PHPUnit automatically find the test of the newly added app or do I have to register them somewhere? |
4c79aa7
to
12a3ee8
Compare
|
let me try to reproduce the failing tests locally… |
@MorrisJobke what are the requirements/preconditions to run all tests locally? I get |
(see http://readme.drone.io/devs/cli/) Best is also to remove the running tests from |
stack trace:
|
* add backup codes app unit tests * add integration tests for the backup codes app
12a3ee8
to
0d4e304
Compare
Some dark magic. Seems something was not cleaned up properly or so which caused the whole thing to break down. CI seems a lot happier now ;) |
Thank you very much @rullzer 🚀 |
0d4e304
to
581a83c
Compare
CI happy. |
Works 👍 |
<licence>agpl</licence> | ||
<author>Christoph Wurst</author> | ||
<version>1.0.0</version> | ||
<namespace>TwoFactor_BackupCodes</namespace> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, no underscores in PSR-4 Namespaces
integrates https://github.com/ChristophWurst/twofactor_backupcodes and fixes #1108
TODO:
twofactor_backupcodes
app@nextcloud/designers any idea how we could make the settings dialog prettier? See the screenshots in https://github.com/ChristophWurst/twofactor_backupcodes for how it looks now.