Commit Graph

297 Commits

Author SHA1 Message Date
Sudo-Ivan 99c8775963 Add retry functionality for failed messages in ConversationViewer and enhance message handling in MessagesPage 2026-03-10 04:26:43 -05:00
Sudo-Ivan dde04426df Code Cleanup 2026-03-09 15:28:32 -05:00
Sudo-Ivan ae1ced57b9 Add discovered interfaces feature to NetworkVisualiser component 2026-03-09 14:06:23 -05:00
Sudo-Ivan 8be8faee2f Swap 'contacts' and 'nomad network' links in the sidebar for improved navigation clarity 2026-03-09 14:05:56 -05:00
Sudo-Ivan 247502e6ca Add time ago functionality to MessagesSidebar component 2026-03-09 12:36:33 -05:00
Sudo-Ivan 0000ab15f0 Remove disconnected animation logic and related properties from InterfacesPage component 2026-03-09 12:36:24 -05:00
Sudo-Ivan c206ee480d Remove bounce animation 2026-03-09 12:36:19 -05:00
Sudo-Ivan c2df972c3a Refactor error handling in PageNodesPage component 2026-03-09 12:10:35 -05:00
Sudo-Ivan b528c12727 Fix partial page loading with fields and auto-refresh
NomadNet partials can include field data in their syntax.
- PARTIAL_LINE_REGEX updated to capture optional fields group
- WebSocket handler allows partial responses when callback registered
- Strip field_ prefix before send to avoid double-prefixing
- Partial DOM updates via innerHTML instead of Vue reactivity

Co-Authored-By: torlando-tech <torlando-tech@users.noreply.github.com>
2026-03-09 12:10:26 -05:00
Sudo-Ivan 443dd5e2c6 Update version to 4.3.0 2026-03-06 19:42:54 -06:00
Sudo-Ivan 824d84e3ac Implement PageNodeManager for managing page nodes
- Updated the version in `__init__.py` and `version.py` to 4.3.0.
- Introduced `PageNodeManager` to handle the lifecycle of page nodes, including creation, deletion, and management of their state.
- Added API endpoints for listing, creating, retrieving, deleting, starting, stopping, and announcing page nodes.
- Improved the frontend with a new `PageNodesPage` component for managing page nodes and integrated publishing functionality in the `MicronEditorPage`.
2026-03-06 19:42:35 -06:00
Sudo-Ivan 1944397382 Remove status indication 2026-03-06 15:58:22 -06:00
Sudo-Ivan f335044ad3 Add stranger protection features and related UI enhancements
- Updated NotificationBell to handle additional notification types for missed calls and voicemails.
- Added buttons in CallPage for messaging and calling contacts directly from call history.
- Enhanced ContactsPage with context menu options for messaging and calling contacts.
- Introduced a stranger trust banner in ConversationViewer to inform users about non-contacts and provide options to add them.
- Implemented settings in SettingsPage to block attachments and messages from strangers, with corresponding configuration updates.
2026-03-06 15:49:42 -06:00
Sudo-Ivan ae4dfa1d8a Add localization for stranger protection features
- Added new strings for managing attachments and messages from unknown peers in German, English, Italian, and Russian.
- Included descriptions and options for blocking attachments and messages from strangers.
- Updated user interface text to inform users about the handling of messages from non-contacts.
2026-03-06 15:49:32 -06:00
Sudo-Ivan 8661711898 Add configuration options to block attachments and messages from strangers
- Introduced settings to block attachments and messages from non-contacts.
- Updated message handling to strip attachments from strangers if configured.
- Enhanced database schema to include a new column for tracking stripped attachments.
- Updated relevant methods and database queries to accommodate new configurations.
2026-03-06 15:49:23 -06:00
Sudo-Ivan 1653553518 Refactor crash recovery diagnostics and remove unused curvature calculations
- Simplified diagnostic output by renaming "Probabilistic Root Cause Analysis" to "Root Cause Analysis".
- Removed unused methods and calculations related to manifold curvature.
- Updated tests to reflect changes in diagnostic output and removed obsolete assertions.
2026-03-06 12:16:56 -06:00
Sudo-Ivan f10a29d21a Improve crash recovery and monitoring capabilities. 2026-03-06 12:03:50 -06:00
Sudo-Ivan 83716134d8 Improve error handling and validation in IntegrityManager and CrashRecovery
- Added exception handling for database path resolution in IntegrityManager to ensure robustness against invalid paths.
- Implemented latitude clamping in MapManager to restrict values within valid geographical limits.
- Improved Kullback-Leibler Divergence documentation in CrashRecovery for clarity on its application to Bernoulli distributions.
2026-03-06 11:38:18 -06:00
Sudo-Ivan 4fb50f412e Improve message retrieval and database operations
- Implemented pagination for message export in the maintenance API to handle large datasets efficiently.
- Set default limit values for message queries in MessageHandler and AnnounceDAO to improve consistency.
- Added a busy timeout pragma in the database initialization to manage lock contention.
- Refactored batch insert operations in MessageDAO for improved performance and readability.
2026-03-06 03:54:36 -06:00
Sudo-Ivan bc8969ab16 Improve database performance and SQL handling
- Introduced SQLite pragma tuning in the Database initialization for improved performance.
- Wrapped multiple database operations in transactions to optimize batch processing in MessageDAO.
- Updated DatabaseSchema to version 39, adding new indexes for better query performance.
- Improved test coverage for batch operations and SQL injection scenarios in the DAO layer.
2026-03-06 03:26:36 -06:00
Sudo-Ivan 9d7ae2017b Add SQL injection prevention measures in database migration and schema validation
- Implemented identifier validation regex in legacy migrator and schema.
- Enhanced database path handling to escape single quotes during ATTACH DATABASE.
- Added tests for SQL injection scenarios, ensuring robustness against malicious inputs.
- Introduced fuzz tests for DAO layers to cover edge cases and improve overall test coverage.
2026-03-06 03:08:28 -06:00
Sudo-Ivan 216185c40e Add overlay style stripping functionality in MicronParser and enhance event handling in NomadNetworkPage 2026-03-06 02:19:17 -06:00
Sudo-Ivan 499caf43a4 Increase button size in IconButton component for improved usability 2026-03-06 02:17:31 -06:00
Sudo-Ivan b255dbb03e Update version to 4.2.1 in __init__.py and version.py for consistency 2026-03-06 01:25:15 -06:00
Sudo-Ivan 44e1768fd4 Refactor IdentitiesPage component for improved readability and functionality
- Simplified the structure of the skeleton loading elements for better clarity.
- Enhanced the import/export button click handling for improved readability.
- Updated test case descriptions to reflect the functionality of showing import and export options when identities exist.
2026-03-06 01:11:40 -06:00
Sudo-Ivan 9dee9b0662 Add identity export functionality with ZIP compression
- Implemented a new API endpoint to export all identities as a ZIP file.
- Added a method in IdentityManager to retrieve all identity backup bytes for export.
- Enhanced error handling for the export process to provide user feedback in case of failures.
2026-03-06 01:02:36 -06:00
Sudo-Ivan d8a3076d1a Improve About and Identities Pages with Improved Styling and Functionality
- Updated the AboutPage component to conditionally apply classes based on integrity issues, improving visual feedback.
- Refined the styling of the IdentitiesPage header and buttons for better user experience, including new import functionality and improved layout.
- Enhanced accessibility and responsiveness of buttons and text elements across both components.
2026-03-06 01:02:29 -06:00
Sudo-Ivan 5191ba34e2 Add localization for import and export identity features
- Added new keys for importing and exporting identities in German, English, Italian, and Russian localization files.
- Included hints for users on how to upload key files or paste identity keys, enhancing user experience in identity management.
2026-03-06 01:02:15 -06:00
Sudo-Ivan 546f141e4f Update Contacts and Identity Management Features
- Updated the identities API to include message counts for current identities.
- Modified the contacts API to return total contact counts for pagination.
- Refactored database queries to use asynchronous calls for improved performance.
- Added a new method to count contacts based on search criteria.
- Simplified the get_interfaces method in CommunityInterfacesManager.
2026-03-06 00:37:58 -06:00
Sudo-Ivan 9053234391 Add routing for Contacts page in main.js
- Introduced a new route for the Contacts page, allowing users to navigate to the contacts management component.
2026-03-06 00:37:47 -06:00
Sudo-Ivan 1ed9d0d611 Add localization for Contacts management 2026-03-06 00:36:58 -06:00
Sudo-Ivan d8d147581c Implement Contacts Page and Improve Identity Management Features
- Added a new ContactsPage component for managing and displaying user contacts.
- Introduced a sidebar link to navigate to the Contacts page.
- Updated identity management features in IdentitiesPage, including options to export, copy, and upload identity keys.
- Enhanced identity restoration process with improved user feedback and error handling.
- Refactored existing components to streamline contact fetching and display logic.
2026-03-06 00:36:38 -06:00
Sudo-Ivan fa98acbab0 Refactor CommunityInterfacesManager to remove health check functionality and simplify interface retrieval. Update tests to reflect static interface list behavior. 2026-03-05 22:12:30 -06:00
Sudo-Ivan 3e5fab8d30 Update button label from "Download" to "Save" and localize changes in English, German, Italian, and Russian translations. 2026-03-05 22:12:20 -06:00
Sudo-Ivan 031977c1f7 Add DOMPurify to main.js for improved HTML sanitization 2026-03-05 21:59:59 -06:00
Sudo-Ivan 9b5bb4b424 Update version to 4.2.0 2026-03-05 21:34:25 -06:00
Sudo-Ivan 6c216290fc add eslint directive to suppress warning for non-literal regex construction. 2026-03-05 16:13:52 -06:00
Sudo-Ivan dcabb73f7d code cleanup 2026-03-05 16:02:16 -06:00
Sudo-Ivan 92be2e4304 Add database backup health checks and anomaly detection 2026-03-05 16:02:08 -06:00
Sudo-Ivan 2f84f639b8 Add database health warning notifications 2026-03-05 16:01:25 -06:00
Sudo-Ivan c0e154c886 Improve database health checks in IdentityContext: add checks for database integrity and health issues during setup and closure, updating app state accordingly. 2026-03-05 16:00:13 -06:00
Sudo-Ivan eea0bf33b5 Add discovery whitelist and blacklist fields to AddInterfacePage and InterfacesPage components; implement corresponding data handling in the component state and API responses. 2026-03-05 15:59:56 -06:00
Sudo-Ivan cff6621929 Add support for Micron partials 2026-03-05 15:17:12 -06:00
Sudo-Ivan fb6857f8c7 Implement partial content handling in NomadNetworkPage: add methods for processing and clearing partials, enhance page rendering with dynamic updates, and adjust MicronParser integration for improved content management. 2026-03-05 15:16:51 -06:00
Sudo-Ivan 2e242899dd Improve LXMF message handling by incorporating reply_quoted_content in message sending and rendering logic 2026-03-05 15:16:45 -06:00
Sudo-Ivan 39ef2323ff Add handling for reply_quoted_content in LXMF message parsing to support quoted replies 2026-03-05 15:16:33 -06:00
Sudo-Ivan fc3a5a58e3 Improve AudioWaveformPlayer component: adjust height, improve waveform rendering for dark mode, and implement MutationObserver for responsive updates 2026-03-05 15:16:25 -06:00
Sudo-Ivan 09d8f64c9c Add ESLint disable comments for regex patterns in MarkdownRenderer.js to address security concerns 2026-02-23 19:53:01 -06:00
Sudo-Ivan ac018a07ef Add ESLint disable comments for regex patterns in DocsPage.vue and ConversationViewer.vue to address security concerns 2026-02-23 19:52:38 -06:00
Sudo-Ivan a2e91d8e86 cleanup frontend (format) 2026-02-23 19:43:01 -06:00