summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'add-remember-option-u2f' into 'master' Robert Speicher2016-09-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass the remember_me option into the u2f form and support it while authenticating ## What does this MR do? Adds remember me support in the u2f authentication, and makes sure the flag gets passed from the login form to the u2f form. Based on the changes for the same thing done for regular 2fa: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4369 ## Why was this MR needed? The remember me option wasn't working for u2f devices (yubikey) ## What are the relevant issue numbers? Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/18103 See merge request !5918
| * Pass the remember_me option into the u2f form and support it while ↵add-remember-option-u2fDJ Mountney2016-09-011-1/+1
| | | | | | | | | | | | authenticating Matches the changes done for non-u2f two-factor auth
* | Add textarea autoresize after commentClement Ho2016-09-011-0/+21
|/
* Add hover color to emoji iconClement Ho2016-08-251-1/+1
|
* expose 'only_allow_merge_if_build_succeeds' project setting in the APIMarc Dequènes (Duck)2016-08-241-1/+1
|
* Merge branch 'lbennett/gitlab-ce-17465-search-for-project-with-cursor-keys' ↵Jacob Schatz2016-08-191-0/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' 17465 Fixed dropdown cursor key navigation ## What does this MR do? This MR fixes the use of cursor/arrow/enter key events with search dropdowns, allowing a user to navigate up and down the list with the arrow keys and then select their item with the enter key. It also applies some *minor* scroll user experience fixes, such as resetting the selected dropdown item every time it opens/closes (also stops multiple dropdowns conflicting) and forcing the dropdown scroll to scroll right to the top or bottom depending on whether they have selected the first or last item, respectively. ## Are there points in the code the reviewer needs to double check? I would like someone with GitLab experience to check over whether this would harm any unique implementations of the GitLabDropdown or SearchAutocomplete. ## Why was this MR needed? The current version has incorrectly behaving search dropdowns in the navbar, they either do not navigate using the keyboard or do not use the enter keystroke to select a highlighted item. ## What are the relevant issue numbers? Fixes #17465. Closes #20752. Closes #21014. **Contributes** to #20754. ## Screenshots (if relevant) ![17465.mp4](/uploads/1145abec226036abbaaa4aa46020f52b/17465.mp4) See merge request !4781
| * Added new non-selectable selector exclusions to fix arrow key events, fixed ↵Luke Bennett2016-08-181-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the simulated clicking of a row and fixed the conflict between enter key form submit and enter key row selection Added bootstrap dropdown event triggers to invoke the open and close methods of the dropdown, allowing for the binding of array key events Added #17465 fix entry to CHANGELOG Fixed multi-dropdown selected row index conflict Fixed whitespace diff Added padding to the dropdown content iterative scroll as well as new conditional scrolls to scroll all the way to the top when the first item of a list is selected and to scroll all the way to the bottom when the last item of a list is selected Added conditionals to the enable and disable autocomplete methods to stop multiple invocations without any enabled/disabled state change Fixes some incorrect firing of requests. The dropdown box was invoking a new query every time it closed and the GitLabDropdownRemote callback was invoking a new query which was causing the dropdown double render issue. Added .selectable css class to dropdown list items that are not dividers or headers and altered selectors to account for that. Moved scroll padding Number to variable. Removed unused method Started Dropdown tests Added fixture and began first test Almost finished, navigation done, action and close needed YAY. TESTS DONE. Altered test and fixed click started removing selectable class use Fixed as reviewed altered selection method Fixed autocomplete shutting dropdown on arrow key use patched XSS vulns updated tests f Added click fixes
* | Changed file namePhil Hughes2016-08-191-1/+1
| | | | | | | | Updated spec HAML
* | Changed tests to use JS testsPhil Hughes2016-08-191-0/+16
| |
* | Some more styling tweaks and added jasmine testLuke Bennett2016-08-141-0/+16
|/
* ES6ify all the things!Fatih Acet2016-07-242-957/+4
|
* Remove `pinTo` from `Flash` and make inline flash messages look nicer (!4854)winniehell2016-06-301-1/+1
|
* Fixed award emoji testsPhil Hughes2016-06-201-1/+1
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Fatih Acet2016-06-162-1/+4
|\ | | | | | | | | | | | | category-search-dropdown # Conflicts: # app/assets/javascripts/lib/common_utils.js.coffee
| * Prevent default disabled buttons and links.preventdefault-disabled-buttonsFatih Acet2016-06-151-0/+2
| |
| * Fix teaspoon spec.17333-u2f-only-after-authenticatorTimothy Andrew2016-06-151-1/+2
| | | | | | | | | | - We added a `current_user.two_factor_via_otp?` check to the view. When rendering the view via the teaspoon fixture, `current_user` is `nil`.
* | Added tests for categorised search autocomplete.Fatih Acet2016-06-071-0/+10
|/
* Merge branch 'notes-are-awardables' into 'master' Douwe Maan2016-06-063-1/+1010
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes are awardables ## What does this MR do? Makes sure we can :thunder_cloud_rain: comments/notes. ## What are the relevant issue numbers? Follows up upon !2901, depends on !3785 Closes #3655 ## Screenshots (if relevant) TODO See merge request !4291
| * Added tests for award emoji feature.Fatih Acet2016-06-063-1/+1010
| |
* | Implement authentication (login) using a U2F device.Timothy Andrew2016-06-061-0/+1
| | | | | | | | | | | | - Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
* | Implement U2F registration.Timothy Andrew2016-06-061-0/+1
|/ | | | | | | | | | | - 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
* Added specs for right sidebar.Fatih Acet2016-05-121-0/+13
|
* Updated based on Ruby feedbackPhil Hughes2016-04-121-12/+13
|
* Tests updatePhil Hughes2016-04-121-7/+19
|
* Tests updatePhil Hughes2016-04-041-1/+1
|
* Change `js-quick-submit` behavior to expect the class on the formRobert Speicher2016-03-021-3/+3
| | | | | Now it will work on any field inside that form, and it's easier to scope new behavior, which is what we're adding next!
* Project dropdown test span -> iPhil Hughes2016-02-051-1/+1
|
* Changed the project switcher dropdown togglePhil Hughes2016-02-051-2/+2
| | | | | | Moved the positioning of the dropdown to be more aligned with the title Closes #13219 and #13214
* added testsPhil Hughes2016-01-302-0/+8
|
* Refactor ZenModers-zenmode-cleanupRobert Speicher2016-01-081-5/+4
| | | | | | | | - No longer depends on the "hidden checkbox". - No longer depends on manually storing/restoring the scroll position. Instead, we take advantage of jquery.scrollTo. - Event-based. - Simplifies the state-based styling.
* Merge branch 'close-open-ajax-issue' into 'master' Robert Speicher2015-12-251-1/+11
|\ | | | | | | | | | | | | open and close issue via ajax request. With tests Close and Reopen issues with ajax request. See merge request !2164
| * removes unused `alert` from issue spec. Requires flash in the ↵close-open-ajax-issueJacob Schatz2015-12-231-7/+2
| | | | | | | | *implementation* instead of the spec.
| * adds test for issue close/reopen failureJacob Schatz2015-12-231-2/+11
| |
| * fixes tests to work with jasmine/jqueryJacob Schatz2015-12-231-4/+7
| |
| * open and close issue via ajax request. With testsJacob Schatz2015-12-211-1/+4
| |
* | Add specs for JS validation for invalid characters in branch nameDouglas Barbosa Alexandre2015-12-171-0/+4
|/
* Rename .issuable-details to .detail-page (and -header and -description)Douwe Maan2015-12-162-2/+2
|
* Make tab target selectors less naiveRobert Speicher2015-12-081-3/+3
| | | | | | | | | Prior, any of the specified IDs could have been hijacked by a table of contents header, breaking the tab functionality. For example, a `## Notes` header would get the id `notes` and prevent the Discussion tab from being activated. Closes #3908
* Apply new design to files pageDmitriy Zaporozhets2015-10-131-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add "Quick Submit" JS behaviorRobert Speicher2015-10-071-0/+6
|
* Add test case for clicking line number anchor iconrs-issue-988-testRobert Speicher2015-07-171-1/+3
|
* Add "Requires Input" JS behaviorRobert Speicher2015-06-261-0/+18
|
* Update tests and use js-issuable class for context formDmitriy Zaporozhets2015-06-262-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'rs-dev-issue-2355' into 'master'Dmitriy Zaporozhets2015-06-221-0/+22
|\ | | | | | | | | | | | | | | | | | | | | | | MergeRequest#show performance improvements This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes: - The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits. - Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits. - Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three. See merge request !838
| * Add MergeRequestTabs specsrs-dev-issue-2355Robert Speicher2015-06-211-0/+22
| |
* | Rename BlobView to LineHighlighterRobert Speicher2015-06-191-0/+0
| |
* | Refactor and spec BlobView JSRobert Speicher2015-06-191-0/+9
|/
* Add ZenMode javascript specsRobert Speicher2015-06-021-0/+9
|
* Remove jasmine-fixture, use teaspoon fixturesRobert Speicher2015-05-284-0/+40