Commit Graph

672 Commits

Author SHA1 Message Date
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 905a4592be Update READMEs 2026-03-06 02:48:42 -06:00
Sudo-Ivan e234e0eb4d Update README.md 2026-03-06 02:35:51 -06:00
Sudo-Ivan 839e106b10 Refactor Taskfile.yml to simplify Poetry commands by removing Python module prefix 2026-03-06 02:33:00 -06:00
Sudo-Ivan 6d7bbcfc15 Update Node.js version from 22 to 24 in flake.nix for improved compatibility 2026-03-06 02:31:39 -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 def5c2be56 Fix indentation in sync_version.js for error handling of missing version field 2026-03-06 01:27:25 -06:00
Sudo-Ivan 56d219df61 Update app version to 4.2.1 in frontend and backend tests for consistency 2026-03-06 01:25:34 -06:00
Sudo-Ivan 0500c4df15 Add script to sync app version from package.json to version.py 2026-03-06 01:25:29 -06:00
Sudo-Ivan d722ac9994 Update package version to 4.2.1 in PKGBUILD for consistency with other files 2026-03-06 01:25:25 -06:00
Sudo-Ivan aed920c6c3 Update android-build workflow to use Node.js for version synchronization 2026-03-06 01:25:20 -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 2782266ac6 Update package and dependency versions for reticulum-meshchatx to 4.2.1 2026-03-06 01:25:07 -06:00
Sudo-Ivan 6ea5fdfe2b Update package version for reticulum-meshchatx to 4.2.1 in flake.nix 2026-03-06 01:24:52 -06:00
Sudo-Ivan 53c2dcbb2b Improve Identity and Contacts Management Features 2026-03-06 01:24:43 -06:00
Sudo-Ivan 5d3568ae4f code cleanup 2026-03-06 01:13:02 -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 4e991d9251 Refactor message count assignment for current identities 2026-03-06 01:11:32 -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 8615066ce2 Add public key retrieval methods in tests and enhance coverage for LXMA URI handling
- Added `get_public_key` method to mock identity in `test_auto_propagation_api.py`.
- Updated `test_get_config_dict_basic` in `test_meshchat_coverage.py` to assert public key retrieval.
- Introduced new tests for LXMA URI handling in `AppQrUri.test.js` and `ContactsPage.test.js`.
- Enhanced `IdentitiesPage.test.js` to expose current identity details including LXMF address and message count.
- Added routing tests for LXMA contact ingestion in `MessagesPage.test.js`.
2026-03-06 00:36:21 -06:00
Sudo-Ivan e410a6ff34 Update CHANGELOG 2026-03-05 22:12:42 -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 291c3384db Add dompurify dependency to package.json and update pnpm-lock.yaml 2026-03-05 21:59:53 -06:00
Sudo-Ivan 1723f7f6ee Update build workflow to support additional Electron App builds for arm64 architecture and include zip artifacts in release assets. 2026-03-05 21:49:37 -06:00
Sudo-Ivan 9b5bb4b424 Update version to 4.2.0 v4.2.0 2026-03-05 21:34:25 -06:00
Sudo-Ivan 335f466451 Update requirements.txt 2026-03-05 16:39:05 -06:00
Sudo-Ivan 0f60f36f54 code cleanup (format) 2026-03-05 16:18:29 -06:00
Sudo-Ivan 3daf5eb027 remove unused asyncio import from HTTPS/WSS side sniffing test 2026-03-05 16:13:57 -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 0b63931977 code cleanup (format) 2026-03-05 16:01:58 -06:00
Sudo-Ivan 2f84f639b8 Add database health warning notifications 2026-03-05 16:01:25 -06:00
Sudo-Ivan 63776a8b9a Add 4.2.0 2026-03-05 16:00:37 -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 138b1be2fa Add interface discovery filtering capabilities: implement methods for parsing, sanitizing, and matching discovery patterns with whitelist and blacklist support. Update configuration handling to incorporate new fields for interface discovery management. 2026-03-05 16:00:03 -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 3a9f6eb316 Add tests for database backup logic and interface discovery configuration 2026-03-05 15:59:47 -06:00
Sudo-Ivan 2be01988e8 Update Vitest configuration: disable UI and auto-open options for a streamlined testing experience. 2026-03-05 15:24:12 -06:00
Sudo-Ivan 1a37f49d42 Add tests for MicronParser and NomadNetworkPage to validate partial handling, including regex matching, content injection, and state management for partials. 2026-03-05 15:17:19 -06:00
Sudo-Ivan cff6621929 Add support for Micron partials 2026-03-05 15:17:12 -06:00