Commit Graph

158 Commits

Author SHA1 Message Date
Sean Wei
7a4fb91bb5 Fix typo in source code comments 2023-12-06 01:21:48 +08:00
Gerardo O
cc7f4faa65 Fixed issue when trying to apply a regex on an invalid value (HTML report). 2023-10-26 19:16:32 -05:00
Gerardo O
4d83ba3045 Fixed issue with xScale.domain() going out of boundaries in certain cases. 2023-10-26 19:14:35 -05:00
Gerardo O
b7f8790dac Upgraded to D3.js v7 including charts.js code. 2023-05-27 13:43:49 -05:00
Gerardo O
fe2298124d Ensure WebSocket URL is properly built for multiple use-cases.
This fixes #2487 where passing --ws-url=wss://HOST.DOMAIN/ws/ would end up
appending the default port to the end of path. e.g., wss://HOST.DOMAIN/ws/:7890

Now it will check if the given URL contains the port else it will append it to
hostname. A few scenarios:

--ws-url=wss://HOST.DOMAIN/ws/ => wss://HOST.DOMAIN:7890/ws/
--ws-url=ws://HOST.DOMAIN/ws/  => ws(s)://HOST.DOMAIN:7890/ws/
--ws-url=HOST.DOMAIN:3843/ws/  => ws(s)://HOST.DOMAIN:3843/ws/
--ws-url=HOST.DOMAIN:3843/ws/  => ws(s)://HOST.DOMAIN:3843/ws/
                               => ws(s)://hostname:7890 or ws(s)://localhost:7890
2023-03-30 17:30:28 -05:00
Gerardo O
9c3197b902 Minor css changes to the report + ASN icon. 2022-12-30 21:12:43 -06:00
Gerardo O
3b9bd0f09d Fixed typo on comment. 2022-12-30 16:40:59 -06:00
Gerardo O
112d331c2a Fixed issue where some metrics on the HTML report were missing.
This would occur when piping data into goaccess.
2022-12-30 16:34:39 -06:00
Gerardo O
724ba6ff3a Ensure ASN is left-aligned on the HTML report. 2022-12-30 11:41:46 -06:00
Gerardo O
142a23dec7 Added support for IP to Geo ASN mapping. 2022-12-29 09:29:52 -06:00
Gerardo O
a2d867fd81 Enabled DNS thread when resolving a host and outputting real-time HTML. 2022-08-31 17:24:48 -05:00
Gerardo O
b595d7e047 Removed header and licensing from app.js (breaks JS). 2022-08-29 19:42:18 -05:00
Gerardo O
3e65ce53c2 Fixed WebSocket status label when outputting --real-time-html. 2022-08-29 19:42:09 -05:00
Gerardo O
0aaf3a0ee1 Added header and licensing to app.js. 2022-08-29 18:57:38 -05:00
Gerardo O
97d1b3aa29 Ensure our WS retries counter is reset onopen. 2022-06-16 07:02:40 -05:00
Gerardo O
3489104c0a Added a max number of WS reconnects of 20 with exp. backoff. 2022-06-16 06:57:54 -05:00
Gerardo O
4be9b8cb4c Ensure WS ping interval is cleared onclose. 2022-06-16 06:40:06 -05:00
Gerardo O
5cc8525b35 Added the ability to reconnect to WebSocket server after 1 sec with exponential backoff. 2022-06-15 20:24:09 -05:00
mario-donnarumma
8b30ccbd9f Added ping-interval option 2022-06-15 11:42:19 +02:00
Ramires Viana
9650490f53 Added the ability to hide panels on report 2022-02-18 13:54:26 +00:00
Gerardo O
a492fb2586 Changed chart interpolation to monotone.
This should avoid the issue where the interpolated curve has a bend into the
negative space.

Fixes #2265
2022-01-19 18:09:43 -06:00
Gerardo O
9c5960295c Removed unused variable from app.js. 2021-04-28 08:39:29 -05:00
Gerardo O
647ab958bc Removed unused variable from app.js. 2021-04-26 08:38:31 -05:00
Cthulhux
471cfcfc5f
Dark Mode detection
GoAccess defaults to the darkPurple theme even for us weirdos :-) who still prefer the Light Mode in 2021. This change defaults to "bright" for us and "darkPurple" for them.
2021-04-19 12:07:59 +02:00
Gerardo O
1489026f09 Revert "Revert "Logging MIME-Type and TLS parameters""
This reverts commit 1eefdbe428.
2020-11-15 14:51:25 -06:00
Gerardo O
8ec4859bde Ensure the HTML report defaults to widescreen if viewport is larger than 2560. 2020-11-14 08:37:21 -06:00
Gerardo O
bdbed8aad9 Ensure the HTML report defaults to widescreen if viewport is larger than 1980. 2020-11-14 08:29:09 -06:00
Gerardo O
1eefdbe428
Revert "Logging MIME-Type and TLS parameters" 2020-11-13 17:20:58 -06:00
Ulrich Schwarz
a8fe13bee9 merge - nur Zeilennummern? 2020-11-13 08:55:36 +01:00
Gerardo O
694655f716 Added 'average' to each panel overall metrics.
This also updates each panel overall UI to be more streamlined.
2020-11-07 19:19:27 -06:00
Gerardo O
a35443fdfd Removed unused variables from app.js 2020-05-18 19:37:39 -05:00
Gerardo O
3fbb1c4671 Prettified initial processing time from secs to HH:MM:SS in HTML output. 2020-05-11 20:51:34 -05:00
Gerardo O
7a3ae5a9bb Fixed issue where HTML report wouldn't update the tables when changing per page option. 2020-05-11 19:29:14 -05:00
Gerardo O
4331bda76f Added a widescreen layout to the HTML report (e.g., TV/KPI Dashboard). 2020-05-11 07:57:02 -05:00
Ulrich Schwarz
4506cdeade fixed icons; re-enabled csv output 2020-03-28 19:25:04 +01:00
Gerardo O
ac3d5637d3 Fixed issue where last updated label was not updated in real-time.
Closes #1548
2019-11-28 13:37:48 -06:00
Gerardo Orellana
22d153e7f1 Set default HTML theme to new dark purple. 2018-11-22 20:17:38 -06:00
Gerardo Orellana
6e23ced9b9 Added new purple theme to HTML report. 2018-11-22 20:16:45 -06:00
Gerardo Orellana
7e251fe7fb Fixed UNDEFINED time range in HTML report when VISITORS panel was ignored. 2018-11-17 18:58:10 -06:00
Gerardo Orellana
634b974e7d Ensure JS if/else statements use curly braces to properly minify files.
This is for readability AND so that it can be properly minified upon
building the program. Note that the JS minifier is very primitive and
thus the need of those braces.
2018-05-22 19:32:45 -05:00
Justin Mills
93e944b378 added first/last buttons to html report 2018-04-28 20:16:09 -06:00
Gerardo Orellana
eb16bc09fe Fixed jshint warning 'variable already defined'. 2018-04-15 21:31:43 -05:00
Gerardo Orellana
3803755f7b Fixed jshint warning 'a leading decimal point can be confused with a dot'. 2018-04-14 21:31:13 -05:00
Gerardo Orellana
f28780fb6c Fixed jshint warning 'Missing semicolons'. 2018-04-12 22:21:10 -05:00
Gerardo Orellana
88ad35b7b7 Fixed jshint warning 'Missing semicolons'. 2018-04-12 22:21:10 -05:00
Gerardo Orellana
94292c4982 Fixed jshint warning 'Missing semicolons'. 2018-04-12 22:21:10 -05:00
Gerardo Orellana
22d340af4a Fixed jshint warning 'Missing semicolons'. 2018-04-02 21:45:47 -05:00
Gerardo Orellana
22a28ed9c9 Fixed jshint warning 'Missing semicolons'. 2018-03-26 21:39:32 -05:00
Gerardo Orellana
5b07b01fe2 Fixed jshint warning 'Missing semicolons'. 2018-03-22 21:15:02 -05:00
Gerardo Orellana
3f1af5f8e5 Fixed JS undefined AreaChart error message. 2018-03-20 21:05:14 -05:00