Migrate to Poetry packaging and restructure codebase #21

Merged
Sudo-Ivan merged 23 commits from codebase-improvements into master 2025-12-01 18:24:25 +00:00

23 Commits

Author SHA1 Message Date
085385a182 chore: update version string formatting in version.py for consistency 2025-12-01 12:22:18 -06:00
f8b0dd18c5 refactor: clean up code and improve variable naming
- Removed unnecessary blank lines in cx_setup.py.
- Reformatted conditional checks in meshchat.py for better readability.
- Updated callback variable names in NomadnetDownloader for clarity.
- Adjusted version string formatting in version.py for consistency.
- Reordered import statements in prepare_frontend_dir.py for better organization.
2025-12-01 12:18:01 -06:00
3231afb84d fix: improve websocket error logging in ReticulumMeshChat
- Updated error logging in websocket handling to use f-strings for better readability and consistency.
2025-12-01 12:00:00 -06:00
3848613a41 fix: update Python command in README for packaging instructions
- Changed `python` to `python3` in the packaging section to ensure compatibility with Python 3 environments.
2025-12-01 11:54:09 -06:00
284517bdfa chore: add security note to prevent path traversal in get_file_path function 2025-12-01 11:53:13 -06:00
5fc13dc61a Update 2025-12-01 11:50:25 -06:00
f989295773 refactor: update Tailwind CSS configuration for frontend structure
- Introduced a variable for the frontend root path to streamline content paths.
- Updated content paths to reflect the new directory structure for Tailwind CSS.
2025-12-01 11:50:11 -06:00
deepsource-autofix[bot]
d06ede8c5e Migrate to Poetry packaging and restructure codebase
Resolved issues in meshchatx/meshchat.py with DeepSource Autofix
2025-12-01 17:36:17 +00:00
a0047ea8fb refactor: update Docker integration and build process
- Modified docker-compose.yml to allow overriding the image with the MESHCHAT_IMAGE environment variable.
- Enhanced Makefile with new build-docker and run-docker targets for streamlined Docker image creation and execution.
- Updated README.md to reflect changes in Docker build and run commands, providing clearer instructions for users.
2025-12-01 11:30:07 -06:00
c98131f76b refactor: frontend preparation script with error handling
- Added a check to ensure the script is run from the project root by verifying the existence of pyproject.toml.
- Implemented a safeguard against removing the TARGET directory if it is a symlink, raising an appropriate error message.
2025-12-01 11:06:10 -06:00
9b4b8fdfeb grammar corrections 2025-12-01 11:05:55 -06:00
48a0d8697e Remove sync_version.py from poetry include in pyproject.toml 2025-12-01 11:05:38 -06:00
5627ae1640 refactor: test_wheel.sh to dynamically find wheel files
- Updated script to search for wheel files using a pattern.
- Added error handling for cases with no matches or multiple matches.
- Improved output to indicate the found wheel file.
2025-12-01 11:05:32 -06:00
94d91c4934 Update dependencies in pyproject.toml and regenerate poetry.lock 2025-12-01 11:03:28 -06:00
ac839df357 Fix https://github.com/Sudo-Ivan/reticulum-meshchatX/pull/21#discussion_r2575731068 2025-12-01 11:02:45 -06:00
cfad1ddc5f Update 2025-12-01 00:07:30 -06:00
398ab570df update 2025-11-30 23:54:15 -06:00
50bc2cbfc8 Enhance GitHub Actions workflow with conditional execution
- Added conditional checks to ensure build steps only run when necessary.
- Streamlined the installation and build processes for NodeJS and Python based on the new build input logic.
- Improved clarity and efficiency in the workflow by consolidating conditions for Linux-specific tasks.
2025-11-30 23:39:43 -06:00
fe3a01c3c6 Refactor GitHub Actions workflow for conditional builds
- Removed redundant conditional checks for build jobs.
- Introduced a new step to determine if the build should run based on event type and input parameters.
- Updated job definitions to utilize the new build input logic for Windows, macOS, and Linux builds.
2025-11-30 23:39:29 -06:00
0b0a39ea86 Refactor Docker setup and frontend structure
- Updated Dockerfile to copy frontend files to meshchatx/public directory.
- Modified .dockerignore to include meshchatx/public.
- Added a new script to prepare the frontend directory.
- Adjusted Vite configuration to output to the new public directory.
- Updated GitHub Actions workflow to reflect changes in build process and artifact handling.
2025-11-30 23:34:45 -06:00
2e001006c9 Update .gitignore to include 'public/' directory 2025-11-30 23:25:59 -06:00
0beaaaf4b1 Add cx_setup.py for building the ReticulumMeshChatX application
- Introduced a new setup script using cx_Freeze to facilitate building the application.
- Updated version.py to maintain consistency in version string formatting.
- Modified build-backend.js to use poetry for executing the build process.
2025-11-30 23:25:54 -06:00
84f887df90 codebase restructure and organization. 2025-11-30 23:16:57 -06:00