summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add feature specs covering U2F registration and authentication.Timothy Andrew2016-06-062-0/+275
|
* Add a U2F-specific audit log entry after logging in.Timothy Andrew2016-06-062-3/+36
| | | | | | - "two-factor" for OTP-based 2FA - "two-factor-via-u2f-device" for U2F-based 2FA - "standard" for non-2FA login
* Implement authentication (login) using a U2F device.Timothy Andrew2016-06-068-43/+230
| | | | | | - Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
* Implement U2F registration.Timothy Andrew2016-06-0616-65/+1086
| | | | | | | | | | | - 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
* Render `gon` data in the page `body`, not `head`Timothy Andrew2016-06-065-2/+5
| | | | | | | | - Turbolinks caches the `head`, so `gon` updates don't show up unless the user navigates to page directly (by URL) or performs a refresh. - The solution is to render `gon` in the body instead. - Also update the syntax to the new Rails 4 (according to the gon README) syntax.
* Update the `browser` gem.Timothy Andrew2016-06-063-5/+5
| | | | | - Need the `mobile?` detection (that the new version provides) for the U2F registration/ authentication flow
* Add a `U2fRegistrations` table/model.Timothy Andrew2016-06-0613-22/+194
| | | | | | | | | | | | | | - To hold registrations from U2F devices, and to authenticate them. - Previously, `User#two_factor_enabled` was aliased to the `otp_required_for_login` column on `users`. - This commit changes things a bit: - `User#two_factor_enabled` is not a method anymore - `User#two_factor_enabled?` checks both the `otp_required_for_login` column, as well as `U2fRegistration`s - Change all instances of `User#two_factor_enabled` to `User#two_factor_enabled?` - Add the `u2f` gem, and implement registration/authentication at the model level.
* Merge branch 'fix/rubocop-offense-in-specs' into 'master' Grzegorz Bizon2016-06-061-3/+2
|\ | | | | | | | | | | | | Fix rubocop offense in awardable specs Fixes failing tests on master. See merge request !4481
| * Fix rubocop offense in awardable specsfix/rubocop-offense-in-specsGrzegorz Bizon2016-06-061-3/+2
|/
* Merge branch 'rubocop/enable-ambiguous-operator-rubocop-lint' into 'master' Robert Speicher2016-06-054-8/+8
|\ | | | | | | | | | | | | | | | | Enable Lint/AmbiguousOperator rubocop cop Enforce using parentheses if ambiguous operators are detected, like `header *some_method` or `array.select &:even?`. See #17478 See merge request !4454
| * Enable Lint/AmbiguousOperator rubocop coprubocop/enable-ambiguous-operator-rubocop-lintGrzegorz Bizon2016-06-034-8/+8
| | | | | | | | See #17478
* | Fix CHANGELOG for 8.8.4 (unreleased)Robert Speicher2016-06-051-4/+2
| | | | | | | | [ci skip]
* | Merge branch 'documentation-for-build-trace' into 'master' Achilleas Pipinellis2016-06-041-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the API endpoint for gathering a build log ## What does this MR do? Adds documentation for gathering a trace build log via the API. Documenting the following: https://gitlab.com/gitlab-org/gitlab-ce/blob/de20bd5b31715f096db3fb0155c82b0eea992b6c/lib/api/builds.rb#L98-110 ## Are there points in the code the reviewer needs to double check? Please verify that a curl request using the same format as documented works ## Why was this MR needed? No documentation currently exists ## What are the relevant issue numbers? #18015 ## Screenshots (if relevant) See merge request !4467
| * | Document the API endpoint for gathering a build logMark Fletcher2016-06-031-0/+24
| | | | | | | | | | | | * Resolves #18015
* | | Merge branch 'fix-design-link-in-contributing' into 'master' Achilleas Pipinellis2016-06-041-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix link to current design reference in the CONTRIBUTING guide ## What does this MR do? It fixes an outdated link by replacing it with the up-to-date one. See merge request !4439
| * | | Fix link to current design reference in the CONTRIBUTING guidefix-design-link-in-contributingRémy Coutable2016-06-021-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch 'issue_13499' into 'master' Jacob Schatz2016-06-0421-133/+776
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow bulk-assign labels to issues - [x] Allow bulk-assignment labels. - [x] Show indeterminate state for labels present on selection. - [x] Remove existing labels from selected items if label gets unmarked. - [x] Fix conflicting tests. - [x] Write tests. Closes #13499 and #15489 See merge request !3917
| * | | | Remove extra bracketissue_13499Alfredo Sumaran2016-06-031-2/+1
| | | | |
| * | | | Fix specAlfredo Sumaran2016-06-032-7/+8
| | | | |
| * | | | Address feedbackAlfredo Sumaran2016-06-039-32/+26
| | | | |
| * | | | Update CHANGELOGAlfredo Sumaran2016-06-031-2/+1
| | | | |
| * | | | Spec label add / delete in UpdateServiceSean McGivern2016-06-032-9/+54
| | | | |
| * | | | Allow bulk-updating to remove all labelsSean McGivern2016-06-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Instead of passing `remove_label_ids`, just pass an empty array for `label_ids` (and don't pass `add_label_ids` or `remove_label_ids`).
| * | | | Update CHANGELOGAlfredo Sumaran2016-06-033-2/+3
| | | | |
| * | | | EnhancementsAlfredo Sumaran2016-06-034-23/+25
| | | | |
| * | | | Update CHANGELOGAlfredo Sumaran2016-06-031-0/+1
| | | | |
| * | | | Fix specAlfredo Sumaran2016-06-031-8/+9
| | | | |
| * | | | Respond to .json onlyAlfredo Sumaran2016-06-031-1/+6
| | | | |
| * | | | Fix specAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Add mising paramsAlfredo Sumaran2016-06-031-3/+6
| | | | |
| * | | | Fix failing specsAlfredo Sumaran2016-06-031-6/+8
| | | | |
| * | | | Bulk assignment testsAlfredo Sumaran2016-06-031-38/+120
| | | | |
| * | | | Remove console.logAlfredo Sumaran2016-06-031-1/+0
| | | | |
| * | | | Bulk assignment implementationAlfredo Sumaran2016-06-033-2/+111
| | | | |
| * | | | Tweaks for bulk assignmentAlfredo Sumaran2016-06-031-3/+15
| | | | |
| * | | | Expose Issue IDAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Expose label IDAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Add show_create param to toggle label creation optionAlfredo Sumaran2016-06-031-2/+2
| | | | |
| * | | | Add show_footer parameter for ability to hide footerAlfredo Sumaran2016-06-032-1/+3
| | | | |
| * | | | Do not trigger keyup event if we are persisting stateAlfredo Sumaran2016-06-031-3/+8
| | | | | | | | | | | | | | | | | | | | Triggering keyup will re-render the dropdown which is not needed when option persistWhenHide is true
| * | | | Remove unneeded call to keyup eventAlfredo Sumaran2016-06-031-3/+0
| | | | | | | | | | | | | | | | | | | | This was re-rendering the dropdown unnecessarily
| * | | | Only filter asynchronously if option remote is true.Alfredo Sumaran2016-06-031-11/+11
| | | | | | | | | | | | | | | | | | | | We need to update the results right away when we do bulk assignment.
| * | | | Fix statementAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Tidy up BulkUpdateService specsSean McGivern2016-06-031-103/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't use instance variables, use `let` instead. 2. Add descriptions for all specs. 3. Share variables where possible. 4. Give labels more vivid names than 1, 2, and 3. 5. Remove deprecation warnings by passing issue IDs as '1,2,3' instead of an array, as that's how they're passed by the front-end. (The deprecation warning is for passing a nested array, which is what happens if an actual array is passed, as: `[1, 2, 3].split(',') == [[1, 2, 3]]`
| * | | | fixup! WIP: allow adding and removing labels in bulkSean McGivern2016-06-031-0/+148
| | | | |
| * | | | WIP: allow adding and removing labels in bulkSean McGivern2016-06-033-8/+37
| | | | |
| * | | | Restore dropdown state when unchecking all issuesAlfredo Sumaran2016-06-031-0/+14
| | | | |
| * | | | Ensure we are clicking a visible dropdownAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Add spaceAlfredo Sumaran2016-06-031-1/+1
| | | | |
| * | | | Add empty line to end of fileAlfredo Sumaran2016-06-031-1/+1
| | | | |