timeoff-management-application
timeoff-management-application copied to clipboard
Adding Slack integration
Added Slack support for TimeOff. Using @slack/client npm module. Added new Slack class based on the email original class. Same for template from email to slack message templates. Added migration to add slack_username field to Users table. Added unit test based on email unit test.
@Morthor thank you for PR.
That feature was asked many times.
I will have a look at the diff more carefully soon.
That's nice to know. Just tell me if anything is missing or needs to be improved.
Regards
I found an issue with importing employees from csv file. I'm currently fixing it and will commit + push soon.
I have a commit to fix/add titles to all the pages which are missing them. It's on top of these merges though. So once this is approved I can create a new PR. https://github.com/Morthor/application/commit/f96c996b7dd4aa390ebf20533987316fc0a490e1
hi guys, this can be added now?
There are very likely some changes that vpp would like me to make, possibly regarding migrations/schema. I believe my original approach of using migrations was the correct one, but the original instructions for new installations don't mention running migrations so I modified the original schema. But in hindsight that seems like a bad idea for people who just want to update their current version.
I guess vpp is just too busy to review the MR.
Hi guys, sorry for staying silent in this thread. I am little bit busy those days (for about next 6-7 days) and then I will have a look into this more thoroughly.
I really appreciate this pull request as this is how the app grows its functionality.
Thank you guys for all your input.
Sent from my iPhone
On 20 Apr 2018, at 11:03, Morthor [email protected] wrote:
There are very likely some changes that vpp would like me to make, possibly regarding migrations/schema. I believe my original approach of using migrations was the correct one, but the original instructions for new installations don't mention running migrations so I modified the original schema. But in hindsight that seems like a bad idea for people who just want to update their current version.
I guess vpp is just too busy to review the MR.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Beside slacks; I would love to see webhooks being integrated, which is useful for Slack, but for all other chat(bots) like rocket.chat as well. +1
I fully agree with @saschafoerster regarding the webhooks as it would open the gate for other third party system integration. BTW: is there any plan to complete this PR?
The PR is little bit outdated, but not much, just mechanical issues.
I would be happy to get it into.
I must confess I didn't remember this PR was open. It's been 4 years.
@Morthor , don't worry, I will use this PR as a base.
Conceptually it has all needed for the feature, it just requires some work to fit into the app.
Would it be also possible to incorporate the webhooks? We have a third party HR system, where we would like to forward the approved and rejected vacations. If there would be hooks, then we could create a simple hook consumer and forward/remove the needed records. That would be amazing!