- Removed unused functions for JWT token validation and extraction
from the `AuthController`. This simplifies the codebase and
removes unnecessary dependencies.
- Improved error handling during user JSON parsing in login and
registration controllers, adding more informative log messages.
- Updated user model to remove unnecessary password fields. This
reduces data storage and improves security by not storing
sensitive information unnecessarily.
- Added more robust error handling and logging for JSON parsing in
the home and auth controllers. This helps in debugging and
monitoring potential issues during runtime.
This commit introduces environment configuration and Gitea OAuth
authentication.
- Added a `.env.sample` file for configuring server settings,
database connection, authentication, and OAuth. This allows
for easier customization and separation of configuration from
code.
- Implemented Gitea OAuth for user authentication. This provides
a secure and convenient way for users to log in using their
existing Gitea accounts.
- Created a troubleshooting guide to help users resolve common
issues, including authentication and server problems. This
improves the overall user experience.
- Added a debug controller and view to aid in development and
troubleshooting. This provides developers with more tools to
investigate issues.
- Improved the user interface for login and registration. The
changes include a cleaner design and clearer instructions. This
enhances the user experience.