Commit Graph

20 Commits

Author SHA1 Message Date
Drew Ilgenfritz c4d6b70b14 more updates to campain 2025-11-30 19:38:30 -06:00
dilgenfritz d2c8c7206d update 2025-11-30 11:37:49 -06:00
dilgenfritz b5856b21ae Fix: Critical syntax error and storage quota issues
- Fixed missing arrow (=>) in interactiveTaskManager.js line 5677
- Added null checks for DOM elements in async intervals (dynamic captions, sensory overload tasks)
- Disabled auto-backup to prevent localStorage quota exceeded errors
- Implemented aggressive emergency cleanup (removes all backups and photo data)
- Added global QuotaExceededError handler with automatic cleanup
- Added BackupManager to training-academy.html with initialization
- Enhanced preference save error handling with user feedback
- Save validation prevents level progression if preferences fail to save
- All photo data now removed from localStorage to conserve space
2025-11-29 22:27:36 -06:00
dilgenfritz 49fc81418d punishment gauntlet ready for release 2025-11-26 22:14:45 -06:00
dilgenfritz 61569291f1 Major humiliation game expansion: Added 6 choice steps, 5 unique endings, expanded from 17 to 29 total steps. Includes determine_ending mechanic for player agency and rare defiant escape path. Duration now 20-25 minutes with natural cascading choices. 2025-11-26 21:26:57 -06:00
dilgenfritz cbdea7bf3b updated library to be on its own page 2025-11-26 06:15:40 -06:00
dilgenfritz 8789b8e16b fix the color theme in traning academy as well as continuity issues. 2025-11-25 10:15:26 -06:00
dilgenfritz 828e837d83 feat(phase-4): integrate theme system into Training Academy
- Import color-variables.css and themeManager.js
- Add theme toggle switcher to academy header
- Replace header gradient, borders, and title colors with CSS variables
- Update all button styles (btn, btn-secondary, btn-warning)
- Replace training mode cards, status bars, and controls with theme variables
- Update training task styling, complete buttons, and start button
- Replace library status and blue accent colors
- Training Academy now fully theme-aware across all UI elements
2025-11-24 13:00:00 -06:00
dilgenfritz 27b4a52170 feat: standardize Training Academy header to match Quick Play/Porn Cinema - fixed positioning and layout 2025-11-24 12:34:35 -06:00
dilgenfritz c40ed278e0 Major project reorganization: Move docs and scripts to dedicated directories
Documentation Organization:
- Move all documentation (except main README.md) to docs/ directory
- Create docs/README.md as navigation index for all documentation
- Update file structure references in main README.md

 Script Organization:
- Move all scripts to scripts/ directory (setup.bat, setup.sh, Start-webgame.bat, etc.)
- Update script references in documentation
- Update distribution scripts to use new paths

 Hypno Gallery Implementation:
- Implement recursive image directory scanning in main process
- Add readImageDirectoryRecursive IPC handler for proper Node.js fs access
- Clean up complex fallback code in hypno-gallery.html
- Create comprehensive HYPNO-GALLERY-README.md documentation

 File Structure Improvements:
- Clean root directory with only essential application files
- Organized subdirectories: src/, docs/, scripts/, images/, audio/, assets/
- Professional project structure for better maintainability

This reorganization improves project navigation, separates concerns properly,
and provides a solid foundation for future development.
2025-11-18 22:42:32 -06:00
dilgenfritz bb27735b46 feat: Add webcam recording task overlay system
- Implement canvas-based video compositing for task overlays
- Task information now burned directly into webcam recordings
- Show actual task content instead of generic descriptions
- Remove screen overlay in favor of webcam-embedded overlay
- Auto-enable task overlay for all webcam recordings
- Add real-time task text, type, and timer display on recordings
- Enhance training session documentation and review capabilities
2025-11-17 10:07:19 -06:00
dilgenfritz 676f06b2f1 feat: Implement TTS (Text-to-Speech) integration in Training Academy
- Add VoiceManager integration with cross-platform voice selection
- Implement TTS controls with toggle, stop, and status display
- Add voice narration for task instructions and scenario stories
- Integrate TTS guidance for focus sessions with progress announcements
- Add TTS feedback for task completion and mode selections
- Include smart text cleaning and queue system for seamless speech
- Reorganize documentation files into archive folder
- Update player stats and webcam manager for better integration
2025-11-17 07:24:40 -06:00
dilgenfritz 37ec5f0f1e Complete media library cleanup - consolidate duplicate gallery systems
Phase 1 - Video Library Consolidation:
- Removed unified-video-gallery, loadUnifiedVideoGallery(), loadStandardVideoGallery(), loadLargeVideoGallery()
- Removed loadVideoGalleryContent() and all category-video-gallery references
- Removed setupVideoItemHandlers(), selectAllVideos(), deleteSelectedVideos(), deleteVideo()
- Consolidated to single lib-video-gallery system

 Phase 2 - Image Library Consolidation:
- Removed task-images-gallery, consequence-images-gallery elements and tabs
- Removed obsolete image selection buttons
- Added task/consequence/reward filtering to lib-image-gallery
- Implemented directory-based category filtering

 Phase 3 - Audio Library Consolidation:
- Removed background-audio-gallery, ambient-audio-gallery elements and tabs
- Removed obsolete audio selection buttons
- Enhanced lib-audio-gallery with background/ambient category filtering
- Implemented efficient audio filtering system

 Impact: ~500+ lines removed, 12+ duplicate functions eliminated, 9+ obsolete UI elements cleaned
 Result: Single consolidated library system per media type with enhanced filtering capabilities
2025-11-11 20:41:53 -06:00
dilgenfritz 1c129de6f6 REMOVED: Complete AI task generation system program-wide
DELETED FILES:
- src/features/tasks/aiTaskManager.js (entire AI task generation system)

 UPDATED FILES:
- index.html: Removed AI Tasks tab from annoyance management, simplified to Import/Export only
- src/core/game.js: Removed aiTaskManager initialization, event handlers, and all AI task methods
- training-academy.html: Removed aiTaskManager.js script import
- src/README.md: Removed aiTaskManager.js documentation
- docs/ANNOYANCE_SETTINGS_DOCUMENTATION.md: Removed AI Tasks section, updated description
- Start-webgame.bat: Removed Ollama service startup commands
- src/styles/styles.css: Removed all AI Tasks tab styling (150+ lines)

 VERIFICATION:
- No remaining references to aiTaskManager, AITaskManager, ollama, or Ollama in JavaScript files
- Annoyance management now only contains Import/Export functionality
- All AI task event handlers and UI elements removed
- Documentation updated to reflect removal
- Startup script no longer attempts to start Ollama service

 RESULT: Clean codebase with AI task generation completely removed as requested
2025-11-08 18:13:32 -06:00
dilgenfritz 31cfb7cba5 Add photo deletion capability to library photo gallery
ADDED: Photo deletion functionality
- Added delete button () to each photo in library gallery
- Appears on hover with smooth opacity transition
- Positioned in top-right corner of photo container

 FUNCTIONALITY: Complete delete workflow
- deletePhoto() function removes photos from localStorage
- Confirmation dialog shows photo type and date
- Automatic gallery refresh after deletion
- Support for both All Photos and Dress Up galleries
- Proper index handling for filtered galleries

 STYLING: Professional delete button design
- Red circular button with trash icon
- Hover effects with scale animation and shadow
- Semi-transparent background for visibility
- Positioned with absolute positioning in photo-actions container

 SAFETY: User confirmation and error handling
- Confirmation dialog prevents accidental deletion
- Index validation to prevent errors
- Success flash message after deletion
- Console logging for debugging

 RESULT: Users can now delete unwanted photos
- Hover over any photo to reveal delete button
- Click for confirmation dialog with photo details
- Gallery automatically updates after deletion
- Works for all photo categories in library
2025-11-08 11:23:03 -06:00
dilgenfritz 3b55de325d Enhance training academy video controls with playlist and improved styling
ADDED: Complete video control panel matching quick-play
- Added collapsible video control panel positioned in top-right corner
- Implemented rewind/forward 10s, skip, play/pause functionality
- Added volume control with slider and visual percentage display
- Included video progress bar with time display

 ADDED: Playlist selection dropdown
- Added Source dropdown with Random Videos and Playlist options
- Integrated playlist selection change handler
- Matches quick-play interface for consistency

 IMPROVED: Button styling and spacing
- Optimized button padding and font size for better fit
- Reduced gap between buttons for cleaner layout
- Added proper CSS for playlist dropdown with hover effects

 FIXED: Video info display
- Fixed 'No video loaded' issue by properly calling updateVideoInfo()
- Added metadata loading handlers for initial and subsequent videos
- Enhanced video switching to update info immediately

 RESULT: Training academy now has identical video controls to quick-play
- Fixed positioning with proper z-index and floating panel
- Fully functional collapse/expand with smooth transitions
- Current video name displays correctly
- All control buttons fit properly in the panel
2025-11-08 10:13:42 -06:00
dilgenfritz b5ef5d2c77 Fix video library thumbnail spacing and create media cleanup plan
FIXED: Video library thumbnail spacing issues
- Identified multiple conflicting video gallery systems in index.html
- Applied proper CSS fixes to #lib-video-gallery (gap: 4px, height: 240px)
- Resolved CSS conflicts between unified-video-gallery and lib-video-gallery
- Enhanced video info display visibility and styling
- Successfully created compact layout with visible video titles

 CREATED: Comprehensive media library cleanup plan
- Documented 3 duplicate video library systems requiring consolidation
- Identified duplicate image and audio gallery systems
- Created phased cleanup approach in docs/MEDIA_LIBRARY_CLEANUP_PLAN.md
- Estimated ~1,150 lines of duplicate code to be removed
- Preserved all functionality while simplifying architecture

 RESULT: Working video library with proper spacing and video info display
- lib-video-gallery confirmed as primary system to keep
- All other video gallery systems marked for removal
- Next: Execute cleanup phases to eliminate duplicates
2025-11-08 09:33:51 -06:00
dilgenfritz 9a8d4b5432 Fix training academy task completion and prevent unwanted default task cycling
- Fixed completion behavior to return to mode selection instead of cycling through tasks
- Added explicit training-academy mode handling to load proper scenario data
- Prevented default focus-hold tasks (edge-focus-training, etc.) from being loaded
- Added task filtering to block unwanted default tasks
- Enhanced gameData protection with getter/setter to prevent task replacement
- Improved error handling to return to mode selection on invalid scenarios
- Training academy now properly loads scenario adventures with full interactive data
- Fixed scenario-training-regimen loading to include proper step data
2025-11-04 20:24:41 -06:00
dilgenfritz dbadd4a828 feat: Enhanced mirror task timer system and condescending game over dialog
- Fixed mirror task timer display to show actual duration (not hardcoded 60s)
- Added working progress bar with real-time countdown
- Disabled complete button until timer expires - prevents early completion
- Complete button shows countdown and enables only when timer finished
- Changed close mirror button to trigger immediate game over instead of confirmation
- Added condescending but professional game over dialog for training abandonment
- Fixed WebcamManager syntax errors that prevented proper initialization
- Enhanced training academy button styling for professional appearance
- Improved timer synchronization between training academy and webcam interfaces
2025-11-04 19:48:07 -06:00
dilgenfritz 2112142563 feat: Complete training academy integration with photo capture and endurance trials 2025-11-04 15:03:35 -06:00