Журнал изменений

Журнал изменений

Фильтр и поиск

Всего: 1091 Доступных коммитов | Отфильтровано: 1091 Коммиты | Страница: 16 / 110
25.06.2026
Refactor: drop global admin content-editor config
Автор: Eduard Laas | Дата: 23:28 25.06.2026

Remove the duplicate global "editor.admin" setting. The admin content editor is chosen per-admin (Administrators module); the main config keeps only the user editor. New or unset admins fall back to plain.

Core changes:

  1. Config form (admin/modules/config.php):
  2. Remove the admin content-editor select and its save handling
  3. Saved editor config now holds only user + code
  4. Default config (config/global.php):
  5. Remove editor.admin (readers fall back to 'plain' via ?? 'plain')
  6. Constants (admin/lang/*.php):
  7. Remove the now-unused _EDITORADMIN constant across all six locales (keep _EDITORUSER)

Benefits:

  • No duplicated admin-editor setting; single source is the per-admin profile
  • Cleaner config surface

Technical notes:

  • editor.admin readers keep the ?? 'plain' fallback; no behavior change beyond default = plain
  • Generated config/local.php cache regenerates from global.php on next request
Style: widen .sl-gallery min column to 250px
Автор: Eduard Laas | Дата: 22:59 25.06.2026

Increase the responsive .sl-gallery grid minimum column width from 180px to 250px for larger content download thumbnails.

Core changes:

  1. Theme (templates/lite/assets/css/theme.css):
  2. .sl-gallery grid-template-columns minmax 180px -> 250px
Docs: document content editors in config help
Автор: Eduard Laas | Дата: 22:59 25.06.2026

Add a dedicated "Редакторы содержимого" section to the config admin help describing the separate user/admin editor configs and how each editor stores and renders content.

Core changes:

  1. Config help (admin/info/config/ru.md):
  2. Explain separate editor.user / editor.admin configs and the per-admin override
  3. Table of content editors (plain, toastui, tinymce, ckeditor) with roles and storage format
  4. Describe processing model (escaping + parser vs trusted HTML) and [usehtml]/[usephp]
  5. Note that TOAST UI has Markdown and HTML WYSIWYG modes, both saving Markdown
  6. Clarify the code editor (CodeMirror) is separate, used for admin code/markup fields
  7. Align label references with the new "Редактор пользователя" / "Редактор администратора"

Technical notes:

  • Only opening/standalone BB tokens are shown; the parser would consume complete BB pairs
Feature: dedicated localized labels for content editors
Автор: Eduard Laas | Дата: 22:58 25.06.2026

Replace the concatenated _EDITOR.' user:' / _EDITOR.' admin:' field labels in the config editor selectors with dedicated, fully localized constants for a clearer admin UI.

Core changes:

  1. New constants (admin/lang/*.php):
  2. Add _EDITORUSER and _EDITORADMIN across all six locales (de, en, fr, pl, ru, uk)
  3. Config selectors (admin/modules/config.php):
  4. Use _EDITORUSER / _EDITORADMIN for the user/admin content-editor selects

Benefits:

  • Cleaner, fully translatable labels instead of mixed RU/EN concatenation
  • Consistent with the constant-based i18n approach

Technical notes:

  • No behavior change beyond the visible label text
Feature: responsive .sl-gallery component and .sl-img max-width
Автор: Eduard Laas | Дата: 18:31 25.06.2026

Restore the responsive content-image rules that were dropped: a thumbnail gallery component for content download lists and a width cap for parser images.

Core changes:

  1. Images (templates/lite/assets/css/theme.css):
  2. .sl-img: add max-width:100%; height:auto so parser/content images never overflow
  3. Gallery (templates/lite/assets/css/theme.css):
  4. Add .sl-gallery (responsive auto-fill grid), .sl-gallery-thumb (fixed-ratio contain box) and .sl-gallery-dl (download button), all on design tokens

Benefits:

  • Content images stay within the layout (no horizontal overflow)
  • Clean sl- gallery component for content download lists (replaces legacy .ms- markup)
Fix: wrap [tabs] navigation and refine button hover/navi styling
Автор: Eduard Laas | Дата: 18:22 25.06.2026

The [tabs] navigation kept an internal horizontal scrollbar on narrow widths; make the tab row wrap instead. Also adjusts neutral/link button colors and unifies the hover state.

Core changes:

  1. Tabs (templates/lite/assets/css/theme.css):
  2. .sl-tabs: drop overflow-x:auto and the scroll-container props
  3. .sl-tabs > ul: flex-wrap:wrap (was nowrap + width:max-content) so tabs wrap to new rows
  4. Buttons (templates/lite/assets/css/theme.css):
  5. .sl-but-navi/.sl-but-read use the neutral text color
  6. Unified hover (incl. navi/read): brand-link color, link hover border, opacity 0.8

Benefits:

  • No stray horizontal scroll inside the tabs on small screens
  • Consistent button hover behavior
Fix: parse block-level [left/right/center/justify] across paragraphs
Автор: Eduard Laas | Дата: 18:22 25.06.2026

The alignment BB-tags were processed inline, after the Markdown block parser had already split the text into paragraphs, so a multi-paragraph

...

never matched (open and close tags landed in different blocks) and the tags leaked into the output as literal text.

Core changes:

  1. Parser (core/classes/parser.php):
  2. Move [left/right/center/justify] handling to filterBbBlocks (block level), alongside [quote]/[hide], so the whole block is captured before paragraph splitting

    • Inner content is re-parsed via filterNest(), wrapping each paragraph correctly
    • Iterative while-loop to support nesting
  3. Remove the old inline alignment handler
  4. Tests (tests/Unit/ParserFixturesTest.php):
  5. Add checkBbAlignBlockSpansParagraphs: multi-paragraph [justify] wraps each <p>, no literal tag remains; single-line [center] still works

Benefits:

  • [justify]/[center]/etc. work across multiple paragraphs
  • Alignment applied via a single text-align div, content fully parsed
Docs: add alert component review labs
Автор: Eduard Laas | Дата: 15:56 25.06.2026

Self-contained demo pages used to review the .sl-alert component variants against the real design tokens before adoption.

Core changes:

  1. Demo pages (demo/alerts-lab.html, demo/form-notices-lab.html, demo/admin-alerts-lab.html):
  2. Tone, style, animation, flash and chip variants for lite and admin
  3. Link the real base.css/theme.css and Bootstrap Icons; no production impact

Benefits:

  • Visual reference for the alert component and its variants
Test: align suite with the current themes, .sl-alert markup and parser callouts
Автор: Eduard Laas | Дата: 15:56 25.06.2026

Update the bridge and validation tests to the actual theme set (only admin and lite remain) and the unified .sl-alert output.

Core changes:

  1. View/admin bridge tests (tests/Unit/ViewBridgeSmokeTest.php, AdminPageRenderFlowTest.php, AdminPreviewBridgeFlowTest.php, AdminSearchboxBridgeFlowTest.php, AdminLoginBridgeFlowTest.php):

  2. Retarget Template('default')/('simple') to the real themes ('lite'/'admin')
  3. Assert the new .sl-alert markup; admin auth uses the auth-form partial; searchbox uses sl-searchbox
  4. Parser fixtures (tests/Unit/ParserFixturesTest.php):
  5. Mock getDecodedText(); add GFM callout cases mapping to .sl-alert tones
  6. Template validation (tests/TemplateValidationTest.php):
  7. Cross-theme fragment sync discovers frontend themes dynamically and skips with a single theme
  8. Inline-style check allows dynamic style="...{{ }}..." and forbids only static inline styles

Benefits:

  • Suite reflects the real theme set and component contract; full suite green
Chore: remove dead template files
Автор: Eduard Laas | Дата: 15:56 25.06.2026

Drop template files with no references anywhere in the codebase, verified by a full-tree scan of getHtmlFrag/getHtmlPart/getHtmlPage calls, includes and extends.

Core changes:

  1. Unused templates removed:
  2. templates/lite/fragments/editor-file-row.html (editor builds rows in JS)
  3. templates/lite/pages/preview.html, templates/admin/pages/preview.html (preview is rendered via the partials/preview.html partial, not a page)

  4. templates/lite/layouts/main.html (no page extends it; not used as a layout)

Benefits:

  • Less template surface to maintain; no behavior change

Всего: 1091 на 110 страницах по 10 на каждой странице

1 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 110
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

Поделиться
QR-код