Commit Graph

16 Commits

Author SHA1 Message Date
3491c73b89 store pingHistory as player count directly 2020-05-08 02:52:48 -05:00
e45f8b6639 simplify addServer/pingHistory & placeholder generation prior to optimizations 2020-05-08 02:39:30 -05:00
f467fa1938 add serverGraphDuration config option 2020-05-08 01:54:04 -05:00
aee7b565b2 unify 72 magic number behind named constant 2020-05-08 01:27:21 -05:00
7993ac0077 do not append serverId in getPingHistory entries 2020-05-08 01:25:38 -05:00
c2494af82d use a single, shared timestamps array between all pings 2020-05-08 01:22:07 -05:00
3ddb2c9a08 work on bulking updateServer payloads and single timestamps 2020-05-08 00:36:15 -05:00
ea3f237bba send existing graphPeakData, if any, in placeholder update 2020-04-29 04:27:10 -05:00
7322b8dc82 merge updateHistoryGraph behavior into update flag 2020-04-29 04:21:50 -05:00
be92449d52 use serverId in protocol instead of legacy info object 2020-04-29 04:01:10 -05:00
0402df0bc6 test fix for historical graph retaining too much data 2020-04-22 17:30:47 -05:00
e226066a61 fix records being overwritten at boot 2020-04-21 18:51:29 -05:00
2a3f177826 fix invalid object format return for #filterError 2020-04-21 18:11:29 -05:00
4d66241ada trim error messages sent to frontend 2020-04-21 18:10:07 -05:00
ef2f2bd204 fix #getNextProtocolVersion crash from Bedrock having undefined versions 2020-04-21 18:02:29 -05:00
4d13965e6b Backend cleanup (#146)
* Add ServerRegistration, begin refactoring to match frontend

* move graphData logic into ServerRegistration

* move ping updates/history into ServerRegistration

* start updating main app entry methods

* fix default rates.updateMojangStatus

* fix record loading delays on freshly booted instances

* move database loading logic to method + callback

* use data in frontend for type lookup instead of ping

* cleanup app.js

* reorganize methods to improve flow

* avoid useless mojang updates, remove legacy fields

* rename legacy fields for consistency

* finish restructure around App model

* ensure versions are sorted by release order

* filter errors sent to frontend to avoid data leaks

* fix version listing behavior on frontend

* 5.1.0
2020-04-21 17:59:53 -05:00