Commit Graph

54 Commits

Author SHA1 Message Date
dmduran12 2ab4a62011 feat(api): Add POST /api/update_radio_config endpoint
Adds a new endpoint to update radio and repeater configuration via HTTP API,
supporting both persisted storage and live in-memory updates.

Supported settings:
- Radio: tx_power (2-30 dBm)
- Delays: tx_delay_factor, direct_tx_delay_factor, rx_delay_base
- Repeater: node_name, latitude, longitude, max_flood_hops,
  flood_advert_interval_hours, advert_interval_minutes

Features:
- Validates all input parameters with appropriate ranges
- Saves to config.yaml for persistence
- Updates daemon's in-memory config for immediate effect (no restart needed)
- Returns live_update status so clients know if restart is required

This enables web dashboards like pyMC Console to configure the repeater
without requiring SSH access or service restarts for most settings.

Co-Authored-By: Warp <agent@warp.dev>
2025-12-27 19:47:49 -08:00
Lloyd 6d82936987 add LBT stats to Packet table and details screen 2025-12-21 21:41:15 +00:00
Lloyd dbe925e26a update to GUI for room server 2025-12-18 22:16:58 +00:00
Lloyd d321612670 Add node name lookup by public key and enhance CORS handling in API endpoints 2025-12-18 21:26:31 +00:00
Lloyd c98a33eda5 Refactor security configuration handling: update LoginHelper to retrieve security settings from the correct config path and adjust max_clients default value; modify APIEndpoints to ensure distinct admin and guest passwords, and enhance identity key validation logic in API responses. 2025-12-18 15:02:23 +00:00
Lloyd ccc908ce32 Update server message handling: use room server's public key for system messages and improve identification for clients 2025-12-18 13:35:22 +00:00
Lloyd 1dc6b59c39 Enhance API documentation: rename packet history endpoint, improve ACL info response structure, and update descriptions for clarity 2025-12-18 12:54:48 +00:00
Lloyd 36a730f656 Refactor Swagger UI integration: load HTML template from file and remove inline styles 2025-12-18 12:28:50 +00:00
Lloyd 8ee83d70c7 Add ACL endpoints for managing access control lists and client information 2025-12-18 12:22:01 +00:00
Lloyd c08d72a247 Remove custom styling for the Swagger UI topbar in API documentation 2025-12-18 12:10:43 +00:00
Lloyd f068ca5db2 API documentation: update OpenAPI spec with new endpoints for packet statistics, noise floor history, CAD calibration, and room messaging; improve response schemas and descriptions 2025-12-18 12:06:21 +00:00
Lloyd 289922e91b Update OpenAPI spec: add new endpoints for duty cycle management and room message retrieval, enhance existing paths with detailed descriptions and examples 2025-12-18 11:40:42 +00:00
Lloyd 59a34205cd Encode OpenAPI spec and error messages in UTF-8 for proper response handling 2025-12-18 11:23:35 +00:00
Lloyd 9cd98cd7ad Add room server messaging endpoints and database functions
- Implemented functions to retrieve, post, delete, and clear messages in room servers.
- Added API endpoints for room message retrieval, posting, and management.
- added OpenAPI documentation to include new room server functionalities.
2025-12-18 11:21:38 +00:00
Lloyd 57047cf652 update ui with room server 2025-12-17 22:45:27 +00:00
Lloyd 174c1309fc identity management: update security handling in room servers to use settings section and improve identity key update logic 2025-12-17 22:30:36 +00:00
Lloyd d85244b7e0 Enhance identity management: consolidate registration logic and add auto-generation for identity keys 2025-12-17 22:09:18 +00:00
Lloyd 73d5250560 Add identity management endpoints for API 2025-12-16 22:58:14 +00:00
Lloyd f37f3e6caf conditional Vue.js assets in HTTPStatsServer 2025-12-16 10:08:10 +00:00
Lloyd 4efa12477e Add support for custom web frontend path 2025-12-16 10:00:11 +00:00
Lloyd 3de7dfefa6 Neighbors ui update add filters 2025-12-08 22:30:00 +00:00
Lloyd 377f3961dd - UI fix time formating on dashboard
- UI fix mobile menu hide on advert
2025-12-07 21:23:47 +00:00
Lloyd d9a0af0ad1 Update mobile responce design 2025-12-02 23:15:53 +00:00
Lloyd 18488e09a1 Add SVG asset for meshcore graphic and tweak neighbors map and display 2025-11-30 23:22:07 +00:00
Lloyd ed04c840d2 add frontend system stats and nav 2025-11-29 23:46:29 +00:00
Lloyd 52e4f6bef5 add hardware statistics collection to StorageCollector and API endpoints 2025-11-29 23:03:15 +00:00
Lloyd 748ecf33b3 hardware statistics integrate with storage collector 2025-11-29 22:42:15 +00:00
Lloyd 330d97d862 add hardware statistics collection and new API endpoints for hardware stats 2025-11-29 22:13:53 +00:00
Lloyd 5bac5aba97 fix installer/upgrade sh 2025-11-28 22:50:39 +00:00
Lloyd 94f12a399d bump version beta 1 2025-11-27 22:14:37 +00:00
Lloyd 9d98aeb1df add clusters to map and tidy table 2025-11-26 22:28:13 +00:00
Lloyd 0184cdd325 added remove nodes from neighbors 2025-11-25 00:08:46 +00:00
Lloyd 788db09b59 feat: add delete advert functionality to SQLiteHandler and API endpoints 2025-11-24 21:27:12 +00:00
Lloyd 34a775925b feat: implement server-level CORS support and cleanup CORS handling in API endpoints 2025-11-24 00:11:32 +00:00
Lloyd 7f00575aa9 feat: implement CORS tool for handling preflight requests and adding headers 2025-11-23 23:03:28 +00:00
Lloyd 7f0a72fdd2 Refactor code structure for improved readability and maintainability 2025-11-23 22:47:43 +00:00
Lloyd 2137e6a1c6 Refactor code structure for improved readability and maintainability 2025-11-22 22:07:46 +00:00
Lloyd 2495f08ab9 Add favicon and index.html for pyMC Repeater Dashboard
- Introduced a favicon.ico file for the application.
- Created index.html with basic structure, including meta tags, links to Google Fonts, and references to JavaScript and CSS assets for the dashboard.
2025-11-22 13:33:19 +00:00
Lloyd 732466eabf feat: enhance global flood policy endpoint to update and save configuration 2025-11-16 22:06:33 +00:00
Lloyd 9e65a02273 feat: add global flood policy configuration and API endpoint for updates 2025-11-16 21:43:35 +00:00
Lloyd deaed4b376 feat: implement transport key generation and update API endpoints for optional transport key handling 2025-11-16 21:37:17 +00:00
Lloyd da4006d230 feat: add transport key management methods and API endpoints 2025-11-16 20:56:29 +00:00
Lloyd 2acd44bcf8 add get_route_stats method to StorageCollector and corresponding API endpoint for packet stats 2025-11-12 07:08:09 +00:00
Lloyd 49de8e5180 add route_stats endpoint and implement get_route_stats method in SQLiteHandler 2025-11-11 20:54:59 +00:00
Lloyd 9f5a459134 feat: update packet_type_graph_data to accept parameters for hours, resolution, and types 2025-11-10 22:13:20 +00:00
Lloyd d1963fc70f feat: add endpoint to retrieve adverts by contact type with optional filters 2025-11-10 20:37:39 +00:00
Lloyd d239911ddf remove old http template server 2025-11-10 09:38:23 +00:00
Lloyd 8614dbc310 feat: add CORS support to API endpoints and update packet type graph data retrieval 2025-11-09 23:28:56 +00:00
Lloyd e9cb384999 fix: simplify parameter handling in packet stats and recent packets endpoints 2025-11-07 22:47:47 +00:00
Lloyd a9b7fe75b1 fix: correct comments for system sections in API endpoints 2025-11-07 17:30:13 +00:00