This commit introduces a new endpoint, `GetSelfController`, for fetching authenticated user information in the `AuthController`. It also improves token handling by refactoring token retrieval from headers into a utility function. Additionally, the User service has been extended with new methods for getting a user by ID and for fetching follower and following information. Token UUID handling during registration has been tweaked for consistency. Improvements in logging levels and responses status codes have been made as well.
This commit creates new methods for the authentication system, especially the user registration feature. The update also validates input data and checks if a user already exists in the database. It modifies the application entry point to include the updated user registration route and provides updates to the database service to include user-related functions. The MariaDB collation was also updated in the database schema script to support unicode.
A timezone setting has been added to the dataSources.xml file. This change is for addressing any potential issues related to time manipulation that may arise due to the difference in time zones. Specifically, the timezone was set to "Europe/Paris".
This commit includes a new file, sqldialects.xml, which specifies the SQL dialect to be MariaDB for the databases service. This additional configuration complements and improves the interaction with MariaDB databases.
This commit introduces new configuration files for the project, which includes modifications in the .iml file, creation of data sources, and changes in misc, modules and VCS settings. These files help in streamlining IDE settings for the project, database connections, version control system preferences and other project-level settings.
This commit updates .gitignore and adds .idea/.gitignore to ignore certain directories and files. The tracked files that are now ignored include IDE-specific files, third-party libraries, environment variables, and database files, providing cleaner and more focused commits.