Summary
This PR introduces several improvements to FluxOS application management, network status reporting, and system reliability:
Key Features
Apps Collection Reindexing: Automatically reindex apps information on startup if apps don't match messages, ensuring data consistency
UPnP Status Reporting: Added new upnp boolean property to info.flux API endpoint to indicate if the node is running under UPnP configuration
Enhanced Port Management: Updated port checking logic with new portMin/portMax configuration and improved isPortOpenCheck functionality
ArcaneOS Support: Reactivated startMultiPortBench call for ArcaneOS compatibility
Technical Improvements
Database Layer Enhancements:
Improved bulkWriteInDatabase with empty operations handling
Enhanced aggregation functions with cursor support options
Better error handling in collection stats
Removed deprecated MongoDB connection options (useNewUrlParser, useUnifiedTopology)
Testing Infrastructure:
Added HTTP test server utility for improved testing capabilities
Fixed test configurations and updated test suites
Improved handling of EADDRINUSE errors in tests
Frontend Updates:
Added WebCrypto polyfill for better browser compatibility
OpenPGP wrapper utility for cryptographic operations
Rebuilt HomeUI with latest changes
Bug Fixes
Fixed bulk writes handling when operations array is empty
Fixed checkAppAvailability logic from previous v7 merge
Resolved permissions issues on scripts
Fixed UI functionality when HTTPS API is not available
Corrected runningSince message format
Fixed directory deletion to properly handle hidden files while preserving directory
Dependencies
Updated all non-UI packages to latest versions
Downgraded Express to resolve compatibility issues
Testing
All existing tests have been updated and are passing. The changes maintain backward compatibility while improving system reliability.