Commit Graph
50 Commits
Author SHA1 Message Date
Raven Scott 5559c9096d Skip migration if its completed 2026-05-28 00:26:32 -04:00
Raven Scott 7b1983cd81 Bump file.drop and peer.paste 2026-05-28 00:21:56 -04:00
Raven Scott 8eb2bc5946 automatic db migrations on version bump 2026-05-28 00:19:43 -04:00
Raven Scott aac69de4cf Updates peer.paste 2026-05-28 00:03:52 -04:00
Raven Scott 60d17a7b91 Update docs peer.paste 2026-05-27 23:58:04 -04:00
Raven Scott 345dbf2156 visual polish peer.paste 2026-05-27 23:54:46 -04:00
Raven Scott aebbdd43ed Updates peer.paste 2026-05-27 23:49:13 -04:00
Raven Scott 22d9926c52 E2EE syntax highlight peer.paste 2026-05-27 23:45:55 -04:00
Raven Scott 371fce2847 Updates peer.paste 2026-05-27 23:43:05 -04:00
Raven Scott 55b7547b3a peer paste syntax highlight viewer 2026-05-27 23:39:43 -04:00
Raven Scott 0ab92f1922 updates for peer.paste 2026-05-27 23:36:49 -04:00
Raven Scott 01dc6a5221 Auto detect lang - peer.paste 2026-05-27 23:33:36 -04:00
Raven Scott 16e33c02c4 Updates peer.paste 2026-05-27 23:29:04 -04:00
Raven Scott 206493ecd4 bump 2026-05-27 23:23:20 -04:00
Raven Scott b168342fea fixes for peer.paste 2026-05-27 23:23:05 -04:00
Raven Scott 996969de19 Fix DB peer.paste 2026-05-27 23:20:35 -04:00
Raven Scott 83b7f210a3 Update Peer.paste 2026-05-27 23:18:05 -04:00
Raven Scott bf911b5cdc Update peer.paste 2026-05-27 23:15:26 -04:00
Raven Scott 30153bf958 peer paste updates 2026-05-27 23:08:45 -04:00
Raven Scott 1974145b79 Bump Peer.paste 2026-05-27 22:59:49 -04:00
Raven Scott c7ecffd3e4 Paste Bump DB 2026-05-27 22:56:33 -04:00
Raven Scott e901dea9ee E2EE for peer.paste 2026-05-27 22:55:37 -04:00
Raven Scott 7b4e1a2391 Updates 2026-05-27 22:49:04 -04:00
Raven Scott 8b6789805c Update peer.paste 2026-05-27 22:34:35 -04:00
Raven Scott e802bbcf64 Introduce peer.paste 2026-05-27 22:23:30 -04:00
Raven Scott 1d1bf83e2b Updates to Holesail 2026-05-27 21:55:25 -04:00
Raven Scott d57433d3e0 Modernize Holepunch stack for HyperDB 6 and current replication APIs
Align P2NS with current Autopass, Hypercore, Hyperdrive, and Protomux behavior:
add plugin DB recovery for incompatible persisted HyperDB data, stop
unconditional spec rebuilds via fingerprinting, update SDK replication paths,
and align proxy invite channels with p2ns.core-* protocols without replicating
Autopass over the p2ns topic.
2026-05-27 21:02:17 -04:00
Raven Scott bcdc912b77 Version Update 2026-05-27 20:44:17 -04:00
Raven Scott bfc51b8edb Upgrade Holepunch P2P stack and npm dependencies
Align p2ns with current Holepunch ecosystem versions: autopass 3,
hyperdb 6, hyperschema 1.21, hyperdrive 13, corestore 7.10, hyperswarm
4.17, protomux 3.11, and compact-encoding 3 (with npm overrides).
Also bump Tailwind/PostCSS, ws, node-forge, and related tooling; add
express and holesail-logger; remove unused install/npm packages.

Use cache/plugin-spec when plugin spec dirs are not writable, and
update docs and proxy install notes. Rebuild admin CSS for Tailwind 4.3.

Existing P2P storage must be wiped (--clean) after upgrading.
2026-05-27 19:33:06 -04:00
snxraven 8d0efde1cc revert 6499e745d7
revert first commit
2025-12-31 03:50:46 -05:00
Raven Scott 6499e745d7 first commit 2025-12-31 03:19:10 -05:00
Raven Scott 6ba275be33 first commit 2025-12-30 18:00:39 -05:00
Raven Scott 425b968db5 Fix: Use fs.promises for async file ops in admin domains route
Replaced callback-based fs methods with promise-based fsp methods to fix
the "cb argument must be of type function" error when adding domains.
2025-12-28 00:59:50 -05:00
Raven Scott e8f920a7aa fix: prevent corestore corruption during graceful shutdown
- Reorder cleanup sequence to close HTTP/TLS/DNS servers BEFORE corestore operations
- Move dnsPass/main corestore closing after plugin cleanup to prevent race conditions
- Add explicit drive cleanup call to close all plugin drive stores
- Fix proxy-server cleanup to properly close state.store after dnsPass
- Add store.closed checks and improve error handling in cleanup functions
- Verify Autopass dnsPass.close() handles its internal corestore properly
- Remove duplicate DNS server closing code causing syntax errors

This resolves "Corestore is closed" errors during shutdown by ensuring no new
requests can access closed corestores, preventing corruption and ensuring clean
shutdown of all corestore instances (main, plugin databases, plugin drives, dnsPass).
2025-12-26 22:34:54 -05:00
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