Will this come to beta 15?

    0.3.0

    This extension does not support beta 14. Your ReFlar webhooks will be migrated.

    • Moved to FriendsOfFlarum
    • Updated for beta 15
    • Fix issue with all events in Webhook settings modal showing disabled animation every time you enable/disable one
    • Fix default group showing as member
    • Improve settings UI
    • NEW: Add extra text to your webhook messages (predefined, cannot change per event, set per webhook)
    • NEW: Microsoft Teams integration
    • DISCORD: Do not replace avatar with forum icon
    • DISCORD: Support discordapp.com and discord.com domains
      • A migration on extension enable will automatically replace discord.com with discordapp.com from all your Discord webhook urls

    Updating

    composer remove reflar/webhooks
    composer require fof/webhooks

      datitisev Awesome! Is the extra text required? Because without you get the error using the Discord webhook. Otherwise I'll open an issue in GitHub

      Return value of FoF\Webhooks\Response::getExtraText() must be of the type string, null returned

      Also, when trying to add the extra text you'll get an error (that's a bug for sure)

        JasperVriends What error do you get when trying to add the extra text?

        I will fix the no extra text error today (null one( but i didn't encounter an error when updating the extra text.

          datitisev Ah! I see the issue, the column extra_text does not exists after migrating from 'Webhooks by ReFlar' to 'FriendsOfFlarum webhooks'. There is no migration that adds the extra_text culumn as the 'create table' migration hasn't run due to the table already exists

            0.3.1

            • Fix issue if extra_text is null
            • Actually create extra_text column

            Updating

            composer require fof/webhooks
            php flarum migrate

            0.3.2

            • Fix error when deleting posts that have an array object as their content (e.g. discussion rename post)

            Updating

            composer require fof/webhooks

            Is it possible to post an excerpt and not the entier discussion ?

              Can you please add filter by tags, we're making a qotd system, and need it to automatically post them, but we don't want it to post all discussions!

              • ctml replied to this.

                ItsMrReals
                +1 for this, would love to filter events by tag so posts, etc. in private discussions can be filtered out. I guess you can still sort of do that with the group permission filter, but the tag just allows for a bit more granularity. Tag filters would let you create webhooks for the same events, and have them go to different locations depending on tag. For example you could have a webhook for a support tag and have it go to your slack channel for support, and announcements to a separate location.

                Edit:
                FriendsOfFlarum/webhooks25
                FriendsOfFlarum/webhooks26

                0.4.0

                • NEW: Allow restricting webhook to a single specific tag (only affects Discussion & Post events)
                • NEW: Allow creating multiple webhooks with same URL
                • Use User display names everywhere (except User Renamed event)
                • Add loading indicator for service, url items when being saved
                • Make sure post contents being sent with webhook aren't an array & post exists
                • Sightly improve styling of admin page

                Updating

                composer require fof/webhooks
                php flarum cache:clear

                  datitisev NEW: Allow restricting webhook to a single specific tag
                  NEW: Allow creating multiple webhooks with same URL
                  Use User display names everywhere (except User Renamed event)

                  You're a rock star, thank you @datitisev!

                  datitisev changed the title to FriendsOfFlarum Webhooks .

                  Oh! That's a good update and adds 😍

                  One more suggestion, adding webhook to Guilded (direct discord concurrent)