Commit Graph

54 Commits

Author SHA1 Message Date
Kushal Pandya d586b6cced Add ES lint support to identify poorly written Promises 2017-04-20 11:11:51 +00:00
Filipa Lacerda c15a2d7ffd Merge branch 'use-favicon-full-path-for-pipeline-status-favicon' into 'master'
Use favicon full path

See merge request !10676
2017-04-18 16:22:08 +00:00
Filipa Lacerda b67bb566b3 Improves support for long build traces: 2017-04-18 12:27:10 +00:00
Luke "Jared" Bennett b24cb99856
Updated specs 2017-04-13 12:50:03 +01:00
Filipa Lacerda 7629c9ec57 Merge branch 'remove-iife-cycle-analytics-bundle' into 'master'
Remove IIFEs from files in cycle_analytics_bundle.js

See merge request !10613
2017-04-13 10:55:51 +00:00
Phil Hughes 194955fe51 Fixed random failures with Poll spec
Correctly waits for requests to finish before testing anything.
Previously it was waiting for a set amount of time which could possibly
cause failures dependant on how quickly these execute

Stops any polling requests once done so that the error callback doesn't
get called with a 404

Closes #30824
2017-04-12 13:42:01 +01:00
Alfredo Sumaran e1e6e946d8 Remove IIFEs from files in cycle_analytics_bundle.js 2017-04-10 20:02:55 -05:00
Kushal Pandya 28a4e9d8d0 Show CI status as Favicon on Pipelines, Job and MR pages 2017-04-06 10:40:39 +00:00
Jose Ivan Vargas 3069a2c959 Removed formatRelevantDigits from text_utils.js and added it to a new file number_utils.js
Also improved code formatting
2017-04-03 11:31:30 -05:00
Jose Ivan Vargas b479583002 Added a formatRelevantDigits text utility 2017-04-03 10:38:16 -05:00
Filipa Lacerda 670e1d7477 Change order of specs 2017-04-03 10:40:31 +01:00
Filipa Lacerda c4d4f4d857 Clean history after every test that changes history 2017-04-03 10:40:31 +01:00
Filipa Lacerda 20b54b133c Clean history state after each test 2017-04-03 10:40:31 +01:00
Filipa Lacerda 76b2fa3eeb Fixes method not replacing URL parameters correctly 2017-04-03 10:40:30 +01:00
Luke "Jared" Bennett c5eb5aa998 group links select2 infinite scroll 2017-03-30 12:14:32 +00:00
Filipa Lacerda 9f7c19b352 Adds restart method and auxiliar callback to polling class 2017-03-24 16:59:14 +00:00
Filipa Lacerda 14b077b7cb Adds stop function so we can stop polling anytime 2017-03-23 15:57:03 +00:00
Fatih Acet dc058e153c Merge branch '29575-polling' into 'master'
Poll with vue resource get function

Closes #29575

See merge request !10057
2017-03-23 11:41:05 +00:00
Filipa Lacerda 45b2c63fdf simplifies assignment of default options 2017-03-22 12:37:38 +00:00
Filipa Lacerda a94ee46876 Adds tests and changes after review 2017-03-21 18:07:02 +00:00
Jose Ivan Vargas 58f2db49ee Changed code style as to not to disable any eslint rules 2017-03-20 19:19:57 -06:00
Jose Ivan Vargas 20cbfb482b Removed unused response in promise 2017-03-20 16:01:18 -06:00
Jose Ivan Vargas f64fbf0ec7 Added unit tests for the w.gl.utils.backOff promise 2017-03-20 16:01:18 -06:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Jan Christophersen 7abdc24c7e Only add a newline in Markdown Editor if the current line is not empty 2017-03-02 19:22:29 +01:00
mhasbini 0a53a3d966 change todos counter position & format ( for large counts ) 2017-02-21 21:21:49 +02:00
Filipa Lacerda 51f037809e Create util to handle pagination transformation 2017-02-16 12:02:55 +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
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
Kushal Pandya 936f463baf Add tests for `gl.utils.isMetaClick` 2017-02-07 21:39:40 +05:30
Andrey Krivko bcf81d82fa Fix broken anchor links when special characters are used 2017-02-07 14:55:30 +06:00
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
Phil Hughes e85cd9eede Removed duplicated test 2017-02-03 17:02:44 +03:00
Phil Hughes 4428bb27b7 Removed Masonry, instead uses groups of data
Added some error handling which reverts the frontend data changes &
notifies the user
2017-02-03 17:02:44 +03:00
Mike Greiling 9e8762f898 rework tests which rely on teaspoon-specific behavior 2017-02-02 13:20:23 -06: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
Regis 14b1d69b15 use gl.utils.normalizeHeaders in pipelines store 2017-01-24 09:56:26 -07:00
Mike Greiling 6ad01a49d4 rewrite test which relied on teaspoon quirk 2017-01-13 13:03:17 -05:00
Mike Greiling 2ee2daa4b9 more post-merge fixes 2017-01-13 13:03:10 -05:00
Mike Greiling 5bb258cd8f phantomJS doesn't allow us to spyOn history.replaceState 2017-01-13 11:06:58 -05:00
Phil Hughes 639bca4362 Merge branch 'master' into go-go-gadget-webpack 2017-01-13 10:30:40 -05:00
Mike Greiling bdcb81be95 remove teaspoon-specific test 2017-01-10 12:30:46 -06: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
Mike Greiling eb1bbe73d0 fix spec_helper missing/broken references 2017-01-10 12:30:41 -06:00
Luke "Jared" Bennett 7c47cc94c5 Swapped out teaspoon for karma 2017-01-10 12:30:40 -06:00
Clement Ho 4577f1f174 Add text utility spec 2017-01-09 16:01:27 -06:00
Clement Ho 3cb156dd45 Add tests for new common_utils functions 2017-01-09 16:01:26 -06:00
Filipa Lacerda afb857d1e7 Removes CustomEvent polyfill and tests 2017-01-02 15:53:24 +00:00