Skip to content

Port and refactor Mattermost from teleport-plugins#28989

Merged
kimlisa merged 6 commits intomasterfrom
lisa/plugin-mattermost
Jul 25, 2023
Merged

Port and refactor Mattermost from teleport-plugins#28989
kimlisa merged 6 commits intomasterfrom
lisa/plugin-mattermost

Conversation

@kimlisa
Copy link
Copy Markdown
Contributor

@kimlisa kimlisa commented Jul 12, 2023

recommend reviewing by commit (it will make it easier to see what changes i made aside copying over files)

Next

  • Replace mattermost in the teleport-plugins repo with teleport dependencies (draft here)
  • Update e

note: won't be back until 24th to address reviews

@github-actions github-actions Bot requested review from strideynet and tigrato July 12, 2023 08:01
@public-teleport-github-review-bot
Copy link
Copy Markdown

@kimlisa - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

@kimlisa kimlisa requested review from justinas, mdwn and tcsc and removed request for strideynet and tigrato July 12, 2023 08:03
@kimlisa kimlisa force-pushed the lisa/plugin-mattermost branch from 296d801 to 077b768 Compare July 24, 2023 18:03
Comment thread go.mod Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include this in the block above with all the direct dependencies

kimlisa added 6 commits July 24, 2023 16:29
- Re-use commons
- Delete dups (most of app.go and version.go)
- Moved looking up channel into bot.go
- Emit status update after a response
- Added missing? recipients section to example toml
- run go mod tidy
- remove unused example config
- fix ordering of imports
@kimlisa kimlisa force-pushed the lisa/plugin-mattermost branch from ffe8428 to 8573445 Compare July 24, 2023 23:29
@kimlisa kimlisa added this pull request to the merge queue Jul 25, 2023
Merged via the queue into master with commit a4a3208 Jul 25, 2023
@kimlisa kimlisa deleted the lisa/plugin-mattermost branch July 25, 2023 00:40
@public-teleport-github-review-bot
Copy link
Copy Markdown

@kimlisa See the table below for backport results.

Branch Result
branch/v13 Failed

kimlisa added a commit that referenced this pull request Jul 26, 2023
* Copy files from teleport/plugins/access/mattermost
* Add github.com/mailgun/holster/v3
* Define mattermost types
* Move StatusFromStatusCode to commons dir
* Make changes/ refactor based on other plugins
  - emit status
github-merge-queue Bot pushed a commit that referenced this pull request Jul 26, 2023
…9549)

* Port and refactor Mattermost from teleport-plugins (#28989)

* Copy files from teleport/plugins/access/mattermost
* Add github.com/mailgun/holster/v3
* Define mattermost types
* Move StatusFromStatusCode to commons dir
* Make changes/ refactor based on other plugins
  - emit status

* Fix test, remove old types used in tests

Test similarly to slack since they both use commons/app.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants