Commit Graph

47 Commits

Author SHA1 Message Date
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Filipa Lacerda d8d0f668a8 [ci skip] Merge branch 'master' into 42923-close-issue
* master: (25 commits)
  Addressed mr observations
  Clean new Flash() and stop disabling no-new (eslint) when possible
  Disable query limiting warnings for now on GitLab.com
  Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'"
  Fix warning messages for promoting labels and milestones
  Fixed missing js selector for the realtime pipelines commit comp
  Honour workhorse provided file name
  Create an empty wiki when there is no wiki in the gitlab export bundle
  Revert and remove header_title line from labels issue
  Fixed bug with param config
  changed params passed to from a string to an object
  Move IssuableTimeTracker vue component
  Fix breadcrumb on labels page for groups
  Convert groups_select ajax to use axios
  Default CI variables to unprotected
  make sure there is a dependency on Gitlab::CurrentSettings is
  Make GITLAB_FEATURES in build_spec compatible with EE
  Update jquery.waitforimages & use npm version
  Fixed typo, updated test, and removed commented code
  Replaced use of $.get with axios.get and updated tests
  ...
2018-02-13 09:36:30 +00:00
Filipa Lacerda d637f87f88
Makes close/reopen issue request to inside the vue app 2018-02-09 18:56:41 +00:00
Phil Hughes f2ffb398d6
Update jquery.waitforimages & use npm version
#39072
2018-02-08 15:52:38 +00:00
Phil Hughes 7c659e5b53
Converted issue.js to axios 2018-01-30 14:53:28 +00:00
Eric Eastwood a5439897d2 Update issuable status icons
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33926

Changed file icons already addressed in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15367
2017-12-13 00:11:57 -06:00
Luke Bennett 1a3b292d35 Resolve "No feedback when checking on checklist if potential spam was detected" 2017-12-08 12:26:39 +00:00
Filipa Lacerda 1ff3f1a4f7 Export text utils as ES6 modules 2017-11-13 09:11:54 +00:00
Filipa Lacerda 430131f720
Remove issue and issue status select from global namespace 2017-10-30 18:59:16 +00:00
Phil Hughes fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Phil Hughes c56100b3ec Add top level items to fly-out navigation
This only appears when in the collapsed sidebar. If the sidebar is expanded, then these items are hidden & no fly-out navigation is displayed.

Closes #36294
2017-09-06 14:54:17 +01:00
Fatih Acet 3c2d98f4c2 IssueNotesRefactor: Address MR comments. 2017-07-21 22:35:26 +03:00
Fatih Acet 77f6f0b88b IssueNotesRefactor: Listen main issue action and update note form buttons. 2017-07-21 22:35:26 +03:00
Fatih Acet 4e86445b9d IssueNotesRefactor: Fix issue reopen/close bug after merging from master. 2017-07-21 22:35:26 +03:00
Jacob Schatz 5f8f555a66 Merge branch '30281-report-abusive-content-from-an-issue-or-merge-request' into 'master'
Resolve "Report abusive content from an issue or merge request"

Closes #30281

See merge request !11786
2017-07-07 20:23:27 +00:00
Luke "Jared" Bennett f28cd19dde
Fix MR and issue specs 2017-07-07 16:05:17 +01:00
Luke "Jared" Bennett 78dd2f056f
Added issuables_helper.js, tidied up droplab-dropdown JS, fixed filtered search specs 2017-07-07 14:57:28 +01:00
Luke "Jared" Bennett 848d868b9b
Fixed issue_spec and merge_request_spec for report toggle changes 2017-07-07 14:57:28 +01:00
Luke "Jared" Bennett d7c383a0ee
Fixed MR single button submit failure and attempted to tidy up close_reopen partials using issuable_helpers and setDisable will use true as default bool 2017-07-07 14:57:28 +01:00
Luke "Jared" Bennett 55dd0d722d
Dont show toggle if only one action is available and do not show report as abuse for current_user's issuables 2017-07-07 14:57:28 +01:00
Luke "Jared" Bennett 001c904f28
Remove inclusive JS imports 2017-07-07 14:57:00 +01:00
Luke "Jared" Bennett 421e41c9ce
Added specs 2017-07-07 14:57:00 +01:00
Luke "Jared" Bennett cc1e51efa7
Added report issuable feature 2017-07-07 14:55:17 +01:00
Mike Greiling d990df7481 refactor TaskList class to ES module syntax 2017-07-06 13:05:58 -05:00
Mike Greiling 5bd549187a update remaining uses of CJS syntax to ES module syntax 2017-05-16 15:52:40 -05:00
Alfredo Sumaran b64a37c4ed Allow to create new branch and empty WIP merge request from issue page 2017-05-04 08:09:21 +00:00
💃 Winnie 💃 83c9d8cf86 Reset New branch button when issue state changes 2017-04-12 19:40:35 +00:00
Simon Knox 51f0706907 handle commas in Issue total count 2017-03-21 01:46:08 +11:00
winniehell 6bf109b744 Convert Issue into ES6 class (!9636) 2017-03-08 12:00:54 +01:00
Mike Greiling 0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Fatih Acet 996ea3e524 Merge branch 'task_list_refactor' into 'master'
move task_list setup and events to own class

See merge request !9016
2017-02-17 15:12:48 +00:00
Simon Knox 3f713db0da update correct field for Notes - it's called note not description 2017-02-15 16:53:17 +11:00
Simon Knox 142432ce5a update issue count when closing/reopening an issue 2017-02-14 17:27:29 +11:00
Simon Knox 766d011b46 notes use new task_list, and PATCH instead of POST
use data attribute for submit url
optional onSuccess
2017-02-08 20:23:45 +11:00
Simon Knox 3bb07a88bc copypaste task_list setup and events to own class
switch issue and merge request to use it
2017-02-07 17:54:45 +11: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 fe964cc235 migrate all javascript asset bundles and require syntax 2017-01-10 12:30:38 -06:00
victorwu dd178bbe6a In issue view, remove checking branches and new branch unavailable states 2016-12-26 08:28:15 -05: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
Guilherme Salazar 32913b74b8 add "x of y tasks completed" on issuable
fix issues pointed out in !6527

add task completion status feature to CHANGELOG
2016-10-28 14:01:36 -02: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
winniehell 4f13a7935f Remove green outline from `New branch unavailable` button on issue page (!5858) 2016-08-24 17:23:06 +02:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00