overleaf/services/real-time
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
..
.github add public link to contributing docs 2019-10-25 13:22:58 -04:00
app/coffee [misc] add test cases for the validation of the callback argument 2020-06-09 16:30:03 +01:00
config [misc] config: add headroom for JSON serialization in maxUpdateSize 2020-03-24 16:21:29 +01:00
test [misc] add test cases for the validation of the callback argument 2020-06-09 16:30:03 +01:00
.dockerignore update build scripts, acceptence tests now pass. includes dockerfile 1.1.3 2018-05-23 15:00:46 +01:00
.gitignore Add **/*.map to .gitignore 2019-01-08 14:28:10 +00:00
.nvmrc update node to v10.21.0 2020-06-03 09:12:21 +01:00
app.coffee [misc] track redis pub/sub payload sizes on publish 2020-03-30 11:31:44 +02:00
buildscript.txt update node to v10.21.0 2020-06-03 09:12:21 +01:00
docker-compose.ci.yml [misc] cleanup unused dependency on mongo 2020-02-12 14:44:01 +01:00
docker-compose.yml update node to v10.21.0 2020-06-03 09:12:21 +01:00
Dockerfile update node to v10.21.0 2020-06-03 09:12:21 +01:00
Jenkinsfile [misc] update the build scripts to 1.3.5 2020-02-11 12:27:56 +01:00
Makefile add fake lint and format targets 2020-05-28 16:09:27 +02:00
nodemon.json update build scripts, acceptence tests now pass. includes dockerfile 1.1.3 2018-05-23 15:00:46 +01:00
package-lock.json [misc] bump sinon to 2.x for promise support with stubs 2020-05-15 12:01:22 +02:00
package.json [misc] socket.io: use a secondary publicId for public facing usages 2020-06-04 17:18:07 +01:00
socket.io.patch.js Update hybi-16 patch to work with socket.io 0.9.19 2020-02-04 10:43:06 +00:00