Commit Graph

31 Commits

Author SHA1 Message Date
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)
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)
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)
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)
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)
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
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)
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)
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)
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)
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)
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
Torsten Schulz (local)
25ea371220 Remove duplicate import of setupSEORoutes in index.js to clean up code. 2025-12-04 17:09:28 +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