Commit Graph

164 Commits

Author SHA1 Message Date
Torsten Schulz (local)
32b48909c5 Update favicon, enhance sidebar branding, and improve CSS styles
- Replaced the favicon with a new app icon and added a shortcut icon for better branding.
- Enhanced the sidebar branding in ChatView.vue by introducing a logo element for improved visual appeal.
- Updated CSS styles to support new sidebar layout and icon display, ensuring a cohesive design.

These changes collectively improve the user interface and branding consistency across the application.
2026-04-21 15:29:21 +02:00
Torsten Schulz (local)
336e8308cf Refactor chat interface and enhance user experience
- Updated the ChatWindow component to provide clearer instructions and actions when no conversation is selected, improving user guidance.
- Redesigned the MenuBar to display session timeout information more effectively.
- Enhanced the SearchView component with a more user-friendly country selection using a Multiselect dropdown.
- Improved the UserList component to display user age and gender, enhancing user profile visibility.
- Updated various views (ChatView, FaqView, FeedbackView, PartnersView, RulesView, SafetyView) to include a consistent app branding link for better navigation.

These changes collectively enhance the chat interface, improve user engagement, and streamline navigation across the application.
2026-04-20 12:01:26 +02:00
Torsten Schulz (local)
0fcc6878bd Add multilingual SEO metadata and enhance content descriptions
- Introduced localized SEO metadata for multiple languages in routes-seo.js, improving search engine visibility.
- Updated descriptions and keywords across various views (Home, Partners, Feedback, FAQ, Rules, Safety) to better reflect the platform's focus on private and anonymous chatting.
- Enhanced user guidance in FAQ, Partners, Rules, and Safety views with additional context on privacy and chat functionality.

These changes collectively improve the site's SEO performance and user experience by providing clearer, localized content.
2026-04-09 09:49:30 +02:00
Torsten Schulz (local)
43a5e595d7 Add multilingual SEO support in routes-seo.js</message>
<message>
- Introduced a new SEO_LOCALES array to support multiple languages for SEO content.
- Implemented a function to build multilingual SEO content based on available locale files.
- Enhanced the generateHTML function to include multilingual sections for the home route, improving accessibility for diverse audiences.

These changes enhance the site's SEO capabilities by providing localized content for better search engine indexing and user engagement.
2026-04-07 15:37:49 +02:00
Torsten Schulz (local)
27f928d8a4 Enhance SEO and URL handling in router and server
- Updated the router to ensure canonical URLs are correctly formatted, particularly for the home path.
- Added middleware in the server to remove tracking/session query parameters, preventing duplicate URLs from being indexed by Google.
- Set canonical link headers in SEO routes to assist search engines in URL attribution.

These changes improve SEO performance and ensure cleaner URL structures across the application.
2026-03-30 09:05:12 +02:00
Torsten Schulz (local)
06182a4a95 Add FAQ, Rules, and Safety pages with corresponding routes and SEO metadata
- Introduced new links in ImprintContainer.vue for FAQ, Rules, and Safety pages.
- Added FaqView, RulesView, and SafetyView components to handle the new routes.
- Implemented SEO metadata for the new pages in routes-seo.js and router/index.js.
- Updated server routes to include the new paths for proper handling in production.

These changes enhance the site's informational resources and improve SEO visibility for user inquiries.
2026-03-27 14:15:37 +01:00
Torsten Schulz (local)
6909c7c45c Refactor user engagement statistics reporting in broadcast.js
- Enhanced the command table to include unique user logins for improved insights into user activity.
- Updated the structure of the statistics display for better clarity and usability.

These changes improve the depth and accuracy of user engagement reporting.
2026-03-27 11:51:14 +01:00
Torsten Schulz (local)
bb13779c72 Implement SEO improvements and enforce HTTPS redirection in production
- Added a middleware to enforce HTTPS and canonical host for known public hosts, enhancing security and SEO.
- Introduced a function to generate the sitemap.xml dynamically, improving the delivery of SEO data to crawlers.
- Updated the sitemap route to utilize the new function, ensuring stable delivery and error handling.

These changes collectively enhance the application's SEO capabilities and ensure secure access in production environments.
2026-03-27 11:35:50 +01:00
Torsten Schulz (local)
9b079e31a0 Update site URLs to use the 'www' subdomain across the application
- Changed the site URL in index.html, router, and server routes from 'https://ypchat.net' to 'https://www.ypchat.net' for consistency and improved SEO.
- Updated related meta tags and constants to reflect the new URL structure.

These changes ensure a unified domain reference throughout the application.
2026-03-27 11:16:14 +01:00
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