Alex Renoki
5997dd4df8
wip docblocks
2020-08-14 08:42:17 +03:00
Alex Renoki
7053600ed0
Merge branch 'refactor/tests' of github.com:beyondcode/laravel-websockets into refactor/pubsub-replication-tests
2020-08-13 20:03:30 +03:00
Alex Renoki
d76d7bbe67
Merge branch 'master' of github.com:beyondcode/laravel-websockets into 2.x
2020-08-13 20:02:29 +03:00
Alex Renoki
0ebf223584
Renamed the prop to replicator
2020-08-13 19:27:24 +03:00
Alex Renoki
8b15897f63
Allow missing user_info on presence channels
2020-08-13 19:17:06 +03:00
Alex Renoki
51f84e3c40
set up tests
2020-08-13 16:18:14 +03:00
rennokki
aa1c11e149
Merge branch 'master' into redis-replication
2020-08-13 09:59:01 +03:00
Freek Van der Herten
fa0bd1c9ef
Apply fixes from StyleCI ( #329 )
2020-03-04 10:58:39 +01:00
Francis Lavoie
5979f63af6
StyleCI fixes
2019-09-23 15:36:09 -04:00
Francis Lavoie
ef86f86668
Attempt at making TriggerEventController also publish to other servers
2019-09-23 15:36:09 -04:00
Francis Lavoie
990a075b20
Avoid calls to app()
2019-09-23 15:36:09 -04:00
Francis Lavoie
00e8f3e1a8
Add channel storage to LocalDriver to simplify PresenceChannel logic
2019-09-23 15:36:09 -04:00
Arthur Vandenberghe
11e1f89b5e
Merge pull request #1 from deviouspk/analysis-z3nD5L
...
Apply fixes from StyleCI
2019-09-23 15:36:09 -04:00
anthony
6e68d3d144
one line var doc
2019-09-23 15:36:09 -04:00
anthony
d7c30f3b0f
cleanup & refactor of pubsub code
2019-09-23 15:35:43 -04:00
Francis Lavoie
b7ae9bac4a
Add tests for replication, fix bugs in the implementation
2019-09-23 15:35:12 -04:00
Francis Lavoie
4baac7ef00
Implement presence channel storage in Redis
2019-09-23 15:35:12 -04:00
Francis Lavoie
eca8c7b846
Scope pub/sub channels in Redis by appId to avoid crosstalk between apps
2019-09-23 15:35:12 -04:00
Francis Lavoie
668cd29df0
Fix style issues reported by StyleCI
2019-09-23 15:35:12 -04:00
Francis Lavoie
e454f53eaa
Initial implementation of Redis as a pub/sub backend, WIP
...
TODO:
- Presence channels need the user lists stored in Redis (tricky, requires a lot of changes and async code in HTTP controllers)
- Channels in Redis should be scoped by the app ID
2019-09-23 15:35:12 -04:00
Francis Lavoie
c203d24469
Clean up some typos, add some type hints, StyleCI fixes
2019-09-23 15:34:55 -04:00
Sam Snelling
b584d0cacb
Update with pub sub replication and redis driver
2019-09-23 15:34:42 -04:00
Alex Bouma
5e84ef1ddc
Fix connection counting ( #74 )
...
* Fix connection counting
* Remove unused method from FakeStatisticsLogger
* Add tests for testing the connection counting
* StyleCI fixes
* Do not use Laravel 5.7.10 testing helper
* CS
2019-05-11 08:40:45 +02:00
Francis Lavoie
3ec6c0ade3
Add support for Laravel 5.8 ( #122 )
...
* Fix Laravel 5.8 compatibility
* Use Arr:: and Str:: instead of global helpers
* Remove testbench-core dependency, release was tagged
2019-02-27 15:27:21 +01:00
Sam Snelling
ec96ca7172
Update ChannelManager ( #41 )
...
* Update Channel Manager
Switch ChannelManager to an interface. Extend with an ArrayChannelManager (and copy the code). Update the config to allow for swapping. Bind it to the ServiceProvider
* Add a fallback if the config variable isn’t set
* Fix StyleCI
* Fix StyleCI line break
* Add description for the ChannelManager option
2018-12-10 20:47:52 +01:00
Marcel Pociot
9ce2cc3ff7
Apply fixes from StyleCI ( #3 )
2018-12-04 22:22:33 +01:00
freek
7bc6e32a76
wip
2018-12-04 21:12:10 +01:00
Marcel Pociot
e1eecbc4e2
wip
2018-12-04 08:46:25 +01:00
freek
6c96bb8edc
wip
2018-12-03 23:52:39 +01:00
Marcel Pociot
533f8a53ba
wip
2018-12-03 22:11:44 +01:00
freek
f617240543
formatting
2018-12-03 11:25:09 +01:00
freek
d7c6321d51
improve name
2018-12-01 15:21:31 +01:00
freek
279deeeb7c
rename client to app
2018-12-01 14:12:15 +01:00
freek
8648a182b3
rename channel id to channel name
2018-12-01 12:41:58 +01:00
freek
acaa7aa205
reformat
2018-12-01 12:27:36 +01:00
freek
84dad775e5
replace channel id with channel name
2018-12-01 12:26:08 +01:00
freek
81bbf83aa5
nitpick
2018-12-01 11:52:47 +01:00
freek
5eb2251b01
nitpick
2018-12-01 11:52:29 +01:00
freek
19fb3b418f
simplify newing up the channel
2018-12-01 11:52:02 +01:00
Marcel Pociot
8bc6893eec
wip
2018-11-29 16:42:26 +01:00
Marcel Pociot
bdef2c29a9
wip
2018-11-29 16:41:27 +01:00
Marcel Pociot
606f09f444
wip
2018-11-29 11:59:17 +01:00
freek
2c61a798f8
wip
2018-11-29 00:22:01 +01:00
freek
362ba7d5d8
nitpicks
2018-11-28 21:20:07 +01:00
freek
20991af127
nitpick
2018-11-28 21:07:07 +01:00
Marcel Pociot
c58027d882
wip
2018-11-28 09:53:03 +01:00
freek
059c521270
commit
2018-11-27 21:42:17 +01:00
freek
a5cf1236db
commit
2018-11-27 21:39:27 +01:00
Marcel Pociot
72ae8f42dc
wip
2018-11-27 16:55:30 +01:00
freek
636316f1a2
fix namespaces
2018-11-27 16:35:28 +01:00