Commit Graph

11 Commits

Author SHA1 Message Date
Connor Shea ad532918ed
Ignore InlineJavaScript linter in existing script tag locations. 2018-02-28 15:59:50 -07:00
Jedidiah 1e832a3a75 Tweak column widths on two factor warning messages 2017-09-08 12:40:49 +00:00
Tim Zallmann 423d31a300 Inline script cleanup globals and easy 2017-08-01 08:50:59 +00:00
Jose Ivan Vargas eb2d6a6ed5 Fixed rspec tests 2017-04-06 14:58:57 -05:00
Jose Ivan Vargas fc8ec9504a Corrected capitalizacion on various sections 2017-04-06 14:58:57 -05:00
Kushal Pandya dd5ffd9ca6 HAMLLint: Fix `ImplicitDiv` offences 2016-12-31 11:43:08 +05:30
winniehell 26c69c5df8 Display error code for U2F errors (!7305) 2016-11-07 13:15:18 +01:00
Timothy Andrew dbedf3a61b Address review comments from @smcgivern.
1. Remove an unnecessary (since we're fetching all the records anyway)
   `pluck` while fetching U2F registration records.

2. Align "Your device was successfully set up!" section with the "U2F
   Devices" table below.
2016-08-18 22:12:02 +05:30
Timothy Andrew 16c44a5ddd Allow naming U2F devices.
1. Display a list of U2F devices on the `two_factor_auth` page.

2. Allow deleting individual U2F devices.

3. Allow setting a (optional) name for a device (during registration).
2016-08-18 22:12:02 +05:30
Timothy Andrew fbb0612593 Don't allow clicking on "Setup New U2F Device" unless an authenticator app has been set up.
- Also change the help message to indicate that an authenticator app is
  now a prerequisite for U2F.
2016-06-15 08:16:11 +05:30
Timothy Andrew 128549f10b Implement U2F registration.
- Move the `TwoFactorAuthsController`'s `new` action to `show`, since
  the page is not used to create a single "two factor auth" anymore. We
  can have a single 2FA authenticator app, along with any number of U2F
  devices, in any combination, so the page will be accessed after the
  first "two factor auth" is created.
- Add the `u2f` javascript library, which provides an API to the
  browser's U2F implementation.
- Add tests for the JS components
2016-06-06 12:50:31 +05:30