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

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

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

Всего: 1173 Доступных коммитов | Отфильтровано: 1173 Коммиты | Страница: 39 из 118
19.05.2026
Refactor: merge config cache generation into getConfig
Автор: Eduard Laas | Дата: 15:39 19.05.2026

Replaces the previous four-function approach (getConfig + filterConfigMerge + getConfigFingerprint + setConfigFingerprint) with a single getConfig that either returns the cached _config from local.php on a cache hit, or rebuilds and writes the full cache on a miss.

Core changes:

  1. Config loader (core/system.php):
  2. Replaced runtime merge of local.php overrides with cache-first read

    • Returns _config directly when cache_version sentinel matches
    • Rebuilds full local.php cache on miss, then returns $conf
  3. Removed filterConfigMerge, getConfigFingerprint, setConfigFingerprint helpers
  4. Renamed $exp -> $export closure in setConfigFile for consistency

Benefits:

  • Eliminates repeated filesystem glob and array merge on every request
  • Simplifies config flow: one path to load, one path to rebuild
  • local.php is now the authoritative runtime snapshot, not an override layer

Technical notes:

  • local.php now stores _meta.cache_version = 1 as cache sentinel
  • Cache invalidated automatically when any source config file changes
  • Backward-compatible: falls back to full rebuild if local.php is absent
18.05.2026
Style: split lite CSS base/theme, clean admin CSS, remove legacy templates
Автор: Eduard Laas | Дата: 22:53 18.05.2026

Separates lite template CSS into base.css (element styles only) and theme.css (all .sl-* component classes). Removes retired templates/default and templates/simple directories. Switches active theme to 'lite'.

Core changes:

  1. CSS architecture (templates/lite/assets/css/):
  2. Created base.css with @font-face, :root vars, CSS reset and element styles only
  3. Moved all .sl-* component classes from old base.css into theme.css
  4. Deleted new.css and system.css (intentionally unused)
  5. Applied Prettier formatting across both files
  6. Admin CSS (templates/admin/assets/css/):
  7. Moved .bi { font-size: var(--sl-size-icon); } from base.css to theme.css
  8. Applied Prettier formatting across base.css and theme.css
  9. Template cleanup:
  10. Removed templates/default/ entirely (retired template)
  11. Removed templates/simple/ entirely (retired template)
  12. Renamed block-languages to sl-block-languages in lite/partials/form-wrap.html
  13. Renamed admin-searchbox to sl-admin-searchbox in lite/partials/searchbox.html
  14. Config (config/global.php):
  15. Switched active theme from 'default' to 'lite'
  16. Updated sitekey and base_fingerprint

Benefits:

  • Clear separation: base.css = element styles only, theme.css = all components
  • All component classes consistently under sl-* namespace
  • Codebase free of unused legacy template directories

Technical notes:

  • Prettier 2-space indent applied; compact CSS expanded to multiline
  • templates/lite/assets/css/base.css is a new file (previously merged into theme.css)
Docs: add performance audit reports for v6.3
Автор: Eduard Laas | Дата: 15:36 18.05.2026

Document the full performance audit covering frontend and admin paths, measured with Playwright and PHP-side profiling across warm and cold request scenarios.

Core changes:

  1. Docs (docs/PERFORMANCE_AUDIT_REPORT.md):
  2. Full audit report with measured ms timings per function
  3. Frontend findings: getBlocks, setHead, GeoIP, getConfig
  4. Admin findings: admininfo, getAdminPanelBlocks, news admin page
  5. Prioritized fix targets and bottom-line summary
  6. Docs (docs/PERFORMANCE_AUDIT_2026-05-18.md):
  7. Browser TTFB measurements (Playwright v1.60)
  8. v6.2 vs v6.3 comparison table
  9. 50 categorized findings: 17 KRITISCH, 20 MITTEL, 13 GERING
  10. Cold-start analysis and top-10 fix priorities
  11. Docs (docs/PERFORMANCE_TEMPLATE_IO.md):
  12. Template I/O findings from the audit session

Benefits:

  • Traceable baseline for optimization work
  • Concrete measured numbers per hotspot
  • Prioritized fix list with expected ms savings
Chore: update sitekey and config fingerprint
Автор: Eduard Laas | Дата: 15:36 18.05.2026

Rotate the sitekey value and regenerate the base_fingerprint to match the current config state after local testing.

Core changes:

  1. Config (config/global.php):
  2. Update sitekey to current value
  3. Config (config/local.php):
  4. Regenerate base_fingerprint
17.05.2026
Chore: browser audit tool and admin CSS class usage test
Автор: Eduard Laas | Дата: 18:52 17.05.2026

Add npm package with browser-audit scripts and an informational PHPUnit test that scans admin CSS class definitions against template HTML usage.

Core changes:

  1. Browser audit tooling (tools/browser-audit.mjs, package.json):
  2. Node.js script using chrome-remote-interface / Playwright
  3. npm scripts: browser:audit, browser:inspect, browser:attach
  4. CSS class audit test (tests/Unit/AdminCssClassUsageTest.php):
  5. Scans templates/admin/assets/css/.css for sl- class definitions
  6. Cross-references usage in admin fragment/layout/page/partial HTML
  7. Informational only — does not fail CI

Benefits:

  • Enables quick browser-driven audits from the command line
  • CSS audit test surfaces unused sl-* classes for future cleanup

Technical notes:

  • Test is informational (assertTrue(true)) — safe to add to CI
  • browser-audit.mjs requires Node.js and Chrome/Playwright to be available
Feature: template-driven blockquote and callout rendering
Автор: Eduard Laas | Дата: 18:51 17.05.2026

Move [quote], [hide], and Markdown blockquote/callout output from inline strings in Parser to per-theme blockquote fragment templates, enabling markup customization without touching PHP.

Core changes:

  1. Parser blockquote rendering (core/classes/parser.php):
  2. [quote] and [hide] tags call tpl->getHtmlFrag('blockquote', [...])

    • is_quote / is_hide / is_callout / is_plain variants
  3. Markdown blockquote blocks and GitHub callouts use the same fragment
  4. Hardcoded HTML fallback preserved when $tpl is unavailable
  5. Blockquote fragment templates (templates/*/fragments/blockquote.html):
  6. Added to admin, default, lite, simple themes (identical content)
  7. callout_type passed through for sl-callout-{type} CSS class
  8. Link template refactor (templates/admin/fragments/link.html, core/admin.php):
  9. Replaced hardcoded class='sl-admin-language-link' with is_admin_language_link flag
  10. CSS class assignment stays in the template layer
  11. Language cleanup (lang/*.php — 6 files):
  12. Removed unused constants: _EIMG, _MEML, _PLOAD, _RATE3
  13. Docs and housekeeping:
  14. docs/TEMPLATES.md: document and/or/not operators, dot-path lookups, and no equality/comparison operators in {% if %} expressions

  15. templates/admin/partials/basic-monitor.html: BOM character removed

Benefits:

  • Blockquote markup is now per-theme customizable
  • Dead lang constants removed from all 6 language files
  • Admin link CSS class logic fully in template layer

Technical notes:

  • blockquote fragment is identical across all 4 themes
  • Fallback HTML matches previous hardcoded output exactly
  • config/local.php fingerprint updated automatically
15.05.2026
Style: extend sl-hover-* token set and apply across theme.css
Автор: Eduard Laas | Дата: 12:05 15.05.2026
Style: add sl-hover-* CSS tokens; normalize theme.css indentation
Автор: Eduard Laas | Дата: 11:52 15.05.2026
Chore: relocate demo HTML files from docs/ to demo/
Автор: Eduard Laas | Дата: 11:52 15.05.2026
14.05.2026
Feature: Bootstrap Icons in admin sidebar blocks and top-menu links
Автор: Eduard Laas | Дата: 22:53 14.05.2026

Wire icon_name into the block-sidebar partial and top-menu link fragment so every admin sidebar panel and toolbar entry carries a contextual Bootstrap Icon. Add --sl-color-primary-hover-soft token and a dedicated .sl-admin-shell sidebar skin with tight spacing, rounded tiles, and per-block-id header colour overrides.

Core changes:

  1. Template (block-sidebar.html):
  2. Render <i class="bi bi-{{ icon_name }}"> in h3 when icon_name is set
  3. Icon wiring — PHP (admin/index.php, core/admin.php, core/system.php):
  4. Pass icon_name to all eight block-sidebar calls (shield-lock, puzzle, stars, hourglass-split, pencil-square, eye)
  5. Add icon key to every top-menu item array; forward as icon_name to getHtmlFrag('link')
  6. CSS tokens (base.css):
  7. Add --sl-color-primary-hover-soft: #58a0c8
  8. Link :hover uses soft token and drops underline
  9. CSS sidebar skin (theme.css):
  10. .sl-wrapper.sl-admin-shell .sl-admin-sidebar: tight CSS variables, rounded headers, icon sizing, per-block colour overrides
  11. Menu grid: border/shadow moved from link to item wrapper; link reset to transparent/no-shadow
  12. Toolbar links: gap + padding added, .bi icon sizing rules, padding removed from inner b
  13. .sl-wrapper a:hover scoped soft-colour override
  14. Sidebar block base: gradient bg, lighter border (border not border-strong)

Benefits:

  • Sidebar blocks are visually identifiable by icon without reading the title
  • Top-menu entries gain icon context for faster scanning
  • Tight-shell skin aligns sidebar spacing with the updated layout

Technical notes:

  • icon_name is optional — partial renders nothing when absent (backward-compatible)
  • No database or API changes

Страница 39 из 118. Всего: 1173

1 34 35 36 37 38 39 40 41 42 43 118
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

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

Предварительный просмотр