Commit Graph

122 Commits

Author SHA1 Message Date
mjezek
4f81041e97
Modified old pings cleanup config, ip as primary key in player records table 2022-10-29 18:51:14 +02:00
mjezek
37a1579b37
Delete old pings also on startup 2022-05-22 16:28:58 +02:00
mjezek
23b46a3dd5
Delete old unnecessary ping records, store player count records in separate table 2022-03-13 12:47:45 +01:00
Nick Krecklow
62da42e9cb
fix: remove Mojang service status tracker (fixes #274)
See https://github.com/Cryptkeeper/Minetrack/issues/274
2021-10-12 18:55:48 -05:00
Hugo Manrique
b5ea2e59c4
Change ESLint disabled rule name
The rule was moved from standard to plugin-node,
see https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/no-callback-literal.md.
2021-04-21 22:31:21 +02:00
Hugo Manrique
a33f417457
Handle SQLite errors
Should indicate the error occurring on #245.
2021-04-21 22:29:57 +02:00
chatasma
0dd9aa9362
Ensure modules are bundled (#239) 2021-04-02 15:15:03 -05:00
Nick Krecklow
97ef92ff92
enh: update to parcel2 (#237) 2021-03-30 19:04:03 -05:00
Nick Krecklow
0ccac23690
fix: session url status 2021-01-11 19:35:04 -06:00
blockparole
6ce1697a39
configurable ping fail logs (#203)
* ping fail log configurable

* fix json

* fix config namespace in ping

* changes
2020-08-16 18:18:43 -05:00
Nick Krecklow
7e5c017654
add: named daily database copies for automating exports 2020-08-01 14:46:04 -05:00
Nick Krecklow
7313971871
prevent undefined/null values breaking graphs or scales 2020-06-12 18:59:59 -05:00
Nick Krecklow
05df7081e4
fix potential null errors in recordData/graphPeakData 2020-05-20 19:56:10 -05:00
Nick Krecklow
f4dadd9805
fix remaining merge errors 2020-05-14 21:03:14 -05:00
Nick Krecklow
5c346b3dd6
Merge branch 'master' of https://github.com/Cryptkeeper/Minetrack into uplot 2020-05-14 20:58:21 -05:00
Nick Krecklow
05c2e0a13f
fix inverted remainingTime value passed into #pingAll 2020-05-14 20:56:59 -05:00
Nick Krecklow
9bdc892815
Merge branch 'master' of https://github.com/Cryptkeeper/Minetrack into uplot 2020-05-14 20:50:51 -05:00
Nick Krecklow
05487d15ca
reduce naming inversion to simplify logic reading 2020-05-14 20:46:08 -05:00
Nick Krecklow
70cfa641e6
remove legacy _isSkipSrv logic 2020-05-14 20:43:55 -05:00
Nick Krecklow
e756584837
optimize skipSrvTimeout handling 2020-05-14 20:43:14 -05:00
Nick Krecklow
c516b7c216
release 5.4.3 2020-05-14 20:38:17 -05:00
Nick Krecklow
9a38160019
replace ServerRegistration#unfurlSrv to DNSResolver class 2020-05-14 20:30:40 -05:00
Nick Krecklow
005798aa0d
fix wrong SRV record name -> _minecraft._tcp. 2020-05-13 16:40:12 -05:00
Nick Krecklow
a68e4d2460
fix missing graphData culling behavior 2020-05-12 22:10:38 -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
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
19a7ce7d91
wip moving historical graph to uPlot, remove flot.js dependency 2020-05-11 02:28:41 -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
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
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
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
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
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