Commit Graph

30 Commits

Author SHA1 Message Date
Filipa Lacerda 46d8209e8c Merge branch 'master' into 38869-importer_status
* master: (51 commits)
  Move locked check to a guard-clause
  Ci::Build tag is a trait instead of an own factory
  [CE backport] Saved configuration for issue board
  Use the correct project visibility in system hooks
  Add changelog
  more readable changelog
  Make merge_jid handling less stateful in MergeService
  Fetch the merged branches at once
  remove extra whitespace
  use a delegate for `username` to be more future friendly
  Merging EE doc into CE
  add changelog entry
  Avoid using Rugged in Gitlab::Git::Wiki#preview_slug
  Cache commits on the repository model
  Remove groups_select from global namespace & simplifies the code
  Change default disabled merge request widget message to "Merge is not allowed yet"
  Semi-linear history merge is now available in CE.
  Remove repetitive karma spec
  Improve spec to check hidden component
  Rename to shouldShowUsername
  ...
2017-10-30 11:19:07 +00:00
Filipa Lacerda 94743e0e8f
Remove issuable form from global namespace 2017-10-26 23:21:55 +03:00
Mike Greiling f7bdfe5098 Merge branch 'master' into 'es-module-autosave'
# Conflicts:
#   app/assets/javascripts/issuable_form.js
#   app/assets/javascripts/notes.js
2017-10-24 07:52:21 +00:00
Filipa Lacerda 941c11824a Fix Pikaday 2017-10-18 11:31:01 +00:00
Mike Greiling b0c2772a90
convert Autosave into pure es module and remove global export 2017-10-12 11:31:29 -05:00
Eric Eastwood 90c60138db Move "Move to different project" to sidebar
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34261
2017-09-03 22:03:17 -05:00
Phil Hughes 02853ebc1e
Fix pikaday being undefined
Closes #36207
2017-08-09 13:19:33 +01:00
Mike Greiling 5d34237854 refactor ZenMode to ES module syntax 2017-07-06 10:10:01 -05:00
Eric Eastwood b8b6de4c75 Make `gfm_auto_complete` into a module and fix up tech debt 2017-05-16 18:42:06 +00:00
Luke "Jared" Bennett 05278b2fda Import export users select 2017-05-12 08:15:28 +00:00
Mike Greiling 417c7e094b remove bind polyfill from issuable_form.js 2017-05-08 17:40:15 -05:00
Nur Rony b8a6338032 Adding animation for all dropdown 2017-04-21 15:05:38 +00:00
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