Commit Graph

507 Commits

Author SHA1 Message Date
Clement Ho 9760fd7a95 Merge branch 'cover-my-karma' into 'master'
Reintroduce coverage report for JavaScript

Closes #27826 and #20757

See merge request !9133
2017-02-14 19:40:40 +00:00
Clement Ho ad5e772bdd Merge branch 'requires-input-fixture' into 'master'
Replace static fixture for behaviors/requires_input_spec.js

See merge request !9162
2017-02-14 18:39:01 +00:00
winniehell 409a325043 Replace static fixture for behaviors/requires_input_spec.js (!9162) 2017-02-14 18:20:58 +01:00
winniehell d8517fd457 Replace static fixture for right_sidebar_spec.js (!9211) 2017-02-14 12:04:35 +01:00
winniehell b06ac70ab5 Add dynamic fixture for todos 2017-02-14 12:04:35 +01:00
Filipa Lacerda 640e977d4d Merge branch '27966-branch-ref-switcher-input-filter-broken' into 'master'
Display loading indicator when filtering ref switcher dropdown

Closes #27966

See merge request !9144
2017-02-14 10:41:05 +00:00
Clement Ho 010c9337b5 Add tests 2017-02-13 15:55:12 -06:00
Alfredo Sumaran e5f446b7ca Merge branch 'quick-submit-fixture' into 'master'
Replace static fixture for behaviors/quick_submit_spec.js

See merge request !9086
2017-02-13 19:36:26 +00:00
Alfredo Sumaran 828776ed93 Merge branch 'merge-request-tabs-fixture' into 'master'
Replace static fixture for merge_request_tabs_spec.js

See merge request !9172
2017-02-13 19:21:06 +00:00
Clement Ho 79e8e6134f Merge branch 'dynamic-header-fixture' into 'master'
Replace static fixture for header_spec.js

See merge request !9174
2017-02-13 15:10:16 +00:00
Clement Ho b94cf7e669 Merge branch 'new-branch-fixture' into 'master'
Replace static fixture for new_branch_spec.js

See merge request !9131
2017-02-13 15:06:10 +00:00
winniehell 0f06d2646a Replace static fixture for header_spec.js (!9174) 2017-02-13 01:09:14 +01:00
winniehell fc7d2a88f4 Replace static fixture for merge_request_tabs_spec.js (!9172) 2017-02-13 00:29:39 +01:00
winniehell bfb82f8a0d Include all files with 0% coverage in report 2017-02-11 21:55:02 +01:00
winniehell dd5f32c199 Replace static fixture for new_branch_spec.js (!9131) 2017-02-11 20:25:44 +01:00
winniehell 128d8b6118 Replace static fixture for behaviors/quick_submit_spec.js (!9086) 2017-02-11 17:49:12 +01:00
winniehell d4317e4d22 Use textarea for quick submit spec 2017-02-11 15:16:04 +01:00
Mike Greiling e4725a50e3 convert js-cookie dependency to an npm module 2017-02-11 01:03:50 -06:00
Mike Greiling e7ac1628ae convert timeago.js dependency to an npm module 2017-02-11 01:02:57 -06:00
Annabel Dunstone Gray 060921921d Remove fixed positioning from navbar 2017-02-10 15:09:08 -06:00
Clement Ho 49c4059a32 Replace teaspoon references with Karma 2017-02-10 10:50:12 -06:00
Mike Greiling a421258c49 fix failing karma test 2017-02-09 10:51:36 -06:00
Mike Greiling 9a074366e5 backport fixes for pipelines_store frontend specs 2017-02-08 10:28:45 -06:00
Clement Ho f00f3f0743 Merge branch 'no-sidebar-on-action-btn-click' into 'master'
dismiss sidebar on action button click

Closes #27227

See merge request !8798
2017-02-08 00:07:14 +00:00
Filipa Lacerda 36def70743 Merge branch 'fix-ignored-spec-failures' into 'master'
ensure karma fails if it cannot load all spec files

See merge request !9038
2017-02-07 22:00:44 +00:00
Adam Pahlevi e0a900630c dismiss sidebar on repo buttons click
make the selector more inclusive

spec for dashboard’s sidebar visibility

fix linting errors for project dashboard page

remove unused var: shouldBeCollapsed

use project with repo, so download button became available

use es6 style for testing project dashboard

un-aliased global reference at sidebar.js.es6

fix spec from linting errors

code improvement

add singleton to `this`

assign `singleton` to class

add space in between

remove `no-underscore-dangle`

add complete changelog

sidebar internal state test

remove on page change, not exist in master. rebase.

only nicescroll if the element is there

new require style

reference to sidebar content outside of timeout
2017-02-08 04:42:03 +07:00
Fatih Acet 71c8037547 Merge branch 'fix/gb/invalid-new-merge-request-api' into 'master'
Fix rendering pipelines for a new merge request

See merge request !9032
2017-02-07 21:21:30 +00:00
Filipa Lacerda 9aafb2a6d3 Merge branch 'improve-handleLocationHash-tests' into 'master'
Improve gl.utils.handleLocationHash tests

See merge request !9040
2017-02-07 20:26:58 +00:00
Mike Greiling 8d29e4c4e3 ensure karma fails if it cannot load all spec files 2017-02-07 14:24:47 -06:00
Mike Greiling d410c937a5 fix lint error 2017-02-07 14:08:17 -06:00
Alfredo Sumaran 3f1bc3370b Merge branch '23785-with-builds-tab-gone-give-additional-context-in-system-information-element-in-mr-commit-views-by-adding-mini-pipeline-graph' into 'master'
added inline pipeline graph

Closes #23785

See merge request !8576
2017-02-07 19:32:24 +00:00
Mike Greiling b40f71479c fix broken frontend tests 2017-02-07 12:26:47 -06:00
Clement Ho 5af86f70f9 Merge branch '24716-fix-ctrl-click-links' into 'master'
Fix Ctrl+Click support for Todos and Merge Request page tabs

Closes #24716

See merge request !8898
2017-02-07 18:21:53 +00:00
Clement Ho 76b078ceff Improve gl.utils.handleLocationHash tests 2017-02-07 12:09:26 -06:00
Clement Ho bc13687c7e Merge branch 'fix-anchor-scrolling' into 'master'
Fix broken anchor links when special characters are used

Closes #26778

See merge request !8961
2017-02-07 17:53:42 +00:00
Luke "Jared" Bennett a0d0ffe53b
added inline pipeline graph
Added tests

review changes
2017-02-07 17:44:04 +00:00
Kushal Pandya 1278b5cea4 ESLint: remove `expect()` from `beforeEach()` 2017-02-07 22:15:27 +05:30
Rémy Coutable f7d900aa42 Merge branch '24147-delete-env-button' into 'master'
Makes stop button visible in environment page

Closes #24147

See merge request !7379
2017-02-07 16:44:54 +00:00
Filipa Lacerda 1d0820c718 Fix broken specs from the Frontend side 2017-02-07 16:44:14 +00:00
Kushal Pandya 3633e04fcd Refactor tests for `#opensInNewTab` 2017-02-07 21:40:31 +05:30
Kushal Pandya 936f463baf Add tests for `gl.utils.isMetaClick` 2017-02-07 21:39:40 +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
Kamil Trzcinski bc66944248
Fix stoppable? 2017-02-07 13:30:33 +01:00
Andrey Krivko bcf81d82fa Fix broken anchor links when special characters are used 2017-02-07 14:55:30 +06:00
Filipa Lacerda 437b46b9a1 Merge branch '27343-autocomplete-post-to-wrong-url-when-not-hosting-in-root' into 'master'
Fix filtered search user autocomplete for gitlab instances that are hosted on a subdirectory

Closes #27343

See merge request !8891
2017-02-07 00:13:16 +00:00
Clement Ho e369323d2e Fix filtered search user autocomplete for gitlab instances that are hosted on a subdirectory 2017-02-06 16:38:31 -06:00
Filipa Lacerda d97b962289 Use webpack to require files 2017-02-05 18:17:38 +00:00
Filipa Lacerda 0fe6d5b49e Merge branch 'master' into fe-commit-mr-pipelines
* master: (76 commits)
  fix failing test
  fix Vue warnings for missing element
  [ci skip] UX Guide: Button placement in groups
  Change window size before visiting page, to get correct scroll position
  Fix slash commands spec error
  Move project services to new location under Integrations
  Move webhooks to new a location under Integrations
  Fixed redirection from http://someproject.git to http://someproject
  consistently use single quotes
  allow application.js to require other scripts which start with application*
  DRY with Gitlab.config.webpack.dev_server references
  disable webpack proxy in rspec environment due to conflicts with webmock gem
  remove changes to Procfile
  configure webpack dev server port via environment variable
  add rack middleware to proxy webpack dev server
  remove dev-server config from development environment
  Document that the retro and kickoff notes are public
  add CHAGELOG.md entry for webpack branch
  fix failing rspec build
  fix test failure for merge request widget
  ...
2017-02-04 14:58:16 +00:00
Filipa Lacerda fdbdd45d22 Merge branch 'master' into fe-commit-mr-pipelines
* master: (65 commits)
  Fixed eslint test failure
  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
  ...
2017-02-03 19:51:41 +00:00