Commit Graph

169 Commits

Author SHA1 Message Date
Alex Renoki 3123f25cbc Renamed HttpStatisticsLogger with MemoryStatisticsLogger (because it stores it in-memory) 2020-08-19 09:00:53 +03:00
rennokki 850ebe57dc
Apply fixes from StyleCI (#474) 2020-08-18 23:02:25 +02:00
Alex Renoki e34c7e8db1 Added a redis driver test 2020-08-19 00:02:02 +03:00
Alex Renoki a36d3366f1 Enforce DNS lookup on testing 2020-08-18 23:22:10 +03:00
Alex Renoki 0b412cd98e added docblocks 2020-08-18 20:21:22 +03:00
Alex Renoki 02bf273cb4 fixed tests 2020-08-18 16:07:35 +03:00
Alex Renoki 11727e684f Added cors setting outside the app 2020-08-18 16:04:52 +03:00
Alex Renoki 13978cb824 Added extension for the websocket handler 2020-08-17 13:25:01 +03:00
rennokki b1e6b6ecc5
Apply fixes from StyleCI (#463) 2020-08-17 10:48:14 +02:00
Alex Renoki 04ff39d75e wip 2020-08-17 11:47:50 +03:00
Alex Renoki b7a00baaaa wip incomplete tests 2020-08-14 20:26:55 +03:00
Alex Renoki 92dd8f4f30 skipped some tests until further addo 2020-08-14 19:53:30 +03:00
Alex Renoki 4ae3d81675 assert publish 2020-08-14 16:18:01 +03:00
Alex Renoki 04cc2e7366 missing class 2020-08-14 16:03:12 +03:00
rennokki 939ae17604
Apply fixes from StyleCI (#462) 2020-08-14 14:52:42 +02:00
Alex Renoki 0fdc0bc752 Merge branch 'refactor/pubsub-replication-tests' of github.com:beyondcode/laravel-websockets into refactor/pubsub-replication-tests 2020-08-14 15:52:15 +03:00
Alex Renoki 50f0b70e64 wip 2020-08-14 15:51:57 +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 22fcddb050 docblocks 2020-08-14 13:53:14 +03:00
Alex Renoki 7458c3e09b Emptied tests for replication 2020-08-14 09:43:47 +03:00
Alex Renoki 5838acad30 Set up config for broadcasting 2020-08-13 22:52:12 +03:00
Alex Renoki 14f54dac62 $this->app->make 2020-08-13 22:05:57 +03:00
Alex Renoki 00b3edf55a Added Illuminate\Broadcasting\BroadcastServiceProvider 2020-08-13 21:51:16 +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 4c676cba8a Merge branch '2.x' of github.com:beyondcode/laravel-websockets into refactor/tests 2020-08-13 20:02:46 +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
Alex Renoki 8b15897f63 Allow missing user_info on presence channels 2020-08-13 19:17:06 +03:00
Alex Renoki 51f84e3c40 set up tests 2020-08-13 16:18:14 +03:00
Alex Renoki 64b0fa8382 Removed the setupReplication trait 2020-08-13 16:16:39 +03:00
Alex Renoki 279dd62a31 Merge branch '2.x' of github.com:beyondcode/laravel-websockets into refactor/tests 2020-08-13 15:46:11 +03:00
Alex Renoki 099d90b885 Renamed AppProvider to AppManager 2020-08-13 14:51:18 +03:00
rennokki 16446309ca
Apply fixes from StyleCI (#449) 2020-08-13 13:25:10 +02:00
Alex Renoki 344dfa7f96 Added --test for websockets:serve command 2020-08-13 14:21:06 +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
zaxxo-dkraemer 0915132369 Add restart command for WebSocket server 2020-08-13 10:09:55 +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
freek c8eea9bdc9 wip 2020-03-04 10:58:17 +01: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 e259cac51e
Remove duplicate client mock client, simplify test trait 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 b7ae9bac4a
Add tests for replication, fix bugs in the implementation 2019-09-23 15:35:12 -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
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
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
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 0a0c1249eb
Add test 2018-12-07 20:42:20 +01:00
Syed I.R 3559b7db4f Fix Namespace 2018-12-07 01:25:48 +05:30
Marcel Pociot 9ce2cc3ff7
Apply fixes from StyleCI (#3) 2018-12-04 22:22:33 +01:00
freek b3e5df4835 fix test 2018-12-04 22:20:08 +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 3b2957facd Broadcast client messages to others only 2018-12-04 21:04:19 +01:00
freek d9a831be86 wip 2018-12-04 21:03:26 +01:00
freek 882c060817 nitpicks 2018-12-04 20:59:43 +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 4aab3d441f wip 2018-12-04 10:06:26 +01:00
freek e993457a80 wip 2018-12-04 09:40:45 +01:00
freek cb29ac896b fix tests 2018-12-04 09:40:26 +01:00
Marcel Pociot cdf229bfa1 wip 2018-12-03 23:19:46 +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
Marcel Pociot 361ef0284a Merge branch 'master' of github.com:beyondcode/laravel-websockets 2018-12-03 13:57:58 +01:00
Marcel Pociot 7c9fb2464e Use a connected connection 2018-12-03 13:57:50 +01:00
freek c2689ba5b5 wip 2018-12-03 13:54:49 +01:00
freek cbf8cbf1dc wip 2018-12-03 13:49:56 +01:00
freek 082a631cdc wip 2018-12-03 13:33:00 +01:00
freek 62d9dff008 wip 2018-12-03 11:58:42 +01:00
Marcel Pociot f7d7511347 more tests 2018-12-03 10:30:05 +01:00
Marcel Pociot 0379e16330 More tests 2018-12-03 10:26:17 +01:00
Marcel Pociot 689b1cec1b Rename test 2018-12-03 10:22:13 +01:00
Marcel Pociot 9c2ac54322 More tests 2018-12-03 10:21:35 +01:00
Marcel Pociot 775861ab88 Allow non-numeric app ids 2018-12-03 10:06:40 +01:00
Marcel Pociot 7cf9461e1b Add test 2018-12-02 23:57:12 +01:00
Marcel Pociot ad7d01b685 Add test 2018-12-02 23:55:26 +01:00
Marcel Pociot 46bbaa03fb Add test 2018-12-02 23:49:45 +01:00
freek 89ace08139 disable client messages by default 2018-12-01 16:24:36 +01:00
freek ebd07e6bdb use clientMessagesEnabled 2018-12-01 15:59:46 +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 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 84dad775e5 replace channel id with channel name 2018-12-01 12:26:08 +01:00
freek 90cf7623fa wip 2018-11-29 00:00:42 +01:00
freek 6103f7ea1b add ping test 2018-11-28 23:59:58 +01:00
Marcel Pociot 1162b15c07 wip 2018-11-27 22:27:08 +01:00
Marcel Pociot f4c356ba02 wip 2018-11-27 22:26:29 +01:00
Marcel Pociot c9e1448b5d wip 2018-11-27 22:18:02 +01:00
Marcel Pociot 755f2fa7d8 wip 2018-11-27 22:10:02 +01:00
Marcel Pociot df4af5f6f9 wip 2018-11-27 21:56:25 +01:00
Marcel Pociot 5b1752201d wip 2018-11-27 21:41:12 +01:00