Commit Graph

663 Commits

Author SHA1 Message Date
a6a2f5842 9e85f2c457 I better error display 2025-06-13 10:31:59 +02:00
a6a2f5842 4f0dd41028 I added better error display 2025-06-12 16:16:07 +02:00
a6a2f5842 556a5aba2e I added IP to request 2025-05-13 10:16:37 +02:00
a6a2f5842 6992feb2e7 I added remoteAddress to connection 2025-05-12 14:39:20 +02:00
a6a2f5842 4e17888f0e BF mock wrong return type 2025-05-08 18:03:41 +02:00
a6a2f5842 debe6903a6 BF mock wrong return type 2025-05-08 18:01:39 +02:00
a6a2f5842 bbcb943daa A added timeout information 2025-05-08 17:50:05 +02:00
a6a2f5842 6f115a2a72 A more default settings 2025-05-08 10:54:11 +02:00
a6a2f5842 7e98657c23 A added remote address to mock connection 2025-03-29 10:25:10 +01:00
Blax Software 7907258908 A progress response to controller 2025-01-20 16:46:13 +01:00
Blax Software 095894da1e BH pusher 2025-01-19 09:01:22 +01:00
Blax Software 87bf0ae05e Pusher : -> . 2025-01-18 17:06:52 +01:00
Blax Software 929f1794ee I pusher 2025-01-18 17:03:02 +01:00
Blax Software 238fd9864b BF wrong suffix 2025-01-18 16:31:29 +01:00
Blax Software 90df844485 I pusher 2025-01-18 16:18:02 +01:00
Alexander Blasl 2ef30f00ac I controller 2025-01-17 11:06:30 +01:00
Alexander Blasl 03972f9e7d BF handlers for l11 2025-01-17 10:45:53 +01:00
Alexander Blasl 9129c517b5 Publishable 2025-01-16 15:29:58 +01:00
Alexander Blasl 1a5db82c26 Renovation 2025-01-16 08:54:02 +01:00
Marcel Pociot 2e4b2f35f9
Apply fixes from StyleCI (#1190) 2024-02-07 18:30:54 +01:00
Marcel Pociot 1f25913ce0
Apply fixes from StyleCI (#1044) 2022-10-06 20:42:05 +02:00
Marcel Pociot f2d3baebbd Improve logging/verbose CLI output 2022-10-06 20:41:35 +02:00
Marcel Pociot fb958fb851
Merge 2.x changes (#1043)
* Resolve conflicts

* Apply fixes from StyleCI (#1042)
2022-10-06 13:46:54 +02:00
Joe Campo 605a7fa71d
Fix call to deprecated JsonResponse::create() (#942) 2022-02-12 12:11:42 +01:00
Melvin D. Protacio 171480dee2
Replication fix amendment to #778 (#881)
* fixes on replication

* trying to fix #778 #issuecomment-907319726

* code spacing fixes

* codestyle fixes

* trigger workflow locally
2022-01-05 15:59:37 +01:00
erikn69 491d164118
Tests fixes (#908) 2022-01-05 15:58:35 +01:00
Marcel Pociot f411510f3e
Apply fixes from StyleCI (#892) 2021-11-26 13:32:47 +01:00
Alex Renoki c43a9d4d46 Fixed Routes registration 2021-04-06 17:21:15 +03:00
Dries Vints ba3a2ad164
[2.x] Laravel Octane support (#733)
* Octane support

Co-authored-by: Alex Renoki <rennokki@gmail.com>
2021-04-06 16:47:54 +03:00
Alex Renoki 1bb727f322 Removing higher-order from collection-related tasks 2021-03-30 18:11:58 +03:00
Simon Bühler 0dc2db12c4 style fix 2021-03-04 09:05:48 +01:00
Simon Bühler 6b6197f4f1 fix unsubscribeFromAllChannels / stale connections
the `each->` call silently ran only for the first channel leading to
users on other channels seeming randomly not getting unsubscribed,
stale connections, a frustrated dev and a fishy smell all over the place.

after some serious hours of debugging and searching for this sneaky bug
the websocket-world is now a better place ;)
2021-03-04 08:45:18 +01:00
Alex Renoki efb3aa82b9 Merge branch '1.x' of github.com:beyondcode/laravel-websockets 2021-02-24 22:12:05 +02:00
Koozza 6e020afada
Respond empty object 2021-02-24 12:01:28 +01:00
Simon Bühler 25b5294805 fix never releasing lock 2021-02-23 11:26:10 +01:00
Alex Renoki f27b6901cb Revert "Fixed mc"
This reverts commit 54a20aec46, reversing
changes made to a84f143087.
2021-01-23 16:52:12 +02:00
Alex Renoki 54a20aec46 Fixed mc 2021-01-23 16:51:59 +02:00
Marek Mahansky c838ba8e39 Customize dashboard domain and path using env vars 2021-01-23 14:34:48 +00:00
Alex Renoki 483ce85ef9 Don't trigger soft shutdown if no pcntl is existent. 2021-01-08 10:27:11 +02:00
Alex Renoki bf049a346d Added easy extendable methods to change hash names for Redis 2020-12-09 13:45:21 +02:00
Alex Renoki 139608f9aa Removed classes that called only the parent. 2020-12-09 11:37:31 +02:00
Alex Renoki a61cdad1f7 Removed duplicate lock name 2020-12-09 11:37:10 +02:00
Alex Renoki aebc38ff8e Moved $serverId to local channel manager 2020-12-09 11:37:03 +02:00
Alex Renoki 9c41cf32a2 Collect metrics only if statistics are enabled. 2020-12-08 16:52:55 +02:00
Alex Renoki 81ee07f003 Attach app on request if possible. 2020-12-08 16:52:40 +02:00
Alex Renoki 94722a7155 Merge branch '2.x' of github.com:beyondcode/laravel-websockets into fix/fix-stale-data 2020-12-07 23:31:53 +02:00
Alex Renoki cbe4378086 Revert "formatting"
This reverts commit 8308a7d16d.
2020-12-07 23:30:36 +02:00
Alex Renoki b74144cdd5 Revert "wip formatting"
This reverts commit 19ca49a4a8.
2020-12-07 23:30:12 +02:00
Alex Renoki 9a0d56d6d3 Reset app traces if no activity was found since last save 2020-12-07 23:16:51 +02:00
Alex Renoki 8d1369ee02 Fixed peak connections count not being able to settle down 2020-12-07 23:15:09 +02:00
Alex Renoki 19ca49a4a8 wip formatting 2020-12-07 20:48:15 +02:00
Alex Renoki 8308a7d16d formatting 2020-12-07 20:36:39 +02:00
Alex Renoki 6be62b149d Reverted connections count 2020-12-07 20:18:58 +02:00
Alex Renoki 0e48bb4944 Fixed key typo 2020-12-07 19:44:26 +02:00
Alex Renoki e0d8f6ac33 Check for key app on authorization 2020-12-01 19:43:18 +02:00
Alex Renoki dc91eb4db3 Fixed fulfilled promise typo (fixes #592) 2020-11-20 15:11:03 +02:00
Kristian Løining 904a97c76f Redis uses query parameter "db", not "database" 2020-11-17 13:41:29 +01:00
Kristian Løining cafd21a0da Fix wrong redis replication connection config path 2020-11-17 13:32:44 +01:00
Kristian Løining 2bc6fbbf5e
Fix conflicting namespace with facade
Queue is already aliased as the facade Queue, which makes it look for Illuminate\Support\Facades\Queue\AsyncRedisConnector
2020-11-15 22:38:10 +01:00
Alex Renoki a087cb9b6d Replaced react-buzz with react-http 2020-10-18 10:12:19 +03:00
Alex Renoki 6a04f9ce4c Removed replicator-message-published 2020-10-07 23:28:38 +03:00
Alex Renoki 0ca6355aa6 Fixed constant 2020-10-07 22:56:38 +03:00
Alex Renoki a2dd552805 Added missing logs 2020-10-05 09:25:20 +03:00
rennokki a7c505e683
[2.x] Dispatch events on actions (#556)
* Dispatching events
2020-09-26 22:01:58 +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
Alex Renoki 4b484aad48 Fixed store 2020-09-19 18:46:13 +03:00
Alex Renoki 223a789b0d Added local removal for obsolete connections. 2020-09-19 18:38:08 +03:00
rennokki 60c21f3f7b
Apply fixes from StyleCI (#543) 2020-09-19 13:16:46 +02:00
Alex Renoki 5cb2ee9fce Run promises one-after-another 2020-09-19 14:16:26 +03:00
rennokki c85ec38452
Added getName() to channels 2020-09-19 08:50:04 +00:00
Alex Renoki 546c4fd0ef Broadcast both locally and across servers on dashboard logger. 2020-09-18 20:27:12 +03:00
Alex Renoki 7519da4a08 Force broadcastAcrossAllServers even if the channel exists locally 2020-09-18 17:04:16 +03:00
Alex Renoki 7f6b8fa2c8 Fixed health handler 2020-09-18 16:18:58 +03:00
Alex Renoki 9c19546faf Reduced the number of lines 2020-09-18 13:10:44 +03:00
Alex Renoki ed41ad5ca0 Moved tests across classes 2020-09-18 12:53:36 +03:00
Alex Renoki 14a79447f5 Added $processCollection to the getForGraph method 2020-09-18 12:44:07 +03:00
Alex Renoki 9a6e8e3dc1 Swapped order for mapWithKeys 2020-09-18 12:31:51 +03:00
Alex Renoki 9856fb62ed Added broadcastLocallyToEveryoneExcept 2020-09-18 11:57:55 +03:00
Alex Renoki bab2ef203c Changed order of fields to match the pusher docs 2020-09-18 11:57:39 +03:00
Alex Renoki 30c6635a91 Passing the Socket ID to the broadcastAcrossServers() 2020-09-18 11:57:10 +03:00
Alex Renoki bb1a03051a userLeftPresenceChannel gets automatically called 2020-09-17 14:17:55 +03:00
Alex Renoki da7f1ba578 Fixed a bug where obsolete data still remained in the server. 2020-09-17 13:57:10 +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 b7ba98a6a6 Enforce topic subscription 2020-09-17 10:51:01 +03:00
Alex Renoki af3c8e02ec Merge branch 'fix/multiple-channel-members' of github.com:beyondcode/laravel-websockets into fix/multiple-channel-members 2020-09-16 11:09:17 +03:00
Alex Renoki 049950f015 Updated the dashboard logger 2020-09-16 11:09:14 +03:00
rennokki 58772324ba
Apply fixes from StyleCI (#535) 2020-09-16 10:03:21 +02: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 630efa2562 Unsubscribe from all channels in sync mode. 2020-09-15 20:49:28 +03:00
Alex Renoki 5808a6610c Avoid displaying twice the same-id channel members 2020-09-15 20:49:06 +03:00
Alex Bouma 3ccf931dc0
Fix presence channel state management and event firing 2020-09-15 18:41:08 +02:00
Alex Renoki 7a17d3529f wip formatting 2020-09-15 17:03:17 +03:00
Alex Bouma 9da68ecd40
Fix double counting users in presence channel 2020-09-15 15:57:50 +02:00
Alex Renoki 6755b42acf Reverted appId to the payload. 2020-09-15 15:01:10 +03:00
Alex Renoki 7284191214 Append appId to the request payload 2020-09-15 14:57:16 +03:00
Alex Renoki e1f038432a space 2020-09-15 12:35:51 +03:00
rennokki 980f9271f0
Apply fixes from StyleCI (#526) 2020-09-15 11:30:43 +02:00