Commit Graph

119 Commits

Author SHA1 Message Date
Nick Krecklow
7b8f91af68
add dark mode support 2020-03-30 00:17:20 -05:00
Hugo Manrique
0392fce6c3 Fix XSS by parsing player counts as raw data and validating favicon URIs (#116)
* Fix XSS by parsing player counts as raw data (instead of parsing it)

* Ensure the returned favicon is a data URI

* Force server favicon size to 64px

* Increase specificity of data URI validation

The previous commit would happily accept any domain (or subdomain) that started with "data"
2019-09-05 16:15:44 -05:00
Cryptkeeper
557c581726 Prevent empty version payloads from breaking frontend 2017-10-23 03:20:45 -05:00
Cryptkeeper
106033adb8 Help readability on individual server elements 2017-05-13 11:21:41 -05:00
Cryptkeeper
7bd33c081b Shrink record and versions listing using server-meta 2017-05-13 11:17:31 -05:00
Cryptkeeper
d2ba338cb6 Darken versions listing 2017-05-13 11:11:42 -05:00
Cryptkeeper
be01d5c515 Show loading indicators when disconnected 2017-05-13 11:08:19 -05:00
Cryptkeeper
bfcc896e28 Improved Mojang status indicators and better footer 2017-05-13 11:07:50 -05:00
Hugo Manrique
0955e8dbcd Allow custom Graph colors (#76) 2017-04-03 22:10:46 -05:00
Cryptkeeper
42c744b9dd Use tooltip instead of slider text 2017-03-14 21:14:26 -05:00
Cryptkeeper
b4c716d701 Use #hideCaption instead of manual handling 2017-03-14 21:04:38 -05:00
Cryptkeeper
039d1364ea Dynamically resize the 24hr chart 2017-03-14 20:48:07 -05:00
Cryptkeeper!
ac0ea0d5d7 3.1.0 (#69) 2017-03-14 17:07:58 -05:00
Cryptkeeper
f722f5295a Add new percentage bar feature 2017-03-11 18:52:07 -06:00
Cryptkeeper!
2c4f3e0865 3.0.0 2017-03-11 17:44:21 -06:00
Cryptkeeper
02eb405ad7 Recognize and version test 1.11 2016-12-14 17:42:55 -06:00
Chris
1595b3e904 Will print the port only if it is custom 2016-10-08 01:15:47 +01:00
Cryptkeeper
aecb45fe07 Remove category visibility controller 2016-06-20 18:14:06 -05:00
Cryptkeeper
41a6a25854 Test servers for 1.10 support 2016-06-08 21:36:35 -05:00
Nick Keeper
26939910dc Reset lastMojangServiceUpdate on disconnect 2016-04-26 15:15:39 -05:00
Cryptkeeper
ea5fa03d37 A few quick frontend tweaks 2016-03-06 01:27:47 -06:00
Devin Ryan
43c284aa8a Show supported versions for PC servers
The Minetrack daemon will send a different protocol version each time
it pings a server. If a server responds with the same protocol version,
it is assumed that the version is supported, and it is shown on the
page above the server's player count.

The list of versions to be tried is stored in config.json.
At the moment, 4 versions are checked:
- 4 (Minecraft 1.7.2)
- 5 (Minecraft 1.7.10)
- 47 (Minecraft 1.8)
- 107 (Minecraft 1.9)
2016-03-01 21:09:38 -06:00
Cryptkeeper
3ed9b85db4 Show category options if there's more than 1 category 2016-02-23 19:21:13 -06:00
Cryptkeeper
9ac6502394 Allow the server to control category visibility 2016-02-23 19:19:15 -06:00
Cryptkeeper
6204a536c4 New header, controls for category visibility 2016-02-23 18:47:27 -06:00
Cryptkeeper
798dda8f12 Fix frontend not updating publicConfig.json
This changes the handshake sequence to use “bootTime” (a unique key
based off the time) to make sure the frontend configuration matches the
current one. If not, the client pulls the update and validates before
requesting the listing.
2016-02-06 18:26:29 -06:00
Cryptkeeper
143e99876a Ability to categorize networks 2016-02-06 17:34:33 -06:00
Cryptkeeper
4af3d8a85f Avoid race conditions 2016-02-01 05:32:00 -06:00
Cryptkeeper
808418f6bd Correctly init these 2016-02-01 05:31:00 -06:00
Cryptkeeper
ae018acba4 Load back the graph controls 2016-02-01 05:29:09 -06:00
Cryptkeeper
1e5b5efc48 Remove the data if needed 2016-02-01 05:23:42 -06:00
Cryptkeeper
01c427eea2 Fix hooking 2016-02-01 05:21:46 -06:00
Cryptkeeper
c4177abaaf Start work on saving graph controls 2016-02-01 05:20:25 -06:00
Cryptkeeper
266eff4668 Tweak the color hashing system 2016-02-01 05:05:14 -06:00
Cryptkeeper
6d8ab212e0 Fix incorrect IP references 2016-02-01 04:58:05 -06:00
Cryptkeeper
53c3c5e556 Don't apply min: 0 to the small graphs 2016-01-06 15:42:50 -06:00
Cryptkeeper
096c919dd0 Disallow networks from graphing < 0 players 2016-01-06 13:15:34 -06:00
Cryptkeeper
123967cac4 Vertically shrink "the graph" 2015-12-23 14:25:05 -06:00
Cryptkeeper
d1197bf159 Fat, away! 2015-12-18 21:39:08 -06:00
Cryptkeeper
454627b2a9 Numerous graph fixes 2015-12-18 21:23:24 -06:00
Cryptkeeper
438a060823 Fix visibility 2015-12-18 19:05:43 -06:00
Cryptkeeper
88173ead11 Don't show graph on mobile browsers 2015-12-18 19:00:57 -06:00
Cryptkeeper
a426a6afa2 Fancy controls 2015-12-18 18:49:18 -06:00
Cryptkeeper
8e999cee1b Toggle buttons 2015-12-18 18:33:43 -06:00
Cryptkeeper
5a9be282f7 Work on frontend, fix removal of useless data 2015-12-18 18:25:59 -06:00
Cryptkeeper
649d8abd33 Fix race condition, add graph toggles 2015-12-18 18:10:58 -06:00
Cryptkeeper
c87a377621 Destroy the graph on disconnect 2015-12-18 02:47:35 -06:00
Cryptkeeper
a0524ce41b Ignore data for networks that don't exist in config.json 2015-12-18 02:43:44 -06:00
Cryptkeeper
7e4d3c1f58 Merge branch 'master' into big-graph 2015-12-18 01:53:17 -06:00
Cryptkeeper
8f66475a28 Big graph, away! 2015-12-18 01:45:38 -06:00
LegitModern
bbf726dcf6 Space 2015-12-14 18:17:34 -05:00
Cryptkeeper
9ad7f261e1 Fix rounded corners on icons 2015-12-04 16:26:07 -06:00
Cryptkeeper
48ae76f623 Fix arguments on socket 2015-11-30 18:12:26 -06:00
Cryptkeeper
79e5f96090 Don't reset when we drop pings. 2015-11-30 14:02:00 -06:00
Cryptkeeper
dd8f5ec10d Show overall stats just for fun. 2015-11-30 14:00:47 -06:00
Cryptkeeper
0640d6ed8f Configure auto reconnect on the frontend socket. 2015-11-26 00:32:20 -06:00
Cryptkeeper
b20ea7aaa4 Hover text on quick jump 2015-11-25 19:36:41 -06:00
Cryptkeeper
31dcf84fc4 Quick clean up 2015-11-25 19:32:39 -06:00
Tux
671c410a68 Added type indicator next to the server name 2015-11-25 20:11:55 -05:00
Cryptkeeper
f516bc9f15 "Quick Jump" feature along with some European servers 2015-11-25 16:40:13 -06:00
Cryptkeeper
aed7947f5a Only show if we don't know why we failed to ping. 2015-11-24 17:34:28 -06:00
Cryptkeeper
3eceb05cac Don't add zeros for offline networks 2015-11-09 16:33:56 -06:00
Cryptkeeper
1e68ea2a3f Tweak the design a bit 2015-11-09 01:38:18 -06:00
Cryptkeeper
56233745e0 Tweak design, numerous fixes 2015-11-09 01:03:03 -06:00
Cryptkeeper
f6ee6568a1 Favicon override for those pesky PE icons 2015-11-08 19:08:31 -06:00
Cryptkeeper
ad6caa2f08 Add default favicon 2015-11-08 18:45:18 -06:00
Cryptkeeper
d64252d35d Begin work on frontend! 2015-11-08 18:34:17 -06:00
Cryptkeeper
dec1536c6c Implement Winston powered logger 2015-11-01 23:46:24 -06:00
Cryptkeeper
89bd722fa1 Setup structure, dynamic routing from config.json 2015-11-01 23:19:27 -06:00