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

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

Всего: 991 Доступных коммитов | Отфильтровано: 991 Коммиты | Страница: 1 / 100
Вчера (07.07.2026)
Chore: add Magistral-Book WOFF2 font asset
Автор: Eduard Laas | Дата: 21:22 07.07.2026

Track the Magistral-Book.woff2 asset referenced by the base.css @font-face declaration, completing the font migration whose base.css update and legacy WOFF2 removal landed in the previous commit.

Refactor: Escape URLs once at the HTML output boundary
Автор: Eduard Laas | Дата: 21:20 07.07.2026

URLs are now treated as data: every producer emits a raw & and the template layer escapes exactly once at the output boundary via {{ href }}. This removes the previous mix of producer-side & encoding and raw {{{ }}} output and eliminates latent single/double-escape inconsistencies across the site.

Core changes:

  1. URL producers to raw & (blocks, modules, admin/modules, core):
  2. Front-end SEO links built via getSeoUrl() (raw &, SEO-friendly URLs under rewrite)
  3. Admin afile.php?..., htmx go=...&op=... tails, absolute/redirect URLs to raw &
  4. getQueryString() always emits raw & (dropped the obsolete $html parameter)
  5. Template output boundaries (81 flips, lite + admin fragments/partials):
  6. href/src/action/hx-get/hx-post URL attributes: {{{ x }}} to {{ x }}
  7. Kept raw ({{{ }}}): _html and _attr blobs, inline-JS onclick (reset_url, reload_query)
  8. Removed runtime URL pre-encoders exposed by the boundary flip:
  9. $alink session-monitor URL, RSS source href, and files-admin download href no longer wrapped in htmlspecialchars() (the boundary now escapes)

  10. domain() html_entity_decode()s stored referer URLs before building the link

Benefits:

  • Single source of truth for escaping; no more & risk
  • Redirects/Location and htmx keep a raw &; HTML output is uniformly &
  • Blocks now honor rewrite / SEO-friendly URLs like the modules do

Technical notes:

  • Left untouched: parser entity decoders, config/* content cache, setup legacy HTML echoes, sitemap XML content encoder

  • Pre-existing/out-of-scope: _referer stores double-encoded anchor data; config.replace link URLs are stored with a bare &

  • Verified: php -l (85 files), phpunit 8/8, guest + admin real-HTTP render with zero app-generated &

Refactor: Bootstrap Icons migration and admin/module normalization
Автор: Eduard Laas | Дата: 16:15 07.07.2026

Remove legacy raster icons from the admin and lite themes in favour of Bootstrap Icons, add the bootstrap-icon fragment, and normalize admin and module handlers, config, and styles across the board.

Docs: Breadcrumb design demos and href-escaping task prompt
Автор: Eduard Laas | Дата: 16:13 07.07.2026

Add the breadcrumb variant galleries under demo/ and a task prompt for the site-wide URL escaping migration (escape at the HTML output boundary, keep getSeoUrl raw).

Feature: Category breadcrumbs with per-category tone on hover
Автор: Eduard Laas | Дата: 16:13 07.07.2026

Rewrite getTplCategoryTrail as an ordered root-to-current walk, dropping the legacy nested-anchor markup and adding a cycle guard. Rich mode renders text crumbs via the new category-crumb fragment; each crumb takes its category tone (ordern % 6) through the shared sl-cat-tone map and reveals it on hover with a sliding underline and a nudging separator. Plain mode keeps flat links for the head banner. Crumb hrefs are escaped at the template boundary for valid ampersands.

Refactor: Consolidate admin sidebar counters and normalize helpers
Автор: Eduard Laas | Дата: 08:37 07.07.2026

Rework the admin sidebar counter block into a data-driven table with a single row helper, switch to COUNT queries, wire sidebar dials, and bring helper names and comments in line with the project rules.

Core changes:

  1. Sidebar counters (core/admin.php):
  2. Replace the repeated per-module blocks with a grouped table and loop
  3. Add getAdminCountRow() using SELECT COUNT(id) instead of materializing rows
  4. Emit the unified sl-chip badge for counts
  5. Remove the dead album block
  6. Naming and comments (core/admin.php, admin/modules/monitor.php):
  7. Rename admininfo() to getAdminInfo() and db_version() to getDbVersion()
  8. Migrate call sites
  9. Add missing function comments, drop in-body comments and blank lines
  10. Sidebar dials (admin/index.php):
  11. Build the dial action list once for both grid cards and list rows
  12. Docs (docs/PERFORMANCE.md):
  13. Sync the counter reference to the new function name

Benefits:

  • Fewer and lighter count queries per admin render
  • Less duplication and no dead code
  • Naming and comments compliant with the project rules

Technical notes:

  • No storage or template contract changes
  • Backward compatibility is preserved
Feature: Admin sidebar dials, unified chips, and flat module-head icon
Автор: Eduard Laas | Дата: 08:37 07.07.2026

Introduce round dial action buttons on the left module list, a shared chip vocabulary aligned with the lite theme, and a borderless module-head icon. Template and CSS layer only.

Core changes:

  1. Sidebar dial (templates/admin/fragments/*.html):
  2. Extract the dial markup into a shared fragments/dial.html
  3. Reuse it from menu-grid-item and menu-list-item
  4. Unified chips (templates/admin/assets/css/theme.css, fragments/inline-badge.html):
  5. Add .sl-chip base with .sl-chip-success and .sl-chip-warn tones
  6. Add chip_tone support to the inline-badge fragment
  7. Drop the legacy sidebar count-value pill styling
  8. Module-head icon (assets/css/base.css, theme.css):
  9. Add the --sl-size-icon-lg token (28px)
  10. Render the head icon as a bare 28px glyph without frame or background

Benefits:

  • One chip vocabulary shared with the lite theme
  • Quicker access to module actions from the sidebar
  • Less bespoke CSS

Technical notes:

  • No PHP or storage changes
  • Backward compatibility is preserved
Эта неделя (06.07.2026)
Style: Align lite theme size tokens
Автор: Eduard Laas | Дата: 23:38 06.07.2026

Rename lite theme size variables to semantic icon, chip, control, navigation, display, and forum tokens. The update keeps demo and error pages aligned with the theme token names.

Core changes:

  1. Lite design tokens (templates/lite/assets/css/base.css, templates/lite/assets/css/theme.css):
  2. Replaced generic numeric size variables with semantic token names

    • Icon sizes now use sl-size-icon-* tokens
    • Navigation and control sizes now use sl-size-nav-control and sl-size-control
    • Display and forum dimensions use dedicated semantic tokens
  3. Demo and error surfaces (demo/*.html, error.html):
  4. Updated embedded CSS references to the renamed semantic tokens
  5. Kept layout dimensions and visual behavior equivalent

Benefits:

  • Improves token readability and maintainability
  • Aligns lite and demo surfaces with the admin token naming direction
  • Reduces reliance on generic numeric CSS custom properties

Technical notes:

  • No storage changes
  • HTML structure and runtime contracts are unchanged
  • Backward compatibility is preserved for rendered behavior
Style: Refine admin panel controls
Автор: Eduard Laas | Дата: 23:37 06.07.2026

Refresh shared admin control styling for dashboard panels, sidebars, popovers, and icon picker interactions. The update aligns compact icon buttons and panel toggle affordances with the admin design tokens.

Core changes:

  1. Admin design tokens and controls (templates/admin/assets/css/base.css, templates/admin/assets/css/theme.css):
  2. Split icon and chip sizes into explicit reusable tokens

    • Added a dark-surface foreground token
    • Added shared mini chip button styling for compact actions
  3. Refined dial action transitions, sidebar spacing, panel header controls, pager chips, and icon modal scrolling
  4. Admin templates (templates/admin/fragments/.html, templates/admin/partials/.html):
  5. Reused the mini chip button class for dashboard dials and popover triggers
  6. Added open and closed panel toggle icons to dashboard and sidebar headers
  7. Marked icon picker grid content as non-translatable

Benefits:

  • Improves visual consistency for compact admin controls
  • Makes dashboard and sidebar collapsed state clearer
  • Prevents icon names from being altered by translation tools

Technical notes:

  • No PHP or storage changes
  • Template data contracts are preserved except for optional icon_name consumption already supplied by callers
  • Backward compatibility is preserved
Feature: Improve admin module dashboard actions
Автор: Eduard Laas | Дата: 23:37 06.07.2026

Expand admin dashboard module cards with direct actions for configuration, categories, site view, documentation, and status changes. The update also separates dashboard section labels and reuses a shared category module list.

Core changes:

  1. Admin dashboard actions (admin/index.php):
  2. Added config, categories, site view, info, edit, and status action links where applicable

    • Configuration links are shown only when a module config file and admin config route exist
    • Site links are shown only for active frontend modules
  3. Added distinct dashboard panel labels and icons for admin and site module groups
  4. Shared module metadata (core/helpers.php, config/modules.php):
  5. Added getCategoryModules() for shared category-capable module detection
  6. Reused the helper in category module selects
  7. Updated the account module icon to match the dashboard visual language
  8. Admin language constants (admin/lang/*.php):
  9. Added localized labels for dashboard sections and site view actions across all supported admin locales

Benefits:

  • Reduces navigation steps from the module dashboard
  • Centralizes category-capable module names for reuse
  • Keeps admin labels synchronized across locales

Technical notes:

  • No storage changes
  • Existing module routes and permission checks are preserved
  • Backward compatibility is preserved

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

1 2 3 4 5 6 7 8 9 10 100

Хотите опробовать SLAED CMS в действии?

Идеи и предложения
Обратная связь