Чтение RSS каналов

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

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

Всего: 500 Доступных коммитов | Отфильтровано: 500 Коммиты | Страница: 1 / 50
Сегодня (28.04.2026)
Chore: Update config fingerprint and site key/variables
Автор: Eduard Laas | Дата: 14:35 28.04.2026

Routine config update reflecting changed site settings and a refreshed base fingerprint after template and asset changes in this sprint.

Core changes:

  1. config/global.php:
  2. Updated sitekey to new value
  3. Updated variables bitmask
  4. config/local.php:
  5. Updated base_fingerprint hash

Benefits: - Config state reflects current codebase revision - Fingerprint ensures cache invalidation for changed assets

Technical notes: - base_fingerprint is auto-derived from asset checksums - variables bitmask controls enabled site feature flags

Chore: Remove redundant fieldset styles from admin base CSS
Автор: Eduard Laas | Дата: 14:35 28.04.2026

Strip the hardcoded padding, margin and border from the fieldset base rule. These values conflicted with component-level overrides and are no longer needed now that admin forms use sl-div-* grid layout.

Core changes:

  1. Admin base CSS (templates/admin/assets/css/base.css):
  2. Removed: padding: 3px, margin: 0 0 3px 0, border: 1px solid #dee0e2 from the fieldset base rule

  3. Retained: overflow: auto, border-radius: 3px

Benefits: - Eliminates style conflicts for fieldsets inside sl-div-* containers - Reduces specificity fights between base and component CSS layers

Technical notes: - border-radius retained for visual consistency where fieldset is still used - overflow: auto retained to contain floated children if any remain

Refactor: Extract editor-robots inline JS to standalone deferred script
Автор: Eduard Laas | Дата: 14:35 28.04.2026

Move the robots-template button logic from an inline <script> fragment to a standalone JS file loaded with defer. Improves separation of concerns and allows browser caching of the script.

Core changes:

  1. Editor module (admin/modules/editor.php):
  2. getRobotsButton() now prepends a head-script-src fragment that loads editor-robots.js with the defer attribute

  3. Removed inline JS fragment (editor-robots-button.js):
  4. Deleted the template fragment that embedded script content inline
  5. New standalone file (templates/admin/assets/js/editor-robots.js):
  6. Self-contained script with applyRobotsTemplate logic
  7. Registers a DOMContentLoaded listener for safe deferred execution

Benefits: - Script is browser-cacheable as a static asset - Inline JS eliminated from HTML response - Cleaner separation between markup and behaviour

Technical notes: - Script uses defer; DOMContentLoaded listener retained for safety - No changes to the button markup or data attributes

Chore: Remove obsolete admin layout and sprite images
Автор: Eduard Laas | Дата: 14:34 28.04.2026

Delete the remaining legacy PNG/GIF images that were part of the old image-based admin layout (borders, backgrounds, separators, tab chrome). The modern admin theme uses pure CSS and no longer references these files.

Core changes:

  1. Deleted admin sprite and layout images (24 files):
  2. Layout backgrounds: bchead, pagebg, wraptop, wrapmid, wrapfoot, wrapenter, wrapmidenter

  3. Navigation chrome: tabmenu, tabsubmenu, toolbar, topmenu
  4. Separators: hsep, vseptop, vsepmid, vsepfoot
  5. Decorators: leftblocktop, leftbdbtm, footer, footer_ent, entersubmit
  6. Sort arrows: misc/asc.gif, misc/desc.gif, misc/bg.gif
  7. Scroll: uppage.png

Benefits: - Eliminates unreferenced binary assets from the repository - Reduces admin theme asset footprint - Completes the migration from sprite-based to CSS-based admin layout

Technical notes: - No CSS or template references to these files remain in the codebase - Sort arrows replaced by CSS ::after pseudo-elements (sl-sort-* classes)

Chore: Replace loading.gif with CSS dots animation, remove gif files
Автор: Eduard Laas | Дата: 14:34 28.04.2026

Remove the .sl_loading sprite-based indicator in favour of a pure-CSS three-dot animation. Eliminates the binary gif dependency across all themes and the admin area.

Core changes:

  1. Frontend CSS (default/new.css, lite/new.css, simple/new.css):
  2. .sl-loading rewritten: flexbox container with ::before pseudo-element producing an animated three-dot loader using box-shadow and keyframes

  3. Frontend CSS (default/system.css, lite/system.css):
  4. Removed legacy .sl_loading rule that referenced loading.gif
  5. Deleted gif files:
  6. templates/admin/images/misc/loading.gif
  7. templates/default/images/misc/loading.gif
  8. templates/lite/images/misc/loading.gif
  9. templates/simple/images/misc/loading.gif

Benefits: - No binary image dependency for loading indicator - CSS animation scales to any DPI and respects prefers-reduced-motion - Reduces total asset count across all themes

Technical notes: - Animation uses three dots at 0.8s linear cycle via box-shadow offsets - Colors match existing brand palette (#207fb6, #8fc5d9)

Refactor: Rename .code/.hide parser classes to sl-code/sl-hide
Автор: Eduard Laas | Дата: 14:34 28.04.2026

Extend the sl-* naming convention to the BBCode parser output and all frontend themes. Parser.php generates these class names dynamically, so all consuming CSS files must be updated in the same change.

Core changes:

  1. Parser (core/classes/parser.php):
  2. ...
    handler: class="code" -> class="sl-code"
  3. Скрытый текст виден только зарегистрированным пользователям, пожалуйста войдите или зарегистрируйтесь.

    handler: class="hide" -> class="sl-hide"
  4. Frontend templates (default, lite, simple — div.html):
  5. is_code path: class="code" -> class="sl-code"
  6. Frontend CSS (default/theme.css, lite/theme.css):
  7. .hide/.code selectors renamed to .sl-hide/.sl-code

Benefits: - Parser output class names now consistent with sl-* convention - All themes (admin, default, lite, simple) use identical class names - No divergence between parser output and CSS selectors

Technical notes: - simple/theme.css had no .hide/.code rules; div.html still updated so the generated markup is consistent across all themes - admin/theme.css was updated in the preceding commit

Refactor: Rename admin CSS custom classes to sl-* prefix
Автор: Eduard Laas | Дата: 14:34 28.04.2026

Migrate all non-prefixed own class names in the admin theme to the canonical sl-* naming convention. Removes obsolete CodeMirror 5 rules since the project now uses CodeMirror 6 (cm-editor).

Core changes:

  1. Admin CSS (theme.css):
  2. Renamed 19 class groups: wrapper, header, footer, toolbar, language, reset, thide, copyright, wraptop/mid/foot and traffic chart classes

  3. Renamed .code/.hide to .sl-code/.sl-hide
  4. Removed dead CodeMirror 5 selectors (.CodeMirror, .CodeMirror-hints, and two .CodeMirror layout sub-selectors)

  5. Admin HTML templates (admin.html, basic-monitor.html, link.html, div.html):
  6. Updated all class attributes to match renamed CSS selectors

Benefits: - Admin CSS fully compliant with sl-* naming convention - No dead rules for removed library version (CM5 replaced by CM6) - Consistent selector prefix across all admin CSS

Technical notes: - .wrapper/.header/.footer were legacy layout names alongside sl-admin-* - CodeMirror 5 used .CodeMirror; version 6 (cm6.bundle.js) uses .cm-editor - .code/.hide also renamed to match sl-* convention applied in this sprint

Вчера (27.04.2026)
Refactor: Consolidate admin CSS theme and route class names through templates
Автор: Eduard Laas | Дата: 23:27 27.04.2026

Reorganize admin theme into two stylesheets and stop emitting CSS class strings from PHP. Asset loader now auto-discovers theme CSS files instead of using a hardcoded list.

CSS structure - Add templates/admin/assets/css/base.css: HTML tag resets, typography, base form element styling. No classes - Merge legacy system.css and new.css into templates/admin/assets/css/theme.css along with the previous theme.css contents (page chrome, login-shell, components). Delete obsolete system.css and new.css - Replace hardcoded ['theme.css','system.css','new.css','blocks.css'] list in core/security.php and core/access.php with new helper getThemeCssFiles() that globs templates/{theme}/assets/css/*.css alphabetically. New helper added in core/system.php

Dead CSS removal - Drop legacy underscore aliases: .sl_first (was emitted by core/admin.php), .sl_warn/.sl_info/.sl_atten (unused in admin), .sl_tip aliasing (~14 selector groups in new.css), and .sl_info:before/.sl_warn:before sprite hook - Drop duplicate .sl-form-control declaration that lived in both system.css and new.css. Canonical declaration now in theme.css - Fix .sl-admin-shell .sl-table-list selector which never matched (admin uses .sl-table-list-sort) - selector corrected to .sl-table-list-sort

Debug section tone vocabulary - Normalize debugSection() tones in core/system.php from ad-hoc color names (system/green/blue/orangered/purple/fuchsia/red) to a small semantic palette: info/success/warn/danger/accent - Add matching .sl-debug-section-info and .sl-debug-section-accent CSS rules alongside existing success/warn/danger so all PHP-passed tones now apply

Renames driven by 'no PHP-emitted CSS class strings' rule - Rename .sl_code_editor to .sl-code-editor across plugins/editors/codemirror (driver.php and assets/cm6.css) and theme.css - Rename .sl-status-status-blue to .sl-status-blue (drop the duplicated word) in theme.css and templates/admin/partials/basic-monitor.html

Templates take ownership of class names previously emitted by PHP - Drop 'class' field from getAdminTopMenu() items in core/admin.php (the legacy sl_first rules were redundant against the toolbar baseline anyway) - New fragment editor-robots-button.html plus sibling editor-robots-button.js delegate replace the inline class='sl-but-green' and onclick handler that admin/modules/editor.php used to emit. Runtime auto-injects the JS sibling - New fragment monitor-info-icon.html replaces the '<i class="bi bi-info-circle sl-monitor-info-icon">' string that admin/modules/monitor.php::getTooltipText() used to build - Extend getTplAddDateTime() in core/helpers.php with is_config flag and drop the 'attr' parameter. All five callers in admin/modules/config.php and modules/account/admin/index.php now pass 'is_config' => true instead of 'attr' => 'class="sl-select-config"' - Drop the $clas parameter from getTplModuleSelect() in core/helpers.php; the function now passes 'is_config' => true to the select fragment internally. Callers in admin/modules/config.php and modules/sitemap/admin/index.php updated - Introduce private buildBbcodeImage() in core/classes/parser.php so the parser owns its <img class='sl-img'> markup in one place. Four [img] bbcode handlers updated to call it

Test fixture - tests/Unit/AdminPageRenderFlowTest.php: switch fixture string from 'class=\"sl_warn\"' to 'class=\"sl-warn\"' to match the dash convention

Refactor: Strip public-only sl_* CSS from admin system.css
Автор: Eduard Laas | Дата: 15:34 27.04.2026

Admin and public templates load separate CSS contexts and never share stylesheets. All sl_* rules in templates/admin/assets/css/system.css that are only used in public templates (or not used anywhere) have been removed. The file now contains only what the admin area actually needs.

Core changes:

  1. Removed — dead CSS (public-only, never loaded in admin):
  2. .sl_hidden, .sl_none (public table/layout helpers)
  3. .sl_conf, .sl_note, .sl_small, .sl_label (public form helpers)
  4. .sl_orange, .sl_blue (public color utilities)
  5. .sl_avatar (public user avatar)
  6. .sl_atten, .sl_warn, .sl_info (public alert boxes)
  7. .sl_menu, .sl_drop, .sl_drop-form (public nav — admin uses sl-menu in new.css)
  8. .sl_right, .sl_left, .sl_center, .sl_pos_right, .sl_pos_center (public positioning)
  9. .sl_num, .sl_pnum, .sl_flag (public meta icons)
  10. .sl_rate, .sl_urating, .sl_out, .sl_over, rate-box, min-rate (public ratings)
  11. .sl_n_act, .sl_coms, .sl_n_deact, .sl_plus, .sl_post, .sl_date, .sl_cat, .sl_views, .sl_votes (public module meta icons)

  12. .sl_loading (public Ajax loader)
  13. .sl_preview_mini (public image preview)
  14. .sl_bodyline, .sl_blockline (public content blocks)
  15. .sl_img_mod, .sl_td_mod, .sl_tab_bl, .sl_tab_blm, .sl_img_blm (public block tables)
  16. .sl_table_block, .sl_table_edit, .sl_table_form, .sl_table_conf, .sl_table_basic (public tables)
  17. sl_table_conf td .CodeMirror (dead rule — sl_table_conf not used in admin)
  18. Kept — admin-active rules:
  19. CodeMirror base styles (.CodeMirror, .CodeMirror-hints)
  20. .sl-field, .sl-form-control (used in admin.php and categories.php)
  21. .sl-red, .sl-green (used in pdo.php debug output)
  22. .sl-callout-* (used in parser.php for admin markdown rendering)
  23. .sl-sort / .sl-sort-asc / .sl-sort-desc (used in slaed.js tablesort)
  24. .sl-but* button variants (used throughout admin)
  25. .sl-preview* (used in admin/partials/preview.html)

Benefits: - system.css shrinks from ~620 lines to ~190 lines - Zero dead CSS remains in admin stylesheet - No risk of admin accidentally inheriting public-only styles

Technical notes: - Public templates have their own system.css in templates/default|lite/assets/css/ - Removed classes remain intact in public template CSS files — no public breakage

Chore: Remove obsolete admin logo sprite images
Автор: Eduard Laas | Дата: 15:24 27.04.2026

slaedcms.png and 000slaedcms.png were the CSS-background logo images referenced via background-image in theme.css. The admin logo is now rendered as an <img> tag (committed in Feature: Admin logo selection), so these sprite files are no longer referenced anywhere and can be removed.

Core changes:

  1. Deleted: templates/admin/images/slaedcms.png
  2. Deleted: templates/admin/images/000slaedcms.png

Benefits: - Repository no longer carries unreferenced binary assets - Grep confirms zero remaining references to these filenames in PHP, CSS, or templates

Technical notes: - Replacement logo images live in templates/admin/images/logos/ - No functional change; CSS background-image sprite approach was already removed

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

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

Технологии

PHPMySQLHTML 5CSS 3jQueryjQuery UI

Контакты

  • D-49179, Deutschland
    Ostercappeln, Im Siek 6
  • +49 176 61966679

  • https://slaed.net
Идеи и предложения
Обратная связь