Commit Graph

751 Commits

Author SHA1 Message Date
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
rennokki 06c898a005
Merge pull request #499 from francislavoie/patch-2
Fix docblocks in App
2020-09-04 16:54:29 +03:00
rennokki a391f5afb2
formatting 2020-09-04 16:53:42 +03:00
Francis Lavoie f2a30bcb6f
Update ConfigAppManager.php 2020-09-04 09:23:43 -04:00
Francis Lavoie 5cb398f672
Update AppManager.php 2020-09-04 09:23:24 -04:00
Francis Lavoie c51a9806cb
Update App.php 2020-09-04 09:23:03 -04:00
Alex Renoki 0cb0e6c3b7 Added local driver as default 2020-09-04 12:00:04 +03:00
Alex Renoki 037500004d Remove duplicated method. 2020-09-04 11:58:01 +03:00
Alex Renoki b9dfecab68 Using separate connection counts for global & local. 2020-09-04 11:34:33 +03:00
rennokki 4067432b93
Merge pull request #498 from francislavoie/patch-1
Update Caddy example for Caddy v2
2020-09-04 10:45:44 +03:00
Alex Renoki 4e11355172 Merge branch 'fix/app-connections-count' of github.com:beyondcode/laravel-websockets into fix/app-connections-count 2020-09-04 09:49:17 +03:00
Alex Renoki e9ec650010 Removed $redis from RedisClient 2020-09-04 09:49:14 +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
Francis Lavoie 1389b6ca0a
Update ConfigAppManager.php 2020-09-03 21:11:45 -04:00
Francis Lavoie 349fb54ae6
Update AppManager.php 2020-09-03 21:10:50 -04:00
Francis Lavoie 25ff1d668c
Fix docblocks in App
Frankly, I don't understand why the typing was removed from these methods in https://github.com/beyondcode/laravel-websockets/pull/471, seems like a strange decision.
2020-09-03 21:10:00 -04:00
Francis Lavoie c499f5d80c
Update Caddy example for Caddy v2
Caddy v2 greatly simplifies things for proxying websockets. The dumb rewrite hack is no longer necessary because request matchers handle it perfectly.

Caddy is _by far_ the simplest and easiest solution for proxying websockets like this.
2020-09-03 20:37:33 -04:00
Alex Renoki 21db4b3252 Using the concatenated string for the config retrieve 2020-09-03 16:50:55 +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 ebfab2efd0 Fixed wrong keys names. 2020-09-03 07:04:05 +03:00
Alex Renoki 9938cf6ae2 Moved the statistics logger to the replication driver 2020-09-03 06:59:01 +03:00
rennokki fd46b0cb0b
Apply fixes from StyleCI (#496) 2020-09-02 16:16:57 +02:00
Alex Renoki 545501d575 Added events for sub/unsub/messages sent 2020-09-02 17:16:34 +03:00
Alex Renoki 0596d1ad48 Revert "Making channels easily extendable by replacing contents with traits."
This reverts commit 97e215b68e.
2020-09-02 15:06:28 +03:00
Alex Renoki 204f6cb90c Fix typo 2020-09-02 14:49:58 +03:00
rennokki a8764bd293
Apply fixes from StyleCI (#494) 2020-09-02 13:45:10 +02:00
Alex Renoki 97e215b68e Making channels easily extendable by replacing contents with traits. 2020-09-02 14:44:44 +03:00
Alex Renoki 1de554e3cf Updated readme configuration for default http scheme 2020-09-02 14:00:22 +03:00
Alex Renoki 3e239a0728 Added custom handlers for all registered routes. 2020-09-02 11:57:52 +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 f1a14fbd1d Passing $appId on createRecord() 2020-08-30 21:23:06 +03:00
Alex Renoki c6c3877cf7 app() 2020-08-30 21:22:07 +03:00
Alex Renoki 1923ceedea Moved the create record into a separate method. 2020-08-30 20:07:24 +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 00faff7f04 Setting defaults to current connection count 2020-08-28 14:11:09 +03:00
rennokki f3b0608595
Merge pull request #492 from beyondcode/feature/redis-statistics-driver
[2.x] Redis Statistics Driver
2020-08-27 23:21:35 +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
Alex Renoki ee8681a459 Use a RedisLock to avoid race conditions. 2020-08-27 22:28:22 +03:00
Alex Renoki 0f4928f93a Merge branch 'feature/redis-statistics-driver' of github.com:beyondcode/laravel-websockets into feature/redis-statistics-driver 2020-08-27 22:18:32 +03:00
Alex Renoki 68a3a74dfa Added docs 2020-08-27 22:18:27 +03:00