Commit Graph
16 Commits
Author SHA1 Message Date
Raven Scott 398e042e81 Fix: Support floating point numbers in settings (Consensus Quorum Threshold)
Changed number type settings parsing from parseInt to parseFloat to
properly handle decimal values. Added step="any" attribute to number
inputs in the frontend when the setting has decimal min/max/default
values.

This ensures that Consensus Quorum Threshold and other floating point
settings (like METRICS_SAMPLING_RATE) can accept and save decimal
values like 0.5, 0.67, etc. instead of being truncated to integers.

- Updated includes/admin/admin-backend/routes/settings.js
- Updated includes/admin/routes/settings.js
- Updated includes/admin/admin-frontend/ui/settings.js
2025-12-26 21:20:58 -05:00
Raven Scott c4fd25c17e version bump file.drop 2025-12-26 20:26:27 -05:00
Raven Scott 94c923cc6d feat: add HyperDB replication to file.drop plugin
- Add database watcher to monitor @filedrop/files collection changes
- Implement robust database initialization with retry logic (30 attempts)
- Add replication status checking and logging on startup
- Add peer connection handlers for active replication updates
- Enable real-time database synchronization across P2NS network
2025-12-26 20:21:15 -05:00
Raven Scott bd93b03388 Fix up Automatic Updates via Websocket | peer.directory 2025-12-21 05:14:42 -05:00
snxraven 453e3e4154 revert ba417d537d
revert Remove redunant updates - we dont need them
2025-12-21 04:51:50 -05:00
Raven Scott ba417d537d Remove redunant updates - we dont need them 2025-12-21 04:46:58 -05:00
Raven Scott 93de490353 make peer.directory updates smoother 2025-12-21 04:43:09 -05:00
Raven Scott 4629a7690e Update peer.directory to full websockets with auto updating 2025-12-21 04:36:24 -05:00
Raven Scott 14cd0d98dd allow public holesail keys 2025-12-20 17:03:20 -05:00
Raven Scott 3275f937e8 do not init plugins that are disabled 2025-12-19 22:58:32 -05:00
Raven Scott a3ea306a76 update builder 2025-12-18 02:07:51 -05:00
Raven Scott 1e9115d599 clean up old data 2025-12-17 23:32:42 -05:00
Raven Scott ad4784d05d feat: consolidate utility functions into P2NS Plugin SDK
- Centralized common formatting, DOM, and status utilities in `includes/plugins/sdk.js`
- Created `sdk.utils.format`, `sdk.utils.dom`, and `sdk.utils.status` namespaces
- Refactored `domain.consensus` and `peer.visualize` plugins to use the global SDK
- Updated `plugin-handler` to serve SDK utilities globally via `/sdk-utils.js`
- Enhanced SDK validation by delegating to the core validation infrastructure
- Fixed bugs in metric rendering and missing frontend utility functions
2025-12-17 22:21:58 -05:00
Raven Scott 8a82681054 fixes for invites 2025-12-17 21:18:48 -05:00
Raven Scott 00709cb446 Updates 2025-12-17 20:49:34 -05:00
Raven Scott 742e27d3f7 reorg 2025-12-17 20:05:50 -05:00