155 Commits

Author SHA1 Message Date
Torsten Schulz (local)
e8e1eb4e25 Enhance user statistics reporting in broadcast.js
- Updated the command table to include the last login timestamp for each user, providing more detailed insights into user engagement.
- Modified the structure of the statistics display to improve clarity and usefulness of the data presented.

These changes enhance the depth of user engagement statistics and improve overall reporting accuracy.
2026-03-19 15:45:33 +01:00
Torsten Schulz (local)
c847f249ba Enhance daily statistics reporting in broadcast.js
- Updated the statistics for 'today' to include a list of unique users who logged in, improving the detail and usefulness of the data presented.
- Modified the command table structure to display metrics more clearly, including the date, total logins, and unique users logged in today.

These changes enhance the clarity and depth of user engagement statistics.
2026-03-19 15:42:49 +01:00
Torsten Schulz (local)
8319b43835 Add HeaderAdBanner component to ChatView, FeedbackView, and PartnersView
- Integrated HeaderAdBanner into ChatView.vue, FeedbackView.vue, and PartnersView.vue to enhance advertising capabilities.
- Updated PartnersView.vue to include a new app branding structure for improved visual hierarchy.

These changes collectively improve the user interface and advertising integration across multiple views.
2026-03-19 15:25:42 +01:00
Torsten Schulz (local)
47373a27af Enhance SEO and feedback features across the application
- Updated index.html with improved meta tags for SEO, including author and theme color.
- Added a feedback dialog in ImprintContainer.vue for user feedback submission.
- Refactored LoginForm.vue to utilize a utility for cookie management, simplifying profile persistence.
- Introduced new routes and schemas for feedback in the router and server, enhancing SEO and user experience.
- Improved ChatView.vue with better error handling and command table display.
- Implemented feedback API endpoints in server routes for managing user feedback submissions and admin access.

These changes collectively improve the application's SEO, user interaction, and feedback management capabilities.
2026-03-19 15:21:54 +01:00
Torsten Schulz (local)
0205352ae9 Enhance UI and functionality across multiple components
- Updated styles in style.css to improve overall design consistency and introduced CSS variables for better theming.
- Refined ChatWindow.vue with improved no-conversation styling and adjusted image borders for a cleaner look.
- Enhanced HistoryView.vue and InboxView.vue with new panel styles for better user experience and readability.
- Revamped LoginForm.vue to provide a more engaging user interface with a landing page layout and cookie-based profile persistence.
- Improved MenuBar.vue and SearchView.vue with active state indicators and refined item displays for better navigation.
- Added logout functionality in chat store and server routes to manage user sessions effectively.
- Introduced a new mockup view route for design previews.

These changes collectively enhance the user experience and visual appeal of the application.
2026-03-19 15:01:59 +01:00
Torsten Schulz (local)
8f3cbc16b8 Refactor command help responses in broadcast.js to use structured command tables for improved clarity and organization. Updated help messages for statistics and available commands to enhance user experience. 2026-03-19 14:16:40 +01:00
Torsten Schulz (local)
6d17afe3a1 Remove outdated update.sh script as it has been replaced by update-ypchat.sh for deployment and service management. This change streamlines the update process and consolidates functionality into a single script. 2026-03-19 14:12:51 +01:00
Torsten Schulz (local)
1e092a7232 Add update-ypchat.sh script for deployment and service management
- Introduced a new script, update-ypchat.sh, to streamline the deployment and update process for the ypchat service.
- Replaced the previous update.sh script, consolidating commands for fetching updates, deploying, and managing the service.
- Added support for initial setup and service installation if not already present.
- Ensured proper execution of application dependencies and service restart with appropriate user permissions.
2026-03-19 14:12:44 +01:00
Torsten Schulz (local)
e3928e0b65 Start timeout timer on fresh login in chat store to enhance session management. 2026-03-19 14:08:06 +01:00
Torsten Schulz (local)
6158c9d3c0 Update update.sh to run deployment scripts with sudo
- Modified the update.sh script to prepend 'sudo' to deployment commands for elevated permissions.
- Ensured that all installation and update scripts are executed with the necessary privileges to avoid permission issues during execution.
2026-03-19 14:04:21 +01:00
Torsten Schulz (local)
39fd5e9290 Enhance command table functionality in ChatView component
- Improved command table rendering in ChatView.vue for better user experience.
- Added support for dynamic updates to command table based on WebSocket messages.
- Implemented styling adjustments for improved visual clarity.
- Refined logic for clearing command table state after use.
2026-03-19 14:03:03 +01:00
Torsten Schulz (local)
448f2ffb6f Add command table functionality to chat store and ChatView component
- Introduced `commandTable` state in chat store to manage command output.
- Implemented WebSocket listener for `commandTable` messages.
- Enhanced ChatView.vue to display command table with dynamic content and styling.
- Added `clearCommandTable` method to reset command table state.
- Updated server broadcast logic to send structured command table data for various statistics.
2026-03-19 14:00:08 +01:00
Torsten Schulz (local)
51040391e8 Refactor command handling in broadcast.js to streamline input processing. Moved command validation and parsing logic to ensure proper handling of user inputs during chat login and command execution. 2026-03-19 13:54:14 +01:00
Torsten Schulz (local)
bcb3b5b71f Implement login functionality in ChatInput and chat store. Update input handling to support username and password prompts, enhance message sending logic, and ensure proper command handling during login. Adjust broadcast logic to manage login states and provide appropriate feedback to users. 2026-03-19 13:48:09 +01:00
Torsten Schulz (local)
83110659db Refactor manual chunking in Vite configuration to improve code clarity and maintainability. The updated logic now checks for 'node_modules' and categorizes dependencies into 'vue-vendor' and 'socket-vendor' chunks accordingly. 2026-03-19 13:38:01 +01:00
Torsten Schulz (local)
c7ea33fb2c Upgrade @vitejs/plugin-vue to version 6.0.5 in package.json and package-lock.json, ensuring compatibility with updated node and peer dependencies. 2026-03-19 13:35:23 +01:00
Torsten Schulz (local)
527cea1261 Update dependencies and enhance ChatInput component functionality. Upgraded Vite to version 8.0.1, updated various package versions in package-lock.json, and improved user experience in ChatInput.vue by adding dynamic placeholder text and error handling for message sending without an active conversation. 2026-03-19 13:30:40 +01:00
Torsten Schulz (local)
aabf162f04 Enhance security by preventing the creation of default admin credentials in chat-users.json. Update chat.js to ensure command output does not pollute conversation history, and add chat-users.json to .gitignore to prevent tracking of sensitive user data. 2026-03-19 13:15:34 +01:00
Torsten Schulz (local)
e054d90eb1 Remove chat-users.json file to enhance security by eliminating sensitive user data storage. 2026-03-19 13:15:25 +01:00
Torsten Schulz (local)
10569bd097 Remove CMake configuration and application source files. This includes the deletion of CMakeLists.txt, application logic in app.cpp and app.h, and broadcast functionality in broadcast.cpp. This cleanup streamlines the project structure by removing unused files and configurations. 2026-03-19 12:59:58 +01:00
65cce920f5 Merge pull request 'Update dependency vue-router to v4.6.4' (#3) from renovate/vue-router-4.x-lockfile into main
Reviewed-on: #3
2025-12-19 16:14:46 +01:00
fcce0a8e49 Merge pull request 'Update dependency vue to v3.5.26' (#2) from renovate/vue-monorepo into main
Reviewed-on: #2
2025-12-19 16:14:38 +01:00
c9fde43787 Update dependency vue-router to v4.6.4 2025-12-19 16:12:56 +01:00
83516fddfe Update dependency vue to v3.5.26 2025-12-19 16:12:52 +01:00
b2c1780f26 Merge pull request 'Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: #1
2025-12-19 16:08:50 +01:00
36dfe04db9 Add renovate.json 2025-12-19 15:59:06 +01:00
Torsten Schulz (local)
283880dc7d Add visual feedback for unread messages in the menu. Implement a pulsing animation and color change for the inbox button when there are unread chats. Also, add sound notification for new messages received, enhancing user experience. 2025-12-05 11:54:33 +01:00
Torsten Schulz (local)
38f7eecfd7 Update menu button styles in CSS to enforce consistent appearance with !important rules. Adjust padding, margin, and display properties for improved layout and responsiveness. 2025-12-05 11:42:17 +01:00
Torsten Schulz (local)
240316a063 Add styles for menu button in CSS to enhance visual appearance. Set text color to white, background to transparent, and remove border for a cleaner look. 2025-12-05 11:38:14 +01:00
Torsten Schulz (local)
daffaacea7 Enhance session management in image upload route by initializing req.session to ensure cookie setting. Implement fallback logic to retrieve the most recently active client if the initial client lookup fails, improving user authentication robustness during uploads. 2025-12-05 11:34:57 +01:00
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)
61a4b4738b Update dependencies in package.json and package-lock.json to lower versions, including @vitejs/plugin-vue (5.0.4) and vite (5.4.11). Downgrade esbuild and related packages to version 0.21.5, ensuring compatibility with Node.js 12 or higher. Remove unused dev dependencies to streamline project dependencies. 2025-12-05 11:02:17 +01:00
Torsten Schulz (local)
8d2189dd7a Refactor broadcast.js to improve logging functionality by consolidating log message formatting and enhancing error handling. This update ensures clearer log outputs and better management of log entries. 2025-12-05 11:00:10 +01:00
Torsten Schulz (local)
d1fc31f4dd Improve error handling and logging in broadcast.js by adding try-catch blocks when creating the logs directory. Update error messages to display only the error message for better clarity. This enhances the robustness of the logging functionality. 2025-12-05 10:56:51 +01:00
Torsten Schulz (local)
152d13b1f6 Refactor logging functions in broadcast.js to create logs directory if it doesn't exist. Update setupBroadcast function to pass __dirname for correct path resolution. This enhances log management and ensures logs are stored in the appropriate directory. 2025-12-05 10:51:34 +01:00
Torsten Schulz (local)
351129dace Update dependencies in package.json and package-lock.json to latest versions, including @vitejs/plugin-vue (6.0.2) and vite (7.2.6). Upgrade esbuild and related packages to version 0.25.12, ensuring compatibility with Node.js 18 or higher. Add new dev dependencies fdir and tinyglobby for improved file handling. 2025-12-05 10:44:53 +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)
840504e440 Implement retry logic for dependency installation in install.sh to handle registry errors, enhancing robustness. Remove unused sharp dependency from package-lock.json to streamline project dependencies. 2025-12-05 10:32:09 +01:00
Torsten Schulz (local)
4e350774e5 Update .gitignore to include additional entries for build artifacts, Node.js dependencies, environment variables, IDE configurations, and OS-specific files, enhancing project cleanliness and preventing unnecessary files from being tracked. 2025-12-05 09:57:26 +01:00
Torsten Schulz (local)
6119ebe955 actualized version 2025-12-05 09:56:41 +01:00
Torsten Schulz (local)
9b4f679f71 Enhance chat and broadcast functionality with debug logging for image messages. Update chat store to log received messages and their details, and modify broadcast to log image sending events. Increase maxHttpBufferSize for handling larger images in Socket.IO. 2025-12-05 09:29:18 +01:00
Torsten Schulz (local)
7b98f7a5ac Update apache-config-example.conf to enhance WebSocket support and refine reverse proxy configuration for Socket.IO. Added comments for clarity and ensured proper routing for WebSocket connections and polling. 2025-12-05 09:25:57 +01:00
Torsten Schulz (local)
6b0e905d27 Enhance SEO meta tag handling in generateHTML function by improving regex patterns for description and keywords, ensuring proper insertion of new tags before closing head tag while preserving script tags, and adding detailed logging for HTML manipulation. 2025-12-05 09:20:27 +01:00
Torsten Schulz (local)
9ee288fd93 Add 404 handling for /src/ paths in production environment 2025-12-05 09:09:30 +01:00
Torsten Schulz (local)
c9b38f9825 Update apache-config-example.conf to improve static file handling and reverse proxy configuration. Disable DirectoryIndex to prevent serving index.html directly, and ensure all requests are routed to Node.js. Add comments for clarity on configuration rules. 2025-12-05 08:57:11 +01:00
Torsten Schulz (local)
99097cf213 Improve SEO handling in generateHTML function by adding detailed logging, enhancing error handling for missing index.html, and ensuring proper path resolution for production environments. 2025-12-05 08:56:29 +01:00
Torsten Schulz (local)
2ee52523ff Enhance SEO meta tag handling in generateHTML function by adding support for reading built index.html, updating existing tags, and implementing fallback logic for missing files. 2025-12-05 08:03:20 +01:00