Commit Graph

237 Commits

Author SHA1 Message Date
Alex Bouma 0dde250b19
Add test to ensure presence channel HTTP API responses are correct 2020-09-15 18:28:39 +02:00
Alex Bouma 5024a2a05a
CS 2020-09-15 16:12:25 +02:00
Alex Renoki df45ee89ff Clearing assertions on each test 2020-09-15 17:03:28 +03:00
Alex Bouma 1380f0ba0a
Add failing test 2020-09-15 15:55:59 +02:00
Alex Renoki 55f1332493 Added tracking for pongs 2020-09-15 12:30:17 +03:00
Alex Renoki e3e2e4a437 wip 2020-09-14 13:25:21 +03:00
Alex Renoki 04e8298ae8 Merge branch '2.x' of github.com:beyondcode/laravel-websockets into feature/pcntl 2020-09-14 09:57:42 +03:00
Alex Renoki 1ec637fb51 Added healthcheck controller 2020-09-12 23:48:18 +03:00
Alex Renoki ec47925c71 Added soft closes for connections on SIGTERM/SIGINT 2020-09-12 17:45:07 +03:00
Alex Renoki f04cce73d3 Added websockets:flush command 2020-09-11 16:39:56 +03:00
Alex Renoki be9e21e518 wip 2020-09-11 15:57:51 +03:00
Alex Renoki dfe0dbf335 Updated mode 2020-09-11 15:19:15 +03:00
Alex Renoki 25af2ee701 Fixed migrations for tests 2020-09-11 08:47:28 +03:00
Alex Renoki 375078e686 doctrine/dbal 2020-09-11 08:16:53 +03:00
Alex Renoki 666ecb04f2 wip 2020-09-10 23:26:32 +03:00
rennokki 341eb9604f
Apply fixes from StyleCI (#518) 2020-09-10 21:59:49 +02:00
Alex Renoki 6f32b89459 wip 2020-09-10 22:59:26 +03:00
Alex Renoki 5ba24cb80c Fixed tests for stats metrics 2020-09-06 10:53:03 +03:00
rennokki dd33a33815
Apply fixes from StyleCI (#505) 2020-09-05 21:41:55 +02:00
Alex Renoki ca4a9a180e Running then() closures as block in tests 2020-09-05 22:40:52 +03:00
Alex Renoki 7e9d3cdc77 Fixed tests 2020-09-04 22:38:01 +03:00
Alex Renoki cadd2602cb Merge branch 'fix/app-connections-count' of github.com:beyondcode/laravel-websockets into fix/app-connections-count 2020-09-04 22:35:38 +03:00
Alex Renoki 7a629cfcb0 Fixed typo 2020-09-04 22:35:35 +03:00
rennokki b2ac9090cc
Apply fixes from StyleCI (#503) 2020-09-04 21:28:42 +02:00
Alex Renoki 1e2672d9e0 Updated tests 2020-09-04 22:26:46 +03:00
Alex Renoki 1dfe14a517 Merge branch 'fix/app-connections-count' of github.com:beyondcode/laravel-websockets into fix/app-connections-count 2020-09-04 21:50:41 +03:00
Alex Renoki ea9741072b Fixed tests 2020-09-04 21:50:38 +03:00
rennokki d20adcd2c0
Apply fixes from StyleCI (#502) 2020-09-04 16:51:12 +02:00
Alex Renoki e6cfa85472 Replaced blocking Redis instance with non-blocking I/O client 2020-09-04 17:50:49 +03:00
Alex Renoki b9dfecab68 Using separate connection counts for global & local. 2020-09-04 11:34:33 +03:00
rennokki 855646a5a7
Apply fixes from StyleCI (#500) 2020-09-04 08:47:46 +02:00
Alex Renoki a45c0bf9cc Using the Redis non-blocking client. 2020-09-04 09:47:23 +03:00
Alex Renoki d5a90d8440 Using the built-in Redis cache connection to handle non-pubsub features. 2020-09-03 16:50:37 +03:00
Alex Renoki fadb3fc123 Added redis connection counter. 2020-09-03 16:31:19 +03:00
Alex Renoki e9b85bbfc7 Fixed tests 2020-09-03 07:33:45 +03:00
Alex Renoki 0dfa682c97 Revert "Moved all websockets testing related stuff into a concern"
This reverts commit aa014add21.
2020-08-31 11:06:14 +03:00
Alex Renoki bb5599f6cd Revert "Fixed tests"
This reverts commit 6ddf5900e2.
2020-08-31 11:05:41 +03:00
Alex Renoki 6ddf5900e2 Fixed tests 2020-08-31 10:22:41 +03:00
Alex Renoki c6c3877cf7 app() 2020-08-30 21:22:07 +03:00
Alex Renoki aa014add21 Moved all websockets testing related stuff into a concern 2020-08-30 20:01:08 +03:00
Alex Renoki e099c46a0d docblocks 2020-08-30 20:00:45 +03:00
rennokki 08110b652e
Apply fixes from StyleCI (#493) 2020-08-28 18:45:18 +02:00
Alex Renoki 5b6bdf49e4 Added configurable client for each replication driver. 2020-08-28 19:44:54 +03:00
Alex Renoki a5af8b5afa Fixed tests 2020-08-27 23:04:22 +03:00
Alex Renoki 62fc523cfc Fixed tests 2020-08-27 22:40:10 +03:00
rennokki edcc2f9582
Apply fixes from StyleCI (#491) 2020-08-27 21:13:50 +02:00
Alex Renoki 0c8c5c0d9b Moved the mocks statistics loggers to Mocks/ 2020-08-27 22:13:30 +03:00
Alex Renoki 70eeb005ef Added redis logger 2020-08-27 22:13:19 +03:00
Alex Renoki fe01abd5c1 Fixed tests 2020-08-27 14:26:14 +03:00
Alex Renoki a897ce2cd3 Fixed backend streaming 2020-08-27 14:13:17 +03:00
Alex Renoki d410c0264f Fixed tests 2020-08-24 14:16:21 +03:00
Alex Renoki f3b706de52 wip 2020-08-24 09:39:05 +03:00
rennokki cd8e53c69d
Apply fixes from StyleCI (#486) 2020-08-24 08:04:14 +02:00
Alex Renoki f742981729 Merge branch 'code-coverage' of github.com:beyondcode/laravel-websockets into code-coverage 2020-08-24 09:03:55 +03:00
Alex Renoki afa8af5ddc Added tests for send message 2020-08-24 09:03:52 +03:00
rennokki 3ce7eff44d
Apply fixes from StyleCI (#484) 2020-08-23 19:41:38 +02:00
Alex Renoki c6b3c07510 Merge branch 'code-coverage' of github.com:beyondcode/laravel-websockets into code-coverage 2020-08-23 20:41:20 +03:00
Alex Renoki 499a153a0a wip 2020-08-23 20:41:17 +03:00
rennokki 82aacc7c4d
Apply fixes from StyleCI (#483) 2020-08-23 18:12:46 +02:00
Alex Renoki f62ac8fd56 wip 2020-08-23 19:12:22 +03:00
Alex Renoki b46cfadaa2 wip 2020-08-23 18:34:29 +03:00
Alex Renoki 3fcfe1bb39 Added test for app_id 2020-08-23 13:44:09 +03:00
Alex Renoki 2a6d91aaf7 Added tests for statistics loggers drivers 2020-08-23 13:40:18 +03:00
rennokki 94d13b4877
Apply fixes from StyleCI (#481) 2020-08-22 20:55:09 +02:00
Alex Renoki 92870c088a wip 2020-08-22 21:54:48 +03:00
Alex Renoki ce652bbbcb Mocked message expects array 2020-08-22 20:53:33 +03:00
rennokki b1597bb836
Apply fixes from StyleCI (#476) 2020-08-19 21:40:02 +02:00
Alex Renoki 99b55411c1 Removed controller that sends out the statistics 2020-08-19 22:39:38 +03:00
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