Commit Graph

19 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
a33f417457
Handle SQLite errors
Should indicate the error occurring on #245.
2021-04-21 22:29:57 +02:00
Nick Krecklow
0c98930d4c
centralize timestamp/point filtering, move magic numbers into named constants 2020-05-11 18:44:29 -05:00
Nick Krecklow
903343fbdf
unify TimeTracker code, explicitly mark nullable playerCounts as unsafe 2020-05-11 18:29:26 -05:00
Nick Krecklow
c2f6d04e72
share a single timestamp array between all graphData objects 2020-05-11 18:12:29 -05:00
Nick Krecklow
84004f22be
merge graph timestamps into single array, use seconds 2020-05-11 04:12:46 -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
f6780e7a9b
prevent data leakage when sending server.data 2020-05-08 16:22:24 -05:00
Nick Krecklow
4dfecce966
serve favicons over hashed paths for improved caching 2020-05-08 04:47:10 -05:00
Nick Krecklow
024e605a41
make getMaxGraphDataLength/getMaxServerGraphDataLength methods static 2020-05-08 02:56:39 -05:00
Nick Krecklow
2f1c9c1dce
use config.graphDuration when querying database, not LIMIT 2020-05-08 02:06:39 -05:00
Nick Krecklow
f467fa1938
add serverGraphDuration config option 2020-05-08 01:54:04 -05:00
Nick Krecklow
c2494af82d
use a single, shared timestamps array between all pings 2020-05-08 01:22:07 -05:00
Nick Krecklow
ca9e127e3e
replace socket.io usage with WebSockets 2020-05-05 16:49:01 -05:00
Nick Krecklow
be92449d52
use serverId in protocol instead of legacy info object 2020-04-29 04:01:10 -05:00
Nick Krecklow
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