peps1 / airdcpp-user-commands

Extension to run commands from chat to output information or trigger actions. See /help for a full list
https://www.npmjs.com/package/airdcpp-user-commands
6 stars 0 forks source link

/prvstats is bugged + possibly EOL problems on FreeBSD #10

Closed Fossegrimen closed 3 years ago

Fossegrimen commented 3 years ago

The commands that have OS in them looks like this when I copy them here (maybe this isn't a problem?):

/os -=[ OS: FreeBSD 12.2-RELEASE-p1 amd64 ]=-

/stats -=[ AirDC++w 2.11.0b-89-gb7c7 amd64 https://airdcpp-web.github.io/ ]=- -=[ Uptime: 2 minutes 14 seconds ]=- -=[ Ratio Session: 0.00 (Uploaded: 0.00 kB | Downloaded: 0.00 MB ) ]=- -=[ Ratio Total: 0.00 (Uploaded: 0.00 TB | Downloaded: 0.00 TB ) ]=- -=[ OS: FreeBSD 12.2-RELEASE-p1 amd64 (Uptime: 2 hours 33 minutes 47 seconds) ]=- -=[ CPU: Intel(R) Core(TM) i5-4XXX CPU @ 5.20GHz ]=-

/prvstats -=[ AirDC++w 2.11.0b-89-gb7c7 amd64 https://airdcpp-web.github.io/ ]=- -=[ Uptime: 5 minutes 27 seconds ]=- -=[ Ratio Session: 0.00 (Uploaded: 0.00 kB | Downloaded: 0.00 MB ) ]=- -=[ Ratio Total: 0.00 (Uploaded: 0.00 TB | Downloaded: 0.00 TB ) ]=- -=[ OS: FreeBSD 12.2-RELEASE-p1 amd64 (Uptime: 2 hours 36 minutes 59 seconds) ]=- -=[ CPU: Intel(R) Core(TM) i5-4XXX CPU @ 5.20GHz ]=-

However, in the actual AirDC++ Web window, they look like this (notice /prvstats):

/os -=[ OS: FreeBSD 12.2-RELEASE-p1 amd64 ]=-

/stats -=[ AirDC++w 2.11.0b-89-gb7c7 amd64 https://airdcpp-web.github.io/ ]=- -=[ Uptime: 2 minutes 14 seconds ]=- -=[ Ratio Session: 0.00 (Uploaded: 0.00 kB | Downloaded: 0.00 MB ) ]=- -=[ Ratio Total: 0.00 (Uploaded: 0.00 TB | Downloaded: 0.00 TB ) ]=- -=[ OS: FreeBSD 12.2-RELEASE-p1 amd64 (Uptime: 2 hours 33 minutes 47 seconds) ]=- -=[ CPU: Intel(R) Core(TM) i5-4XXX CPU @ 5.20GHz ]=-

/prvstats -=[ AirDC++w 2.11.0b-89-gb7c7 amd64 https://airdcpp-web.github.io/ ]=- -=[ Uptime: 5 minutes 27 seconds ]=- -=[ Ratio Session: 0.00 (Uploaded: 0.00 kB | Downloaded: 0.00 MB ) ]=- -=[ Ratio Total: 0.00 (Uploaded: 0.00 TB | Downloaded: 0.00 TB ) ]=- 12.2-RELEASE-p1-=[ OS: FreeBSD amd64 (Uptime: 2 hours 36 minutes 59 seconds) ]=- -=[ CPU: Intel(R) Core(TM) i5-4XXX CPU @ 5.20GHz ]=-

Running application version: AirDC++w 2.11.0b-89-gb7c7 amd64 and web UI version: 2.11.0-beta.4.

peps1 commented 3 years ago

Thanks for the report. The error was caused by the CSS of the WebUI, maksis was able to fix it in https://github.com/airdcpp-web/airdcpp-webui/commit/58bf2e6f64bca3fd71077a7dd232a13eadf59d06