358 Commits
Author SHA1 Message Date
Shayne Wong 2e22e2e353 feat: enhance frontend design and performance optimizations
- Exported `prefersReducedMotion` function for broader accessibility.
- Updated E2E tests for job drawer performance and rendering behavior.
- Integrated Rollup visualizer plugin for Vite to analyze bundle size.
- Added Apache License for frontend design guidelines.
- Created comprehensive frontend design skill documentation.
- Implemented virtual list actions for efficient rendering of variable-height rows.
- Developed shared overlay component for modals and drawers.
- Introduced running jobs list component with optimized rendering.
- Added WebGL exposure scene for enhanced visual effects.
- Implemented WebGL support detection for improved compatibility.
- Initialized skills lock file for frontend design skill.
2026-09-10 21:45:07 +08:00
Shayne Wong e566f514c7 feat: add support for GPT Image 2.5 models with extended quality options and new UI components
- Introduced new image model picker component for selecting models and qualities.
- Updated image model utilities to handle new models and quality options.
- Implemented backend logic for validating image model options and handling requests.
- Added tests for image model selection, quality handling, and API interactions.
- Adjusted existing tests to accommodate new model features and ensure compatibility.
2026-09-10 19:23:50 +08:00
Z1rconium 6c197de33d feat: 添加玻璃效果样式和加载覆盖层,优化头部和画廊组件的用户体验 2026-09-05 16:54:21 +08:00
Z1rconium ecde9fa8e7 feat: enhance dialog and overlay animations with new motion transitions
- Introduced new motion transitions for dialogs and overlays to improve user experience.
- Added `overlayIn`, `overlayOut`, `dialogIn`, and `dialogOut` animations in motion.ts.
- Updated various components (AccessGate, ConfirmDialog, EditGalleryDialog, etc.) to utilize the new animations.
- Ensured accessibility and usability with reduced motion preferences.
- Enhanced visual feedback for user interactions with overlays and dialogs.
2026-08-30 16:13:30 +08:00
Z1rconium a42b85c175 feat: 在渲染小部件之前等待条件容器挂载,修复潜在的渲染问题 2026-08-28 15:39:54 +08:00
Z1rconium c8570385ee feat: 添加 httpx 作为运行时依赖,并增加相应的测试用例 2026-08-28 15:22:40 +08:00
Z1rconium 424e50b0ee feat: 添加 Cloudflare Turnstile 人机验证功能,增强访问安全性 2026-08-26 15:42:02 +08:00
Z1rconium 3e628e7ece feat: enhance prompt form with background options and improve UI components
- Added background options ('auto', 'opaque', 'transparent') to the prompt form.
- Updated the EditSourcePicker component for improved styling and user experience.
- Refactored the GalleryGrid component to utilize Lucide icons for better visual consistency.
- Enhanced the PromptForm layout for better organization and clarity.
- Introduced a new gallery job events handling mechanism for improved job status management.
- Updated translations for new background options in English and Chinese.
- Improved the theme store initialization to prevent flash of incorrect theme on load.
- Adjusted tests to validate new background options and UI changes.
2026-08-26 12:45:39 +08:00
Z1rconium 12db73de5a feat: 优化编辑源选择器和提示表单的布局,增强用户体验 2026-08-22 13:00:52 +08:00
Z1rconium 73ffdf0665 feat: add gallery image editing functionality with prompt reuse options
- Implemented EditGalleryDialog component for editing gallery images.
- Added functionality to reuse or clear prompts when editing images from the gallery.
- Updated PromptForm to handle new parameters and conditions for editing.
- Enhanced workspace logic to manage gallery edits and integrate with existing prompt forms.
- Added translations for new dialog and edit source messages.
- Improved tests for gallery editing, including drag-and-drop functionality and image removal.
2026-08-21 21:06:27 +08:00
Z1rconium f0337de432 Remove error context files for failed Playwright tests in the frontend gallery module due to browser closure issues 2026-08-21 14:35:34 +08:00
Z1rconium e91901bbe3 feat: 更新访问控制相关配置,修改 ACCESS_KEY_COOKIE_NAME 和 IMPORT_MAX_COMPRESSION_RATIO,增强安全性 2026-08-20 21:18:18 +08:00
Z1rconium 5838ecb9b5 feat: 移除 ADMIN_KEY 相关功能,简化访问控制逻辑 2026-08-20 17:07:08 +08:00
Z1rconium 573fbb9c80 chore: bump version to v1.4.3 2026-08-20 08:57:19 +08:00
Z1rconium f593869a5d feat: 添加图像作业持续时间聚合功能,并增强相关测试用例 2026-08-20 08:56:16 +08:00
Z1rconium 2ac7fdf810 feat: 添加常见部署问题排查指南,提供解决方案以改善用户体验 2026-08-20 08:31:35 +08:00
Z1rconium f749365656 feat: add incremental multi-image job results 2026-08-15 15:49:21 +08:00
Z1rconium ff91463e31 Add error context files for failed Playwright tests in gallery.spec.ts
- Created error context files for multiple failed tests related to gallery functionality.
- Each file includes instructions, test info, and detailed error logs to assist in debugging.
- Tests covered include:
  - AI batch analysis using SSE without status polling
  - Thumbnails ready state handling
  - Batch upload cancellation and result retention
  - Selection of filtered results through a batch token
  - Handling legacy responses without filenames
  - Metadata retention without reverse prompt action
2026-08-15 13:45:58 +08:00
Z1rconium 959a97da20 feat: 添加 NodeImage 批量上传限制,支持请求图像数量验证;增强测试用例以验证新逻辑 2026-08-14 15:32:03 +08:00
Z1rconium 7e0305fec1 fix: restore preview terminal job events 2026-08-14 12:10:34 +08:00
Z1rconium 9e25232e86 feat: 更新 PromptForm 和 Workspace 组件,重构提交逻辑以支持编辑源处理;增强测试用例以验证新功能 2026-08-14 11:47:00 +08:00
Z1rconium f182875777 feat: 添加剪贴板图像粘贴功能,支持从剪贴板提取图像文件并添加到编辑源;更新相关国际化文本 2026-08-13 22:17:45 +08:00
Z1rconium af0d763295 feat: 更新 NodeImage 上传功能,支持返回文件名并处理认证错误;更新版本至 v1.4.1 2026-08-13 21:32:21 +08:00
Z1rconium 2d68d7c99f chore: release v1.4.0 2026-08-12 22:07:49 +08:00
Z1rconium 7b0bc6b203 feat: integrate NodeImage upload functionality
- Add settings drawer test for saving NodeImage API key reference.
- Update mock API to include NodeImage settings and upload handling.
- Implement gallery tests for uploading images to NodeImage and handling results.
- Create NodeImage integration module with API client for image uploads.
- Define schemas for NodeImage upload responses.
- Add contract tests for NodeImage upload success and error handling.
- Implement NodeImage result dialog component for displaying upload results.
- Create settings section for NodeImage configuration in the UI.
- Introduce Svelte store for managing NodeImage upload results.
2026-08-12 20:48:45 +08:00
Z1rconium 61d7bc9019 feat: 添加 CI 状态徽章、版本信息和 Python、Node.js、FastAPI、SvelteKit 兼容性徽章;更新多 worker 协调和环境变量说明 2026-08-12 17:49:07 +08:00
Z1rconium 28f744f480 feat: normalize IPv6 addresses in access failure handling and improve redaction of bearer tokens 2026-08-12 17:36:27 +08:00
Z1rconium eec7437fa2 Refactor background job dispatchers to use a shared claim loop
- Introduced a new `claim_loop.py` module to encapsulate common logic for claiming and running background jobs.
- Updated various services (assistant_batch, gallery_jobs, image_unit_dispatcher, thumbnail_dispatcher) to utilize the new claim loop for improved code reuse and maintainability.
- Removed redundant code and improved error handling in job dispatchers.
- Added tests for new functionality and ensured existing tests pass.
- Enhanced thumbnail cache invalidation logic to self-heal missing files.
- Improved AI assistant health check to handle timeout scenarios gracefully.
2026-08-12 16:09:38 +08:00
Z1rconium 32acc8efe6 feat: enhance webhook delivery task management and database operation handling
- Added a set to track webhook delivery tasks in app state for better management and cleanup.
- Implemented a function to create and track webhook delivery tasks, ensuring proper error handling and logging.
- Refactored database operation calls in gallery job processing to use the new run_db_operation_in_current_thread function for improved performance and error handling.
- Updated tests to verify the correct behavior of webhook delivery tasks and database operations.
2026-08-12 15:19:10 +08:00
Z1rconium 8b686f2a6f feat: add ADMIN_KEY for enhanced security and access management
- Introduced ADMIN_KEY in .env.example and README.md for settings management step-up.
- Updated app_state.py to enforce ADMIN_KEY validation and log warnings if it matches ACCESS_KEY.
- Refactored access.py to utilize database operations for access failure tracking and lockout management.
- Enhanced prompt.py and settings.py to support asynchronous operations and validation.
- Implemented async validation for R2 endpoint URLs and upstream URLs across various modules.
- Added database schema for access failures and corresponding migration.
- Updated tests to cover new ADMIN_KEY functionality and access lockout persistence.
- Adjusted docker-compose.yml to include ADMIN_KEY environment variable.
2026-08-12 13:47:14 +08:00
Z1rconium dbd70c6c74 feat: update cache control headers for gallery responses and improve timeout handling in API client 2026-08-12 10:05:35 +08:00
Z1rconium f67bf95345 chore: release v1.3.5 2026-08-11 16:56:07 +08:00
Z1rconium 7c397f155b feat: enhance gallery and job management features
- Updated galleryDeferredActions to include GalleryLoadOptions in loadGallery method.
- Improved jobs store to handle active job polling and event streaming more efficiently.
- Added snippet matching and sorting functionality in promptSnippets store.
- Optimized version loading by using Promise.all for concurrent API requests.
- Enhanced e2e tests to ensure startup data requests do not wait for access responses.
- Implemented mock API responses for gallery batch analysis and thumbnail status.
- Refactored gallery tests to validate thumbnail refresh and AI batch analysis behavior.
- Updated i18n tests to ensure correct locale loading behavior.
- Added new tests for job history management and performance.
- Introduced JobHistoryList component for better job history rendering and interaction.
- Created adminGate feature for secure access to management settings.
2026-08-11 14:26:04 +08:00
Z1rconium 75321faeb7 feat: add Caddy reverse proxy configuration instructions to README files 2026-08-11 10:52:15 +08:00
Z1rconium 5d8f038aba feat: update version format in VERSION and docker-compose.yml 2026-08-03 10:47:08 +08:00
Z1rconium 955f583cda feat: update versioning and improve response format handling in job queue 2026-08-01 22:24:15 +08:00
Z1rconium 7469553944 feat: simplify theme management by removing legacy overrides and updating initialization logic 2026-08-01 21:49:33 +08:00
Z1rconium 856d6aa5ca Refactor job execution and database operations for improved performance and reliability
- Introduced asynchronous database operation handling in job_executor.py to prevent blocking the event loop.
- Replaced synchronous calls with async counterparts in job scheduling and job queue services.
- Added a new blocking.py module to manage bounded executors for database and image processing tasks.
- Enhanced runtime metrics collection with new runtime_metrics.py for better observability.
- Updated Docker configuration to include new environment variables for performance tuning.
- Improved test coverage for performance regressions and database connection handling.
- Adjusted version check logic to utilize process caching for efficiency.
2026-07-30 23:08:08 +08:00
Z1rconium aed42258ad feat: enhance gallery and workspace components with improved prefetching and UI updates
- Refactor GalleryGrid component to use a lightweight placeholder for thumbnails and update button styles for better visibility.
- Update Header component styles for version updates and job count notifications.
- Implement prefetching logic in Workspace component to optimize loading of non-critical panels based on network conditions.
- Introduce network utility functions to determine if prefetching is appropriate based on connection type.
- Modify lightbox and gallery components to utilize new prefetching logic for large media.
- Update tests to reflect changes in API request handling and ensure proper functionality with new prefetching logic.
2026-07-25 20:26:00 +08:00
Z1rconium b20f989fe2 feat: update README files to clarify local HTTP setup and cookie security settings 2026-07-25 19:33:01 +08:00
Z1rconium 3d910bb723 Update README and assets for GPT Image Panel
- Changed favicon from ICO to SVG format for better scalability and quality.
- Updated README files to link to the new SVG favicon and corrected language links.
- Added support for serving the new SVG favicon in the middleware.
- Enhanced test cases to verify the availability of the new favicon.
- Created a new README in Simplified Chinese to support additional users.
2026-07-25 19:07:42 +08:00
Z1rconium 3e5194ff9d feat: update favicon to a new icon file with reduced dimensions 2026-07-25 18:58:53 +08:00
Z1rconium d1c9846499 feat: update Docker image version to v1.3.3 and add Traditional Chinese README 2026-07-24 22:32:22 +08:00
Z1rconium 31f904b189 feat: enhance README with logo, badges, and improved layout 2026-07-24 22:06:27 +08:00
Z1rconium 2b0ac2dbf0 feat: add prompt snippet search request model
fix: update assistant health check to conditionally use API key

refactor: change gallery cache control to private and no-store

fix: update gallery job response to include cache control

feat: implement import upload reservation release in gallery jobs

fix: enhance job webhook URL validation for signing secret length

feat: add sensitive text redaction for webhook service errors

test: enhance contract tests for CSRF protection and secret registry

chore: update docker image to version 1.3.3

feat: extend API key source options in common types

feat: add secret ID field to various settings types

feat: implement admin access gate in workspace settings

refactor: update gallery store to use new search body structure

feat: add CDN signing secret handling for media URLs

feat: implement secret registry for managing sensitive values

test: add tests for secret registry functionality and error handling
2026-07-20 14:58:04 +08:00
Z1rconium a9336629ab feat: update SizeDialog styles for light and dark themes and add corresponding e2e tests 2026-07-19 17:06:21 +08:00
Z1rconium b1821519e8 Delete .impeccable directory 2026-07-19 17:04:18 +08:00
Z1rconium 9de5518be6 feat: add image prompt optimization feature with localization support
- Implemented image prompt optimization functionality in the assistant store.
- Added new translations for optimization-related terms in English and Simplified Chinese.
- Enhanced the mock API to support optimization requests and responses.
- Created end-to-end tests for the optimization process, including success and failure scenarios.
- Added backend tests to validate the optimization logic and error handling.
2026-07-19 16:39:50 +08:00
Z1rconium e8313988df feat: add .impeccable and .venv to .gitignore for improved environment management 2026-07-18 13:15:35 +08:00
Z1rconium 49b8d4ed8a feat: enhance Lightbox component with loading states and error handling for original images
- Added loading and error handling for original images in the Lightbox component.
- Introduced thumbnail previews while the original image loads.
- Updated translations for loading and error messages in English and Chinese.
- Added an end-to-end test to verify Lightbox behavior during image loading.
- Created a design system configuration file for consistent UI components.
- Documented design principles and product overview in new markdown files.
2026-07-18 10:06:54 +08:00