Commit Graph

39 Commits

Author SHA1 Message Date
Eric Eastwood ea090291bb Rename "Slash commands" to "Quick actions"
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070

Deprecate "chat commands" in favor of "slash commands"

We looked for things like:

 - `slash commmand`
 - `slash_command`
 - `slash-command`
 - `SlashCommand`
2017-06-15 09:01:56 -05:00
Eric Eastwood 4182e3fa63 Fix autocomplete not working on note edit form
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33529

Bug introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11278
2017-06-14 11:55:34 -05:00
DJ Mountney 7113b1a45b Merge branch 'cherry-pick-dc2ac993' into 'security-9-2'
Escapes html content before appending it to the DOM

See merge request !2107
2017-06-08 09:48:10 -07:00
Kushal Pandya 7abe27b425 Improve user experience around slash commands in instant comments 2017-06-05 09:12:15 +00:00
Filipa Lacerda bfa46a9eab Merge branch 'task-list-2' into 'master'
Update task_list to version 2.0.0

Closes #22470

See merge request !11525
2017-05-31 16:35:54 +00:00
Eric Eastwood 20bd76da27 Fix up some notes tech debt
Fix up tech debt comments from @jschatz1

 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10837#note_28757436
 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10837#note_28757905
 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10837#note_28757952
 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10837#note_28758013
2017-05-26 11:36:49 -05:00
Jared Deckard aaffc17882 Use native change event in the spec to trigger addEventListener 2017-05-23 08:29:09 -05:00
Eric Eastwood 682cfbb4dc Fix system note comparison and standardize note setup
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32551
2017-05-19 09:50:59 -05:00
Kushal Pandya 4b9c952d35 Fix ability to edit diff notes multiple times 2017-05-18 18:05:01 +00:00
Eric Eastwood f21a315590 Fix missing .original-note-content and trailing new line edge case
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32449
2017-05-18 03:23:16 -05:00
Phil Hughes 3599d9ab90 Merge branch '24373-warning-message-go-away' into 'master'
Notes warning message should go away once resolved

Closes #24373

See merge request !10823
2017-05-16 09:01:59 +00:00
Jacopo 1fe6beae47 Notes: Warning message should go away once resolved
Flash error messages disappear(`fadeOut`) automatically after any successful request
2017-05-15 22:26:52 +02:00
Kushal Pandya 55294ce60a Improve slash command stripping, escape temporary note contents 2017-05-15 15:07:43 +00:00
Kushal Pandya 5c25629a14 Fix slash commands detection in comments 2017-05-11 09:05:07 +00:00
Kushal Pandya b801f414aa Fix Karma failures for jQuery deferreds 2017-05-05 21:41:55 +00:00
Kushal Pandya 645593e5af Add instant comments support 2017-05-05 10:57:29 +00:00
Eric Eastwood cf34b07e80 Add real-time note edits 🐿️ 2017-05-03 17:41:16 +00:00
Luke "Jared" Bennett 0fc1e04f4c Add renderNote animation and added spec 2017-04-19 19:48:48 +00:00
Mike Greiling c74b7eb271 fix overlooked window binding in spec files 2017-02-17 17:02:14 -06:00
Simon Knox ced971b12a code style and test fixes
fix test following https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9172
2017-02-14 13:52:20 +11:00
Simon Knox 2084555a08 update karma test to expect ajax instead of POST 2017-02-09 01:12:12 +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 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 8d2099cb53 use ~ to reference non-local scripts instead of resolve.root 2017-01-10 12:30:43 -06:00
Mike Greiling 52c6702ec7 include spec_helper within karma config rather than each individual test 2017-01-10 12:30:43 -06:00
Mike Greiling 663936878f include common libraries within spec_helper 2017-01-10 12:30:42 -06:00
Mike Greiling eb1bbe73d0 fix spec_helper missing/broken references 2017-01-10 12:30:41 -06:00
Luke "Jared" Bennett 7c47cc94c5 Swapped out teaspoon for karma 2017-01-10 12:30:40 -06:00
Alfredo Sumaran 57652bf584 Merge branch '26226-generate-all-haml-fixtures-within-teaspoon-fixtures-task' into 'master'
Precompile all frontend test fixtures

Closes #26226

See merge request !8384
2017-01-06 16:12:59 +00:00
Mike Greiling 7a2a9bb45e replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon 2017-01-05 14:11:07 -06:00
Fatih Acet 183a52f8e1 Fix single note edit form specs. 2017-01-04 23:37:54 +03:00
Mike Greiling 5f192c77e0 update all frontend tests to point to precompiled fixtures 2017-01-03 10:56:39 -06:00
Mike Greiling 8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
winniehell c4244ba4c2 Replace static fixture for notes_spec (!7683) 2016-12-01 15:04:07 +01:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Clement Ho e7b0334cfb Add textarea autoresize after comment 2016-09-01 13:57:07 -05:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00