summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Added loading icon so user knows when new page is loadingPhil Hughes2016-08-171-0/+12
| | | | Added test for finding lists when limited to type
* Fixed bug with creating new list from Backlog or done labelPhil Hughes2016-08-171-1/+1
|
* Fixed failing teaspoon testsPhil Hughes2016-08-172-5/+6
|
* Added JS spec tests for store & modelsPhil Hughes2016-08-174-0/+380
|
* Merge branch 'date-time-to-day-tests' into 'master' Jacob Schatz2016-08-051-0/+31
|\ | | | | | | | | | | | | | | | | Added tests to dateTime utility getDayName method ## What does this MR do? It was missing tests so i've created some tests to check the correct day name is returned See merge request !5324
| * Added tests to dateTime utility getDayName methoddate-time-to-day-testsPhil Hughes2016-07-181-0/+31
| |
* | ES6ify all the things!Fatih Acet2016-07-2450-2581/+1905
|/
* Merge branch '17341-firefox-u2f' into 'master' Robert Speicher2016-07-152-3/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * Use a single challenge for U2F authentication.Timothy Andrew2016-07-142-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. According to the spec, either we have a single challenge with a number of `signRequests`, or a number of `signRequests`, each with it's own challenge. 2. Previously, we had both these - per-request challenges, as well as a single extra challenge. 3. This commit changes this so that the per-request challenges are removed, leaving only a single challenge, as per the v1.1 U2F API. 4. The existing implementation didn't work in Firefox, because the Firefox (extension) implementation is less flexible with regard to the inputs. 5. Fix teaspoon specs. 6. References: https://fidoalliance.org/specs/fido-u2f-v1.0-nfc-bt-amendment-20150514/fido-u2f-javascript-api.html#h2_background
* | adds test to check json fields on simple request and changes the url request ↵tiagonbotelho2016-07-121-1/+0
| | | | | | | | format
* | changes the project_title_spec accordinglytiagonbotelho2016-07-121-0/+1
| |
* | adds test to check json fields on simple request and changes the url request ↵tiagonbotelho2016-07-121-1/+1
| | | | | | | | format
* | changes the project_title_spec accordinglytiagonbotelho2016-07-121-1/+1
| |
* | Remove `pinTo` from `Flash` and make inline flash messages look nicer (!4854)winniehell2016-06-301-1/+1
|/
* Merge branch 'emoji-menu-stick-search' into 'master' Jacob Schatz2016-06-272-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | Made the search bar on emoji menu sticky ## What does this MR do? When scrolling down the emoji menu, the search bar disappears. For better UX, the search bar no stays at the top when scrolling. ## Screenshots (if relevant) ![emoji-sticky](/uploads/a5b4773547d3d67342ddcfc07c8f1568/emoji-sticky.gif) See merge request !4743
| * Fixed award emoji testsPhil Hughes2016-06-202-2/+1
| |
* | Fix teaspoon tests.Connor Shea2016-06-234-5/+5
| |
* | Added text_utility to JS testsmarkdownerPhil Hughes2016-06-201-6/+7
|/
* Merge branch '13525-sane-defaults-for-merge-request-js-class-constructor' ↵Jacob Schatz2016-06-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Avoid a TypeError when initializing MergeRequest JS class with no arg ## What does this MR do? Avoid a TypeError when initializing MergeRequest JS class with no arg. ## Are there points in the code the reviewer needs to double check? No. ## Why was this MR needed? Without this sane default you would get the following error when you tried to instantiate a new MergeRequest object with no argument (i.e. `new MergeRequest();`): TypeError: undefined is not an object (evaluating 'this.opts.action') ## What are the relevant issue numbers? Fixes #13525. ## Does this MR meet the acceptance criteria? - [x] No CHANGELOG since it's a trivial internal change - [x] Tests - [x] Added for this feature/bug - [ ] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !4667
| * Avoid a TypeError when initializing MergeRequest JS class with no arg13525-sane-defaults-for-merge-request-js-class-constructorRémy Coutable2016-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | Without this sane default you would get the following error when you tried to instantiate a new MergeRequest object with no argument (i.e. `new MergeRequest();`): TypeError: undefined is not an object (evaluating 'this.opts.action') Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Fatih Acet2016-06-163-1/+34
|\ \ | | | | | | | | | | | | | | | | | | category-search-dropdown # Conflicts: # app/assets/javascripts/lib/common_utils.js.coffee
| * | Prevent default disabled buttons and links.preventdefault-disabled-buttonsFatih Acet2016-06-152-0/+32
| | |
| * | 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`.
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵Fatih Acet2016-06-101-7/+6
|\ \ | |/ | | | | category-search-dropdown
| * Move award_menu_url variable into gon object.Fatih Acet2016-06-091-7/+6
| |
* | Fix specs and add new tests.Fatih Acet2016-06-101-42/+62
| |
* | Added tests for categorised search autocomplete.Fatih Acet2016-06-074-2/+141
|/
* Merge branch 'notes-are-awardables' into 'master' Douwe Maan2016-06-066-13/+1224
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Updated MR notes.notes-are-awardablesFatih Acet2016-06-061-4/+4
| |
| * Added tests for award emoji feature.Fatih Acet2016-06-066-13/+1224
| |
* | Merge branch 'jquery2' into 'master' Jacob Schatz2016-06-061-6/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgraded jQuery to version 2 ## What does this MR do? Upgrades jQuery to 2.2.1. Had to include the task_list JS file directly as it includes jQuery 1 directly https://github.com/github-archive/task_list/blob/master/app/assets/javascripts/task_list.coffee#L8 so when we change jQuery to `jquery2` it was including both jQuery 1 & 2. ## Are there points in the code the reviewer needs to double check? For any JS errors ## What are the relevant issue numbers? Closes #12440 See merge request !4384
| * | Fixed JS errorsjquery2Phil Hughes2016-06-051-6/+6
| |/ | | | | | | CHANGELOG item
* | Implement authentication (login) using a U2F device.Timothy Andrew2016-06-062-0/+53
| | | | | | | | | | | | - Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
* | Implement U2F registration.Timothy Andrew2016-06-063-0/+73
|/ | | | | | | | | | | - 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
* Move JS graph specs to match assets tree.Connor Shea2016-06-013-0/+0
|
* Fix teaspoonConnor Shea2016-06-013-3/+3
|
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into #15643Fatih Acet2016-05-231-0/+1
|\ | | | | | | | | # Conflicts: # app/assets/stylesheets/pages/issuable.scss
| * Dropdown implementationzj-gitignore-dropdownAlfredo Sumaran2016-05-201-0/+1
| |
* | Added specs for right sidebar.Fatih Acet2016-05-122-0/+82
|/
* Fix build notification on merge request page change even if the build status ↵Benedikt Huss2016-05-081-0/+6
| | | | didn't change
* Feedback from stanhuBenedikt Huss2016-05-051-3/+17
|
* Merge request widget displays TeamCity build state and code coverage ↵Benedikt Huss2016-05-051-0/+35
| | | | correctly again
* Placeholder on milestone formPhil Hughes2016-04-141-0/+1
| | | | Updated JS spec to include gl_form
* Updated based on Ruby feedbackPhil Hughes2016-04-121-12/+13
|
* Tests updatePhil Hughes2016-04-122-22/+24
|
* Merge branch 'close-issue-bug' into 'master' Jacob Schatz2016-04-051-3/+3
|\ | | | | | | | | | | | | Fix data check in update issue response See merge request !3548
| * Update issue_spec testclose-issue-bugAnnabel Dunstone2016-04-051-3/+3
| |
* | 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
|