Commit Graph

380 Commits

Author SHA1 Message Date
Nick Krecklow
9d8dce716b
remove legacy flot.js hacks 2020-05-11 19:29:35 -05:00
Nick Krecklow
9a8afe2798
inline redraw function 2020-05-11 19:26:44 -05:00
Nick Krecklow
80c565a6ed
simplify server label rendering 2020-05-11 19:23:37 -05:00
Nick Krecklow
bbdbe7e599
simplify error rendering logic 2020-05-11 18:58:47 -05:00
Nick Krecklow
0c98930d4c
centralize timestamp/point filtering, move magic numbers into named constants 2020-05-11 18:44:29 -05:00
Nick Krecklow
3998b688ab
splice to ensure shifts never fall behind 2020-05-11 18:36:22 -05:00
Nick Krecklow
903343fbdf
unify TimeTracker code, explicitly mark nullable playerCounts as unsafe 2020-05-11 18:29:26 -05:00
Nick Krecklow
7136851123
centralize shift behavior into TimeTracker func 2020-05-11 18:16:41 -05:00
Nick Krecklow
c2f6d04e72
share a single timestamp array between all graphData objects 2020-05-11 18:12:29 -05:00
Nick Krecklow
59ec7d151f
inline #isArrayUtil, remove jQuery 2020-05-11 04:25:30 -05:00
Nick Krecklow
e8b530bbb8
remove random fail test 2020-05-11 04:15:23 -05:00
Nick Krecklow
84004f22be
merge graph timestamps into single array, use seconds 2020-05-11 04:12:46 -05:00
Nick Krecklow
ef0c41ee1d
remove graph smoothing behavior, add null playerCount support 2020-05-11 03:10:23 -05:00
Nick Krecklow
19190f8d79
fix timestamp, graph spacing 2020-05-11 02:35:11 -05:00
Nick Krecklow
19a7ce7d91
wip moving historical graph to uPlot, remove flot.js dependency 2020-05-11 02:28:41 -05:00
Nick Krecklow
9987434fea
make tooltipPlugin more generic for further use 2020-05-11 00:42:02 -05:00
Nick Krecklow
1ff9478988
wire uPlot tooltips into the existing tooltip system 2020-05-11 00:37:22 -05:00
Nick Krecklow
8d211434df
reference graphData instead of obscure self.data 2020-05-10 23:42:44 -05:00
Nick Krecklow
b96b9dacc5
replace Flot.js with uPlot for server graphs 2020-05-10 23:39:35 -05:00
Nick Krecklow
414775f630
Merge pull request #165 from Cryptkeeper/loop-protections
5.4.1 release preview
2020-05-10 20:12:29 -05:00
Nick Krecklow
e3feaf95a9
update mcping-js dependency 1.3.1->1.4.0 2020-05-10 01:11:48 -05:00
Nick Krecklow
62f3aae6cb
5.4.1 release preview 2020-05-10 00:32:29 -05:00
Nick Krecklow
cfbd3016fd
update mcping-js dependency to 1.3.0 2020-05-10 00:28:29 -05:00
Nick Krecklow
10bd23cfa4
use mcping-js, prevent ping loops while the last is still running 2020-05-09 23:28:37 -05:00
Nick Krecklow
f9ce280a2b
Merge pull request #164 from Cryptkeeper/bulk-pings
5.4.0 release preview
2020-05-09 18:48:38 -05:00
Nick Krecklow
6ed4b7e151
update 5.4.0 release date 2020-05-09 18:48:24 -05:00
Nick Krecklow
4c20843744
set Cache-Control header for hashed favicons to public 2020-05-08 17:22:25 -05:00
Nick Krecklow
11d3031b6c
add config.performance.unfurlSrvCacheTtl option for caching resolveSrv calls 2020-05-08 16:53:48 -05:00
Nick Krecklow
f6780e7a9b
prevent data leakage when sending server.data 2020-05-08 16:22:24 -05:00
Nick Krecklow
9cb9e4a062
update docs/CHANGELOG.md 2020-05-08 16:17:38 -05:00
Nick Krecklow
320dc3c2fb
send playerCount in payload directly instead of nesting into legacy data structure 2020-05-08 16:13:24 -05:00
Nick Krecklow
04d94a9461
use regex + static method to centralize hashedfavicon URL behavior 2020-05-08 16:00:36 -05:00
Nick Krecklow
15814cf86b
serve hashedfavicon path as png 2020-05-08 05:05:46 -05:00
Nick Krecklow
82e8db0128
maxage->max-age in Cache-Control header 2020-05-08 04:55:43 -05:00
Nick Krecklow
169ec4bfde
update docs/CHANGELOG.md 2020-05-08 04:54:28 -05:00
Nick Krecklow
02071a43c3
send 7 day Cache-Control header 2020-05-08 04:51:42 -05:00
Nick Krecklow
4dfecce966
serve favicons over hashed paths for improved caching 2020-05-08 04:47:10 -05:00
Nick Krecklow
66da5f6497
remove useless sql.serialize call 2020-05-08 03:41:19 -05:00
Nick Krecklow
96acf3614b
explicitly set serverRegistration.playerCount when firing #addServer 2020-05-08 03:35:22 -05:00
Nick Krecklow
4104c4144a
remove timeout tasks since updates occur in bulk now 2020-05-08 03:27:01 -05:00
Nick Krecklow
63a01ace95
remove console.log debug call 2020-05-08 02:59:51 -05:00
Nick Krecklow
024e605a41
make getMaxGraphDataLength/getMaxServerGraphDataLength methods static 2020-05-08 02:56:39 -05:00
Nick Krecklow
3491c73b89
store pingHistory as player count directly 2020-05-08 02:52:48 -05:00
Nick Krecklow
37a88677cf
always update favicon if supplied 2020-05-08 02:42:46 -05:00
Nick Krecklow
4375798f6c
update docs/CHANGELOG.md 2020-05-08 02:40:29 -05:00
Nick Krecklow
e45f8b6639
simplify addServer/pingHistory & placeholder generation prior to optimizations 2020-05-08 02:39:30 -05:00
Nick Krecklow
a3624d38ff
remove legacy length param 2020-05-08 02:07:59 -05:00
Nick Krecklow
2f1c9c1dce
use config.graphDuration when querying database, not LIMIT 2020-05-08 02:06:39 -05:00
Nick Krecklow
5f2c62c23a
beta 5.4.0 2020-05-08 02:01:17 -05:00
Nick Krecklow
f467fa1938
add serverGraphDuration config option 2020-05-08 01:54:04 -05:00