Commit Graph

74 Commits

Author SHA1 Message Date
Ivan 1b7051a810 feat(tests): add comprehensive tests for memory leak fixes, name overwrite handling, and frontend display name protection; refactor auto propagation tests for clarity 2026-04-13 17:37:06 -05:00
Ivan a59b20c2ce feat(licenses_collector): implement license collection for Python and Node dependencies, including metadata extraction and frontend license handling 2026-04-13 17:35:47 -05:00
Ivan 8aaa770636 refactor(tests): update test selectors 2026-04-12 19:12:24 -05:00
Ivan 92080c17b9 feat(tests): add console patching to suppress specific error messages and update Vitest configuration 2026-04-12 17:41:09 -05:00
Ivan 417b66d0c8 test: improve frontend tests for ConversationViewer and add outbound send queue tests 2026-04-12 17:03:18 -05:00
Ivan fa3b1ff589 chore(codebase): formatting with ruff and eslint/prettier 2026-04-09 14:31:58 -05:00
Ivan 68c8e6e363 fix: validate request bodies and improve error handling in meshchat API endpoints 2026-04-09 04:49:52 -05:00
Ivan bb910f288b feat(notification): improve notification bell with history toggle and improve unread message logic 2026-04-09 03:42:58 -05:00
Ivan c3aa68adb1 feat(nomadnet): implement caching for active links and better download phase tracking in NomadnetDownloader
Also added stats for page load time and size
2026-04-07 15:37:03 -05:00
Ivan e6e26e31cb feat(MicronParser): improve resilience by adding error handling for parse failures and implement HTML escaping for fallback content 2026-04-07 15:11:27 -05:00
Ivan 9f87b01ab6 feat(tests): add unit tests for rnstatus formatting functions and interface discovery utility 2026-04-04 23:32:37 -05:00
Ivan a729e0320f feat(rnpath): RNPathPage with interface discovery and improved search functionality 2026-04-04 23:32:30 -05:00
Ivan 9f8ffbfc9b feat(rnstatus): update RNStatusHandler with new formatting functions and interface discovery integration 2026-04-04 23:32:19 -05:00
Ivan c15af0f9cb feat(interface): add optional discovery fields for latitude, longitude, and height 2026-04-04 23:32:03 -05:00
Ivan bf822b6aba refactor(api): replace axios with window.api for all API calls in frontend components 2026-04-01 02:31:50 +03:00
Ivan 8c37226a98 feat(DebugLogsPage, tests): add tests for debug logs and access attempts tabs, enhancing visibility and functionality in the UI 2026-03-31 06:07:50 +03:00
Ivan d03bdf08ea cleanup 2026-03-31 04:07:41 +03:00
Ivan dead9b0921 test(tests): increase timeout threshold for MicronParser performance test 2026-03-31 00:33:21 +03:00
Ivan 27f3ce9319 feat(frontend): add option to lift banishment from conversation menu and update version to 4.4.0 in tests 2026-03-24 00:41:07 +03:00
Ivan a9a7dd5212 test: community interfaces, hex utils, archives and conversation viewer 2026-03-24 00:39:11 +03:00
Ivan a1a480a153 Refactor test mocks in various components to use function constructors instead of arrow functions for improved compatibility with Vitest 4. 2026-03-22 15:09:17 +03:00
Sudo-Ivan 397c3b303b Refactor i18n tests to dynamically load locale files and ensure all locales have a _languageName property. Update LanguageSelector tests for correct language display order. 2026-03-12 15:44:35 -05:00
Sudo-Ivan 8a362a94be Revert MicronParser.js truecolor support for now 2026-03-12 15:01:48 -05:00
Sudo-Ivan b3ac1a1a68 Add support for fallback truecolor in MicronParser
- Implemented handling for fallback truecolor syntax for foreground and background colors in MicronParser.
- Updated tests to verify compatibility with NomadNet and priority of fallback truecolor over standard 3-character color codes.

https://github.com/RFnexus/micron-parser-js/pull/21
2026-03-11 22:24:40 -05:00
Sudo-Ivan b6c0ac450c Fix database health snapshot functionality and add corresponding tests 2026-03-11 05:32:56 -05:00
Sudo-Ivan 16759f6869 Improve tests for ConversationViewer, DropDownMenu, and UIComponents
- Added mock directives for improved testing of click events in ConversationViewer and UIComponents.
- Updated test assertions to check for menu visibility and content using document queries.
- Refactored button interaction tests in DropDownMenu for clarity and consistency in element selection.
2026-03-11 05:23:29 -05:00
Sudo-Ivan 454fffff61 Add tests for ContactsPage and new ConversationViewer and NomadNetworkSidebar components 2026-03-11 05:13:04 -05:00
Sudo-Ivan 2cb7b9886e Update MicronParser to support truecolor foreground and background colors with new 'FT' and 'BT' formats. Add corresponding unit tests to validate functionality. 2026-03-10 22:00:51 -05:00
Sudo-Ivan 35884c15e2 Bump version to 4.3.1
Made-with: Cursor
2026-03-10 04:35:09 -05:00
Sudo-Ivan 30ef8856dc Add tests for message handling and conversation updates 2026-03-10 04:26:39 -05:00
Sudo-Ivan 5d803da1e2 Code Cleanup 2026-03-09 12:37:16 -05:00
Sudo-Ivan 7dc27f32fd Update performance tests and adjust expectations for rendering times 2026-03-09 12:36:45 -05: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 b001949195 Add comprehensive tests for MicronParser and NotificationBell 2026-03-06 15:50:40 -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 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 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 9b5bb4b424 Update version to 4.2.0 2026-03-05 21:34:25 -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 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 39b8d5fef8 Cleanup
Build Test / Build and Test (push) Failing after 6m1s
CI / lint (push) Failing after 1m27s
CI / build-frontend (push) Failing after 1m30s
CI / test-backend (push) Successful in 1m17s
CI / test-lang (push) Failing after 1m15s
Build and Publish Docker Image / build (push) Failing after 4m28s
Build and Publish Docker Image / build-dev (push) Failing after 5m38s
Security Scans / scan (push) Successful in 2m12s
Tests / test (push) Failing after 1m17s
2026-02-17 17:59:46 -06:00
Sudo-Ivan f776bad9c4 Add unit tests for various frontend components
- Introduced new test files for BlockedPage, DropDownMenu, and Interface components to ensure proper rendering and functionality.
- Enhanced existing tests for ConfirmDialog, MessagesSidebar, and NotificationBell, improving coverage and verifying UI behavior.
- Added performance tests for LoadTimePerformance to measure loading times for large datasets in the PropagationNodesPage and MessagesSidebar.
- Removed the deprecated InterfacesPage test file to streamline the test suite.
2026-02-17 17:48:40 -06:00
Sudo-Ivan 21450c69eb Add AppPropagationSync tests and enhance ConfirmDialog tests
- Introduced a new test suite for App propagation sync metrics, validating toast notifications for sync status.
- Enhanced ConfirmDialog tests to verify heading display and button attributes.
- Added additional tests for FormLabel, FormSubLabel, LanguageSelector, and other components to improve test coverage and ensure proper functionality.
2026-02-14 19:18:37 -06:00
Sudo-Ivan 67fe101554 Improve messaging features and configuration options
- Add more tests
- Fix notifactions
2026-02-01 17:21:03 -06:00
Sudo-Ivan d474afbf80 Add reply functionality to messages in ReticulumMeshChat
- Implemented reply feature by adding `reply_to_hash` to messages, allowing users to reference previous messages.
- Updated message handling in `convert_lxmf_message_to_dict` to process `reply_to` fields.
- Enhanced frontend components to display reply snippets and manage reply state.
- Added localization for reply-related text in multiple languages.
- Updated database schema to include `reply_to_hash` and created necessary indices.

This update improves user interaction by enabling message threading and enhances the overall messaging experience.
2026-02-01 15:13:00 -06:00
Sudo-Ivan af0d9352c2 Update MicronParser with DOMPurify integration and code improvements
- Added global DOMPurify reference for HTML sanitization.
- Improved error handling for DOMPurify initialization.
- Refactored style definitions and formatting for consistency.
- Updated tests to reflect changes in MicronParser initialization and behavior.

This update enhances security and code readability while ensuring robust functionality.
2026-01-23 11:28:43 -06:00
Sudo-Ivan fc0a2444ad Update NetworkVisualiser with Level of Detail (LOD) management and icon cache optimization
- Introduced dynamic LOD updates based on network scale, improving performance and visual clarity.
- Implemented blob URL management for icon caching to optimize memory usage and prevent leaks.
- Updated tests to validate LOD functionality and icon cache behavior, ensuring robustness and performance efficiency.

Thanks to L for suggestion!
2026-01-23 09:24:22 -06:00
Sudo-Ivan e8a303fd6f Add DOMPurify initialization in frontend test setup
- Integrated DOMPurify for sanitizing HTML in tests.
- Added error handling for DOMPurify initialization to ensure robustness.
- Made DOMPurify globally accessible in the test environment.
2026-01-18 16:18:13 -06:00
Sudo-Ivan d6351c51b3 Add accessibility tests for keyboard navigation and ARIA labels
- Introduced a new test suite for UI accessibility focusing on keyboard shortcuts and ARIA attributes.
- Verified that keyboard shortcuts trigger global events and are ignored in input fields without modifiers.
- Checked for proper ARIA labels on critical buttons to enhance accessibility compliance.
2026-01-16 09:21:37 -06:00
Sudo-Ivan ee9ed05338 Add property-based tests for display name parsing and fuzzing
- Introduced new test suite for `parse_lxmf_display_name`, `parse_nomadnetwork_node_display_name`, and related functions using Hypothesis for property-based testing.
- Added various strategies to generate diverse input data, including edge cases for invalid and long names.
- Implemented tests to ensure robustness against invalid base64 inputs and to verify expected behavior with valid and corrupted data.
- Created smoke tests for frontend components including BotsPage, ForwarderPage, and others to ensure proper rendering and functionality.
2026-01-16 08:51:48 -06:00