Commit Graph

34 Commits

Author SHA1 Message Date
Alexander Skvortsov
62be9088a1 Use RequestUtil to access actor 2021-04-12 17:50:59 -04:00
Daniël Klabbers
4f63399d4a Adds the ability to push new posts onto discussions that aren't public. (#17)
It's very frustrating having pusher installed, but not seeing new posts pop up on non public
discussions. This PR simply re-uses the existing channels per user by reading
all similar private user channels (which require authentication) and then pushing
the websocket message over the line. This only happens in case the discussion is
not public and it only sends to connected users.
2021-03-18 11:58:29 -04:00
Alexander Skvortsov
545aa2025f Apply fixes from StyleCI 2020-12-08 18:03:48 +00:00
Alexander Skvortsov
ed3d5b25e4 Properly use ServiceProvider extender 2020-12-08 13:00:55 -05:00
Sami Mazouz
358a19f3c1 Use new extenders (#30) 2020-12-08 12:46:25 -05:00
Sami Mazouz
bf6dd3083d Use a notification driver with the new channel extender (#28) 2020-11-05 12:09:13 -05:00
Daniël Klabbers
619796b102 Reduces friction with flarum/tags (#25)
Instead of blatantly triggering a 500 let's try to see whether
the tags relation is even returning anything before we try
to pluck tag ids from it when we publish that data to the pusher
server.
2020-09-02 13:55:45 -04:00
Matthew Kilgore
e6734ab62a Replace depreciated helper function with classfull one 2020-07-25 21:10:33 -04:00
Matt Kilgore
030798c455 Change Zend to Laminas (#16) 2020-01-08 00:47:36 +01:00
Franz Liedke
5add057eed Apply fixes from StyleCI 2019-11-29 23:02:20 +00:00
Franz Liedke
97d118939b Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-18 00:18:48 +01:00
Franz Liedke
42b86cd3c1 Get rid of event subscribers that resolve services too early, part 1
Refs flarum/core#1578.
2018-12-15 17:26:25 +01:00
Franz Liedke
8a831849c0 Get rid of obsolete ControllerInterface
See flarum/core#1443.
2018-05-30 09:55:04 +02:00
Franz Liedke
9480a26a84 Use Routes extender 2018-02-08 18:25:58 +01:00
Franz Liedke
b7991afbbb Adapt new bootstrap format, use Asset extender 2018-01-16 23:19:16 +01:00
Toby Zerner
b8d73a9ade lists → pluck for Laravel 5.5 2017-12-27 07:32:39 +10:30
Toby Zerner
4548522ad7 Merge branch 'master' into next-back 2017-12-26 20:23:13 +10:30
Toby Zerner
8de87cc5cc Support cluster setting on backend 2017-09-13 20:43:32 +09:30
Charlie
60ea08c846 Update for beta 8 2017-09-04 21:15:10 -07:00
Toby Zerner
715ffa055d Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:29:44 +00:00
Toby Zerner
c11738cdf5 Use new event name 2016-06-03 11:02:19 +09:30
Toby Zerner
a51f94deda Fixes to cluster setting
- Use the cluster setting when connecting to Pusher from the server-side
- Remove incorrect default value for the setting as it is serialized
2016-03-11 12:34:50 +10:30
Daniel Klabbers
159847fec0 Add Pusher cluster option. closes #6 2016-03-11 09:18:48 +10:30
Toby Zerner
478450b2ea Applied fixes from StyleCI 2016-02-25 22:56:35 -05:00
Toby Zerner
5e873562f9 Fix private channel auth 2015-11-03 15:29:11 +10:30
Toby Zerner
f95cc87522 Translations are now automatically included 2015-11-02 18:52:47 +10:30
Toby Zerner
f0a96c3e1c Add Interface suffix to SettingsRepository 2015-10-19 14:59:15 +10:30
Toby Zerner
fd3d2d83f1 Update for composer branch 2015-10-13 12:29:00 +10:30
Franz Liedke
a65b7d09ce Do not extend newly removed class
Related to flarum/core#118.
2015-09-09 09:05:23 +02:00
Toby Zerner
c22292696c Add LICENSE information 2015-09-04 12:30:55 +09:30
Toby Zerner
d53571abcf Use new listen API 2015-08-13 12:50:44 +09:30
Toby Zerner
807c9295a4 Implement push notifications 2015-08-04 21:22:59 +09:30
Toby Zerner
56318bf3a7 Use post isVisibleTo API 2015-08-04 17:47:57 +09:30
Toby Zerner
9b920daefa Initial commit 2015-08-04 17:19:17 +09:30