Re: [Trac] Re: TracTicketMSTeamsDispatcherPlugin

2023-01-18 Thread Markus Rosjat
yeah as i said its a work in progress :)

for now you can add a webhook to a teams or discord channel and in the
ticket if you check a field it will send off a json payload to the
webhooks. For now only on creation and change since this was a PoC but i
guess i can extend this to a fully supported ticket action version.

the message for the teams looks like this

[image: image.png]

for discord its just a testing payload atm
[image: image.png]

if you got some hints on how to make the json payload usable for editing in
the admin page that would be helpful. The payload is the most annoying part
to implement in a way the user can customize it without going around monkey
patching (at least for now)
regarding the README, yes I will do a more "explaining how it works" as
soon as possible but i figured ppl who go through the pain of trying it out
at this stage of development know there way around the trac stuff.

Cheers

MArkus

Am Mi., 18. Jan. 2023 um 09:58 Uhr schrieb RjOllos :

>
>
> On Tuesday, January 17, 2023 at 2:00:06 PM UTC-8 markus...@gmail.com
> wrote:
> hey list,
>
> it's me again ...
>
> I made some small changes so we can add multiple web hooks. Also a way to
> delete a web hook in the admin page. I also added a discord payload (not
> really useful as long as you dont go pretty it up in the code).
> I will try to make some kind of release on pypi later this week so it
> could be installed with pip from there.
>
> I wanna stress again, its not really a ready to go full use but if someone
> likes to try it and report bugs or pretty ups for the admin page I will try
> to keep it going.
>
> cheers
>
> MArkus
>
>
> Am So., 15. Jan. 2023 um 15:06 Uhr schrieb Markus Rosjat <
> markus...@gmail.com>:
> Hey list,
>
> I noticed some people cloned my repo on github even though it's just a poc
> for myself. So i shamelessly write a little mail here to let you know i
> pushed another commit to
> https://github.com/rosjat/TracTicketMSTeamsDispatcherPlugin so you might
> get an idea of pushing a payload to teams and discord. There is still a lot
> of ugly things going on but maybe i got the time and energy to make it
> pretty and useful (hint: if someone likes to to JS i need some for the
> admin panel). So sorry for the spam ;)
>
> Cheers
>
> Markus
>
> Nice work!
>
> One small suggestion. I guess from the name and settings that this allows
> publishing events into MS Teams, presumably notices like "Ticket #x
> created". It would be useful to have a concise description at the top of
> the README explaining everything the plugin does.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/c26929e4-24b6-4ecd-97ae-6db3a30dcc95n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAJ4osOncaYtzqJxOyNGpWKOKhqWLKunuvnZBMzY3GoXCGURGpw%40mail.gmail.com.


[Trac] Re: TracTicketMSTeamsDispatcherPlugin

2023-01-18 Thread RjOllos


On Tuesday, January 17, 2023 at 2:00:06 PM UTC-8 markus...@gmail.com wrote:
hey list,

it's me again ...

I made some small changes so we can add multiple web hooks. Also a way to 
delete a web hook in the admin page. I also added a discord payload (not 
really useful as long as you dont go pretty it up in the code). 
I will try to make some kind of release on pypi later this week so it could 
be installed with pip from there. 

I wanna stress again, its not really a ready to go full use but if someone 
likes to try it and report bugs or pretty ups for the admin page I will try 
to keep it going.

cheers

MArkus


Am So., 15. Jan. 2023 um 15:06 Uhr schrieb Markus Rosjat <
markus...@gmail.com>:
Hey list,

I noticed some people cloned my repo on github even though it's just a poc 
for myself. So i shamelessly write a little mail here to let you know i 
pushed another commit to 
https://github.com/rosjat/TracTicketMSTeamsDispatcherPlugin so you might 
get an idea of pushing a payload to teams and discord. There is still a lot 
of ugly things going on but maybe i got the time and energy to make it 
pretty and useful (hint: if someone likes to to JS i need some for the 
admin panel). So sorry for the spam ;)

Cheers 

Markus 

Nice work!

One small suggestion. I guess from the name and settings that this allows 
publishing events into MS Teams, presumably notices like "Ticket #x 
created". It would be useful to have a concise description at the top of 
the README explaining everything the plugin does.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/c26929e4-24b6-4ecd-97ae-6db3a30dcc95n%40googlegroups.com.