Commit Graph
11 Commits
Author SHA1 Message Date
MajoorWaldi 71ef418bdd feat: Implement sibling asset hiding logic for PNG files
- Added functions to manage sibling asset states and determine if PNG siblings should be hidden based on their context (video, audio, model3D).
- Refactored asset appending logic to utilize the new sibling hiding functionality.
- Updated the backend to prioritize image assets over video assets in the same stack group.
- Introduced a new execution asset buffer to manage job-related assets efficiently.
- Created tests for sibling hiding logic and execution asset buffer functionality.
2026-03-28 17:58:23 +01:00
MajoorWaldi dc72be0139 feat: enhance JS testing and linting setup
- Added coverage reporting for Vitest with configuration in vitest.config.mjs
- Updated package.json to include new scripts for JS coverage, linting, and formatting
- Modified run_quality_gate.py to allow skipping ESLint and Prettier checks
- Introduced .prettierrc for consistent code formatting
- Created .prettierignore to exclude specific files and directories from formatting
2026-03-28 14:14:28 +01:00
MajoorWaldi c9be315b42 feat: Implement stack grouping for asset cards with popover management and enhanced CSS styling 2026-03-27 17:38:07 +01:00
MajoorWaldi fd480b269b feat(grid): add scrollGridToTop function and integrate into asset upsert flow 2026-03-01 00:29:47 +01:00
MajoorWaldi 08e07b5312 fix: replace silent catches with debug logging across multiple files
- Updated error handling in videoProcessor.js, videoProcessorWebGL.js, videoSync.js, viewerInstanceManager.js, and various utility files to log caught exceptions using console.debug.
- Introduced a new script to automate the replacement of silent catch blocks with logging statements.
- Enhanced safety checks in the database schema and transaction manager to prevent SQL injection vulnerabilities.
- Added regex patterns for validating column definitions and executable names in the ExifTool adapter.
- Improved error handling in health and filesystem routes to ensure better feedback on invalid inputs.
- Added tests to cover new error handling and validation logic.
2026-02-27 21:00:17 +01:00
MajoorWaldi 1cf28b1ca3 feat(api): initialize API listeners in the background for improved sidebar tab registration
fix(grid): increase debounce time for upsert batching to enhance performance

fix(panel): optimize asset reload logic to prevent unnecessary full reloads

feat(index): emit newly-added assets immediately for real-time updates in the frontend
2026-02-27 18:31:49 +01:00
MajoorWaldi 70621bd8d6 fix(toast): improve error toast handling and dismissals
- Make all error toasts persistent and group them for mass dismissal
- Add fallback mechanism for error toast dismissal in case of ComfyUI extension absense
- Remove auto-removal of error toasts, requiring manual dismissal
- Adjust success toasts to remove grouped error toasts (if ComfyUI extension present)
2026-02-27 13:35:32 +01:00
MajoorWaldi d1840910f4 fix(majoor): enhance security and reliability across frontend and backend
- Implement input validation and sanitization for various components
- Add checks to prevent symlink following and directory traversal attacks
- Introduce error handling and reporting improvements
- Optimize database queries and schema interactions
- Enhance file path handling in ffprobe adapter
- Refactor enrichment state management
- Improve grid view performance and stability
- Update panel state handling with sanitization
- Refine status dot functionality
- Add runtime store handling for assets deleted event
2026-02-26 19:05:09 +01:00
MajoorWaldi 75261d636c Add comprehensive tests for SQLite facade, metadata extractors, and security helpers
- Introduced unit tests for SQLite facade helpers, including schema validation, query building, and async operations.
- Added integration tests for basic SQLite queries and transaction handling.
- Implemented additional tests for metadata extraction functions, focusing on dimension handling, EXIF data, and video metadata.
- Created tests for security core helpers, covering environment variable checks, IP validation, and CSRF protection.
- Included compatibility tests for route exports to ensure proper functionality.
2026-02-26 07:01:43 +01:00
MajoorWaldi aa159bb460 feat: enhance ComfyUI integration with new API references, event constants, and improved dialog handling 2026-02-25 14:56:15 +01:00
MajoorWaldi 5793389fae feat(grid): implement infinite scroll and upsert functionality
- Added InfiniteScroll.js to handle fetching pages, loading next pages, and managing asset insertion.
- Introduced RatingTagsHydrator.js for managing rating and tag badges on asset cards.
- Created VirtualScroller.js to manage virtual scrolling behavior and scroll container detection.
- Added ViewerCanvas.js, ViewerKeyboard.js, ViewerState.js, and ViewerToolbar.js to modularize viewer functionalities.
- Implemented functions for loading and saving viewer preferences in ViewerState.js.
2026-02-25 14:31:06 +01:00