Commit Graph

90 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 eb13603b6c feat(http_api_routes): add new endpoint for retrieving licenses 2026-04-13 17:36:39 -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 ca70cce744 feat(auto_propagation): improve auto propagation node selection with path waiting and probing logic 2026-04-13 14:32:24 -05:00
Ivan 3956986202 fix(tests): update delete_conversation tests to verify all SQL delete operations and adjust settings for fuzz testing 2026-04-12 18:58:55 -05:00
Ivan e230b5ec79 feat(routes): update http_api_routes.json with new API endpoints and remove deprecated routes 2026-04-12 18:34:36 -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 9775bd62da refactor: migrate from requests to aiohttp for asynchronous HTTP requests in docs_manager, map_manager, and translator_handler 2026-04-08 16:09:13 -05:00
Ivan 96fb1a4e2f chore(codebase) format 2026-04-08 03:19:38 -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 9f87b01ab6 feat(tests): add unit tests for rnstatus formatting functions and interface discovery utility 2026-04-04 23:32:37 -05:00
Ivan 77297e3e38 feat(tests): update test suite by adding performance tests and updating test commands to exclude performance hot-paths by default 2026-04-04 23:29:45 -05:00
Ivan b2fcaa44d1 feat(tests): update performance tests with dynamic minimum throughput for message upsert and update operations 2026-04-04 22:27:20 -05:00
Ivan fda9f18677 refactor(tests): update concurrent writer tests with dynamic throughput floor based on environment variables 2026-04-01 11:49:30 +03:00
Ivan c93eedbf69 chore(tests): format 2026-04-01 02:33:35 +03:00
Ivan 8f1e76e1e0 feat(ssl): add support for custom SSL certificate and key paths, enhancing HTTPS configuration options 2026-03-31 17:11:15 +03:00
Ivan ced8a9b9e5 chore(http_api_routes): update API routes configuration with additional endpoints and improved structure 2026-03-31 17:04:32 +03:00
Ivan ea407d0143 feat(tests): add comprehensive tests for access attempts, enforcement, and security paths, including database migration and backup safety 2026-03-31 06:06:48 +03:00
Ivan d03bdf08ea cleanup 2026-03-31 04:07:41 +03:00
Ivan 281ec1f0b5 feat(tests): add HTTP API routes fixture for comprehensive route testing 2026-03-31 00:38:27 +03:00
Ivan 5bfec923f4 feat(tests): add HTTP API contract tests and helpers for route validation 2026-03-31 00:33:09 +03:00
Ivan daf48ec406 chore: bump version to 4.4.0; refactor announce limits and add new community interfaces management 2026-03-24 00:40:08 +03:00
Ivan a9a7dd5212 test: community interfaces, hex utils, archives and conversation viewer 2026-03-24 00:39:11 +03:00
Ivan 149d58f058 Implement inbound stamp toggle feature in settings, allowing users to enable/disable proof-of-work stamps for direct messages. 2026-03-23 22:32:47 +03:00
Sudo-Ivan b6c0ac450c Fix database health snapshot functionality and add corresponding tests 2026-03-11 05:32:56 -05:00
Sudo-Ivan f11a9b9675 Add comprehensive tests for announce management and contact import/export functionality
- Introduced multiple test cases for the AnnounceManager, including flood handling and aspect-based limits.
- Added tests for contact import/export endpoints, ensuring proper validation and response handling.
- Implemented fuzz testing for various input scenarios to enhance robustness.
- Established limits on announce counts per aspect to prevent flooding in the network.
- Enhanced telemetry request handling tests to ensure correct processing based on location data.
2026-03-11 05:12:39 -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 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 3bc3494a58 Add extensive tests for notification reliability and LXMF field hardening 2026-03-06 15:50:30 -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 2b6616f162 Add extensive tests for CrashRecovery and IntegrityManager 2026-03-06 11:36:24 -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 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 5d3568ae4f code cleanup 2026-03-06 01:13:02 -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 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 9b5bb4b424 Update version to 4.2.0 2026-03-05 21:34:25 -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 3a9f6eb316 Add tests for database backup logic and interface discovery configuration 2026-03-05 15:59:47 -06:00
Sudo-Ivan 69fcb48cb6 cleanup tests (format) 2026-02-23 19:42:37 -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 d9cbc59ab3 Refactor backend tests
- Removed redundant comments from various test files to enhance readability and focus on the test logic.
- Added a few tests for prop sync and markdown security.
2026-02-14 19:18:20 -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