Commit Graph

25 Commits (deepcrayonfish)

Author SHA1 Message Date
Thibault Duplessis ff1cc70bef reformat with scalafmt 2019-12-13 08:37:32 -06:00
Thibault Duplessis d78b426838 write joda DateTimes as JSON numbers 2019-12-07 18:43:22 -06:00
Thibault Duplessis 428853d65d remove more direct socket stuff
and also limited tournaments and the titled users API
2019-11-25 18:03:11 -06:00
Thibault Duplessis ec0aad51ae full remote sockets WIP 2019-11-25 15:36:39 -06:00
Thibault Duplessis 05fb221943 keep remote lobby sockets alive 2019-07-19 23:27:54 +02:00
Thibault Duplessis 4459934596 Revert "Add socket debug info"
This reverts commit e58a959bba.
2019-07-18 11:30:06 +02:00
Thibault Duplessis 12e6292a7e consistent naming for sri 2019-07-13 20:02:50 +02:00
Isaac Levy fd42b54e16 Use faster compare methods
The static compare methods are significantly
faster than scala's Rich<Prim> compare methods,
and they are equivalent speed to subtraction but
handle edge cases correctly.
2019-06-03 20:06:53 -04:00
Isaac Levy e58a959bba Add socket debug info
- Create a new runtime setting for socket debug info
- When setting is active, bad VersionCheck messages will send additional
  info. The client can then report this info together with their current
  version. Client reporting not implemented yet, but will be a simple
  GET or json post.
2019-05-22 19:39:12 -04:00
Thibault Duplessis 8c53243d34 tournament WS API 4 skips Socket.process for pings 2018-12-14 17:39:38 +08:00
Thibault Duplessis 880a5eeaf6 more socket related refactoring 2018-12-08 18:45:19 +07:00
Thibault Duplessis 2c52a32916 complete socket trouper rewrite and delete socket actor remains 2018-12-08 16:20:21 +07:00
Thibault Duplessis 552707253e TrouperMap.askIfPresent 2018-12-07 14:11:45 +07:00
Thibault Duplessis 6db51f8ea8 tournament socket trouper WIP 2018-12-05 23:21:54 +07:00
Thibault Duplessis a3b95c7012 more socket Uid type safety 2018-08-12 12:58:40 +02:00
Thibault Duplessis c0282e2445 complete Socket.Uid and SocketVersion rewrite 2018-08-08 14:01:21 +02:00
Thibault Duplessis 866691dd56 Merge branch 'master' into versionedWebsocketUrlTyping
* master:
  tweak deploy script
  Manually apply translations
  Socket optimizations
  evaluation refactoring: move a few methods around
  No 'highly consistent move times' for ultra (except for streaks because highly-premoved sequences are excluded anyway)
  Revert "Consistent move time streak assessment: only mid-game"
  Consistent move time streak assessment: only mid-game
  highly --> moderately where appropriate
  Add extra cheating assessment rule
  Assessment: take flat move time streaks into account
  Assessment simplification: combine blurs and chunk blurs in one player flag
  Remove first move time for flat time detection
  Remove unnecessary code
  Be stricter on highly consistent move times
  Assessment: take blur streaks in account
2018-08-08 13:27:01 +02:00
Isaac Levy e3b3e2d2e3 Socket optimizations 2018-08-06 00:13:38 -04:00
Thibault Duplessis 0cd5b26205 improve Websocket type safety - WIP 2018-08-05 03:18:46 +02:00
Thibault Duplessis bd2280c3f7 study, more work 2016-04-23 17:01:21 +07:00
Thibault Duplessis c74d003771 economy of actor messages and socket bandwidth
All socket hubs were listening to NbMembers and forwarding
to their sockets.
All websockets pings were containing the members count.
Now only the lobby websocket has it.
Also round count is merged in the pong message
2016-03-04 11:10:04 +07:00
Thibault Duplessis 5577087736 improve ping and featured game propagation performances 2014-11-16 19:20:36 +01:00
Thibault Duplessis 9600b2383f progress on chat 2013-12-28 14:53:10 +01:00
Thibault Duplessis b7c517a386 use events rather than polling to reload homepage recent forum posts 2013-10-22 22:53:20 +02:00
Thibault Duplessis 8c6fdcab86 better socket actor abstraction 2013-08-01 15:50:49 +02:00