Commit Graph

422 Commits

Author SHA1 Message Date
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
Francis Lavoie 70ffe41c86 Add support for overriding stats logger's base URL 2019-02-21 12:13:58 -05: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
Marcel Pociot 09396cd92c Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-04 10:15:43 +01:00
Marcel Pociot 6d743f7924 wip 2018-12-04 10:15:37 +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 b4b6ec9582 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-04 09:08:36 +01:00
freek 016a6f4e4f clean up endpoint 2018-12-04 09:08:25 +01:00
Marcel Pociot df257254e5 wip 2018-12-04 09:03:27 +01:00
Marcel Pociot e1eecbc4e2 wip 2018-12-04 08:46:25 +01:00
Marcel Pociot 51232d6653 wip 2018-12-04 01:05:18 +01:00
Marcel Pociot dd283c66d1 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-04 01:05:14 +01:00
Marcel Pociot 1f0a153acc Charting 2018-12-04 01:03:47 +01:00
freek e738d30c1a wip 2018-12-04 00:05:05 +01:00
freek fd2203c8bb wip 2018-12-04 00:00:35 +01:00
freek 6c96bb8edc wip 2018-12-03 23:52:39 +01:00
freek 5c93909f31 nitpick 2018-12-03 23:45:18 +01:00
freek f6c9add25d wip 2018-12-03 23:39:04 +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 533f8a53ba wip 2018-12-03 22:11:44 +01:00
Marcel Pociot 13dc4bda67 wip 2018-12-03 21:45:45 +01:00
Marcel Pociot 56bee170a9 wip 2018-12-03 21:44:43 +01:00
Marcel Pociot 8bd50f0e61 wip 2018-12-03 21:41:41 +01:00
Marcel Pociot 86651938ee wip 2018-12-03 21:06:49 +01:00
Marcel Pociot 08035dd5d3 wip 2018-12-03 21:02:21 +01:00
freek b1f3b4661f wip 2018-12-03 16:51:40 +01:00
freek ff7953404f wip 2018-12-03 16:50:06 +01:00
freek b6b1d220ff fix facade 2018-12-03 16:29:47 +01:00
freek c30aeb61fb wip 2018-12-03 16:24:44 +01:00
freek 9636f7de6b rename 2018-12-03 16:23:20 +01:00
freek 5a03b981b9 import namespace 2018-12-03 15:13:29 +01:00
freek 6cd82e7300 wip 2018-12-03 15:12:33 +01:00
freek ea6db1b336 make class configurable 2018-12-03 15:10:39 +01:00
freek 54e1b291e6 fix typo 2018-12-03 15:08:13 +01:00
freek 4d549b6610 make colissions less likely 2018-12-03 15:01:16 +01:00
freek 6496d56b55 nitpick 2018-12-03 14:46:51 +01:00
freek f86b9b52ee rename namespaces 2018-12-03 14:45:50 +01:00
freek 2a23f2b6fb fix tests 2018-12-03 14:44:26 +01:00
freek 3d94b97158 wip 2018-12-03 14:35:00 +01:00
freek 95e519e499 improve name 2018-12-03 14:24:54 +01:00
freek 61fe3621be wip 2018-12-03 14:24:06 +01:00
freek 154368bb49 rename class 2018-12-03 14:07:18 +01:00
freek 933cf2c538 nitpick 2018-12-03 13:57:01 +01:00
freek d0ad7e6530 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-03 13:50:09 +01:00
freek cbf8cbf1dc wip 2018-12-03 13:49:56 +01:00
Marcel Pociot 6386e791aa wip 2018-12-03 13:37:30 +01:00
Marcel Pociot 53c5a9fce3 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-03 13:35:29 +01:00
Marcel Pociot bd737e4d79 wip 2018-12-03 13:35:17 +01:00
freek 90b6998eaa Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-03 13:33:38 +01:00
freek 1f7c2aafab wip 2018-12-03 13:33:30 +01:00
Marcel Pociot dc8441be4a wip 2018-12-03 13:33:20 +01:00
freek 082a631cdc wip 2018-12-03 13:33:00 +01:00
Marcel Pociot 18bea0529d wip 2018-12-03 13:27:45 +01:00
freek f9af6133df Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-03 13:06:00 +01:00
freek 52a2f24652 wip 2018-12-03 13:05:54 +01:00
Marcel Pociot 333da893dd wip 2018-12-03 13:02:51 +01:00
freek 121b818da1 wip 2018-12-03 12:12:53 +01:00
freek 62d9dff008 wip 2018-12-03 11:58:42 +01:00
freek f617240543 formatting 2018-12-03 11:25:09 +01:00
Marcel Pociot 5303d4553c Log disconnect 2018-12-03 11:10:02 +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
Marcel Pociot 775861ab88 Allow non-numeric app ids 2018-12-03 10:06:40 +01:00
freek 9e328d33e5 improve casing 2018-12-03 09:16:41 +01:00
freek ebd07e6bdb use clientMessagesEnabled 2018-12-01 15:59:46 +01:00
freek 486588c16b do as the laravel elite does 2018-12-01 15:53:41 +01:00
freek 99693249ba add enable_client_messages 2018-12-01 15:47:55 +01:00
freek d7c6321d51 improve name 2018-12-01 15:21:31 +01:00
freek 54ee17c6b2 rename 2018-12-01 15:10:01 +01:00
freek c9ec730dd4 rename 2018-12-01 15:09:05 +01:00
freek 7d97f49a2a rename message classes 2018-12-01 14:56:16 +01:00
freek 46d7334067 rename client to app 2018-12-01 14:17:32 +01:00
freek 279deeeb7c rename client to app 2018-12-01 14:12:15 +01:00
freek 9e7d6f2369 renaming clients to apps 2018-12-01 13:58:43 +01:00
freek e105e29f9d renaming clients to apps 2018-12-01 13:58:25 +01:00
freek 69acbb704a renaming clients to apps 2018-12-01 13:58:00 +01:00
freek e90e86798c renaming clients to apps 2018-12-01 13:57:02 +01:00
freek 0bff2f9f14 improve method name 2018-12-01 13:40:18 +01:00
freek 8648a182b3 rename channel id to channel name 2018-12-01 12:41:58 +01:00
freek acaa7aa205 reformat 2018-12-01 12:27:36 +01:00
freek 84dad775e5 replace channel id with channel name 2018-12-01 12:26:08 +01:00
freek 81bbf83aa5 nitpick 2018-12-01 11:52:47 +01:00
freek 5eb2251b01 nitpick 2018-12-01 11:52:29 +01:00
freek 19fb3b418f simplify newing up the channel 2018-12-01 11:52:02 +01:00
freek 803864c8cd nitpick 2018-11-30 17:24:55 +01:00
freek d7114a778a nitpick 2018-11-30 16:13:49 +01:00
freek dc87bfb221 nitpick 2018-11-30 15:52:11 +01:00
freek 13aec0af19 nitpick 2018-11-30 15:51:30 +01:00
freek dd59c0cea6 wip 2018-11-30 15:42:40 +01:00
Marcel Pociot 44ae0d7a57 wip 2018-11-29 17:29:55 +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
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 5ca977dacc Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-11-29 09:26:04 +01:00
Marcel Pociot 76c7bf63b3 wip 2018-11-29 09:25:47 +01:00
freek 2c61a798f8 wip 2018-11-29 00:22:01 +01:00
freek ec6f82e487 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-11-29 00:01:00 +01:00
freek 6103f7ea1b add ping test 2018-11-28 23:59:58 +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
freek 362ba7d5d8 nitpicks 2018-11-28 21:20:07 +01:00
freek 6d32cea614 Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-11-28 21:12:24 +01:00
freek 20991af127 nitpick 2018-11-28 21:07:07 +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 7fdcbe13ef moarrr randomness 2018-11-28 20:38:04 +01:00
freek 48ab69ee18 moarrr randomness 2018-11-28 20:36:06 +01:00
Marcel Pociot 2ce9daea94 wip 2018-11-28 17:09:50 +01:00
Marcel Pociot c58027d882 wip 2018-11-28 09:53:03 +01:00