Sami Mazouz
9363682e1c
fix: filter values are not validated ( #3795 )
2023-05-07 18:37:53 +01:00
StyleCI Bot
c8d9f1111e
Apply fixes from StyleCI
2023-01-10 14:04:18 +00: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
David Wheatley
3d167749cb
fix(subscriptions): add missing table prefix for filter gambit ( #3599 )
2022-08-15 12:35:03 +02:00
Sami Mazouz
f073c22212
chore: remove debug line that slipped in while rebasing a PR ( #3580 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-04 10:43:26 +01:00
Sami Mazouz
795a500adb
feat: Queue package manager commands ( #3418 )
...
* feat: Queue package manager commands
* adjust tests
* fix: force run whynot command synchronously
* chore: maximize command output box's height
* chore: more user instructions on background queue
* feat: track command peak memory usage
* feat: exit of CLI php version doesn't match web php version
* chore: install deps
* chore: format and typing workflow fix
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-24 14:02:13 +01: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
sl-kr
e783a7603d
change value of subscribed from false to null in the JSON API ( #37 )
2021-03-18 12:38:21 -04:00
Alexander Skvortsov
c1c47e81aa
SubscriptionFilterGambit: properly implement conditions
method
2021-03-17 14:22:10 -04:00
Alexander Skvortsov
caaefa1bf1
Use non-deprecated translator interface
2021-03-13 17:11:03 -05:00
Alexander Skvortsov
2da4f8204e
Apply fixes from StyleCI
2021-03-13 21:33:02 +00:00
Alexander Skvortsov
58fa8d4b8c
Update for beta 16
2021-03-13 16:32:48 -05:00
Sami Mazouz
2ef3bf411f
Use new extenders ( #36 )
2020-12-08 12:37:40 -05:00
Alexander Skvortsov
063b853305
Translate notification emails ( #30 )
2020-09-30 15:51:00 -04:00
Matt Kilgore
1fe034460b
Removes AssertPermissionTrait ( #29 )
...
* Removes AssertPermissionTrait
* Apply fixes from StyleCI
* Fix my dumb mistake
Co-authored-by: luceos <daniel+github@klabbers.email>
2020-07-19 17:37:05 -04:00
luceos
fa8e5afbbd
Apply fixes from StyleCI
2020-04-01 13:00:45 +00:00
datitisev
87437d1bdc
Apply fixes from StyleCI
2020-04-01 15:00:28 +02:00
David Sevilla Martin
9f3d6a9a1f
Queue 'new post' notification
...
Fixes flarum/core#1869
2020-04-01 15:00:28 +02:00
Tariq Hussein
b92e5a214f
Replaced whereExists/whereNotExists with whereIn/whereNotIn ( #22 )
2020-01-08 22:02:28 +01:00
Franz Liedke
907cc2fbe7
Apply fixes from StyleCI
2019-11-29 23:02:31 +00:00
Franz Liedke
dfadc8f5fc
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-16 15:00:02 +01:00
Toby Zerner
f6f604b0d9
Fix new post notifications not being sent
...
It seems that c7aeef19ea
actually caused
a regression. With the order of execution of extensions, this event
listener was always being executed before the discussion metadata
was updated, and the listener priority was not actually necessary.
Fixes flarum/core#1646
2018-11-21 22:04:52 +10:30
Toby Zerner
3e09c2bf33
Database changes ( #18 )
...
* Update core references
* Update core attribute names
2018-09-16 20:50:44 +02:00
Franz Liedke
2dd2847230
Ensure compatibility with DB table prefix
2018-07-23 16:33:30 +02:00
Franz Liedke
4daec37f78
Use Routes extender
2018-02-08 18:30:00 +01:00
Franz Liedke
5cb1fc4627
Adapt new bootstrap format, use Asset extender
2018-01-16 23:24:34 +01:00
Toby Zerner
c7aeef19ea
Remove use of event priorities
...
Event priorities are no longer in Laravel - see dbbfc62bef
Now we can't force this event listener to be run before the discussion
metadata is updated; instead we just subtract one off of the new
last post number.
2018-01-11 14:06:43 +10:30
Toby Zerner
14bc69d6bd
Use *Raw methods instead of Expression
2018-01-11 12:29:33 +10:30
Franz Liedke
96f073c45f
Fix class names
2017-10-03 19:45:42 +02:00
Franz Liedke
1ad71264c3
Fix a namespace
2017-10-03 19:15:16 +02:00
Franz Liedke
e2c97286e1
Update namespaces for beta 8
...
Refs flarum/core#1235 .
2017-10-01 19:54:13 +02:00
Toby Zerner
d136f4fae2
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2016-11-29 05:29:46 +00:00
Toby Zerner
2c10a42d6b
Use new event name
2016-06-03 11:02:48 +09:30
Peter Mein
689d139ca3
Add setting to automatically follow after reply. closes flarum/core#310
2016-03-07 23:01:34 +10:30
Toby Zerner
d9013ae1da
Applied fixes from StyleCI
2016-02-25 22:57:22 -05:00
Toby Zerner
57ac5190d5
Translations are now automatically included
2015-11-02 18:52:59 +10:30
Toby Zerner
fde7921487
Update for composer branch
2015-10-11 17:30:11 +10:30
Toby Zerner
7d1776c18b
Add LICENSE information
2015-09-04 12:30:01 +09:30
Toby Zerner
98369acd70
Don't allow guests to alter subscription
2015-09-03 15:42:12 +09:30
Franz Liedke
74fdf7b79c
Make sure query filter works with database prefix
...
Related to flarum/core#269 .
2015-08-29 23:07:21 +02:00
Franz Liedke
26e6993a49
Make sure query filter works with database prefix, too
...
Related to flarum/core#269 .
2015-08-29 23:00:53 +02:00
Franz Liedke
9fdfb024dd
Use existing helper method
2015-08-29 22:49:43 +02:00
Toby Zerner
a53e5289f3
Use new listen API
2015-08-13 12:51:15 +09:30
Toby Zerner
bb8232297f
Fix following discussion list filter
2015-07-27 12:44:45 +09:30
Toby Zerner
d6fe156e89
PERF: avoid reinstantiation of event subscribers
2015-07-27 11:54:44 +09:30
Toby Zerner
3729a91be3
Update for new API
2015-07-23 16:40:54 +09:30
Toby Zerner
5ea3579f76
Initial commit
2015-06-26 12:24:07 +09:30