Commit Graph

8 Commits

Author SHA1 Message Date
Torsten Schulz (local)
3eaf31d64f Enhance room access validation and database structure in yourchat2
Updated the room access logic in `handle_init_command` and `handle_join_command` to improve validation against user rights and room ownership. Introduced new fields in the `RoomMeta` structure for room type and friends-only access. Modified database queries to accommodate these changes, ensuring robust access control based on user relationships and room settings.
2026-03-04 22:35:16 +01:00
Torsten Schulz (local)
fbbb698ed9 Add bcrypt password hashing and user gender handling in yourchat2
Integrated bcrypt for password verification and updated user profile management to include gender and rights handling. Enhanced room access validation to consider gender restrictions and user rights. Updated database queries and structures to support new fields, ensuring compatibility with existing functionalities.
2026-03-04 18:30:59 +01:00
Torsten Schulz (local)
9478e6a91a Enhance README with CLI room checking instructions and implement room name resolution in command handling. Updated handle_init_command and handle_join_command to use resolved room names, improving room access validation. Added CLI command handling in main.rs to list available rooms from the database or fallback configuration. 2026-03-04 17:55:53 +01:00
Torsten Schulz (local)
aca290f1d0 Implement TLS support for WebSocket connections in yourchat2. Updated main.rs to handle secure WebSocket connections based on environment variables. Enhanced install-systemd.sh to include a template for environment configuration. Updated README to document new TLS-related environment variables and installation instructions. 2026-03-04 17:42:47 +01:00
Torsten Schulz (local)
0037ac5c28 Update install-systemd.sh to enhance the build process. Changed the build command to use a subshell for better directory context and updated the progress indicator from [1/6] to [1/7]. 2026-03-04 17:24:43 +01:00
Torsten Schulz (local)
91a58855eb Refactor install-systemd.sh and update yourchat2.service for improved installation and configuration. Added binary installation to /usr/local/bin, created work directory at /var/lib/yourchat2, and updated user/group settings. Enhanced README to reflect these changes. 2026-03-04 17:23:29 +01:00
Torsten Schulz (local)
5c4ac55f61 Update README and systemd service configuration for yourchat2. Added installation script install-systemd.sh for easier setup and modified yourchat2.service to improve service management, including environment file support and enhanced restart policies. 2026-03-04 17:21:03 +01:00
Torsten Schulz (local)
0b91b94ae1 Initialisiere yourchat2 als eigenständigen Rust-Chatdienst und portiere die Kernfunktionen aus der Altanwendung.
Die Implementierung enthält modulare Command-/State-/DB-Strukturen, DB-basierte Authentifizierung inkl. Rechte- und Raumzugriffsprüfung sowie kompatible Chat- und Dice-Commands.

Made-with: Cursor
2026-03-04 17:04:41 +01:00