Commit Graph

  • 995b34ead5 Fixed UNIT_SOURCE. develop Leonid Nikitin 2024-06-12 00:44:14 +05:00
  • d55c24cfe0 Merge pull request 'Версия 0.8.2' (#6) from develop into main main 0.8.2 Leonid Nikitin 2024-06-11 23:34:32 +05:00
  • e2b9e60b36 Updated to korelf/service-captcha:0.8.2. Leonid Nikitin 2024-06-11 23:19:32 +05:00
  • 47ef821c0f Added environment UNIT_SOURCE as an example. Leonid Nikitin 2024-06-11 23:02:48 +05:00
  • 0f07c8c6ab Improved queue launch in Docker. Leonid Nikitin 2024-06-11 22:44:48 +05:00
  • af053b4d53 Добавил к Redis Volumes. Leonid Nikitin 2024-06-11 22:42:58 +05:00
  • de69776bc8 Added php artisan storage:link. Leonid Nikitin 2024-06-11 22:42:10 +05:00
  • cce94cd210 Added autocomplete="off" attribute to input password. Leonid Nikitin 2024-06-11 22:39:15 +05:00
  • ed6a036d8d Deleted sweetalert2. Leonid Nikitin 2024-06-11 22:34:55 +05:00
  • 3871670c91 Removed extra code. Leonid Nikitin 2024-06-11 22:30:56 +05:00
  • 0e93b2e780 Fixed .dockerignore. Leonid Nikitin 2024-05-19 21:01:26 +05:00
  • 1b5f805195 Captcha update to 0.8.1. Leonid Nikitin 2024-04-28 20:00:01 +05:00
  • 748d05f8fc Merge pull request 'Версия 0.8.1' (#5) from develop into main 0.8.1 Leonid Nikitin 2024-04-28 19:54:56 +05:00
  • b662a85572 Fixed the use of the UNIT_SOURCE parameter for Nginx Unit. Leonid Nikitin 2024-04-28 19:48:20 +05:00
  • 4368aec1b1 Merge pull request 'Версия 0.8.0' (#4) from develop into main 0.8.0 Leonid Nikitin 2024-04-28 14:26:46 +05:00
  • bd91cdef0c BROADCAST_DRIVER changed to reverb. Leonid Nikitin 2024-04-28 13:13:27 +05:00
  • 1532cecedc For demo mode, I hid the display of IP and UserAgent. Leonid Nikitin 2024-04-28 02:12:09 +05:00
  • 5703015874 Revived the dashboard. Leonid Nikitin 2024-04-28 01:26:30 +05:00
  • 4bc170ed00 Added final to UsersController. Leonid Nikitin 2024-04-26 20:36:32 +05:00
  • 20ed4860da Added the ability to enable captcha when logging in. Leonid Nikitin 2024-04-25 23:45:07 +05:00
  • e059f09e2f Updated Laravel to 11. Leonid Nikitin 2024-04-25 20:58:52 +05:00
  • 8794b8af4e I returned the LICENSE.md file back. Leonid Nikitin 2024-04-25 20:07:13 +05:00
  • 85e181e51c Changed the project structure. Leonid Nikitin 2024-04-25 19:56:34 +05:00
  • 3f21276ec5 Merge pull request 'Update README.md.' (#3) from develop into main Leonid Nikitin 2023-12-13 23:28:38 +06:00
  • 01153867b3 Update README.md. Leonid Nikitin 2023-12-13 23:27:45 +06:00
  • c3bfd4f920 Merge pull request 'Версия 0.7.1.' (#2) from develop into main 0.7.1 Leonid Nikitin 2023-12-09 00:59:41 +06:00
  • 172a9460df Fix https on prod. Leonid Nikitin 2023-12-09 00:55:56 +06:00
  • a5ba9eb3f8 I added (int) to the configuration in the parameters, where we get the numbers through the env function. Leonid Nikitin 2023-12-09 00:54:12 +06:00
  • 5ea5d4d0ba Merge pull request 'Version 0.7.0' (#1) from develop into main 0.7.0 Leonid Nikitin 2023-12-08 21:18:22 +06:00
  • e72dc03589 Update README with project specifics. Leonid Nikitin 2023-12-08 21:15:51 +06:00
  • 6bf2bc793b Add Docker setup for production environment. Leonid Nikitin 2023-12-08 21:10:31 +06:00
  • 8ccbd5000d Add demo mode restriction to CaptchaToken destroy method. Leonid Nikitin 2023-12-05 21:48:02 +06:00
  • a52b148101 Add license information for captcha backgrounds. Leonid Nikitin 2023-12-05 21:01:49 +06:00
  • b5db913c24 Add demo mode restrictions to user operations. Leonid Nikitin 2023-12-05 00:53:04 +06:00
  • ebc2dfd944 Update copyright link in footer. Leonid Nikitin 2023-12-04 22:46:37 +06:00
  • 63d3c8cc6e Add captcha code integration instructions to edit page. Leonid Nikitin 2023-12-04 22:44:40 +06:00
  • 630c316aaf Added service-captcha-gui. Leonid Nikitin 2023-12-04 22:42:35 +06:00
  • fcb8532b9d Added file LICENSE. Leonid Nikitin 2023-12-04 22:41:23 +06:00
  • 2a7aaed0db Correct typo in swagger.json Leonid Nikitin 2023-12-03 00:57:33 +06:00
  • 9221e089dd Revived API POST /captcha/{captcha_uuid}. Leonid Nikitin 2023-11-26 22:42:22 +06:00
  • 10425db5e0 Fixed a bug where two identical symbols appeared in a captcha. Leonid Nikitin 2023-11-26 15:25:36 +06:00
  • 520a3ba068 Revived API POST /api/v1/captcha. Leonid Nikitin 2023-11-26 15:09:42 +06:00
  • 18899c81f2 Increase captcha image dimensions Leonid Nikitin 2023-11-23 00:26:47 +06:00
  • 17fcc6e976 Removed unnecessary copying in Docker for development. Leonid Nikitin 2023-09-19 17:26:26 +06:00
  • 35c734d840 Add CaptchaToken to permissions language files Leonid Nikitin 2023-09-19 15:19:48 +06:00
  • c3e4c68a41 Add CryptographyContract and its implementation Leonid Nikitin 2023-09-19 14:29:01 +06:00
  • 27046e6674 Revived API /api/v1/captcha. Leonid Nikitin 2023-09-19 14:27:33 +06:00
  • 56cd409301 The return comment of the getCoordinators method has been changed. Leonid Nikitin 2023-09-19 14:21:56 +06:00
  • d8bf5dd116 Remove commented volumes from docker-compose.yml. Leonid Nikitin 2023-08-27 22:25:09 +06:00
  • 61cc272e2f Rename parameter names in Swagger API documentation. Leonid Nikitin 2023-08-23 23:45:57 +06:00
  • d72d6ff614 Update swagger.json for accurate API path. Leonid Nikitin 2023-08-23 21:56:06 +06:00
  • 9bfd3fef1a Add Swagger API documentation and proxy routing. Leonid Nikitin 2023-08-23 01:02:56 +06:00
  • 742b0feaf0 Add captcha tokens management. Leonid Nikitin 2023-08-22 00:15:35 +06:00
  • d2b29e2225 The refactoring added final readonly to App\Services\Role\BuilderCommand. Leonid Nikitin 2023-08-01 23:43:03 +06:00
  • 8f143c031f Fixed warning in analysis PHP Storm. Leonid Nikitin 2023-08-01 23:40:10 +06:00
  • 3e18ca6510 Fixed warning in analysis PHP Storm. Leonid Nikitin 2023-08-01 23:38:09 +06:00
  • faa706a79a Removed duplicate "Toggle Navigation" keys in languages. Leonid Nikitin 2023-08-01 23:36:16 +06:00
  • 941699f473 Added @can('delete', $role). Leonid Nikitin 2023-08-01 22:09:39 +06:00
  • 9c1ed593b5 Added method getRolesForSelect in the RoleRepository. Leonid Nikitin 2023-08-01 22:09:06 +06:00
  • 73d99a0432 Fixed typo deleting RolePolicy: Role to role. Leonid Nikitin 2023-08-01 22:07:47 +06:00
  • 52c6fd88d7 Added the ability to manage users. Leonid Nikitin 2023-08-01 22:04:35 +06:00
  • dc6b6b0d42 Added @canany(['create', 'update'], $role) to resources/views/private/roles/_from.blade.php. Leonid Nikitin 2023-08-01 21:53:07 +06:00
  • 4083e2ec5e Added the ability to manage a group of users. Leonid Nikitin 2023-07-16 19:21:09 +06:00
  • 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. Leonid Nikitin 2023-07-12 23:44:53 +06:00
  • 1facb19efb Refactor Role.php for improved code clarity. Leonid Nikitin 2023-07-12 23:42:29 +06:00
  • 919f6e1e42 Added click confirmation script. Leonid Nikitin 2023-07-12 23:31:20 +06:00
  • ec5be8167e Add @stack('scripts') to main layout. Leonid Nikitin 2023-07-12 23:23:51 +06:00
  • d10cc8603e The color of the links in the footer was changed from primary (probably blue) to gray-700 (dark gray) to improve readability against the white background. The change affects the link to the author's Github page and the link to the Volt - Bootstrap 5 Dashboard Template product page. Leonid Nikitin 2023-07-12 22:53:27 +06:00
  • adb20f70a5 Update primary color variable in SCSS. Leonid Nikitin 2023-07-12 22:52:29 +06:00
  • 2121af2914 Renamed the "slug" field in the roles table to "code" to facilitate coding standards and improve readability. This unique identifier will now be referred to as 'code' across the application, creating consistency and reducing potential confusion in the future. Leonid Nikitin 2023-07-12 22:30:05 +06:00
  • a3fa966643 Adjusted padding in sidebar for large screens. Leonid Nikitin 2023-07-10 23:12:38 +06:00
  • 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 Leonid Nikitin 2023-07-10 21:44:00 +06:00
  • 907bac5586 Added the ability to save user settings. Leonid Nikitin 2023-07-10 21:42:55 +06:00
  • b1c9dac3cc The type for 'timezone' in the 'users' table was previously assigned as an unsigned integer. For flexible usage and to support a larger range of timezones, it has been altered to a string. The maximum length is set to 50 characters. This change ensures a more universal and user-friendly handling of various timezone situations. Leonid Nikitin 2023-07-10 21:39:40 +06:00
  • 79112680bd Updated the visibility of getTitle, getType, and getValue methods in the Input class from protected to private. This was done to limit and control access to these methods to only within the class, enhancing encapsulation and improving security. Leonid Nikitin 2023-07-09 19:39:37 +06:00
  • 524bf569e3 The 'locale' column in the users table migration was renamed to 'lang'. This change was made to improve the clarity and consistency of naming conventions across the database. The term 'lang' is more universally recognized and thus provides better code readability. Leonid Nikitin 2023-07-09 19:31:42 +06:00
  • e5d0cac07d Changed the data type and default value of 'locale' and 'timezone' fields in the users table. Instead of using strings, we are now using unsigned integers. !!! Since the project has not yet been launched, therefore, I do not create a new migration, but change the current one. !!! Leonid Nikitin 2023-07-08 15:12:10 +06:00
  • 39eae7f196 Added a new feature to allow users to update their passwords. Leonid Nikitin 2023-07-07 18:08:14 +06:00
  • 00a0624eea This commit adds update functionality to user profiles. New routes, views, and controller methods have been created to facilitate this along with form requests for validation. Significant changes include new methods in the ProfileController, addition of an UpdateRequest class for validation purposes and the creation of a profile update view. These changes allow users to edit and update their profile information on the application. Leonid Nikitin 2023-07-07 00:07:19 +06:00
  • 55cd927f12 This commit adds two new components for handling form inputs in the private section of the site. 'Form.php' provides a base class for forms with methods for retrieving request names. 'Input.php' extends this to handle input fields specifically, allowing title, name, type, and value to be specified. An associated Blade view 'input.blade.php' has been added to render these inputs in views. This helps in reusability and maintainability. Leonid Nikitin 2023-07-07 00:05:38 +06:00
  • 24098415b5 Changed the way bootstrap is imported and added Chartist for charting functionality. This update provides wider access to Bootstrap features and integrates Chartist for better data representation. Leonid Nikitin 2023-07-07 00:03:57 +06:00
  • 398f5e2097 Added necessary template files and view components for scaffolding of the private area of the application. This includes error and success message components for efficient handling of user feedback messages. Added navigation components and dashboard structure to the private layout. This will streamline the implementation of features in the private area and ensure a consistent user interface. Leonid Nikitin 2023-07-07 00:03:03 +06:00
  • 92206a028a Refactor error check in AuthController. Leonid Nikitin 2023-07-06 22:32:29 +06:00
  • 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. Leonid Nikitin 2023-07-06 22:31:39 +06:00
  • 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. Leonid Nikitin 2023-07-06 21:54:10 +06:00
  • c18e7e54b7 Modified the Middleware Kernel to use a new method for request throttling that uses Redis and created a new middleware to ensure that user email is verified. Leonid Nikitin 2023-07-06 19:52:39 +06:00
  • 00910831a4 The authorization method of the AuthController has been updated to specify a return type. This was done to ensure that the method always returns an instance of a RedirectResponse, thereby enhancing the code's readability and preventing unexpected return types. Leonid Nikitin 2023-07-06 19:50:22 +06:00
  • 5d61ab425e Extended rate limiting functionality within the RouteServiceProvider to limit the login requests. Now the application limits the number of requests both per IP address and per email. This will drastically improve security by minimizing automated spam and brute-force attack attempts. Leonid Nikitin 2023-07-06 10:50:15 +06:00
  • f481ee765d Made authorization. Leonid Nikitin 2023-07-06 10:48:32 +06:00
  • 6b2aff910b Added console command to add user with admin role. Leonid Nikitin 2023-07-02 16:17:18 +06:00
  • d0bd480dc1 A new enumeration 'SystemRole' has been created for user roles. For now, it only contains one case 'Admin'. This list is intended to designate system roles that cannot be removed. Leonid Nikitin 2023-07-02 16:07:49 +06:00
  • 0073dffc28 Implemented password validation rules in the AppServiceProvider class. Ensured passwords should be at least 8 characters long, contain a mix of uppercase, lowercase, and special characters. These rules apply only for the production environment. Leonid Nikitin 2023-07-02 15:21:01 +06:00
  • 719d4c7f10 Added and configured css, js in Vite. Leonid Nikitin 2023-06-29 22:20:38 +06:00
  • fbb56d8191 Added packages: "dependencies": { "@popperjs/core": "^2.9.2", "bootstrap": "5.0.2", "chartist": "^0.11.4", "chartist-plugin-tooltips": "^0.0.17", "notyf": "^3.10.0", "nouislider": "^15.2.0", "onscreen": "^1.4.0", "sass": "^1.47.0", "simplebar": "^5.3.4", "smooth-scroll": "^16.1.3", "sweetalert2": "^11.0.18", "vanillajs-datepicker": "^1.2.0", "waypoints": "^4.0.1" }, "devDependencies": { "sass-loader": "^13.3.2", } Leonid Nikitin 2023-06-29 22:17:55 +06:00
  • 37e5c6f8a6 Changed nodejs to 20. Leonid Nikitin 2023-06-29 22:14:58 +06:00
  • aed3e0c803 Added language "Ru". Leonid Nikitin 2023-06-29 22:14:16 +06:00
  • fe967d71a7 Added language "Ru". Leonid Nikitin 2023-06-29 22:13:48 +06:00
  • 2ebc9e3218 Added language "En". Leonid Nikitin 2023-06-29 22:13:01 +06:00
  • 6b8554d6d8 Updated composer.lock dependencies settings. Added laravel-lang/common. Leonid Nikitin 2023-06-29 22:11:53 +06:00
  • b9f88ba2eb Change default locale settings to Russian. Leonid Nikitin 2023-06-29 00:06:52 +06:00