Commit Graph
38 Commits
Author SHA1 Message Date
angryzeroandCopilot 7ea16d4677 fix: defer startPolling until all NVD3 charts initialized
nv.addGraph uses setTimeout internally, so chart models may not exist yet
when the first WebSocket response arrives. Moved startPolling() into the
last nv.addGraph callback to guarantee charts are ready before data flows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:10:04 +02:00
angryzeroandCopilot 3e3f908c9e fix: remove .duration() calls from multiChart and stackedAreaChart
NVD3 1.8.1 on CDN doesn't expose .duration() on multiChart or
stackedAreaChart top-level models. Duration is set via sub-components
(.lines1.duration, .lines2.duration) which are already present.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:06:02 +02:00
angryzeroandCopilot d68639e591 fix: remove orphaned duplicate netChart code causing SyntaxError
Lines 88-103 were a duplicate of the stackedAreaChart setup floating
outside any function — the stray }); at line 103 had no matching open
brace. Removed the 16 orphaned lines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:03:26 +02:00
angryzeroandCopilot 7847f6e6ae fix: NVD3 1.8.1 API compat, null guards, missing brace
- Removed useInteractiveGuideline (not in NVD3 1.8.1 on CDN)
- Added null guards in updateData + updateCharts for navigation-away
- Fixed missing closing brace in updateCharts if block

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:02:14 +02:00
angryzeroandCopilot 1bfca0d1e0 fix: add loading indicators to all pages
- 'Loading…' shown in charts/fields/output areas while waiting for server response
- Console + chat: clears loading state on first output line
- Player list: table body shows loading row until refresh completes
- Player info / Server info: fields show loading until data arrives

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:00:31 +02:00
angryzeroandCopilot 19c5247c90 fix: router add() signature, setActivePage typo, connect race condition
- Router.add() now takes 3 params (pattern, title, onEnter) matching app.js usage
- Fixed setActiveSidebar → setActivePage in all route callbacks
- Removed premature hash-setting from connect.js — app.js now sole navigator
  (was firing router into a hidden container before showConnected ran)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:57:48 +02:00
angryzeroandCopilot c5679feb82 fix: navbar single-line, chart sizing, text visibility
- Removed hamburger menu — all stats inline on one navbar row
- Disconnect button at top-right (ms-auto)
- Added data-bs-theme=dark for proper BS5 dark mode text inheritance
- Restored explicit width/height on chart SVGs (required by NVD3)
- Changed text-muted → text-white-50 for field labels on dark bg
- Added flex-nowrap to navbar container
- Overrode --bs-body-bg to maintain original dark shade

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:56:05 +02:00
angryzeroandCopilot 0a178d17b9 feat: full de-Angularization with Bootstrap 5 migration
- Removed AngularJS 1.4.8 completely — no more framework dependency
- Extracted core RCON logic into pure vanilla JS (js/rcon.js)
- Added lightweight hash-based SPA router (js/router.js)
- Rewrote all 6 pages as vanilla JS modules in js/pages/
- Migrated Bootstrap 3 → Bootstrap 5 (cards instead of panels, bootstrap-icons instead of glyphicons)
- Removed jQuery dependency (Bootstrap 5 is vanilla JS)
- Purged all Angular templates from html/
- Removed npm artifacts (package.json, node_modules)
- Added nginx.example.conf for static hosting
- Updated rcon.css dark theme for BS5 variables
- Static file only — no Node.js backend required

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:51:50 +02:00
Garry Newman 3d8b4e0fea Should fix XSS mentioned in #32 2021-02-20 11:37:58 +00:00
alexfriesen cab65aeab7 change charts
change data collection
charts are collapsible
show fps and entity count in one chart
improve network chart
add player chart (queued, joining, playing, free)
2017-04-25 19:03:03 +02:00
alexfriesen 12a5ec279b add performance graphs to serverinfo
move serverinfo-bar to seperate file
add serverinfo fps chart 
add network i/o chart
2017-04-23 21:28:37 +02:00
alexfriesen 39960aa897 move disconnect button to nav-header
moved disconnect button to nav-header
fix navbar (responsive again)
replace custon classes with bootstap classes
2017-04-21 15:45:55 +02:00
alexfriesen a02a57bf99 add Disconnect
added disconnect feature
auto formatted js/html code
2017-04-21 15:06:52 +02:00
Pauli Jokela aefea1feeb Fixed violation level spelling and removed XP remnants from the player info screen 2017-03-25 12:49:36 +02:00
Pauli Jokela 20611e26f8 Strip HTML tags from chat messages 2017-02-20 13:35:52 +02:00
Pauli Jokela 3fcc651262 Error fixing and code cleanup 2016-12-16 21:44:07 +02:00
Garry Newman 2da3351935 Nice header with server status, better chat layout 2016-07-11 09:57:17 +01:00
alexfriesen d700aff8e7 serverinfo cleanup 2016-06-08 19:35:20 +02:00
alexfriesen e2f08d52ce responsive playerlist
use bootstrap table-class
2016-06-08 19:22:58 +02:00
alexfriesen 82ce29d182 chat scroll to bottom like the console 2016-06-08 18:54:02 +02:00
alexfriesen 7697c6baac reworked the connection view
- use bootstrap styling
- connections will save the date
- connection duplicates will be removed on a new connection
- saved connections can be toggled between 5 items and all
2016-06-02 15:40:54 +02:00
alexfriesen b6558c68e8 only scroll if already on bottom in console
and cleaned some code
2016-06-02 10:18:57 +02:00
alexfriesen 90c60f9fa9 renamed rconService.getUsers() to rconService.getPlayers() to be consistent
console History rotates correctly up and down
2016-05-19 18:58:36 +02:00
alexfriesen 12c58af9af Added Command History to console 2016-05-18 14:16:27 +02:00
alexfriesen 172ee95216 rconService.getUsers() will get and parse the userdata
PlayerInfo displays Info and provide a link to steam profile
Dropdown in the Playerlist offers more options the selected Player
2016-05-18 14:10:03 +02:00
alexfriesen 4087a9f591 Added ServerInfo Page
ConnectionController.Connect redirects automatically to ServerInfo
2016-04-30 19:07:44 +02:00
alexfriesen c9b2ee8335 KickPlayer function added in playerlist 2016-04-30 17:03:19 +02:00
Garry Newman 1ce541e2b0 Chat works 2016-04-29 19:44:37 +01:00
Garry Newman 8db1528ae5 Chat section 2016-04-29 15:24:12 +01:00
Garry Newman 2ba4884cdc Handle new Msg.Type settings 2016-04-29 15:24:04 +01:00
Garry Newman 6de72eec86 Switch to bootstrap 2016-04-12 15:13:48 +01:00
Garry Newman c95ca0445a Allow using password param to connect 2016-04-12 10:49:34 +01:00
Garry Newman 2950bd483a Fetch the console history 2016-03-04 16:56:34 +00:00
Maksim Nazarjev 48695efeca Removed nonexistent template path 2016-03-04 15:32:15 +03:00
Garry Newman 9820204a5b Trim the address/password because people are idiots 2016-03-03 13:28:26 +00:00
Garry Newman e4452d48ab URLs include address, automatically connected to if password is present 2016-03-03 12:53:56 +00:00
Garry Newman 5fa14a3247 Xp history 2016-02-29 17:12:24 +00:00
Garry Newman 1387e4cb3f Added a couple of useful services to rconservice 2016-02-29 13:03:23 +00:00