Commit Graph

9 Commits

Author SHA1 Message Date
Sami Mazouz
62a396e434
feat: send notifications of a new reply when post is approved (#3656)
* test(subscriptions): approved reply sends out notifications to users

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

* feat: send notifications when a post is approved

The code in approval was extracted into a listener because no matter what listeners are always executed before subscribers even if the extension is set to load before.

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-11-07 11:52:28 +00:00
Ian Morland
237076e5b7
chore(approval, likes): use subscribers (#3577)
* chore: use subscribers

* Apply fixes from StyleCI

* Un-static

Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-08-02 11:27:26 +01:00
Alexander Skvortsov
70cbe1d186 Update to use new extenders 2021-03-13 15:15:11 -05:00
Alexander Skvortsov
bd9553eb33 Refactor for new extenders 2020-12-08 15:08:18 -05:00
Sami Mazouz
bebced2d53 Use new extenders (#23) 2020-12-08 14:04:22 -05:00
Alexander Skvortsov
95269bfb68 Add empty locale extender to clear cache properly on enable/disable.
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 21:48:53 -04:00
Franz Liedke
6fa5cc4408 Use new Model extender 2020-04-24 15:54:12 +02:00
Franz Liedke
a4d447e39e Apply fixes from StyleCI 2019-11-29 23:01:32 +00:00
Toby Zerner
eb06f9d58c Rename bootstrap.php 2018-09-21 11:45:18 +09:30