Commit Graph

51 Commits

Author SHA1 Message Date
Alex Renoki 1616321d44 Fixed double broadcasting. 2020-08-27 14:35:29 +03:00
rennokki 4aec422ea9
Apply fixes from StyleCI (#489) 2020-08-27 13:13:37 +02:00
Alex Renoki a897ce2cd3 Fixed backend streaming 2020-08-27 14:13:17 +03:00
Alex Renoki 3f8bb62291 Enforce stdclass typehint 2020-08-24 13:40:01 +03:00
Alex Renoki 0902d43244 Added missing tap() 2020-08-19 19:49:56 +03:00
Alex Renoki 0b412cd98e added docblocks 2020-08-18 20:21:22 +03:00
Alex Renoki 5890659102 Refactored the dashboard logger 2020-08-17 21:06:51 +03:00
Alex Renoki 4c23363c14 wip dashboard logger 2020-08-14 09:14:14 +03:00
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 815eabc801
Apply fixes from StyleCI (#448) 2020-08-13 13:02:58 +02: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 091f56ea15
Simplify controller logic due to PresenceChannel logic changes 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
Francis Lavoie ed5503407e
Fix mistake during rebase 2019-09-23 15:35:12 -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 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
Catzilla d145cd4160 Fixed channels HTTP API endpoint (#127)
* Fixed channels HTTP API endpoint
2019-05-11 08:52:04 +02:00
Marcel Pociot 1c2b89b54d Fix content length bug 2019-02-27 15:44:42 +01:00
Marcel Pociot f26f89236e Merge branch 'master' of github.com:beyondcode/laravel-websockets 2019-02-27 15:28:09 +01:00
Marcel Pociot 82bba5bd02 Fix content length method 2019-02-27 15:27:51 +01: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 15e6b6ae96 Use content length check for requests split into multiple messages 2019-02-27 15:24:00 +01:00
Marcel Pociot edcf205dba
Apply fixes from StyleCI (#123) 2019-02-27 15:23:47 +01:00
Alex Bouma 83dec0b5f1 Fix signature validation (#38)
* Add failing test

* Fix signature validation

* Fix tests to generate correct signatures

*  StyleCI fix

* Ignore route params when validating the signature

* Fix tests to add route params next to signature

* StyleCI fixes
2019-01-02 22:30:57 +01:00
Alex Bouma a0ea0617f5
Fix Pusher lib expecting empty object not array 2018-12-07 20:38:17 +01:00
Marcel Pociot 9ce2cc3ff7
Apply fixes from StyleCI (#3) 2018-12-04 22:22:33 +01:00
freek 9636f7de6b rename 2018-12-03 16:23:20 +01:00
freek 3d94b97158 wip 2018-12-03 14:35:00 +01:00
Marcel Pociot dc8441be4a wip 2018-12-03 13:33:20 +01:00
Marcel Pociot 8f4dfc0e1e Fix app secret.
Only add the md5 of the body, if it's present
2018-12-03 10:08:25 +01:00
freek 46d7334067 rename client to app 2018-12-01 14:17:32 +01:00
freek e90e86798c renaming clients to apps 2018-12-01 13:57:02 +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 606f09f444 wip 2018-11-29 11:59:17 +01:00
Marcel Pociot c1303ff667 Add back message sent event 2018-11-29 10:42:48 +01:00
Marcel Pociot e7ade249ae wip 2018-11-29 09:27:43 +01:00
Marcel Pociot 76c7bf63b3 wip 2018-11-29 09:25:47 +01:00
Marcel Pociot e78b30acd6 Temporary fix to test against memory leak in telescope 2018-11-28 23:42:28 +01:00
Marcel Pociot 647def8d43 wip 2018-11-28 22:37:10 +01:00
Mattias Geniar fe492c6d2a Fix missing namespace: Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function BeyondCode\LaravelWebSockets\HttpApi\Controllers\Psr\str() 2018-11-28 21:02:14 +01:00
freek 2eb3a01169 add controller prefixes 2018-11-27 21:15:29 +01:00
Marcel Pociot c9a9f145d4 wip 2018-11-27 16:43:59 +01:00