Skip to content

Commit

Permalink
[GH #175] add autocomplete for gitlab slash command (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
  • Loading branch information
ericjaystevens and hanzei committed Jul 23, 2020
1 parent b71c147 commit 3644757
Show file tree
Hide file tree
Showing 5 changed files with 500 additions and 149 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Originally developed by [Romain Maneschi](https://github.com/manland).
* __Notifications__ - get a direct message in Mattermost when someone mentions you, requests your review, comments on or modifies one of your merge requests/issues, or assigns you on GitLab
* __Sidebar buttons__ - stay up-to-date with how many reviews, unread messages, assignments and open merge requests you have with buttons in the Mattermost sidebar
* __Slash commands__ - interact with the GitLab plugin using the `/gitlab` slash command
* __Subscribe to a repository__ - Use `/gitlab subscribe` to subscribe a Mattermost channel to receive posts for new merge requests and/or issues in a GitLab repository
* __Subscribe to a repository__ - Use `/gitlab subscriptions add` to subscribe a Mattermost channel to receive posts for new merge requests and/or issues in a GitLab repository
* __Get to do items__ - Use `/gitlab todo` to get an ephemeral message with items to do in GitLab
* __Update settings__ - Use `/gitlab settings` to update your settings for the plugin
* __And more!__ - Run `/gitlab help` to see what else the slash command can do
Expand Down Expand Up @@ -69,7 +69,7 @@ __Note for each project you want to receive notifications for or subscribe to, y

Run the subscribe slash command to watch events sent from GitLab.

```/gitlab subscribe group[/project]```
```/gitlab subscriptions add group[/project]```

Run the webhook slash command to have GitLab send events to Mattermost.

Expand Down
18 changes: 11 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ go 1.13

require (
github.com/golang/mock v1.4.3
github.com/golang/protobuf v1.3.5 // indirect
github.com/hashicorp/go-retryablehttp v0.6.5 // indirect
github.com/mattermost/mattermost-server/v5 v5.18.0
github.com/pkg/errors v0.8.1
github.com/stretchr/testify v1.4.0
github.com/mattermost/ldap v3.0.4+incompatible // indirect
github.com/mattermost/mattermost-server/v5 v5.24.0-rc1
github.com/pelletier/go-toml v1.8.0 // indirect
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.5.1
github.com/xanzy/go-gitlab v0.31.0
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9 // indirect
golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sync v0.0.0-20190423024810-112230192c58
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d // indirect
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
golang.org/x/tools v0.0.0-20200612182155-3c1b287bbdbb // indirect
google.golang.org/appengine v1.6.5 // indirect
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
)

0 comments on commit 3644757

Please sign in to comment.