Commit Graph

12 Commits

Author SHA1 Message Date
b4878cde6f FEATURE: Add a webhook for user notifications
If enabled, this will fire a webhook whenever a user's notification has
been created. This could potentially be a lot of data depending on your
forum, and should be used carefully since it includes everything all users
will see in their feeds.
2019-08-15 14:47:25 -04:00
4ea21fa2d0 DEV: use #frozen_string_literal: true on all spec
This change both speeds up specs (less strings to allocate) and helps catch
cases where methods in Discourse are mutating inputs.

Overall we will be migrating everything to use #frozen_string_literal: true
it will take a while, but this is the first and safest move in this direction
2019-04-30 10:27:42 +10:00
b58867b6e9 FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.

Co-Authored-By: romanrizzi <romanalejandro@gmail.com>
Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
2019-03-28 12:45:10 -04:00
af5b88f8e2 Rename approval web hook event type to queued post 2018-07-26 10:29:38 +05:30
5059dad8f0 FEATURE: Webhook for post approval events 2018-07-25 23:43:19 +05:30
b9dfb0ba10 Partially revert 531baec5b5. 2018-05-18 15:01:36 +08:00
531baec5b5 Remove unused fabricator. 2018-05-18 13:37:39 +08:00
a16b616861 FEATURE: webhook for flag events 2018-04-13 07:47:58 +05:30
434cbc649f FEATURE: Webhook for tag events 2018-04-04 17:49:20 +05:30
dc33f2d071 Add new web hook serializers 2018-03-28 17:40:29 +05:30
bf78c228f4 FIX: User created web hook being enqueued before record has been saved.
* Improve web hook tests as well.
2017-03-16 14:44:09 +08:00
9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00