Commit Graph

6 Commits

Author SHA1 Message Date
Torsten Schulz (local)
c998e32825 Enhance session ID handling in image upload route by refining extraction logic to prioritize cookie-based session IDs and fall back to req.sessionID when necessary. Improve logging for better debugging and client lookup, ensuring a more robust user authentication process during uploads. 2025-12-05 11:24:52 +01:00
Torsten Schulz (local)
0b82a47a69 Refactor session ID extraction by exporting the extractSessionId function from broadcast.js. Update routes.js to utilize this function for consistent session ID handling during image uploads, improving code clarity and maintainability. 2025-12-05 11:15:43 +01:00
Torsten Schulz (local)
669885c25c Enhance session ID handling in image upload route by extracting and logging the session ID without the 's:' prefix. Improve client lookup error logging for better debugging during image uploads. 2025-12-05 11:09:06 +01:00
Torsten Schulz (local)
ffe7fabaca Add support for __dirname in ES modules by importing dirname and fileURLToPath. This change enables correct path resolution for file uploads, enhancing the image upload functionality. 2025-12-05 11:04:22 +01:00
Torsten Schulz (local)
6d922fbf9f Implement image upload functionality with temporary storage and cleanup. Update chat and broadcast logic to handle image URLs instead of base64 data, enhancing performance and user experience. Modify .gitignore to exclude temporary files and uploads directory. 2025-12-05 10:43:27 +01:00
Torsten Schulz (local)
6e9116e819 Remove deprecated scripts for adding head-matter to wt_config.xml, including Python and Bash implementations, to streamline configuration management. 2025-12-04 16:34:45 +01:00