Commit Graph

57 Commits

Author SHA1 Message Date
Sam Bigelow 153dddefed Resolve "Jump to top in merge request" 2018-11-27 18:05:16 +00:00
Phil Hughes 369bb6fb14
Fixed merge request fill tree not respecting fluid width
This fixes a bug where the merge request fill tree
would not respect the users fluid width preference.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52916
2018-10-19 10:37:42 +01:00
Tim Zallmann fb44cb3d90 Performance Improvements to Vue MR page 2018-06-30 13:17:46 +00:00
Felipe Artur 3e66795ef1 Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
Mike Greiling 704e866134
fix more instances of "import *" with spyOnDependency 2018-04-23 00:54:20 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Phil Hughes f165bda4ae
fixed failing specs 2018-01-31 09:27:30 +00:00
Phil Hughes 58eb3c55c9
Converted merge_request_tabs.js to axios 2018-01-30 17:23:27 +00:00
Winnie Hellmann 408b56bd94 Fix racing condition in Ajax call of merge_request_tabs_spec.js 2017-12-20 22:00:46 +01:00
Phil Hughes eaf2f48dc7
Export and use Notes ES module 2017-12-15 16:33:36 +00:00
Phil Hughes 29e1a63d3d
Export JS classes as modules
#38869
2017-12-15 09:31:58 +00:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Filipa Lacerda cf347a5739
Remove Diff class from globalnamespace 2017-10-19 10:57:25 +01:00
Eric Eastwood 03cd536b54 Cleanup data-page attribute after each Karma test
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38871
2017-10-11 11:02:55 -05:00
Phil Hughes f9a212e8a3
Stop breadcrumbs changing container when in side-by-side diff
Closes #37641
2017-09-25 18:45:55 +01:00
Filipa Lacerda 96e6fc70b4 Import modules instead of using the ones in global namespace
Removes set favicon related methods from global scope
Improves test related with favicon

Removes convertPermissionToBoolean from global scope.
Adds tests for convertPermissionToBoolean - were non existant

Removes setParamInURL from gl.utils

Removes parseIntPagination from gl.utils namespace

Remove normalizeCRLFHeaders from gl.utils namespace

Removes normalizeHeaders from gl.utils namespace

Use gl.utils for filtered search

Fix bad import

Fix broken test by cleaning window.history namespace

Adds changelog
2017-09-09 09:54:27 +01:00
Phil Hughes ab3c8302af Fixes the diff changes buttons from toggling when scrolling
Closes #36698
2017-08-29 13:34:12 +01:00
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