Commit Graph

28 Commits

Author SHA1 Message Date
Mike Greiling 5f7c0bd7b7 remove Cookies class from global space 2017-03-22 03:07:27 -05:00
Takuya Noguchi 9960c7610e Keep consistent in handling indexOf results 2017-02-25 23:34:17 +09:00
Mike Greiling 0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Clement Ho d76b9291f7 Merge branch 'eslint-fix' into 'master'
Fixed eslint test failure

See merge request !8964
2017-02-03 19:34:01 +00:00
Jacob Schatz 538a6875d3 Merge branch '25624-anticipate-obstacles-to-removing-turbolinks' into 'master'
Remove Turbolinks

Closes #25624

See merge request !8570
2017-02-03 18:02:19 +00:00
Phil Hughes 644d8eb9d4 Fixed eslint test failure 2017-02-03 17:53:36 +00:00
Jacob Schatz 806b038a44 Merge branch 'ref-switcher-perf' into 'master'
Improved ref switcher dropdown performance

Closes #18202

See merge request !7239
2017-02-03 15:03:57 +00:00
Bryce Johnson fbd09871ca Remove turbolinks. 2017-02-02 14:03:12 -05:00
Mike Greiling 96931b1748 resolve all indent eslint violations 2017-01-18 17:16:41 -06:00
Mike Greiling ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Mike Greiling e7b5945c59 resolve all semi and no-extra-semi eslint violations 2017-01-18 17:15:27 -06:00
Mike Greiling 8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Phil Hughes 08dd831f02 Fixed the active branch selected indicator 2016-11-21 21:01:45 -05:00
Phil Hughes f9750b4912 Changed how the data is returned - we only care about the branch/tag name 2016-11-21 21:01:45 -05:00
Phil Hughes af02f6ae9d Use cloneNode instead of createElement 2016-11-21 21:01:45 -05:00
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