76 Commits
Author SHA1 Message Date
kor-elf 76262c8190 Removed unused third-party SCSS imports from app.scss. 2026-10-23 22:41:55 +05:00
kor-elf 0f9dda9bdb Removed unused JS imports from app.js. 2026-10-23 22:41:48 +05:00
kor-elf d99b5dbf74 Added SCSS base structure for Volt Admin, including components, mixins, functions, and layout styling. 2026-10-23 22:41:17 +05:00
kor-elf 0279807def Removed unused $info variable in CaptchaVerificationInformation.php. 2026-10-23 20:48:06 +05:00
kor-elf 0cc1901720 Removed __destruct method from Image contract. 2026-10-23 20:43:22 +05:00
kor-elf f7810819e6 Removed redundant imagedestroy calls in Image.php. 2026-10-23 20:41:38 +05:00
kor-elf e1fe94f920 Added @throws CaptchaException annotation to createImageFromPathToFile method in Image.php. 2026-10-23 20:35:47 +05:00
kor-elf 62dcd6c0b9 Added @throws CaptchaException annotation to insertBackground method in Image.php. 2026-10-23 20:34:58 +05:00
kor-elf 643776336e Added ext-fileinfo to Composer dependencies. 2026-10-23 20:34:49 +05:00
kor-elf 4b21b75ded Added ext-gd to Composer dependencies. 2026-10-23 20:34:05 +05:00
kor-elf cf55fa3ac9 Refactored index.php: simplified bootstrapping, replaced kernel handling with handleRequest, and removed redundant comments. 2026-10-23 20:32:05 +05:00
kor-elf 6234b9b5fc Refactored artisan script: simplified bootstrapping, replaced kernel handling with handleCommand, and removed redundant comments. 2026-10-23 20:31:58 +05:00
kor-elf 253cfebbef Updated Vite configuration: defined globalThis, adjusted optimizeDeps, and enabled eager loading with query params for import.meta.glob. 2026-10-23 20:31:51 +05:00
kor-elf 646f3ee21a Updated npm dependencies and scripts: bumped package versions, added new optional dependencies, adjusted configuration, and set schema and module type in package.json. 2026-10-23 20:31:42 +05:00
kor-elf 5b66e715ab Updated Composer dependencies and scripts: bumped package versions, added new Composer scripts, and adjusted configuration settings. 2026-10-23 20:31:26 +05:00
kor-elf f300a566f0 Refactored Docker setup: replaced NGINX Unit with PHP-FPM and NGINX, simplified configurations, and removed redundant files. 2026-10-22 21:40:22 +05:00
kor-elf 0f07c8c6ab Improved queue launch in Docker.
Now it does not die, but in a loop inside it restarts php /var/www/html/artisan queue:work --verbose --sleep=5 --tries=10 --max-time=3600.
2024-06-11 22:44:48 +05:00
kor-elf de69776bc8 Added php artisan storage:link. 2024-06-11 22:42:10 +05:00
kor-elf cce94cd210 Added autocomplete="off" attribute to input password. 2024-06-11 22:39:15 +05:00
kor-elf ed6a036d8d Deleted sweetalert2. 2024-06-11 22:34:55 +05:00
kor-elf 3871670c91 Removed extra code. 2024-06-11 22:30:56 +05:00
kor-elf 0e93b2e780 Fixed .dockerignore. 2024-05-19 21:01:26 +05:00
kor-elf b662a85572 Fixed the use of the UNIT_SOURCE parameter for Nginx Unit. 2024-04-28 19:48:20 +05:00
kor-elf bd91cdef0c BROADCAST_DRIVER changed to reverb. 2024-04-28 13:13:27 +05:00
kor-elf 1532cecedc For demo mode, I hid the display of IP and UserAgent. 2024-04-28 02:12:09 +05:00
kor-elf 5703015874 Revived the dashboard. 2024-04-28 01:26:30 +05:00
kor-elf 4bc170ed00 Added final to UsersController. 2024-04-26 20:36:32 +05:00
kor-elf 20ed4860da Added the ability to enable captcha when logging in. 2024-04-25 23:45:07 +05:00
kor-elf e059f09e2f Updated Laravel to 11. 2024-04-25 20:58:52 +05:00
kor-elf 8794b8af4e I returned the LICENSE.md file back. 2024-04-25 20:07:13 +05:00
kor-elf 85e181e51c Changed the project structure. 2024-04-25 19:56:34 +05:00
kor-elf 172a9460df Fix https on prod.
Added the force_https parameter to env APP_FORCE_HTTPS. This will force https to be enabled.
2023-12-09 00:55:56 +06:00
kor-elf 8ccbd5000d Add demo mode restriction to CaptchaToken destroy method.
This commit adds a check to the `destroy` method in the `CaptchaTokenService`. It uses the `Helpers::isDemoModeAndUserDenyUpdate` function to prevent users from deleting tokens while the application is in demo mode. This was added to protect the application's state during presentations or demos.
2023-12-05 21:48:02 +06:00
kor-elf b5db913c24 Add demo mode restrictions to user operations.
Added functionalities to restrict certain user operations like update, password change, and deletion in demo mode. This is done to prevent demo users from modifying crucial data. Helper methods are created for standard re-usable checks. Also, Blade directive is added for frontend UI demo checks.
2023-12-05 00:53:04 +06:00
kor-elf 9221e089dd Revived API POST /captcha/{captcha_uuid}.
Receiving captcha information for validation.
2023-11-26 22:42:22 +06:00
kor-elf 10425db5e0 Fixed a bug where two identical symbols appeared in a captcha.
The commit fixes an issue where wrong variable was passed as second argument to randomSymbols method. Previously it was using an uninitialized variable 'fakes' which was supposed to be populated by 'success' variable. The 'success' variable already has the set of valid symbols which should be used to generate fake symbols for captcha.
2023-11-26 15:25:36 +06:00
kor-elf 520a3ba068 Revived API POST /api/v1/captcha.
Captcha validation has been adjusted.
2023-11-26 15:09:42 +06:00
kor-elf c3e4c68a41 Add CryptographyContract and its implementation
Added a new CryptographyContract interface and CryptographyString class that implements this contract. The CryptographyContract encapsulates the encryption and decryption of strings, enforcing these operations to be standardized across the application. The CryptographyString class uses Laravel's native crypt facades to perform these actions. In the AppServiceProvider, CryptographyContract is now bound to CryptographyString class, allowing the container to automatically resolve the dependencies wherever the interface is type hinted.
2023-09-19 14:29:01 +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 56cd409301 The return comment of the getCoordinators method has been changed. 2023-09-19 14:21:56 +06:00
kor-elf 742b0feaf0 Add captcha tokens management. 2023-08-22 00:15:35 +06:00
kor-elf d2b29e2225 The refactoring added final readonly to App\Services\Role\BuilderCommand. 2023-08-01 23:43:03 +06:00
kor-elf 9c1ed593b5 Added method getRolesForSelect in the RoleRepository. 2023-08-01 22:09:06 +06:00
kor-elf 73d99a0432 Fixed typo deleting RolePolicy: Role to role. 2023-08-01 22:07:47 +06:00
kor-elf 52c6fd88d7 Added the ability to manage users. 2023-08-01 22:04:35 +06:00
kor-elf 4083e2ec5e Added the ability to manage a group of users. 2023-07-16 19:21:09 +06:00
kor-elf ba7e52f8ac Added a new function 'errors' in Private Controller to handle service errors. This function checks if the resulted error code matches HTTP_UNPROCESSABLE_ENTITY and in that case, it redirects back with input and errors. For any other case, it aborts with the resulted error code and message. The main purpose of this change is to centralize error handling in one place and make the controller's actions cleaner. 2023-07-12 23:44:53 +06:00
kor-elf 1facb19efb Refactor Role.php for improved code clarity.
The Role class in app/Models has been refactored to improve readability and maintainability. The 'slug' field was replaced with 'code' for consistency with the rest of the codebase. In addition, the 'isRemove' and 'isAdmin' methods were rewritten using new 'Attribute' Eloquent cast. This refactor enhances the code's clarity, promotes better comprehension, and clears redundant code comments.
2023-07-12 23:42:29 +06:00
kor-elf 9319c2d92d A new middleware UserLocale.php has been added. This middleware sets the language locale based on each user's preference. It operates by checking if the user's preferred language is set during the request cycle and if so, it changes the app's locale accordingly. This feature facilitates personalization by displaying the app in a user's preferred language.
Also, registering the middleware in the `Kernel.php` allows it to be used throughout the application
2023-07-10 21:44:00 +06:00
kor-elf 907bac5586 Added the ability to save user settings. 2023-07-10 21:42:55 +06:00