Commit graph

93 commits

Author SHA1 Message Date
b3fd61aed2 Update WiX source generation for per-machine installation and clarify admin rights requirement 2026-02-19 15:53:01 +01:00
8f3f859e5b Refactor Windows installer configuration and improve logging functionality
- Changed installation scope from "perMachine" to "perUser" in the Windows installer configuration.
- Updated installation directory from "ProgramFiles64Folder" to "LocalAppDataFolder" for user-specific installations.
- Enhanced the configuration saving method to create parent directories if they don't exist.
- Improved the main window script loading logic to support multiple installation scenarios (development, PyInstaller, MSI).
- Added detailed logging for script loading failures and success messages.
- Implemented a new method to reconfigure logging settings at runtime, allowing dynamic updates from the settings dialog.
- Enhanced the settings dialog to handle configuration saving, including log level changes and error handling.
2026-02-19 15:48:59 +01:00
0c276b9022 Add support for PyInstaller bundle in main_window.py
- Updated icon path handling to support both development mode and PyInstaller bundle.
- Modified script path loading to accommodate PyInstaller bundle structure.
- Adjusted download interceptor path to work with PyInstaller bundle.
2026-02-19 15:34:10 +01:00
d799339d93 cleanup 2026-02-19 15:16:05 +01:00
a20f703554 Enhance Windows installer configuration and add license file
- Updated the WiX configuration in build_windows.py to include required properties for the WixUI_InstallDir dialog.
- Changed the UI reference from WixUI_Minimal to WixUI_InstallDir for improved installation experience.
- Added custom branding images for the installer UI using WixVariable for background and banner images.
- Introduced a new license.rtf file containing the MIT License for the WebDrop Bridge project.
- Updated binary resources for background and banner images.
2026-02-19 15:09:08 +01:00
302ec15e15 Refactor code structure for improved readability and maintainability 2026-02-19 12:18:08 +01:00
aeed311f53 Add WixUIExtension for enhanced installation UI in WindowsBuilder
- Included WixUIExtension in candle and light commands to enable UI features.
- Added references for minimal and error progress UI dialogs in the WiX XML configuration.
2026-02-19 09:12:20 +01:00
f9cfb9f558 Add support for 64-bit components and create desktop shortcut in WiX installer
- Mark components as 64-bit by adding Win64="yes" attribute in harvested files.
- Update WiX configuration to use ProgramFiles64Folder for installation.
- Add a new component for creating a desktop shortcut for the WebDrop Bridge application.
2026-02-19 09:01:43 +01:00
37b772166c Fix WindowsBuilder executable path and enhance MSI linking error reporting
- Updated the path to the built executable to reflect changes in the output structure.
- Added calculation and display of total distribution size after build.
- Enhanced error reporting for the MSI linking process by capturing and printing stdout and stderr output.
- Updated WiX source file to include UI namespace for better compatibility.
- Removed unnecessary blank line in test_msi.py for cleaner code.
2026-02-18 18:20:57 +01:00
2b12ee2aef Add test script for MSI creation using WindowsBuilder
This commit introduces a new test script, `test_msi.py`, which automates the process of creating an MSI installer. The script utilizes the `WindowsBuilder` class to generate the installer and checks for its successful creation, providing feedback on the result and the file size.
2026-02-18 15:14:21 +01:00
6213bbfa0a feat: Update product version to 0.5.0 in WebDropBridge.wxs 2026-02-18 14:00:38 +01:00
aad2e59c1c refactor: Enhance Unicode handling in build scripts and rename sync_version function 2026-02-18 13:54:17 +01:00
ff804790e6 feat: Update application version to 0.5.0 and refactor version syncing script 2026-02-18 13:48:32 +01:00
dffc925bb6 refactor: Change logging level from info to debug for download and JS messages
Some checks failed
Tests & Quality Checks / Test on Python 3.11 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.11-1 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12-1 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.10 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.11-2 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12-2 (push) Has been cancelled
Tests & Quality Checks / Build Artifacts (push) Has been cancelled
Tests & Quality Checks / Build Artifacts-1 (push) Has been cancelled
2026-02-18 13:19:38 +01:00
6d8af7f8fb fix: Improve checkout data handling in response processing 2026-02-18 13:14:17 +01:00
de98623ee0 Add application icon in PNG format to resources/icons directory 2026-02-18 13:07:01 +01:00
a4d735d759 docs: Update copilot instructions to reflect Phase 4 completion and Phase 5 planning 2026-02-18 12:31:52 +01:00
4011f46ab7 fix: Add error handling for script injection and improve logging for URL mappings 2026-02-18 10:28:15 +01:00
0eba82b8af feat: Enhance drag interception with dynamic URL pattern matching configuration injection 2026-02-18 10:15:42 +01:00
f385ee6410 chore: Update repository URLs and author information in README and pyproject.toml 2026-02-18 09:56:03 +01:00
313213e4cd docs: Update QUICKSTART and START_HERE documentation to reflect Phase 4 completion and Phase 5 readiness 2026-02-18 09:46:09 +01:00
9915c7b32c chore: Update version to 0.5.0 and document Phase 4 completion in changelog and development plan 2026-02-18 09:41:21 +01:00
ae5c86814f Remove obsolete WebDrop Bridge scripts: bridge_script.js, bridge_script_debug.js, bridge_script_drop_intercept.js, bridge_script_hybrid.js, bridge_script_v2.js 2026-02-18 09:29:33 +01:00
fb710d5b00 Remove obsolete documentation and test files related to debugging, update feature fixes, versioning, and web app loading issues. Consolidate versioning process to a single source of truth in __init__.py. Enhance web app loading with improved path resolution and a professional fallback UI. Implement timeout handling in update features to prevent application hangs, ensuring user-friendly error messages and background processing. 2026-02-18 09:27:28 +01:00
c32453018b feat: Improve dragstart handler installation with retry logic for Angular handlers 2026-02-18 08:06:11 +01:00
e91a2445f3 feat: Implement asynchronous checkout status check with improved error handling and logging 2026-02-18 08:01:33 +01:00
2a9926d934 feat: Enhance checkout process by checking asset status before prompting user 2026-02-18 07:41:28 +01:00
dee02ad600 Add drag & drop script variants and enhanced debugging tools
- Introduced multiple JavaScript scripts for handling drag & drop functionality:
  - `bridge_script.js`: Original implementation with popup prevention.
  - `bridge_script_debug.js`: Debug version with extensive logging for troubleshooting.
  - `bridge_script_v2.js`: Enhanced version extending DataTransfer for better integration.
  - `bridge_script_hybrid.js`: Hybrid approach allowing parallel native file drag.
  - `bridge_script_drop_intercept.js`: Intercepts drop events for custom handling.
  - `bridge_script_intercept.js`: Prevents browser drag for ALT+drag, using Qt for file drag.

- Added detailed documentation in `SCRIPT_VARIANTS.md` outlining usage, status, and recommended workflows for each script.
- Implemented logging features to capture drag events, DataTransfer modifications, and network requests for better debugging.
- Enhanced DataTransfer handling to support Windows-specific file formats and improve user experience during drag & drop operations.
2026-02-17 19:19:14 +01:00
88dc358894 Refactor drag handling and update tests
- Renamed `initiate_drag` to `handle_drag` in MainWindow and updated related tests.
- Improved drag handling logic to utilize a bridge for starting file drags.
- Updated `_on_drag_started` and `_on_drag_failed` methods to match new signatures.
- Modified test cases to reflect changes in drag handling and assertions.

Enhance path validation and logging

- Updated `PathValidator` to log warnings for nonexistent roots instead of raising errors.
- Adjusted tests to verify the new behavior of skipping nonexistent roots.

Update web application UI and functionality

- Changed displayed text for drag items to reflect local paths and Azure Blob Storage URLs.
- Added debug logging for drag operations in the web application.
- Improved instructions for testing drag and drop functionality.

Add configuration documentation and example files

- Created `CONFIG_README.md` to provide detailed configuration instructions for WebDrop Bridge.
- Added `config.example.json` and `config_test.json` for reference and testing purposes.

Implement URL conversion logic

- Introduced `URLConverter` class to handle conversion of Azure Blob Storage URLs to local paths.
- Added unit tests for URL conversion to ensure correct functionality.

Develop download interceptor script

- Created `download_interceptor.js` to intercept download-related actions in the web application.
- Implemented logging for fetch calls, XMLHttpRequests, and Blob URL creations.

Add download test page and related tests

- Created `test_download.html` for testing various download scenarios.
- Implemented `test_download.py` to verify download path resolution and file construction.
- Added `test_url_mappings.py` to ensure URL mappings are loaded correctly.

Add unit tests for URL converter

- Created `test_url_converter.py` to validate URL conversion logic and mapping behavior.
2026-02-17 15:56:53 +01:00
c9704efc8d feat: Update README with status change, enhanced configuration details, and improved installation instructions
Some checks failed
Tests & Quality Checks / Test on Python 3.11 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.11-1 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12-1 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.10 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.11-2 (push) Has been cancelled
Tests & Quality Checks / Test on Python 3.12-2 (push) Has been cancelled
Tests & Quality Checks / Build Artifacts (push) Has been cancelled
Tests & Quality Checks / Build Artifacts-1 (push) Has been cancelled
2026-02-10 10:00:10 +01:00
4ab44c83ba feat: Enhance update check and download processes with safety timeouts and logging 2026-01-30 13:09:50 +01:00
f4eb511a1c feat: Implement timeout handling and background processing for update feature 2026-01-30 12:09:03 +01:00
c97301728c feat: Add settings button and dialog for configuration management 2026-01-30 11:31:52 +01:00
8e97f85c64 feat: Add window title configuration and update related components and tests 2026-01-30 11:28:23 +01:00
c621e63a8d feat: Enhance navigation toolbar with help actions and update related tests 2026-01-30 11:22:33 +01:00
a355c13c82 feat: Implement configuration bundling for customer-specific builds and enhance build scripts 2026-01-30 11:09:19 +01:00
4e5deab7e9 fix: Remove APP_ENV and unnecessary variables from .env.example 2026-01-30 10:59:33 +01:00
6643640ab4 fix: Update ProductVersion to 0.1.0 in WebDropBridge.wxs 2026-01-30 10:03:11 +01:00
bba6caf7c5 feat: Add function to read APP_VERSION from .env or .env.example in create_release.ps1 2026-01-30 09:57:08 +01:00
03c9cbe802 feat: Add function to update APP_VERSION in .env file during version sync 2026-01-30 09:53:16 +01:00
ad6e388dc8 fix: Enhance subprocess calls with UTF-8 encoding and error handling 2026-01-30 09:41:31 +01:00
fb82d8d612 fix: Update version to 0.1.0 in configuration files and tests 2026-01-30 09:19:03 +01:00
0d9464854d feat: Implement centralized version management and sync process 2026-01-30 09:16:12 +01:00
c1133ae8e9 docs: Update documentation for auto-update system and integration tests 2026-01-30 08:43:52 +01:00
f701247fab fix: Implement drag-and-drop functionality with QWebChannel integration 2026-01-30 08:17:01 +01:00
b2681a9cbd fix: Remove type ignore comments for web view page actions 2026-01-30 07:10:42 +01:00
64378f753b feat: Add user feedback dialog for manual update checks and handle dialog closure 2026-01-29 15:52:59 +01:00
e57e822bed fix: Improve background thread management and error handling in update check 2026-01-29 15:27:00 +01:00
a8eaa84310 fix: Specify type for log level combo box and adjust method signature 2026-01-29 12:53:54 +01:00
8b0df0e04f Add unit tests for configuration management and settings dialog
- Implement tests for ConfigValidator to ensure proper validation of configuration settings, including valid configurations, required fields, type checks, and error handling.
- Create tests for ConfigProfile to verify profile management functionalities such as saving, loading, listing, and deleting profiles.
- Add tests for ConfigExporter to validate JSON export and import processes, including error handling for non-existent files and invalid JSON.
- Introduce tests for SettingsDialog to confirm proper initialization, tab existence, and configuration data retrieval and application.
2026-01-29 12:52:53 +01:00