Commit Graph

710 Commits

Author SHA1 Message Date
JuanDMeGon 1fdcaa6a7b
After pusher-js 6 forceTLS is default true
As now since pusher-js 6 the encrypted attribute was removed in favor of forceTLS and it is true by default, so we need to use forceTLS: false, to avoid CORS issues.
2020-08-01 17:19:57 -05:00
JuanDMeGon ab0ac05de7
The encrypted property was removed on pusher-js 6
the encrypted property was removed in favor of forceTLS one, officially on pusher-js 6.
2020-08-01 17:09:56 -05:00
Erlang Parasu 14b9b11836
Update dashboard.blade.php 2020-08-01 18:29:48 +08:00
Erlang Parasu 334846dba9
getBasePath 2020-08-01 18:12:26 +08:00
Adrien Foulon 2fe5d60972
Fix multiple routes not working when Logger enabled beyondcode#412 2020-07-04 15:51:24 +02:00
robindrost 45d951c56b
Update statistics table name check
Class name was missing Table, this result into creating new migrations everytime you publish the package.
2020-06-30 14:48:28 +02:00
Marcus Olsson acf349602d
Fix broken link in FAQ 2020-06-16 09:47:41 +02:00
Marcel Pociot c5c11612e3 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2020-06-02 12:04:14 +02:00
Marcel Pociot b1001f38ea wip 2020-06-02 12:03:46 +02:00
Marcel Pociot f66345c357
Update .gitattributes 2020-06-02 11:26:55 +02:00
Marcel Pociot 0b351d80ec Add documentation 2020-06-02 10:56:13 +02:00
Ricardo Lobo d7b996381d
Fix compatibility with laravel/passport (#332) 2020-04-01 12:05:44 +02:00
freek 0dbc946280 wip 2020-03-04 11:11:06 +01:00
freek 744cd6e8dc wip 2020-03-04 11:06:43 +01:00
freek 4722aa8197 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2020-03-04 11:05:55 +01:00
freek de7916752f wip 2020-03-04 11:05:51 +01:00
Freek Van der Herten 6c741d8693
Merge pull request #306 from godkinmo/master
fix ws path not work in debug dashboard
2020-03-04 11:04:31 +01:00
freek 2851a2e557 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2020-03-04 10:59:14 +01:00
freek cf31d16f79 wip 2020-03-04 10:59:02 +01:00
Freek Van der Herten fa0bd1c9ef
Apply fixes from StyleCI (#329) 2020-03-04 10:58:39 +01:00
freek 11c66b98fd wip 2020-03-04 10:58:32 +01:00
freek c8eea9bdc9 wip 2020-03-04 10:58:17 +01:00
Jack Fong 24101e456f fix ws path not work in debug dashboard 2020-01-24 19:24:01 +08:00
Francis Lavoie db5837831b
Fix test warnings due to usage of deprecated assertArraySubset()
Also changed app_id to strings where appropriate, in real apps they should be strings when read from environment, not ints.
2019-09-23 15:51:43 -04:00
Francis Lavoie e3c0cea77c
Fix tests failing on older versions of Laravel 2019-09-23 15:36:09 -04:00
Francis Lavoie 5979f63af6
StyleCI fixes 2019-09-23 15:36:09 -04:00
Francis Lavoie e259cac51e
Remove duplicate client mock client, simplify test trait 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 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
anthony 373b993e64
rename emptyclient to localclient 2019-09-23 15:36:09 -04:00
anthony f2b3347f89
resolve app from local variables in console 2019-09-23 15:36:09 -04:00
anthony 060b986058
resolve app from local variables 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 d43ac821d9
remove test code 2019-09-23 15:36:09 -04:00
anthony 6e68d3d144
one line var doc 2019-09-23 15:36:09 -04:00
anthony b5fcc13797
remove redis host 2019-09-23 15:36:09 -04:00
anthony 3c909b95c0
remove predis from require-dev 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 ed5503407e
Fix mistake during rebase 2019-09-23 15:35:12 -04:00
Francis Lavoie faf2c75d3d
Fix redis-pusher broadcast driver, wrong params for extend() callable 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 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