Tags: networking/init-cms-bundle
Tags
Add `no_searching` class for non-searchable fields in base_list template Extended the `<th>` element logic to include a `no_searching` class when a field is marked as non-searchable. This update enhances clarity in the table's visual representation and improves customizability for non-searchable fields.
Refactor page permissions and enhance PagesBlockService. Replaced permission checks with `admin.isGranted` for cleaner logic. Refactored PagesBlockService to use constructor dependency injection and updated draft/review status constants to use VersionableInterface. Included error handling for published page count retrieval.
Fix missing parentheses in AsciiSlugger instantiation for less than p… …hp 8.4 Parentheses were added around the AsciiSlugger instantiation to ensure proper method chaining and avoid potential errors. This adjustment improves the code's readability and consistency.
Refactor CKEditor admin controller to use `$this->admin`. Replaced `MediaAdmin` service usage with `Admin` methods for consistency and improved maintainability. Centralized request handling, validation, and instance creation logic under the controller’s admin service. This change simplifies dependencies and aligns with the controller's intended architecture.
Fix cache logic and add token check in FrontendPageController Ensure `$updatedAt` is truthy before comparing snapshot dates to avoid errors. Add a condition to verify the presence of a CSRF token in the HTML before caching the response, enhancing security and cache validity. Signed-off-by: Yorkie Chadwick <y.chadwick@networking.ch>
Enhance webpImage to handle missing file gracefully Add a check to return the original image path if the file does not exist in the filesystem. This prevents errors and ensures robust handling of missing files. Signed-off-by: Yorkie Chadwick <y.chadwick@networking.ch>
PreviousNext