Phil Hughes
1a21fa26f6
Improved ref switcher dropdown performance
...
Closes #18202
2016-11-21 21:01:45 -05: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
Fatih Acet
b0e6fc1265
Merge branch '21248-wrong-urlencoding-when-switching-branch-in-graphs-contributers' into 'master'
...
Fix refs dropdown selection with special characters
## What does this MR do?
Remove unneeded encode from the project-refs-dropdown renderRow method.
## Are there points in the code the reviewer needs to double check?
## Why was this MR needed?
## Screenshots (if relevant)
![2016-10-23_01.20.19](/uploads/1f176b2aa633093851799ae9f70f116b/2016-10-23_01.20.19.gif)
## Does this MR meet the acceptance criteria?
- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md ) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md )
- [ ] API support added
- Tests
- [ ] Added for this feature/bug
- [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html )
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides )
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits )
## What are the relevant issue numbers?
Closes #21248
See merge request !7061
2016-10-26 12:12:10 +00:00
winniehell
02f94cf038
disable ESLint for all JavaScript files
2016-10-26 10:02:58 +02:00
Mike Greiling
f8520f5d09
remove manual Cookie.set "path" option in favor of global setting
2016-10-24 18:09:00 -05:00
Mike Greiling
67d2b2acb3
replace jquery.cookie vendor script with js.cookie
2016-10-24 18:09:00 -05:00
Luke Bennett
eed4b2c5c4
Remove encode from the project-refs-dropdown renderRow method
2016-10-23 01:22:03 +01:00
Jared Deckard
7f6474b269
Restore comments lost when converting CoffeeScript to JavaScript
2016-09-08 12:23:12 -05:00
Mike Greiling
33694a5a64
use gitlab global root url as canonical base url for all javascript set cookies ( closes #20435 )
2016-08-24 22:11:28 -05:00
Connor Shea
f4eda673c5
Make the ref-selector function work properly for branch selection.
2016-08-17 09:23:43 -06:00
Phil Hughes
a45071d0ea
Merge branch 'master' into ref-switcher-enter-submit
2016-08-03 09:08:24 +01:00
Fatih Acet
aaa9509d12
ES6ify all the things!
2016-07-24 23:45:11 +03:00