Commit Graph

7 Commits

Author SHA1 Message Date
kor-elf 520a3ba068 Revived API POST /api/v1/captcha.
Captcha validation has been adjusted.
2023-11-26 15:09:42 +06:00
kor-elf 27046e6674 Revived API /api/v1/captcha.
Now a new captcha is created to check for a bot.
2023-09-19 14:27:33 +06:00
kor-elf 4083e2ec5e Added the ability to manage a group of users. 2023-07-16 19:21:09 +06:00
kor-elf 6dd24ac1d3 A new method 'isError' has been introduced to the ServiceResult interface and its implementation. This change was made to improve readability and logic. Now instead of checking if the result is not successful, we can directly check if it's an error using isError method. This improves the code clarity. 2023-07-06 22:31:39 +06:00
kor-elf 91810190b7 Introduced a new class ServiceResultSuccess to distinctively handle successful service responses. Changes were made in AuthService and Service base class to replace ServiceResultArray with ServiceResultSuccess for successful operations. This provides a more accurate response type and improves code readability. 2023-07-06 21:54:10 +06:00
kor-elf a35b8db281 Add captcha image generation functionality. 2023-06-28 17:29:56 +06:00
kor-elf 00177a134e Introduced ServiceResult and ServiceResultError interfaces, and respective classes with related methods. These changes were necessary to add and handle service results throughout the app. We now have a standard way to return and handle both successes and errors from our services. This leads to cleaner, clearer, and more maintainable code. 2023-06-28 14:36:51 +06:00