overleaf/services/real-time/app/coffee
Jakob Ackermann acb7d7df5a [misc] add test cases for the validation of the callback argument
When the user provides a function as last argument for socket.emit,
 socket.io will flag this as an RPC and add a cb as the last argument
 to the client.on('event', ...) handler on the server side.
Without a function as last argument for socket.emit, the callback
 argument on the server side is undefined, leading to invalid function
 calls (`undefined()`) and an unhandled exception.
The user can also provide lots of other arguments, so the 2nd/3rd ...
 argument is of arbitrary type, again leading to invalid function calls
 -- e.g. `1()`.
2020-06-09 16:30:03 +01:00
..
AuthorizationManager.coffee
ChannelManager.coffee [ChannelManager] rework (un)subscribing to redis 2020-05-15 18:34:33 +02:00
ConnectedUsersManager.coffee
DocumentUpdaterController.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
DocumentUpdaterManager.coffee
DrainManager.coffee
Errors.coffee
EventLogger.coffee
HealthCheckManager.coffee
HttpApiController.coffee
HttpController.coffee
RedisClientManager.coffee
RoomManager.coffee [misc] downgrade a warning message from clients leaving non-joined rooms 2020-06-05 11:32:43 +01:00
Router.coffee [misc] add test cases for the validation of the callback argument 2020-06-09 16:30:03 +01:00
SafeJsonParse.coffee
Utils.coffee
WebApiManager.coffee
WebsocketController.coffee Merge pull request #145 from overleaf/jpa-backport-140 2020-06-09 14:41:12 +02:00
WebsocketLoadBalancer.coffee [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00