Commit Graph

262 Commits

Author SHA1 Message Date
rennokki dea681703b
Apply fixes from StyleCI (#554) 2020-09-26 09:31:16 +02:00
Alex Renoki fd1a459047 Added integrations for Redis 2020-09-26 10:30:53 +03:00
rennokki 6c8c748b58
Apply fixes from StyleCI (#553) 2020-09-25 21:36:01 +02:00
Alex Renoki eb7161421f Merge branch 'feature/async-queue' of github.com:beyondcode/laravel-websockets into feature/async-queue 2020-09-25 22:35:42 +03:00
Alex Renoki 3aaecc8c3e fixed tests 2020-09-25 22:35:38 +03:00
rennokki 2880610bf6
Apply fixes from StyleCI (#551) 2020-09-25 21:16:30 +02:00
Alex Renoki c1bef4db5b Added async redis connection 2020-09-25 22:16:06 +03:00
rennokki a9f87dbf95
Apply fixes from StyleCI (#546) 2020-09-19 17:41:47 +02:00
Alex Renoki 53a6d0f875 Added tests 2020-09-19 18:41:25 +03:00
Alex Renoki 223a789b0d Added local removal for obsolete connections. 2020-09-19 18:38:08 +03:00
Alex Renoki 5cb2ee9fce Run promises one-after-another 2020-09-19 14:16:26 +03:00
rennokki 265c80d414
Apply fixes from StyleCI (#541) 2020-09-18 20:01:35 +02:00
Alex Renoki 2066e803b8 Fixed tests to make sure the message is broadcasted properly both locally and across servers. 2020-09-18 21:01:11 +03:00
Alex Renoki ed41ad5ca0 Moved tests across classes 2020-09-18 12:53:36 +03:00
rennokki 9f54699da4
Apply fixes from StyleCI (#537) 2020-09-18 11:16:14 +02:00
Alex Renoki 7a651d78c2 Fixed tests 2020-09-18 12:15:49 +03:00
Alex Renoki 0f90f521e0 Merge branch 'master' of github.com:beyondcode/laravel-websockets into 2.x 2020-09-17 14:44:52 +03:00
Alex Renoki 7365189aaa Fixed tests 2020-09-17 14:18:15 +03:00
Alex Renoki 23e8b3db44 Fixed issues with connections being closed within 10 seconds 2020-09-17 13:56:09 +03:00
Alex Renoki 16ff2aa2b6 Fixed uniqueness 2020-09-17 11:30:36 +03:00
Alex Renoki 97ab241fa3 Fixing PR #530 2020-09-16 11:02:58 +03:00
Alex Renoki 0103e0f9e4 fix 2020-09-15 23:46:37 +03:00
Alex Renoki 5808a6610c Avoid displaying twice the same-id channel members 2020-09-15 20:49:06 +03:00
Alex Renoki b41f8b7b75 Creating SignedMessage class for testing 2020-09-15 20:46:19 +03:00
Alex Bouma 3ccf931dc0
Fix presence channel state management and event firing 2020-09-15 18:41:08 +02:00
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