-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[Notifier] Add notifier for Microsoft Teams #39007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c5abdf1 to
eaf0387
Compare
dd889cb to
4a59f17
Compare
204679d to
6764453
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add @experimental in 5.3 in all classes?
|
What do you think of renaming the bridge to |
src/Symfony/Component/Notifier/Bridge/Teams/Tests/TeamsTransportTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Teams/Tests/TeamsTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/Teams/TeamsTransportFactory.php
Outdated
Show resolved
Hide resolved
|
Hi @idetox 👋 Are you interested in finishing this PR or am I allowed to take over? Cheers Oskar |
src/Symfony/Component/Notifier/Bridge/Teams/TeamsTransportFactory.php
Outdated
Show resolved
Hide resolved
|
Hey sry @OskarStark , been busy with the end of the year at work & family, should have more time soon (i should be able to do it nxt week), if the changes need to be done fast you can take over, let me know ! |
|
Hi 👋 thank you for the feedback, next week would be super 👌🏻👍🏻 |
src/Symfony/Component/Notifier/Bridge/MsTeams/Action/AbstractMsTeamsActionElement.php
Outdated
Show resolved
Hide resolved
|
As we are lacking tests for the many new classes I would like to introduce the bridge without custom options and rework the options part in another follow up PR. In this case we have a bridge which can send chat messages to MicrosoftTeams, which is more than we are supporting right now. |
|
Adding options in another PR works for me, that's what we did in the past for another provider (I don't remember which one though). |
40b6563 to
5ff55ef
Compare
|
Dont forget the Wink wink #40700 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks way more simple now.
Let me know when you are ready for a final review.
src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/MicrosoftTeamsTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/MicrosoftTeamsTransport.php
Outdated
Show resolved
Hide resolved
5ff55ef to
c344002
Compare
Added |
c344002 to
3a5caf7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Im happy with this PR now.
Just make sure the CI is green.
5b2c154 to
4e8bf02
Compare
|
All green now 👍 |
|
Could you do a quick rebase before merge? |
4e8bf02 to
013d56d
Compare
|
Thank you Oskar and @idetox |
This PR was merged into the 5.3-dev branch. Discussion ---------- [Notifier] Add MicrosoftTeams Docs for symfony/symfony#39007 Best viewed with: https://github.com/symfony/symfony-docs/pull/15193/files?diff=unified&w=1 Commits ------- 9e1e0a9 [Notifier] Add MicrosoftTeams
…karStark) This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Notifier] Add options to Microsoft Teams notifier | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Follows #39007 | License | MIT | Doc PR | symfony/symfony-docs#15288 ### After rework: <img width="374" alt="CleanShot 2021-04-15 at 09 40 45@2x" src="https://user-images.githubusercontent.com/995707/114832421-c04c9400-9dce-11eb-8135-77ee1fb21314.png"> Commits ------- d039ce7 [Notifier] Add options to Microsoft Teams notifier
Add notifier bridge for Teams using Incoming Webhook implementation : see Incoming Webhook using curl
EDIT by @OskarStark:
I removed the options logic in the first step and will create a follow up PR adding them back to the bridge ❗