Commit graph

19 commits

Author SHA1 Message Date
Phil Hughes
ddb3692a22 Clean up new navigation templates 2017-09-06 10:58:24 +00:00
Tim Zallmann
423d31a300 Inline script cleanup globals and easy 2017-08-01 08:50:59 +00:00
Phil Hughes
9fcc28d428 moved declaration of breadcrumb_title into page_title method
`breadcrumb_title` is then overriden when needed
2017-07-12 09:04:22 +01:00
Phil Hughes
8e9ae78007 rename method 2017-07-07 21:50:34 +01:00
Phil Hughes
c70bf95c2a fixed up more breadcrumbs 2017-07-07 16:04:23 +01:00
Phil Hughes
15a2823879 fixed breadcrumb titles 2017-07-07 11:51:03 +01:00
Phil Hughes
c85df8105e improvements to breadcrumb titles, links & nesting 2017-07-06 17:24:03 +01:00
Phil Hughes
974f9fb135 Added limited width to profile settings
Closes #20918
2017-06-23 16:14:49 +01:00
Jose Ivan Vargas
fc8ec9504a Corrected capitalizacion on various sections 2017-04-06 14:58:57 -05:00
Mike Greiling
85e0bbc4f8 move u2f library to webpack 2017-03-07 02:59:12 -06:00
Drew Blessing
55f224e4e7 Add GitLab host to 2FA QR and manual info
The two factor authentication account string only had the user's
email address. This led to ambiguous entries in two factor
code generating apps. This adds the GitLab host to the account
string in the standard format (according to Google). No matter
the code generator this change disambiguates the entry.
2016-12-16 08:37:40 -06:00
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
Robert Speicher
27e4a95221 Merge branch '17341-firefox-u2f' into 'master'
Allow U2F devices to be used in Firefox

- Adds U2F support for Firefox
- Improve U2F feature detection logic
- Have authentication flow be closer to the spec (single challenge instead of a challenge for each `signRequest`)

- Closes #17341 
- Related to #15337 

See merge request !5177
2016-07-15 20:07:51 +00:00
Timothy Andrew
341d8bc3f7 Add a U2F feature spec for multiple devices owned by the same user.
1. This scenario was previously tested for the registration flow, but
   not authentication.
2016-07-14 08:19:09 +05:30
Timothy Andrew
4b33c4c6d1 Load Javascript U2F library selectively.
1. Only on supported Chrome versions

2. Mainly, this lets us simplify the javascript-based U2F check to
   `window.u2f`, where `window.u2f` can either be loaded from the GitLab
   server (for Chrome) or from the Firefox extension.

3. This is a better way to provide browser detection for U2F.
2016-07-14 08:19:09 +05:30
Connor Shea
3358afa758
Update the help_page_path route to accept paths directly instead of using parameters. 2016-07-11 12:55:25 -06:00
Connor Shea
a87b229b5d
Fix preferences tests. 2016-06-30 10:42:07 -06:00
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