Commit Graph

11 Commits

Author SHA1 Message Date
Sami Mazouz
caaaadd701
Merge branch 'refs/heads/2.x' into sm/json-api-server
# Conflicts:
#	extensions/likes/tests/integration/api/ListPostsTest.php
#	extensions/mentions/tests/integration/api/ListPostsTest.php
#	framework/core/src/Api/routes.php
#	framework/core/src/Discussion/UserState.php
#	framework/core/src/Extend/Settings.php
#	framework/core/tests/integration/extenders/ApiControllerTest.php
#	framework/core/tests/integration/extenders/ModelTest.php
#	framework/core/tests/integration/policy/DiscussionPolicyTest.php
2024-05-09 13:19:14 +01:00
Sami Mazouz
2b917372a7
feat: eloquent factories (primarily for tests) (#3982) 2024-05-03 09:20:27 +01:00
StyleCI Bot
5b0dd88acf
Apply fixes from StyleCI 2024-03-08 13:41:35 +00:00
Sami Mazouz
aebd5278cb
feat: refactor subscriptions extension 2024-02-26 15:27:04 +01:00
Sami Mazouz
bc5bac0ac4
fix: regressions 2024-02-17 11:01:47 +01:00
Sami Mazouz
64b25b26c3
chore: improve test suite (#3814)
Allows running tests without constantly running `composer install` on each extension.
2023-06-15 13:26:39 +01:00
Sami Mazouz
e5f05166a0
fix(subscriptions): post notifications not getting access checked
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-10 15:04:02 +01:00
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
David Wheatley
87aaaf6971
feat(subscriptions): add option to send notifications when not caught up (#3503) 2022-08-31 11:13:51 +02:00
Sami Mazouz
25122fd355
fix: user has wrong discussion read status (#3591)
* test: deleting last post(s) then posting new replies works as expected
* fix: user has wrong discussion read status
2022-08-09 22:43:38 +02:00
Sami Mazouz
c2ba3bb7d5
fix(subscriptions): reply notifications not working (#3445)
* chore: subscriptions backend test infrastructure

* test: reply notification

* fix: fix reply notifications not working
2022-06-03 21:06:30 +02:00