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
87c00fb340
app() -> $this->laravel in StartWebSocketServer
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
Henrik B Hansen
8e422cbc5b
Make it possible to customise the port the dashboard connects to ( #124 )
...
* Make it possible to customise the port the dashboard connects to.
* Fixed so both wsPort and wssPort are changed.
* Changed env port name and added path
* Fixed typo in wsPath
* Moved port into dashboard section in config
* Changed env name to LARAVEL_WEBSOCKETS_PORT
2019-09-04 08:48:06 +02:00
Marcel Pociot
74c3e06ece
Add Laravel 6 support and ignition solution
2019-09-04 08:45:21 +02:00
Gabriel Iuga
94fb667b90
Fix for dependency upgrade ( #223 )
...
* + DnsResolver no longer extends React/Dns/Resolver as it's now a final class
+ StartWebSocketServer:getDnsResolver returns ResolverInterface to comply with new react/dns policy
* + organize imports
* + organize imports
2019-07-28 14:18:22 -04:00
Catzilla
d145cd4160
Fixed channels HTTP API endpoint ( #127 )
...
* Fixed channels HTTP API endpoint
2019-05-11 08:52:04 +02:00
Ahmed Al-Shahawi
aecbfeebe7
Add the ability to limit the maximum concurrent connections per appli… ( #143 )
...
* Add the ability to limit the maximum concurrent connections per application
Co-Authored-By: AlShahawi <alshahawi@outlook.com>
2019-05-11 08:48:33 +02:00
Luke Policinski
556f4338e8
Fix/Feature : Fixing ability to add custom handlers to a route by adding a custom routes method to the router ( #150 )
...
Fixing Coding Standards
Fixing Coding Standards
2019-05-11 08:46:25 +02: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
Marcel Pociot
d2146f7977
fix ability to recursively call the respond method. Fixes #173
2019-05-11 08:39:03 +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
Ahmad Fikrizaman Bin Abd Rahim
c1f6ffa51b
Fix Invalid Signature issue and enable event creator to be sent from any app ( #39 )
...
* Add the ability to configure middleware.
Fixes #22
* Fix StyleCI Error.
* Include X-App-ID
* Reconstruct the PusherBroadcaster
* fix styleci
* change from overwriting constructor to new Broadcaster
* optional inside dashboard gate
* remove comment
* fix for styleci
* Fix typo
* Removed unused $config['options']
2018-12-17 09:38:18 +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
Alex Bouma
db6d794fd5
Option to resolve DNS for the statistics endpoint ( #31 )
2018-12-10 10:31:19 +01:00
Alex Bouma
a0ea0617f5
Fix Pusher lib expecting empty object not array
2018-12-07 20:38:17 +01:00
Syed I.R
3559b7db4f
Fix Namespace
2018-12-07 01:25:48 +05:30
Marcel Pociot
f03acd10a4
Merge pull request #14 from LKaemmerling/master
...
Add optional server variable
2018-12-05 21:16:06 +01:00
Marcel Pociot
76e091d1a3
Merge pull request #18 from pascalbaljet/master
...
Support for forcing debug mode
2018-12-05 21:14:17 +01:00
Marcel Pociot
c42fb3b769
Apply fixes from StyleCI ( #20 )
2018-12-05 21:10:08 +01:00
Marcel Pociot
7bd6645f85
Auto-Select first app in Dashboard
...
Do not verify SSL certificates while in development mode
2018-12-05 21:09:22 +01:00
pascalbaljet
3aeddc0aa3
Typo
2018-12-05 15:00:21 +01:00
Pascal Baljet
5f4a91ab5b
Update StartWebSocketServer.php
2018-12-05 14:56:01 +01:00
Lukas Kämmerling
3f48a0fe50
Rename `server` to `host`
2018-12-05 13:58:30 +01:00
Lukas Kämmerling
30d1a6b79c
Add server variable
2018-12-05 12:38:25 +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
8d7796eb60
wip
2018-12-04 21:08:28 +01:00
freek
cc8f8a8168
Merge branch 'master' of github.com:beyondcode/laravel-websockets
2018-12-04 21:07:46 +01:00
freek
0da29ee716
wip
2018-12-04 21:07:35 +01:00
Marcel Pociot
432c26d3c7
Merge branch 'master' of github.com:beyondcode/laravel-websockets
2018-12-04 21:04:26 +01:00
Marcel Pociot
3b2957facd
Broadcast client messages to others only
2018-12-04 21:04:19 +01:00
freek
bb73005015
wip
2018-12-04 20:28:32 +01:00
Marcel Pociot
286629fd98
wip
2018-12-04 17:25:11 +01:00
Marcel Pociot
2eaae22ec0
wip
2018-12-04 17:17:50 +01:00
Marcel Pociot
6272ea4151
wip
2018-12-04 14:06:16 +01:00
Marcel Pociot
ddb5dbdabb
wip
2018-12-04 12:40:52 +01:00
Marcel Pociot
f89278ede1
wip
2018-12-04 11:48:07 +01:00
Marcel Pociot
c050fe87e2
wip
2018-12-04 10:25:34 +01:00