Commit Graph

43 Commits

Author SHA1 Message Date
Nick Krecklow
2fd7c56274
Merge pull request #297 from Cryptkeeper/dependabot/npm_and_yarn/nanoid-3.3.2
Bump nanoid from 3.1.22 to 3.3.2
2022-04-05 09:38:43 -07:00
dependabot[bot]
6881606ebc
Bump nanoid from 3.1.22 to 3.3.2
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.22 to 3.3.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.22...3.3.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 02:54:05 +00:00
dependabot[bot]
02387ca8ff
Bump follow-redirects from 1.13.3 to 1.14.9
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.3 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 02:54:05 +00:00
dependabot[bot]
8cada8d0b3
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 10:45:22 +00: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
Nick Krecklow
0f297b72a8
fix: provide initial value to avoid reducing empty array
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Reduce_of_empty_array_with_no_initial_value
2021-06-07 11:51:47 -05:00
Nick Krecklow
8a4ec554e2
fix: stack error caused by spread operator with large arrays 2021-05-31 01:27:20 -05:00
dependabot[bot]
ef377e3da5
Bump ws from 7.4.4 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 06:13:16 +00:00
Nick Krecklow
97ef92ff92
enh: update to parcel2 (#237) 2021-03-30 19:04:03 -05:00
dependabot[bot]
476aea106e
Bump elliptic from 6.5.3 to 6.5.4 (#233)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-19 00:12:27 -05:00
dependabot[bot]
6ea6e32b0d
Bump ini from 1.3.5 to 1.3.8 (#217)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 19:58:37 -06:00
dependabot[bot]
9cf57e087b
Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-01 21:34:05 +00:00
Nick Krecklow
783b49ee15
5.5.8 2020-08-01 14:54:23 -05:00
dependabot[bot]
eaa4b24fc6
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 09:42:04 +00:00
Nick Krecklow
e194c345c2
5.5.7 2020-07-07 21:53:36 -05:00
Nick Krecklow
2ef2dc04de
5.5.6 release 2020-06-24 15:19:16 -05:00
Nick Krecklow
7b1496511f
5.5.5 2020-06-17 22:22:29 -05:00
Nick Krecklow
e6de86a9a6
release 5.5.4, update uplot dependency 1.0.8 -> 1.0.11 2020-06-16 20:26:43 -05:00
Nick Krecklow
0389c0ca6a
5.5.3 release preview 2020-06-13 00:59:27 -05:00
Nick Krecklow
a8a4c23e3a
increase package.json version to 5.5.2 2020-06-12 22:20:55 -05:00
Nick Krecklow
f73f8c26db
Update package.json & package-lock.json 2020-06-09 21:43:49 -05:00
Nick Krecklow
25d28fbbd0
downgrade uPlot to 1.0.9 to resolve gaps TypeError 2020-06-09 20:45:53 -05:00
Nick Krecklow
8ce9df7611
Update various dependencies 2020-06-08 16:41:36 -05:00
Nick Krecklow
bfd5686613
5.5.1 release preview 2020-06-08 16:33:34 -05:00
Nick Krecklow
7fd0117f74
replace uplot lib with npm package 2020-05-12 19:50:28 -05:00
Nick Krecklow
08415d74dd
5.5.0 release preview 2020-05-11 20:16:48 -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
5f2c62c23a
beta 5.4.0 2020-05-08 02:01:17 -05:00
Nick Krecklow
49379acc77
release 5.3.1 2020-05-05 23:45:04 -05:00
Nick Krecklow
84e38c90de
release 5.3.0 2020-05-05 17:20:52 -05:00
Nick Krecklow
ca9e127e3e
replace socket.io usage with WebSockets 2020-05-05 16:49:01 -05:00
Nick Krecklow
2ee9c8b919
release 5.2.1 2020-05-01 15:29:11 -05:00
Nick Krecklow
45c34f1477
release 5.2.0 2020-04-29 04:25:08 -05:00
Nick Krecklow
1a4a67f478
5.1.2 release 2020-04-22 18:20:37 -05:00
Nick Krecklow
e226066a61
fix records being overwritten at boot 2020-04-21 18:51:29 -05:00
Nick Krecklow
f875361bc7
Minetrack 5 (#143)
* remove unused #getServer methods, inline #roundToPoint

* replace #safeName regex with incremental ids

* remove legacy #setInterval based #updateMojangServices handling

* add Tooltip class, move faviconSize to css instead of js

* move server id assignment to ServerRegistry

* move printPort logic to formatMinecraftServerAddress, add MINECRAFT_DEFAULT_PORTS

* simplify ping tracking

* rework perc-bar tooltip to not use mousemove event

* begin moving graphing logic to GraphDisplayManager

* begin merge graph point tracking into graphDisplayManager

* centralizing graphing logic into GraphDisplayManager

* properly reset GraphDisplayManager when handling disconnects

* move individual server graph data into ServerGraph class

* constantly run sortServers loop to simplify logic

* inline #updateMojangServices method

* resize performance improvements

* remove legacy bootTime refresh behavior, require manual user refresh

* move class defs to core.js

* remove unused #isGraphDataVisible arg

* remove #toggleControlsDrawer

* dont call #updatePercentageBar in #updateServerStatus calls

* centralize caption handling

* inline #msToTime

* remove hackish seconds handling for timestamps

* reduce #forEach calls with filter/map

* safely fallback to errorMessage if errno/description does not match

* Add /images/missing_favicon.png path instead of putting base64 in js

* remove debug

* cleanup mojang status handling

* move historyPlot instance into GraphDisplayManager

* cleanup checkbox html generation

* cleanup #updateServerStatus

* fix up tooltip styling

* move jquery code out of core.js

* fix add server race condition when initially pinging servers

* send error.placeholder=true for pending pings so the frontend can discard later

* filter placeholder pings sent by the backend

* del assets/images/logo_2014.png

* move graph code into graph.js

* merge pingTracker into ServerRegistry+ServerGraph

* remove todos

* simplify getVisibleGraphData

* fix potential sortServers race condition when adding

* use #show instead of #fadeIn(0)

* remove publicConfig.json, send over socket

* update docs/CHANGELOG.md

* getOrAssign -> getOrCreateId

* dont delete graph controls when disconnected

* early work cleaning up HTML+CSS structures

* cleanup server css elements

* cleanup graph control css elements

* move base CSS color values into @media(prefers-color-scheme: light)

* move CSS magic colors to vars

* reduce duplicated CSS color rules

* inline body text color CSS

* WIP replacing jQuery calls with vanilla JS

* WIP replacing jQuery calls with vanilla JS

* replace getElementsByClass with querySelectorAll

* typeMarker -> serverTypeHTML

* use jQuery slim for remaining flot.js dependency

* merge setAllGraphVisibility into GraphDisplayManager

* break apart element update and redraw logic

* add eslint + parcel bundler

* auto lint assets/js when building

* statically serve favicons/ for faviconOverrides outside of dist/

* only send favicons when changed

* move faviconOverride behavior into entry in servers.json

* add warning to backend server files

* remove .server-favicon-missing class

* add Minetrack 5 migration guide

* add npm run build step to install.sh

* adjust package.json version to 5.0.0

* remove js references from index.html

* move logic and behavior out of site.js

* cleanup ServerRegistry methods

* prevent multiple history graph redraws

* add comments

* cleanup #addServer usage, move to App

* move graph control bindings into GraphDisplayManager

* site.js -> main.js, core.js -> servers.js

* move Tooltip/Caption into util.js

* spacing tweak

* format index.html

* ensure the frontend does not handling updateHistoryGraph events

* prevent versions/record updates if the same value

* avoid empty percbar updates, ensure versions are sorted

* only include main.js ref in index.html

* serve minified copy of font awesome directly

* bundle icons.css into main.css, remove Open Sans 400

* add new SVG logo

* update docs/CHANGELOG.md

* new design, server version grouping

* remove start.sh call from install.sh

* move graph controls into header with new button

* move #handleSettingsToggle back to graph

* fix legacy code behavior of currentVersionIndex applying globally

* fix header text color in light mode

* fix mojang status text color in light mode

* fix toggle settings and checkbox colors

* tweak button hover color

* tweak button hover color

* add new status-overlay to avoid complicated DOM management during loading

* fix initial graph rendering bug

* add comments

* update default graph tick sizes

* prevent #tooltip from overflowing page

* remove localhost spec

* prevent minor connection errors from reshuffling layout

* update CHANGELOG.md

* add message/button for manually loading historical graph on mobile devices

* send isGraphVisible to frontend to prevent alert if logToDatabase: false

* send timestamp data with record

* update docs/CHANGELOG.md

* remove clock icon

* remove 24h peak timestamp

* Only check favicon if present

* safely handle undefined/empty knownVersions in #formatMinecraftVersions

* merge config.versions and minecraft.json into minecraft_versions.json, simplify index matching behavior

* remove localhost url in socket.io config

* stub methods/linkage for FocusManager

* add #isObjectEqual hack, add event proxying to FocusManager

* wip extended stats box

* remove server-type badging

* tweak mojang unstable color

* serve socket.io-client using parcel

* fix incorrect mojang status colors

* remove legacy capitalization design

* redesign focus boxes

* update docs/CHANGELOG.md

* remove localhost ref

* color clock icon

* use background-color for hover effect, remove unused var

* improve stats focus box icons

* change mojang sessions icon to globe

* Add favorites system

* remove focus boxes

* update docs/CHANGELOG.md

* remove focus icons from font

* simplify graph related event binding

* Add Sort By button

* store current sortOption in localStorage

* update docs/CHANGELOG.md

* move magic 0 sortOption to SORT_OPTION_INDEX_DEFAULT

* remove localhost ref

* merge #settings-toggle, #sort-by and .mojang-status CSS

* remove .focus-box CSS

* use sortedServerIds for _lastSortedServers

* tweak --color-blue

* new missing_favicon design to match logo

* edit footer CSS/text, remove github icon

* replace player count diff counter with GROWTH sort option

* italize non-default sort options

* add Only Favorites button to auto sync favorites to the visible graph data

* add icons to graph control buttons

* update docs/CHANGELOG.md

* use * to denote non-default sort option instead

* remove localhost url in socket.io config

* add value highlighting to make sort by easier to read

* remove last remaining uppercase text

* remove serverTypesVisible from config.json

* simplify header CSS, fix spacing with logToDatabase=false

* fix inverted text color on highlighted values

* remove localhost url in socket.io config

* break header into rows on mobile devices

Co-authored-by: Hugo Manrique <contact@hugmanrique.me>
2020-04-19 19:27:59 -05:00
Nick Krecklow
0202003aa7
4.0.5 release 2020-04-01 22:38:46 -05:00
Nick Krecklow
9f5827f06c
automatically set peak label using publicConfig.graphDuration 2020-04-01 22:36:44 -05:00
Nick Krecklow
cf8f3f0dcd
update socket.io dependency 1.3.7->2.3.0, fixes security vulns 2020-04-01 21:44:35 -05:00
Nick Krecklow
afebd2ff83
4.0.2 release 2020-04-01 21:20:21 -05:00