overleaf/services/real-time/test/unit/coffee
Jakob Ackermann 55af5e502f [WebsocketController] skip leaveProject when joinProject didn't complete
Also drop dead code:
 - user_id bailout

   There is a check on a completed joinProject call now. It will always
    set a user_id, see Router.coffee which has a fallback `{_id:"..."}`.

 - late project_id bailout

   WebsocketLoadBalancer.emitToRoom will not work without a project_id.
   We have to bail out before the call.
2020-05-12 17:15:08 +02:00
..
helpers Listen for updates from doc updater and send them to clients 2014-11-14 15:30:18 +00:00
AuthorizationManagerTests.coffee track permissions when clients join and leave docs 2016-09-05 12:46:52 +01:00
ChannelManagerTests.coffee [misc] track redis pub/sub payload sizes on publish 2020-03-30 11:31:44 +02:00
ConnectedUsersManagerTests.coffee minimal fix for undefined connected users 2019-08-16 10:07:30 +01:00
DocumentUpdaterControllerTests.coffee fix unit tests 2019-07-19 08:49:57 +01:00
DocumentUpdaterManagerTests.coffee add metric for pendingUpdates queue 2020-04-07 11:53:54 +01:00
DrainManagerTests.coffee fix unit tests 2019-08-13 17:26:49 +01:00
EventLoggerTests.coffee fix unit tests 2019-04-11 15:07:42 +01:00
RoomManagerTests.coffee ignore spurious requests to leave other docs 2019-07-29 15:19:08 +01:00
SafeJsonParseTest.coffee [misc] SafeJsonParse: align the size limit with the frontend->rt limit 2020-03-24 09:14:15 +01:00
WebApiManagerTests.coffee Revert "Revert "Track the isRestrictedUser flag on clients"" 2019-10-30 13:52:36 +00:00
WebsocketControllerTests.coffee [WebsocketController] skip leaveProject when joinProject didn't complete 2020-05-12 17:15:08 +02:00
WebsocketLoadBalancerTests.coffee Revert "Revert "Track the isRestrictedUser flag on clients"" 2019-10-30 13:52:36 +00:00