Giuseppe Raffa
924c2b5367
refactor: implement centralized auth middleware and standardize cross-subdomain session management
2026-04-21 22:17:48 +02:00
Giuseppe Raffa
b6c2a7e904
Add initial KioskCore and API endpoint for data analysis
...
- Created a new CSS file for kiosk styles, defining variables, typography, and layout for cards and toolbars.
- Implemented new routes for data anlaysis page
2026-04-18 12:32:32 +02:00
Giuseppe Raffa
ef62bb5da0
fix: update database configuration to include default values for user, password, host, and port
2026-04-16 15:42:31 +02:00
Giuseppe Raffa
981f498eb7
feat: update session handling and add session history endpoint
2026-04-16 15:37:10 +02:00
Giuseppe Raffa
5912c00a82
refactor: remove rules endpoint and related logic
...
- Deleted the rules routes and associated logic from the API.
- Removed rules-related functionality from params.sensor.js.
- Updated dashboard and rulesets HTML to remove references to rulesets.
- Removed force update button and related functionality from rulesets page.
- Cleaned up styles related to the force update button.
- Removed unused WebSocket client example.
- Updated realtime server to eliminate rules pushing logic.
- Refactored WebSocket handler to streamline data processing.
2026-04-16 14:27:27 +02:00
Giuseppe Raffa
edd7226966
feat: add support for later forecasts and implement force update functionality for rules
2026-04-16 08:14:10 +02:00
Giuseppe Raffa
370f911063
feat: implement CORS support and update API_URL in environment configuration
2026-04-15 23:40:08 +02:00
Giuseppe Raffa
3094c06467
Add Rulesets page with HTML structure and CSS styles
...
- Created a new HTML file for the Rulesets page, including a header, toolbar, rules grid, and rule detail popup.
- Implemented JavaScript functionality for loading, filtering, sorting, and managing rules.
- Added CSS styles for the layout, components, and responsive design of the Rulesets page.
2026-04-15 08:06:29 +02:00
Giuseppe Raffa
c9402de2e4
fix: update exposed port in Dockerfile from 3002 to 3000
2026-04-14 20:20:28 +02:00
Giuseppe Raffa
bf66845528
feat: add CORS support and enhance session routes for better sensor management
2026-04-14 19:39:26 +02:00
Giuseppe Raffa
137c6131c3
feat: implement WebSocket server for real-time sensor data handling and add sensor status update routes
2026-04-14 19:05:37 +02:00
Giuseppe Raffa
a34048ae6b
fix: update sensors route to correctly pass database name to query function
2026-04-14 18:13:07 +02:00
Giuseppe Raffa
81e6e1960d
fix: refactor database connection configuration to use baseConfig
2026-04-14 18:10:03 +02:00
Giuseppe Raffa
59f7135b61
debug: adds a debug log to fix password environment variable problem
2026-04-14 18:09:08 +02:00
Giuseppe Raffa
d17c78f42a
fix: correct database password environment variable reference
2026-04-14 17:59:53 +02:00
Giuseppe Raffa
ea4af13840
fix: correct database password environment variable reference
2026-04-14 17:58:42 +02:00
Giuseppe Raffa
a19c6988f4
fix: update database password environment variable and correct sensors database name
2026-04-14 17:57:55 +02:00
Giuseppe Raffa
2bbc5e0320
feat: add database configuration logging for improved visibility
2026-04-14 17:55:55 +02:00
Giuseppe Raffa
b6b1ed7a2b
feat: implement sensor connection endpoint and add pending tokens route
2026-04-14 17:45:40 +02:00
Giuseppe Raffa
a79ab2af38
feat: add Redis integration, enhanced health checks and fixed an error in the database core
2026-04-14 17:11:24 +02:00
Giuseppe Raffa
d79c12b6e9
feat: implement sensor connection and health check endpoints
2026-04-14 17:05:24 +02:00
Giuseppe Raffa
c478f5c13c
reset: removed the old code to start from scratch
2026-04-14 15:56:24 +02:00
Giuseppe Raffa
c597d4a414
fix: refactor verifyClient to use promise instead of async/await for token validation
2026-04-14 15:49:22 +02:00
Giuseppe Raffa
82310a521f
fix: add logging for URL and token in WebSocket client verification
2026-04-14 15:47:40 +02:00
Giuseppe Raffa
32de4b1441
fix: update database name in connection pool configuration
2026-04-14 15:11:13 +02:00
Giuseppe Raffa
8fe514ed14
fix: add missing password configuration for Redis clients
2026-04-14 15:09:31 +02:00
Giuseppe Raffa
8b5937fa19
refactor: update WebSocket server setup and improve session handling
2026-04-14 15:04:10 +02:00
Giuseppe Raffa
1044837080
feat: configure realtime services and update environment variables
2026-04-14 13:23:26 +02:00
Giuseppe Raffa
14c29b1434
added env examples for the services
2026-04-14 11:43:08 +02:00
Giuseppe Raffa
473eb9015f
feat: export initDB function in authdb helper module
2026-04-06 11:50:10 +02:00
Giuseppe Raffa
f785fbedca
feat: initialize sensors database table and index on server startup
2026-04-06 11:47:54 +02:00
Giuseppe Raffa
e65f2ba3a0
refactor: update database environment variable references and fix syntax in auth helper
2026-04-06 11:44:17 +02:00
Giuseppe Raffa
98eefcacdc
refactor: update database environment variables to use generic naming convention
2026-04-06 11:39:48 +02:00
Giuseppe Raffa
e0b51836be
chore: move database and redis connection logs from auth helper to health check endpoint
2026-04-04 12:20:47 +02:00
Giuseppe Raffa
73aaa63717
feat: add debug logging for database connection environment variables in authdb
2026-04-04 12:18:48 +02:00
Giuseppe Raffa
b31a04b1a7
feat: implement comprehensive health check endpoints for API, Auth, and Realtime services to monitor database, Redis, MinIO, and InfluxDB connectivity.
2026-04-04 12:10:00 +02:00
Giuseppe Raffa
ba6941fd2a
chore: bind servers to 0.0.0.0 to allow external network access
2026-03-31 20:07:54 +02:00
Giuseppe Raffa
33b9be13de
refactor: standardize database environment variables to POSTGRES prefix and update gitignore with common development patterns
2026-03-28 16:05:11 +01:00
Giuseppe Raffa
bcfce32adb
feat: initialize microservice architecture with auth, api, realtime, copernicus, ml, and console modules
2026-03-28 15:29:34 +01:00