Commit Graph

76 Commits

Author SHA1 Message Date
Alex Renoki 99b55411c1 Removed controller that sends out the statistics 2020-08-19 22:39:38 +03:00
Alex Renoki 3e521268d4 Added customizable driver for the store 2020-08-18 21:22:29 +03:00
Alex Renoki 0b412cd98e added docblocks 2020-08-18 20:21:22 +03:00
rennokki 5c3e87ecca
Apply fixes from StyleCI (#461) 2020-08-14 14:36:00 +02:00
Alex Renoki 25694c7146 wip 2020-08-14 15:35:36 +03:00
Alex Renoki 14f54dac62 $this->app->make 2020-08-13 22:05:57 +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 65ae998aed Renamed the migration file on publish & loadMigrationsFrom() 2020-08-13 19:51:09 +03:00
rennokki a18ef0c6c6
wip naming 2020-08-13 19:35:37 +03:00
Chaitali Sakhale aced9114cc Force migration to a fixed path 2020-08-13 21:58:57 +05:30
Alex Renoki 4389fd1360 Added soft default to replication driver check 2020-08-13 19:20:29 +03:00
Chaitali Sakhale d2feddd7a6 StyleCI fixed again 2020-08-13 21:09:14 +05:30
Chaitali Sakhale 94f24be368 StyleCI fixed 2020-08-13 21:07:38 +05:30
Chaitali Sakhale 84ef4ce14e Breaking fix for composer update 2020-08-13 21:02:31 +05:30
Alex Renoki 51f84e3c40 set up tests 2020-08-13 16:18:14 +03:00
Alex Renoki 099d90b885 Renamed AppProvider to AppManager 2020-08-13 14:51:18 +03:00
rennokki 815eabc801
Apply fixes from StyleCI (#448) 2020-08-13 13:02:58 +02:00
rennokki 1bfbbdb558
Merge branch '2.x' into redis-replication 2020-08-13 13:51:26 +03:00
Alex Renoki 765e772d76 wip 2020-08-13 13:22:58 +03:00
zaxxo-dkraemer 0915132369 Add restart command for WebSocket server 2020-08-13 10:09:55 +02:00
rennokki 6e851971c8
Update WebSocketsServiceProvider.php 2020-08-13 10:20:31 +03:00
rennokki aa1c11e149
Merge branch 'master' into redis-replication 2020-08-13 09:59:01 +03:00
robindrost 13d8d9491d
Update WebSocketsServiceProvider.php
Add missing space.
2020-08-12 12:29:32 +02:00
robindrost dd05008dd2
Update WebSocketsServiceProvider.php
Namespace import order.
2020-08-12 12:28:56 +02:00
robindrost 5b11224865
Update WebSocketsServiceProvider.php
Add missing {
2020-08-12 12:27:53 +02:00
robindrost c735e70009
Update WebSocketsServiceProvider.php
Add missing ;.
2020-08-12 12:27:04 +02:00
robindrost 8285f6da17
Update WebSocketsServiceProvider.php
Use schema check instead of class name check.
2020-08-12 12:26:07 +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
Freek Van der Herten fa0bd1c9ef
Apply fixes from StyleCI (#329) 2020-03-04 10:58:39 +01:00
Francis Lavoie e3c0cea77c
Fix tests failing on older versions of Laravel 2019-09-23 15:36:09 -04:00
anthony 373b993e64
rename emptyclient to localclient 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 d7c30f3b0f
cleanup & refactor of pubsub code 2019-09-23 15:35:43 -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 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
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
Marcel Pociot 9ce2cc3ff7
Apply fixes from StyleCI (#3) 2018-12-04 22:22:33 +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
freek a79179cef3 wip 2018-12-04 10:11:53 +01:00
freek 4aab3d441f wip 2018-12-04 10:06:26 +01:00
freek e738d30c1a wip 2018-12-04 00:05:05 +01:00
Marcel Pociot cdf229bfa1 wip 2018-12-03 23:19:46 +01:00
Marcel Pociot 84b8895ff8 wip 2018-12-03 22:59:50 +01:00
Marcel Pociot 8bd50f0e61 wip 2018-12-03 21:41:41 +01:00
freek 54e1b291e6 fix typo 2018-12-03 15:08:13 +01:00