Commit Graph

21 Commits

Author SHA1 Message Date
Jan 5ba9279c50 Resolve "Add `/confidential` quick action for issues" 2018-06-13 12:42:36 +00:00
Sean McGivern db3774376a Make /copy_metadata only handle the first issuable passed 2018-04-24 13:12:59 +01:00
Mateusz Bajorski 26087ae91c Fixed typos and improved reference checking 2018-03-03 12:12:38 +01:00
Mateusz Bajorski a0adf87707 Changed command name to copy_metadata and added MR support 2018-03-03 12:12:38 +01:00
Mateusz Bajorski 4f10cad9ff Add Inherit quick action
Closes #38450
2018-03-03 12:12:38 +01:00
🙈 jacopo beschi 🙉 ec9cb6edba Resolve "Milestone Quick Action not displayed with no project milestones but with group milestones" 2018-02-23 14:23:09 +00:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Robert Speicher 3e4b45fc21 Only include the user's ID in the time_spent command's update hash
Previously, this would include the entire User record in the update
hash, which was rendered in the response using `to_json`, erroneously
exposing every attribute of that record, including their (now removed)
private token.

Now we only include the user ID, and perform the lookup on-demand.
2017-12-19 15:45:08 -06:00
Vlad 945e0684af added date parameter for time tracking 2017-10-13 11:41:49 +01:00
Manolis Mavrofidis 7e71f958ac /move project functionality. Squash commit.
Update to add all issues to be updated.
 Added functionality, proper tests, documentation and changelog.
2017-08-31 21:30:36 +01:00
Mehdi Lahmam 5ad9d94d8e Add `/assign me` alias support for assigning issuables to oneself
Currently, when a user wants to assign an issue/MR to himself, he needs
to type his full username or select it from the suggested ones in the
dropdown list.
This commits suggest a faster solution which is typing `/assign me`

Closes #35304.
2017-08-07 14:40:33 +02:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Alex Ives a07fe9d7f8 Fixes #29385: Add /shrug and /tableflip commands
- Updated DSL to support substitution definitions
- Added substitution definition, inherits from command definition
- Added tabelflip and shrug substitutions to interpret service
- Added support for substitution definitions to the extractor for preview mode.
- Added substitution handling in the interpret service

Signed-off-by: Alex Ives <alex@ives.mn>
2017-07-28 14:37:44 -05:00
Rémy Coutable ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Sean McGivern 1df696f5a6 Move duplicate issue management to a service 2017-07-21 12:53:56 +01:00
Ryan Scott 7e3d34595c Changes based on MR feedback.
Marking an issue as a duplicate will now also add an upvote on behalf of the author on the original issue.
2017-07-20 15:33:24 +01:00
Ryan Scott 01c9488f4a Added slash command to close an issue as a duplicate. Closes #26372 2017-07-20 15:33:24 +01:00
Toon Claes acbad6d837 Remove /reassign quick action
/reassign should only work when multiple assignees are available. And
since this is only the case for GitLab EE, remove it from CE.

This was picked using 517c97eb12e44f354787313dd35ac7a1642f5b20 of gitlab-ee.
2017-07-07 09:30:14 +02:00
Toon Claes 451e25532f Make MergeRequest respond to assignee_ids & assignee_ids=
To make it simpler to assign users to an Issuable, make MergeRequest
support the attribute `assignee_ids`.
2017-06-20 21:32:49 +02:00
Toon Claes fcd46c1af4 Backport /reassign quick command
The /reassign quick command works even when no multiple assignees are allowed of
there isn't any assignee yet. So for consistency, it's also be backported to
CE. But it functions the same as the /assign quick action.
2017-06-20 15:03:25 +02:00
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