Benjamin Arntzen
|
39bede3a7a
|
Implemented periodic log querying with error handling and empty log notification.
|
2024-06-27 06:46:09 +01:00 |
|
Benjamin Arntzen
|
3fd0fe0977
|
Improved error handling in log query interval function.
|
2024-06-27 06:45:42 +01:00 |
|
Benjamin Arntzen (aider)
|
d12bb429ff
|
Removed unnecessary log details from server.js
|
2024-06-27 06:43:49 +01:00 |
|
Benjamin Arntzen (aider)
|
a5a4e0d1f6
|
Improved log processing by adding index logging, client count logging, and client address logging when sending events.
|
2024-06-27 06:42:59 +01:00 |
|
Benjamin Arntzen (aider)
|
2c7c2af3e2
|
Improved log parsing and processing, removed unnecessary console logs.
|
2024-06-27 06:41:57 +01:00 |
|
Benjamin Arntzen (aider)
|
8a7c70ae94
|
Added WebSocket event listeners and improved logging for sending data to clients.
|
2024-06-27 06:40:38 +01:00 |
|
Benjamin Arntzen (aider)
|
7ef10629e6
|
Implemented log parsing and processing logic in server.js
|
2024-06-27 06:39:35 +01:00 |
|
Benjamin Arntzen (aider)
|
95496f1770
|
Added new nodes with circle shape and grey color, updated node color to green when receiving a message, and reverted node color to grey after 500ms.
|
2024-06-27 06:37:12 +01:00 |
|
Benjamin Arntzen (aider)
|
983acc8158
|
Added logging and edge management functionality to the app.js file.
|
2024-06-27 06:35:24 +01:00 |
|
Benjamin Arntzen
|
cfec277082
|
Added a new WebSocket-based real-time visualization of network nodes and edges.
|
2024-06-27 06:35:23 +01:00 |
|
Benjamin Arntzen (aider)
|
18aefb11f0
|
Created a new app.js file and updated the server.js file to track new nodes and cache their IDs.
|
2024-06-27 06:34:30 +01:00 |
|
Benjamin Arntzen
|
6e12876a56
|
Added path module and updated static file serving to use path.join()
|
2024-06-27 06:34:29 +01:00 |
|
Benjamin Arntzen (aider)
|
d34a8d290c
|
Replaced the manual node creation with a Vis.js network visualization.
|
2024-06-27 06:33:37 +01:00 |
|
Benjamin Arntzen (aider)
|
6afb53a200
|
Implemented POST request with form-encoded data and headers for improved compatibility with the API endpoint.
|
2024-06-27 06:31:45 +01:00 |
|
Benjamin Arntzen
|
0dfec3f48c
|
Reduced the time range for the log query from 5 seconds to 4 seconds.
|
2024-06-27 06:31:44 +01:00 |
|
Benjamin Arntzen (aider)
|
6794d7e0b4
|
Improved log parsing by handling escaped quotes and skipping empty lines.
|
2024-06-27 06:30:20 +01:00 |
|
Benjamin Arntzen (aider)
|
2372cc8a70
|
Implemented robust log parsing to handle invalid JSON entries in the log file.
|
2024-06-27 06:28:58 +01:00 |
|
Benjamin Arntzen (aider)
|
86c480566f
|
Replaced HTTP request with file read to load logs in debug mode.
|
2024-06-27 06:28:19 +01:00 |
|
Benjamin Arntzen (aider)
|
25d4c41d88
|
Improved error handling and logging in the server.js file.
|
2024-06-27 06:27:09 +01:00 |
|
Benjamin Arntzen
|
d33ac0d2ed
|
Enabled debug mode and added support for loading logs from a local file.
|
2024-06-27 06:27:08 +01:00 |
|
Benjamin Arntzen
|
dd76a2d749
|
Added support for a debug mode that queries logs for a specific timestamp.
|
2024-06-27 06:26:54 +01:00 |
|
Benjamin Arntzen
|
fe0ec530e4
|
Added a new Markdown file for TASK-1 in the visualiser project.
|
2024-06-27 06:25:50 +01:00 |
|
Benjamin Arntzen (aider)
|
ffb1d786df
|
Update query timestamp in axios post request to fetch specific data.
|
2024-06-27 06:14:59 +01:00 |
|
Benjamin Arntzen (aider)
|
32a5564aa3
|
Implemented error handling for parsing log data and extracted valid logs from the response.
|
2024-06-27 06:10:25 +01:00 |
|
Benjamin Arntzen (aider)
|
c90102f970
|
Improved error handling for parsing log data in the server.js file.
|
2024-06-27 06:09:38 +01:00 |
|
Benjamin Arntzen (aider)
|
c96ebf3ef0
|
Refactor response data parsing to use a more descriptive variable name.
|
2024-06-27 06:07:30 +01:00 |
|
Benjamin Arntzen (aider)
|
e3f5c33a04
|
Refactored error handling for parsing log lines in server.js.
|
2024-06-27 06:07:09 +01:00 |
|
Benjamin Arntzen (aider)
|
6cbac289ae
|
Parse response data before logging problematic log line.
|
2024-06-27 06:06:35 +01:00 |
|
Benjamin Arntzen (aider)
|
d8af619ca5
|
Remove unnecessary console log statements.
|
2024-06-27 06:05:21 +01:00 |
|
Benjamin Arntzen (aider)
|
3d322ff8e2
|
Add logging for received log and node ID in WebSocket message handler.
|
2024-06-27 06:04:41 +01:00 |
|
Benjamin Arntzen (aider)
|
68a9d10ee7
|
Parse response data and handle parsing errors in server.js.
|
2024-06-27 06:02:12 +01:00 |
|
Benjamin Arntzen (aider)
|
33cba566fa
|
Parse response data before accessing logs.
|
2024-06-27 06:01:41 +01:00 |
|
Benjamin Arntzen (aider)
|
ce9589a87a
|
Add logging for full response from API call in server.js.
|
2024-06-27 06:00:48 +01:00 |
|
Benjamin Arntzen (aider)
|
a93d7f15a1
|
Refactored logic to send log data to WebSocket clients only if not already cached.
|
2024-06-27 06:00:24 +01:00 |
|
Benjamin Arntzen
|
4b7a032edf
|
Removed unnecessary comment about assuming log contains nodeId.
|
2024-06-27 06:00:23 +01:00 |
|
Benjamin Arntzen
|
4de54c9e06
|
Refactor error handling in log querying.
|
2024-06-27 06:00:05 +01:00 |
|
Benjamin Arntzen
|
de80c1a849
|
Refactored error handling in log querying.
|
2024-06-27 06:00:00 +01:00 |
|
Benjamin Arntzen
|
fd43082ff5
|
Refactored log data processing and broadcasting to clients.
|
2024-06-27 05:59:54 +01:00 |
|
Benjamin Arntzen (aider)
|
1b92f79685
|
Update logs variable to access data property in response.
|
2024-06-27 05:59:00 +01:00 |
|
Benjamin Arntzen (aider)
|
3082c6a3d2
|
Refactored log processing to handle non-array responses.
|
2024-06-27 05:58:10 +01:00 |
|
Benjamin Arntzen (aider)
|
8f61cc0c15
|
Added package.json, index.html, and server.js for a Waku node visualizer with WebSocket communication.
|
2024-06-27 05:57:10 +01:00 |
|
Benjamin Arntzen
|
21bf2edd92
|
Fixed a bug causing logs not to be processed correctly.
|
2024-06-27 05:54:55 +01:00 |
|
Benjamin Arntzen
|
2f7041d272
|
Fixed indentation issue in the loop iterating over logs.
|
2024-06-27 05:54:38 +01:00 |
|
Benjamin Arntzen
|
72e5ab8d8d
|
Refactored HTML and added a new module import in main.go.
|
2024-06-27 05:54:31 +01:00 |
|
Benjamin Arntzen
|
44b263fb66
|
Fix iteration over logs in fetchLogs method.
|
2024-06-27 05:54:16 +01:00 |
|
Benjamin Arntzen
|
0bf5b0e853
|
Initialize context in NewApp function and fix indentation issue in fetchLogs function.
|
2024-06-27 05:54:10 +01:00 |
|
Benjamin Arntzen
|
2ee75bb76f
|
Add context initialization in NewApp and process logs in fetchLogs.
|
2024-06-27 05:54:03 +01:00 |
|
Benjamin Arntzen
|
58a3c5fa7b
|
Remove unused import statement.
|
2024-06-27 05:53:57 +01:00 |
|
Benjamin Arntzen (aider)
|
0025f3a799
|
Move app struct and methods to app.go.
|
2024-06-27 05:52:18 +01:00 |
|
Benjamin Arntzen (aider)
|
24c2e4a37f
|
App struct and methods moved to app.go.
|
2024-06-27 05:52:01 +01:00 |
|