Commit graph

6 commits

Author SHA1 Message Date
5e3f584cc1 Update database file 2025-04-25 23:05:53 +02:00
b8f2a91411 Add kick and file management features
- Implement kick functionality with add, remove, and check operations
- Add file management with create, request, and verify operations
- Update database schema with new tables and columns
- Enhance command handling in client module for new features
- Fix argument order in verify_password function
2025-04-22 23:04:35 +02:00
91b6942348 Add ban and unban functionality with admin verification
- Implement /ban and /unban commands for admins
- Add database functions to ban and unban users
- Update user verification to include ban status
- Remove unused get_user_by_username function
- Improve server logging and error handling
2025-04-22 17:39:24 +02:00
d06a15771a Add ban check and reason retrieval for user authentication
- Introduced `check_ban` and `get_ban_reason` functions in `db::users`
- Updated client handler to enforce ban checks during login
- Added detailed logging for ban status and reasons
2025-04-21 18:36:30 +02:00
b98a890738 ```
Add user authentication with password hashing

- Integrated Argon2 for password hashing and verification
- Added bcrypt and thiserror dependencies
- Updated database schema with admin and ban flags
- Implemented user account creation and login logic
- Enhanced error handling for database operations
```
2025-04-21 17:46:22 +02:00
8df02b7a5a Add SQLite database support and user management functionality 2025-01-31 13:43:35 +01:00