Skip to content

Code quality - #1

Merged
zombieht merged 10 commits into
mainfrom
codeQuality
Jul 27, 2026
Merged

Code quality#1
zombieht merged 10 commits into
mainfrom
codeQuality

Conversation

@zombieht

Copy link
Copy Markdown
Owner

No description provided.

zombie added 10 commits June 12, 2026 15:46
- Added support for secure request handling between Finder extension and main application using a temporary plist file.
- Implemented a new request structure to encapsulate actions and file transfers, ensuring safe communication.
- Updated URL scheme handling to reject direct parameter passing for sensitive data.
- Introduced AppleScript path encoding to prevent syntax alteration.
- Added unit tests for secure request lifecycle, including validation of permissions and path formats.
- Improved error handling and logging for better debugging and user feedback.
- Updated `FileTransferService` to manage file transfer tasks with improved lifecycle handling.
- Introduced `FileTransferOperations` for handling file copying with progress tracking and cancellation support.
- Added `FileTransferProgressWindow` to display real-time transfer progress and allow cancellation.
- Modified `FileCreator` to accept a bundle parameter for file creation, ensuring correct template file access.
- Enhanced unit tests for file creation and transfer operations, covering progress reporting, cancellation, and error handling.
- Updated documentation to reflect changes in file transfer functionality and testing procedures.
…monitoring

- Replaced manual file descriptor management in SettingsMonitor with DirectoryChangeMonitor for improved readability and maintainability.
- Updated the logic for handling settings changes and invalidating cached configurations.
- Added new tests for file transfer cancellation and partial failure scenarios in BetterMenuCoreServiceTests.
- Introduced BetterMenuSecureRequest for secure communication between Finder extension and main app, ensuring safe request handling.
- Implemented code style checks and formatting using swift-format, enforcing consistent code style across the project.
- Updated build_and_run.sh script to support incremental builds and added commands for code formatting and linting.
- Documented changes in DEVELOPMENT.md and README.md to reflect new features and guidelines.
@zombieht
zombieht merged commit cfffb56 into main Jul 27, 2026
1 check passed
@zombieht
zombieht deleted the codeQuality branch July 27, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant