Commit Graph
46 Commits
Author SHA1 Message Date
kor-elf d925928ea9 Add cache clearing after key documentation category operations
- Inject `ClearCacheCommandHandler` into `DocumentationCategoryService`.
- Clear cache when creating, updating, or deleting a documentation category.
- Extend responses to include `categoryPath` where applicable.
2026-07-25 01:19:09 +05:00
kor-elf 0d08276d44 Add category path resolution in DocumentationService
- Resolve `categoryPath` using `getPathFromRoot` based on the project's default language.
- Include the resolved `categoryPath` in the response.
2026-07-25 01:18:52 +05:00
kor-elf 54a2d84a00 Add category path resolution in DocumentationVersionService
- Fetch category path using `getPathFromRoot` for the default project language.
- Pass resolved `categoryPath` to the view.
2026-07-25 01:18:29 +05:00
kor-elf a70e09bddc Add recursive method to fetch category path in DocumentationCategoryRepository
- Implement `getPathFromRoot` to retrieve the category path using recursive SQL query.
- Cache results for improved performance.
2026-07-25 01:17:55 +05:00
kor-elf 2e7318c097 Set up custom breadcrumb view for admin panel
- Add `breadcrumbs/admin.blade.php` to define admin-specific breadcrumb structure.
- Update `Admin/Controller` to use the new breadcrumb view.
2026-07-23 23:58:00 +05:00
kor-elf 0a612e72c7 Add breadcrumb support using Laravel Breadcrumbs package
- Install `diglactic/laravel-breadcrumbs` and update composer dependencies.
- Configure breadcrumbs in `config/breadcrumbs.php`.
- Define breadcrumbs for admin and site views.
- Update base admin controller to include default breadcrumb view.
2026-07-22 21:01:09 +05:00
kor-elf 820450c48c Add optional category selection when creating documentation
- Update `DocumentationService::create` to support an optional `categoryId` parameter.
- Introduce `CreateRequest` for input validation.
- Adjust controller logic to handle `categoryId`.
- Restructure create/edit views under the `documentation-versions` directory.
2026-07-22 01:05:15 +05:00
kor-elf 3a7c747ac4 Add support for parent categories in documentation management
- Update `DocumentationCategoryService::create` to accept an optional `parentId` parameter.
- Introduce `CreateRequest` for validating parent category input.
- Adjust controller actions to handle parent category information.
- Restructure templates under `documentation-versions` for better organization.
2026-07-22 01:04:41 +05:00
kor-elf d3a84bad04 Add category-specific documentation view and management
- Introduce routes and controller actions for displaying and managing documentation by category.
- Adjust views to incorporate category-specific information and actions.
- Update services to handle category retrieval and validation.
- Add localized strings for new functionality in English and Russian.
2026-07-22 01:01:53 +05:00
kor-elf b5258f840e Replace $request->get() with $request->attributes->get() throughout controllers and middleware for consistency and enhanced reliability. 2026-07-15 22:35:55 +05:00
kor-elf 993350073c Cast description input to string with default value in StoreUpdateRequest. 2026-06-20 23:13:59 +05:00
kor-elf 9a6604a40b Replace InterventionImage::read with InterventionImage::decodePath for image processing 2026-06-20 22:18:51 +05:00
kor-elf c33fcd1d7c Add required_with validation for language.*.code
- Enforces `language.*.code` to be required when `language.*.source_language_id` is present.
2025-08-22 22:33:39 +05:00
kor-elf 224240708d The cache was not cleared when saving
Clearing the cache using tags did not work correctly. Had to abandon them.
2025-08-22 16:14:22 +05:00
kor-elf 4049f9df53 Fixes for not saving sorting in documentation. Add 'sort' attribute to fillable properties in Documentation model. 2025-08-22 15:56:01 +05:00
kor-elf c112b225dc Update byTag method to specify void return type
Added an explicit void return type to the byTag method for clarity and strict type enforcement.
2025-02-14 23:33:39 +05:00
kor-elf 41a7343338 Added the ability to automatically translate simple text. 2025-02-13 22:43:39 +05:00
kor-elf 90aa909b7f Fix incorrect property access in CompletionChecker
Corrected the property access from array syntax to object syntax for `$hash->field` in the `CompletionChecker.php` file. This ensures proper handling of fields and prevents potential runtime errors.
2025-02-13 22:42:40 +05:00
kor-elf 8b35a5691f Refactor language filter to use conditional query builder
Removed redundant `whereIn` clause to simplify the query logic.
2025-02-12 21:38:52 +05:00
kor-elf 844264fb62 Added automatic translation about the project. 2025-02-09 21:39:18 +05:00
kor-elf d8d17064d0 Mark DocumentationCategoryContentService as readonly. 2025-02-09 20:55:40 +05:00
kor-elf 4dc6060fb3 Added support for automatic translation of documentation categories. 2025-02-09 20:00:34 +05:00
kor-elf 58a256e1e4 Added the ability to automatically translate documentation content. 2025-02-09 18:58:51 +05:00
kor-elf 25faa3d62b Added settings for translation into other languages ​​in the project. 2025-02-09 18:53:08 +05:00
kor-elf 46da639055 Added the ability to send notifications by email when a new review is added. 2024-07-27 00:29:28 +05:00
kor-elf c84ed9f12b Configured the removal of old files that were not attached to the model or were marked as deleted. 2024-07-26 22:18:01 +05:00
kor-elf dde792b97a Made it possible to disable captcha. 2024-07-26 22:16:34 +05:00
kor-elf 8bc4c0d8d0 Made it possible to disable captcha. 2024-07-26 22:13:14 +05:00
kor-elf a5e3c5ed25 Fixed category display error from documentation. Previously, I showed all categories of documentation. 2024-07-26 22:11:54 +05:00
kor-elf b33362a235 Added the ability to upload pictures in the editor. 2024-07-26 22:04:39 +05:00
kor-elf 05f566c115 Added RoleSyncPermissionsCommandHandlerException. 2024-06-11 23:40:45 +05:00
kor-elf e74456ee2f A documentation section has been added to the site. 2024-05-19 19:47:02 +05:00
kor-elf 42701a24db Fixed an error when saving a project when there is no language data. 2024-05-18 22:58:05 +05:00
kor-elf 78e6a1e396 Added a check for accessibility permission to the project. 2024-05-18 20:18:41 +05:00
kor-elf 45504791c0 A documentation section has been added to the admin panel. 2024-05-17 21:05:13 +05:00
kor-elf 156d8a9f68 Added middleware IsWebsiteTranslations and IsProject.
This fixes errors where Project or WebsiteTranslations are not found.
2024-05-03 00:06:59 +05:00
kor-elf 478cbe4762 Refactoring. 2024-05-03 00:03:35 +05:00
kor-elf 481dcac2cc Fixed an error when the APP_FORCE_HTTPS=true parameter is set, and nginx sends the http scheme. 2024-04-24 20:53:59 +05:00
kor-elf 8c353a49b7 Added Feedback section. 2024-04-23 19:30:56 +05:00
kor-elf 491249c8d8 Added the ability to dynamically translate on the project website. 2024-04-22 23:52:04 +05:00
kor-elf a648ba3db9 Correcting the link to the project with your domain. 2024-04-18 21:47:47 +05:00
kor-elf 05fabd7650 Refactoring.
Removed unnecessary methods.
2024-04-18 21:46:22 +05:00
kor-elf 24e0cf0eea The page about the project has been revived. 2024-04-18 19:41:31 +05:00
kor-elf 63ea5dac92 Added the ability to add links to the project. 2024-04-15 22:53:34 +05:00
kor-elf 2769585de0 Added the ability to add project information. 2024-04-14 15:27:51 +05:00
kor-elf b7d0a2453e Moved from "app/src" to "app/application".
Otherwise phpstorm doesn't understand the paths correctly. He thinks that this is not a complete application, but a package. And when creating a class, the namespace indicates “app” with a small letter, but should be “App”.
2024-04-11 19:52:37 +05:00