mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[PR #676] [MERGED] Slack bot integration #1063
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/676
Author: @mattboll
Created: 4/5/2024
Status: ✅ Merged
Merged: 4/8/2024
Merged by: @meltyshev
Base:
master← Head:slack-bot-integration📝 Commits (10+)
5d95527added new custom service with slack integration helper functions; added axios package; added notifications for card create, delete, and update (move); added notifications for comment create7dba56cremoved test webhook url35adf2aReplace plankaProdUrl with one set by environment. Remove hardcoded channel and unused variables.8310c41Add slack variables to docker-compose3b2f47eRename custom.js -> slack.jsff8f861updated to use currentUser.name for messages9b6766cRemove unused code and comments4e02efachore: replace axios by fetchb1ad354refactor: extract code from controllers to helperscee4129fix: Refactoring📊 Changes
9 files changed (+129 additions, -24 deletions)
View changed files
📝
docker-compose.yml(+11 -8)📝
server/.env.sample(+11 -8)📝
server/api/controllers/cards/delete.js(+1 -0)📝
server/api/helpers/actions/create-one.js(+28 -0)📝
server/api/helpers/cards/delete-one.js(+12 -0)📝
server/api/helpers/notifications/create-one.js(+2 -0)📝
server/api/helpers/utils/send-email.js(+1 -1)➕
server/api/helpers/utils/send-slack-message.js(+53 -0)📝
server/config/custom.js(+10 -7)📄 Description
Hi,
I've refactored the PR #573 so I hope it will be faster for you to merge it
I rebased from master, I replaced axios by fetch, moved work from controller to helpers
Having i18n here would need (a lot of?) extra work
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.