Commit Graph

27 Commits

Author SHA1 Message Date
Mike Greiling 683cbc9883 remove bind polyfill from stat_graph_contributors_graph.js 2017-05-08 17:40:14 -05:00
Mike Greiling 1f97433100 merge lib_chart into graphs bundle 2017-03-03 16:47:38 -06:00
Mike Greiling 52426c65ac refactor stat_graph_contributors to es6 module syntax 2017-02-24 00:21:55 -06:00
Mike Greiling 2d2e0b7de8 refactor stat_graph_contributors_graph to es6 module syntax 2017-02-24 00:21:54 -06:00
Mike Greiling 2f09c23c1a refactor stat_graph_contributors_util to es6 module syntax 2017-02-24 00:20:59 -06:00
Mike Greiling c2497d8b35 remove unused StatGraph class 2017-02-24 00:20:59 -06:00
Mike Greiling 87b19b8cae remove require.context from graphs_bundle 2017-02-22 17:01:41 -06:00
Mike Greiling 0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -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
Mike Greiling 04eff5fdb0 resolve all x-spacing and no-spaced-x eslint violations 2017-01-18 17:18:40 -06:00
Mike Greiling ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Mike Greiling 9e4d04913a resolve all no-plusplus eslint violations 2017-01-18 17:15:27 -06:00
Mike Greiling fe964cc235 migrate all javascript asset bundles and require syntax 2017-01-10 12:30:38 -06:00
Mike Greiling 8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Mike Greiling 9355ba238b normalize author email so we can treat it as case insensitive 2016-12-10 00:59:39 -06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
Bryce Johnson 5fb226a934 Remove leftover references to coffeescript from comments and docs. 2016-10-31 11:39:52 +01:00
Fatih Acet dd5e46ab69 Merge branch 'eslint' into 'master'
Add ESLint

## What does this MR do?

- create `package.json`
- add ESLint dependencies to `package.json`
- add JavaScript linting to CI
- add Rake task `lint:javascript`as alias for `eslint` (which itself is an alias for `npm run eslint`)

## Are there points in the code the reviewer needs to double check?

Probably not.

## Why was this MR needed?

My hovercraft was full of eels.

## What are the relevant issue numbers?

- https://gitlab.com/gitlab-org/gitlab-ce/issues/13224#note_12537431
- https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5006#note_13255658


See merge request !5445
2016-10-26 16:31:08 +00:00
Jack Davison 728f1f71a5 Refactored less readable existance checks
CoffeeScript generated JavaScript contains some unreadable
expressions. This refactoring addresses complex uses of
the exestential operator that produced unreadable Javascript.
2016-10-26 14:22:53 +01:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Jared Deckard 7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00
Connor Shea ec8a25ba0b
Replace namespace-specific application.js files with namespace-bundle.js files. 2016-07-15 14:42:28 -06:00
Connor Shea 7ce0968a52
Re-implement page-specific JS in a better way.
This makes larger libraries more cacheable and will allow us to use SRI with the dynamically included libraries.
2016-06-23 10:33:38 -06:00
Connor Shea e50739f4c7
Apply responsive design for Contributors graphs.
Fixes #18845.
2016-06-20 09:21:14 -06:00
Connor Shea d9422aef85
Only load Chart.js when necessary. 2016-06-07 15:27:30 -06:00
Connor Shea 026b7abc5a
Attempt to fix the user page. 2016-06-01 19:42:49 -06:00