overleaf/services/real-time
Jakob Ackermann aa9d6c8dc9 [misc] reland decaff cleanup (#166)
* [misc] decaff cleanup: RoomManager

* [misc] decaff cleanup: RedisClientManager

* [misc] decaff cleanup: SafeJsonParse

* [misc] decaff cleanup: WebApiManager

* [misc] decaff cleanup: WebsocketController

* [misc] decaff cleanup: WebsocketLoadBalancer

* [misc] decaff cleanup: SessionSockets

* [misc] decaff cleanup: HttpController

* [misc] decaff cleanup: HttpApiController

* [misc] decaff cleanup: HealthCheckManager

* [misc] decaff cleanup: EventLogger

* [misc] decaff cleanup: Errors

o-error will eliminate most of it -- when we migrate over.

* [misc] decaff cleanup: DrainManager

* [misc] decaff cleanup: DocumentUpdaterManager

* [misc] decaff cleanup: DocumentUpdaterController: no-unused-vars

* [misc] decaff cleanup: DocumentUpdaterController: Array.from

* [misc] decaff cleanup: DocumentUpdaterController: implicit return

* [misc] decaff cleanup: DocumentUpdaterController: IIFE

* [misc] decaff cleanup: DocumentUpdaterController: null checks

* [misc] decaff cleanup: DocumentUpdaterController: simpler loops

* [misc] decaff cleanup: DocumentUpdaterController: move module name def

* [misc] decaff cleanup: ConnectedUsersManager: handle-callback-err

* [misc] decaff cleanup: ConnectedUsersManager: implicit returns

* [misc] decaff cleanup: ConnectedUsersManager: null checks

* [misc] decaff cleanup: ChannelManager: no-unused-vars

* [misc] decaff cleanup: ChannelManager: implicit returns

* [misc] decaff cleanup: ChannelManager: other cleanup

- var -> const
- drop variable assignment before return

* [misc] decaff cleanup: AuthorizationManager: handle-callback-err

Note: This requires a change in WebsocketController to provide a dummy
 callback.

* [misc] decaff cleanup: AuthorizationManager: Array.from

* [misc] decaff cleanup: AuthorizationManager: implicit returns

* [misc] decaff cleanup: AuthorizationManager: null checks

* [misc] decaff cleanup: Router: handle-callback-err

* [misc] decaff cleanup: Router: standard/no-callback-literal

* [misc] decaff cleanup: Router: Array.from

* [misc] decaff cleanup: Router: implicit returns

* [misc] decaff cleanup: Router: refactor __guard__ wrapper

* [misc] decaff cleanup: Router: null checks

And a minor bug fix: user.id -> user._id

* [misc] decaff cleanup: Router: move variable declarations to assignments

* [misc] decaff cleanup: app: implicit returns

* [misc] decaff cleanup: app: __guard__

* [misc] decaff cleanup: app: null checks

* [misc] decaff cleanup: app: function definitions

* [misc] decaff cleanup: app: drop unused next argument

* [misc] decaff cleanup: app: var -> const
2020-07-07 11:06:02 +01:00
..
.github add public link to contributing docs 2019-10-25 13:22:58 -04:00
app/js [misc] reland decaff cleanup (#166) 2020-07-07 11:06:02 +01:00
config [misc] ignore camelcase warning in settings (key_schema parameter) 2020-06-24 10:52:38 +01:00
test [misc] WebsocketControllerTests: remove debugging code 2020-07-01 11:36:36 +01:00
.dockerignore decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
.eslintrc decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
.gitignore decaffeinate: update .gitignore 2020-06-23 18:29:21 +01:00
.nvmrc update node to v10.21.0 2020-06-03 09:12:21 +01:00
.prettierrc decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
app.js [misc] reland decaff cleanup (#166) 2020-07-07 11:06:02 +01:00
buildscript.txt decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
docker-compose.ci.yml decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
docker-compose.yml decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
Dockerfile decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
Jenkinsfile decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
Makefile decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
nodemon.json decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
package-lock.json decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
package.json decaffeinate: update build scripts to es 2020-06-23 18:29:17 +01:00
socket.io.patch.js [misc] replace console logging with logger-sharelatex 2020-06-24 11:12:22 +01:00