summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Apply new design to files pageDmitriy Zaporozhets2015-10-132-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Check originalEvent.repeat *and* event.repeatrs-quick-submitRobert Speicher2015-10-071-4/+1
| | | | | phantomjs < 2.0 doesn't support creating `KeyboardEvent` so the tests were failing on CI
* Check originalEvent.repeatRobert Speicher2015-10-071-1/+9
|
* Add "Quick Submit" JS behaviorRobert Speicher2015-10-072-0/+71
|
* Require jquery.turbolinks in all JS specsRobert Speicher2015-10-071-0/+1
| | | | Side-effect: This simplifies the requiresInput handler
* Add specs for syntax_highlight JSRobert Speicher2015-09-101-0/+42
| | | | | | | Also makes it work when given a parent element containing a `.js-syntax-highlight` element so for dynamically-added things like notes or Markdown previews, we can more accurately target just the element we care about.
* Remove style attribute from textarea during ZenMode activationrs-dev-issue-2466Robert Speicher2015-09-041-0/+5
| | | | Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2466
* Fix the "Reload with full diff" URL buttonStan Hu2015-07-231-0/+6
| | | | | | | On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to diff.json. Closes #2041
* Add test case for clicking line number anchor iconrs-issue-988-testRobert Speicher2015-07-172-1/+11
|
* Remove disableButtonIf[Any]EmptyField calls from formsRobert Speicher2015-06-261-2/+0
| | | | These have been replaced by the "requiresInput" behavior.
* Add "Requires Input" JS behaviorRobert Speicher2015-06-262-0/+67
|
* 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-222-0/+104
|\ | | | | | | | | | | | | | | | | | | | | | | 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-212-0/+104
| |
* | Refactor LineHighlighterrs-blobview-js-refactorRobert Speicher2015-06-191-41/+22
| |
* | Rename BlobView to LineHighlighterRobert Speicher2015-06-192-9/+9
| |
* | Refactor and spec BlobView JSRobert Speicher2015-06-192-0/+178
|/
* Add JS specs for Array extensionsRobert Speicher2015-06-021-0/+12
|
* Move jQuery enable/disable extensions to extensions/jqueryRobert Speicher2015-06-022-9/+43
| | | | | Removes redundant enableButton/disableButton extensions, and adds specs for the jQuery extensions.
* Add ZenMode javascript specsRobert Speicher2015-06-022-0/+61
|
* Stub ajax in JS specsRobert Speicher2015-05-282-2/+5
|
* Remove jasmine-fixture, use teaspoon fixturesRobert Speicher2015-05-288-58/+64
|
* teaspoon installRobert Speicher2015-05-281-0/+46
|
* Remove jasmine-rails; add teaspoonRobert Speicher2015-05-282-30/+0
|
* Update specs.commit-graphs-by-emailDouwe Maan2015-05-251-3/+5
|
* Remove unneeded jasmine setupRobert Speicher2015-05-062-5/+0
|
* Task List feature and JS specsRobert Speicher2015-05-063-0/+102
|
* Typo: Issueable -> IssuableRobert Speicher2015-04-181-3/+3
|
* Add JS specs for replyWithSelectedTextRobert Speicher2015-04-181-0/+83
|
* Simplify jasmine.yml since we're using jasmine-rails gemRobert Speicher2015-04-181-30/+0
| | | | A lot of these values are handled by the asset pipeline.
* Make StatGraph JS explicitly require its dependenciesRobert Speicher2015-04-183-0/+6
| | | | This allows us to test them in a bit more isolation.
* rails g jasmine_rails:installRobert Speicher2015-04-181-115/+41
|
* Re-run rails g jasmine:installRobert Speicher2015-04-182-4/+56
|
* Add trailing newline to all text files.Ciro Santilli2014-06-211-1/+1
| | | | Present in the large majority of files of each respective type.
* Update jasmine gem to work with rails4Dmitriy Zaporozhets2013-12-103-48/+58
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make rake gitlab:test worksDmitriy Zaporozhets2013-09-291-0/+2
|
* Use phantomjs for jasmine tests. Fixed broken oneDmitriy Zaporozhets2013-09-292-35/+32
|
* Contributors graphs feature for GitLabKarlo Soriano2013-06-056-0/+429
Created tests and refactored some code along the way Added stat graph util spec, refactored code finsihed up tests and refactors finsihed up tests and refactors