Commit Graph

40 Commits

Author SHA1 Message Date
Mike Greiling 5c52ca9a0c refactor SingleFileDiff class to ES module syntax 2017-07-06 13:39:28 -05:00
Douwe Maan 70b05a8377 Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
Eric Eastwood 5145e39ef7 Fix linking to line number on parallel diff creating empty discussion
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34010
2017-06-21 10:16:06 -05:00
Mike Greiling 8b069dbb64 remove phantomjs-specific test hacks 2017-06-14 04:07:20 -05:00
Mike Greiling a526e619d9 Revert "Merge branch 'karma-headless-chrome' into 'master'"
This reverts merge request !12036
2017-06-13 15:20:26 +00:00
Mike Greiling 037b070653 remove phantomjs-specific test hacks 2017-06-13 00:23:39 -05:00
Eric Eastwood 07a3a69ca8 Fix error thrown with missing note fragment in DOM
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32888

Reproduction:

 1. Visit /namespace/project/merge_requests/x/diffs#note_1234
 1. When `#note_1234` isn't in the diff, an error is thrown
2017-05-26 02:11:20 -05:00
Mike Greiling 337acf4be3 fix eslint failures 2017-05-16 16:57:05 -05:00
Mike Greiling 283f968ef2 update frontend specs to use ES module syntax 2017-05-16 16:01:51 -05:00
Clement Ho 0d540530ca Standardize jasmine test describe block names that test specific methods 2017-05-05 17:17:08 -05:00
Mike Greiling 4bdbccfc06 Remove Vue from main bundle and disable production warnings 2017-04-07 19:36:09 +00:00
Phil Hughes ac35566403 Fixed duplicate jQuery AJAX spyon 2017-04-07 16:37:19 +01:00
Kamil Trzciński 5b2b42a4a4 Merge branch '5983-realtime-pipelines-table' into 'master'
Adds polling function to pipelines table

Closes #5983

See merge request !10210
2017-04-07 07:58:25 +00:00
Alfredo Sumaran ae62fc05e9 Fixes failing spec 2017-04-06 23:19:30 -05:00
Eric Eastwood 3380ee716d Fix container issue when switching parallel "Changes" MR tab before done loading
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/29193
2017-04-03 13:42:55 -05:00
Eric Eastwood 880b53e0b4 Reset container width when switching to pipelines MR tab
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/29539
2017-03-28 10:59:54 -05:00
Mike Greiling c74b7eb271 fix overlooked window binding in spec files 2017-02-17 17:02:14 -06:00
Clement Ho 25fec0f882 Fix regression where cmd-click stopped working for todos and merge request tabs 2017-02-15 10:22:14 -06:00
winniehell fc7d2a88f4 Replace static fixture for merge_request_tabs_spec.js (!9172) 2017-02-13 00:29:39 +01:00
Kushal Pandya 1278b5cea4 ESLint: remove `expect()` from `beforeEach()` 2017-02-07 22:15:27 +05:30
Kushal Pandya 3633e04fcd Refactor tests for `#opensInNewTab` 2017-02-07 21:40:31 +05:30
Kushal Pandya 049ef298e9 Update param name, add test for `e.which = 2` 2017-02-07 21:12:01 +05:30
Kushal Pandya 8a4da74030 Tests for clickTab with Mac and PC 2017-02-07 21:12:01 +05:30
Mike Greiling 04dc2b76d7 Merge branch 'master' into go-go-gadget-webpack
* master: (181 commits)
  Fixed adding to list bug
  Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
  Fixed modal lists dropdown not updating when list is deleted
  Fixed remove btn error after creating new issue in list
  Removed duplicated test
  Removed Masonry, instead uses groups of data
  Uses mixins for repeated functions
  Fixed up specs
  Props use objects with required & type values
  Removes labels instead of closing issue when clicking remove button
  Fixed JS lint errors
  Fixed issue card spec
  Added webkit CSS properties
  Fixed bug with empty state showing after search Fixed users href path being incorrect
  Fixed bug where 2 un-selected issues would stay on selected tab
  Fixed DB schema Changed how components are added in objects
  Added remove button
  Add optional id property to the issue schema
  Fixed issue link href
  Disabled add issues button if no lists exist
  ...
2017-02-03 13:17:03 -06:00
Bryce Johnson fbd09871ca Remove turbolinks. 2017-02-02 14:03:12 -05:00
Mike Greiling 69e4072f89 Merge branch 'master' into go-go-gadget-webpack
* master: (389 commits)
  Document "No gems fetched from git repositories" policy [ci skip]
  Typos
  Small gramatical tweaks
  Typos
  Added PHP & NPM doc
  Use `:empty_project` where possible in request specs
  Add caching of droplab ajax requests
  Use `:empty_project` where possible in model specs
  Revert 3f17f29a
  Remove unused js response from refs controller
  Add MR id to changelog entry
  fixed small mini pipeline graph line glitch
  Prevent form to be submitted twice
  Fix Error 500 when repositories contain annotated tags pointing to blobs
  Fix /explore sorting (trending)
  Simplify wording in "adding an image" docs
  Remove "official merge window" from CONTRIBUTING.md [ci skip]
  Update repository check documentation
  Fixed flexbox and wrap issues
  Update two_factor_authentication.md
  ...
2017-01-27 19:33:58 -06:00
Mike Greiling 5bb258cd8f phantomJS doesn't allow us to spyOn history.replaceState 2017-01-13 11:06:58 -05:00
Mike Greiling 8d2099cb53 use ~ to reference non-local scripts instead of resolve.root 2017-01-10 12:30:43 -06:00
Mike Greiling 52c6702ec7 include spec_helper within karma config rather than each individual test 2017-01-10 12:30:43 -06:00
Luke "Jared" Bennett 7c47cc94c5 Swapped out teaspoon for karma 2017-01-10 12:30:40 -06:00
Mike Greiling 7a2a9bb45e replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon 2017-01-05 14:11:07 -06:00
Mike Greiling 5f192c77e0 update all frontend tests to point to precompiled fixtures 2017-01-03 10:56:39 -06:00
Steffen Rauh 0d53e97ee8 Satisfied eslint 2016-12-03 23:04:21 +01:00
Steffen Rauh 0966c6d2c6 Fix compatibility with Internet Explorer 11 for merge requests 2016-12-03 22:40:18 +01:00
Mike Greiling f6624b5ce4 fix eslint failures on Diff and MergeRequestTabs 2016-12-02 17:38:58 -06:00
Mike Greiling f14c5ae888 refactor MergeRequestTabs to es6 class syntax 2016-12-02 17:32:37 -06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Phil Hughes 8962a3359c Fixed merge request tab JS spec 2016-10-06 10:17:34 +01:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00