Commit graph

18 commits

Author SHA1 Message Date
Mike Greiling
0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Phil Hughes
d4f7f70f1e Stop Pikaday using moment 2017-02-14 21:49:18 +00:00
Phil Hughes
12cc9a530c Changed date check test 2017-02-06 09:38:53 +00:00
Phil Hughes
8331036944 Fixed some specs
CHANGELOG item
2017-02-06 09:25:11 +00:00
Phil Hughes
2b9457412c Updated styles for Pikaday 2017-02-06 09:25:11 +00:00
Phil Hughes
df6f6e316a Replaced more jQuery UI datepickers 2017-02-06 09:24:50 +00:00
Phil Hughes
b138ec3da1 Removed jQuery UI datepicker
Part of #18437 to remove jQuery UI. This removes the datepicker
2017-02-06 09:24:50 +00:00
Mike Greiling
588d7e8ae0 resolve all parseInt radix eslint violations 2017-01-18 17:18:40 -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
Luke Bennett
1356e40f22
Changed autocomplete_sources into an action that returns a single 'at' type of sources at a time
Finished up autocomplete_sources action and added frontend to fetch data only when its needed

Added wait_for_ajax to specs

Fixed builds and improved the setup/destroy lifecycle

Changed global namespace and DRYed up loading logic

Added safety for accidentally loading data twice

Removed destroy as its not necessary and is messing with click events from a blur race condition

Created AutocompleteSourcesController and updated routes

Fixed @undefined from tabbing before load ends

Disable tabSelectsMatch until we have loaded data

Review changes
2016-12-15 15:20:33 +00:00
Mike Greiling
8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00: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
Paco Guzman
ff903e6453 Move to project dropdown with infinite scroll for better performance
Use just SQL to check is a user can admin_issue on a project

Using offset pagination instead pages to avoid a count query

Tradeoff

- we duplicate how we check admin_issue in a SQL relation in the Ability class
2016-08-18 15:31:51 +02:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00