Commit Graph

30 Commits

Author SHA1 Message Date
Alex Renoki 0ebf223584 Renamed the prop to replicator 2020-08-13 19:27:24 +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 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
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
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
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
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 84dad775e5 replace channel id with channel name 2018-12-01 12:26:08 +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 20991af127 nitpick 2018-11-28 21:07:07 +01:00
freek 636316f1a2 fix namespaces 2018-11-27 16:35:28 +01:00
freek c86a4c2319 commit 2018-11-27 16:21:31 +01:00
Renamed from src/WebSockets/Pusher/Channels/Channel.php (Browse further)