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

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

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

Всего: 500 Доступных коммитов | Отфильтровано: 500 Коммиты | Страница: 1 / 50
Вчера (20.05.2026)
Style: rename BEM underscore classes to hyphen across lite template and update theme CSS
Автор: Eduard Laas | Дата: 22:56 20.05.2026

Replaces all sl-X_Y modifier class names with hyphen-separated sl-X-Y form across layouts, fragments, partials, and theme.css to establish consistent BEM naming, and adds sidebar/content grid structure to home layout.

Core changes:

  1. Templates (layouts/app.html, home.html, fragments, partials):
  2. Rename ~25 class patterns: sl-top_contact → sl-top-contact, sl-d_pane → sl-d-pane, sl-i_yt/-tw/-vk/-rss → sl-i-yt/-tw/-vk/-rss, sl-f_title → sl-f-title, sl-grid_1_4 → sl-grid-1-4

  3. home.html: add #head-content wrapper and left/main/right sidebar grid inside sl-wrp
  4. CSS (theme.css, base.css):
  5. Update selectors to match renamed classes
  6. Add inline-flex + align-items to .sl-meta li and card meta elements
  7. Refine .sl-navi-lower-action to use token-based color/border overrides
  8. Config:
  9. global.php: switch default module from changelog to news; rotate sitekey
  10. local.php: reset to minimal defaults

Benefits: - Consistent hyphen-only BEM convention eliminates underscore/hyphen mixing - Sidebar grid in home layout enables left/right block slot rendering - Card meta elements vertically aligned via flexbox

Fix: close responsive baseline and document verification
Автор: Eduard Laas | Дата: 20:27 20.05.2026

Record the completed responsive baseline work for lite/admin and add release notes for the verified browser audit. This keeps the current responsive changes, documents the closed baseline, and preserves the remaining non-blocking component backlog for future follow-up.

Core changes:

  1. Responsive baseline:
  2. lite mobile/tablet layout, menus, tables, comments, cards, media, and admin shells were verified in the browser
  3. authenticated admin pages were verified after login
  4. component-specific backlog remains outside the baseline scope
  5. Release notes:
  6. add docs/VERSIONS.md with the baseline closure note and verification summary

Benefits: - documents the verified responsive state - keeps the release history aligned with the audited browser result

Technical notes: - no PHP logic changes - no JS changes - no AI attribution

Chore: add loading animation gallery demo page
Автор: Eduard Laas | Дата: 15:58 20.05.2026

Standalone HTML demo showcasing all .sl-loading variants (default, drift, and colour overrides) for visual reference during development.

Style: tokenize loading animation and overhaul monitor widget CSS
Автор: Eduard Laas | Дата: 15:54 20.05.2026

Converts .sl-loading to a CSS-variable-driven component so colour and size variants require only token overrides, adds a four-dot drift animation variant, and modernises the monitor chart and stats CSS to match the new server-rendered SVG structure.

Core changes:

  1. Loading component (templates/admin/assets/css/theme.css):
  2. Introduce --sl-loading-core/soft/center/width/height/size/shadows-* tokens
  3. Re-base dot colour from --sl-color-primary-hover to --sl-color-success
  4. Add .sl-loading-drift variant — four dots, vertical float, 1.1 s ease-in-out
  5. Monitor widget styles (templates/admin/assets/css/theme.css):
  6. Tokenise font stack via --sl-monitor-font and size scale sm/md/lg/kpi/xl
  7. Swap .sl-t-label span dot to .sl-t-icon flex column with 50 px Bootstrap Icon
  8. Add .sl-t-content, .sl-t-sub for the new icon + content card structure
  9. Replace .sl-chart-path with .sl-chart-gridline (solid) and .sl-chart-vgrid (dashed)
  10. Add .sl-chart-value-label, .sl-chart-axis-label, .sl-chart-tip, .sl-chart-day/.sl-chart-dayline/.sl-chart-focus/.sl-chart-hover-zone rules

  11. Set chart height 220 → 285 px, correct --sl-monitor-blue to --sl-color-primary

Benefits: - Loading variants need only CSS token overrides — no duplicate animation keyframes - Monitor font sizes are now a consistent token scale, easy to adjust globally

Feature: replace static SVG with server-rendered chart and icon stat layout
Автор: Eduard Laas | Дата: 15:54 20.05.2026

Swaps the hardcoded SVG block for the PHP-generated {{{ chartsvg }}} variable and restructures the four traffic stat cards to use icon + content columns aligned with the new CSS layout tokens.

Core changes:

  1. Monitor template (templates/admin/partials/basic-monitor.html):
  2. Replace inline SVG (paths, defs, gradients) with {{{ chartsvg }}} mustache triple
  3. Replace plain "Loading..." text with animated .sl-loading.sl-loading-drift spinner
  4. Restructure .sl-t-item cards: add .sl-t-icon (Bootstrap Icon) + .sl-t-content wrapper * Reorder stats: CPU · RAM · Upstream · Downstream (system metrics first) * Add .sl-t-sub for secondary value line (freq, MB used, rate)

Refactor: extract SVG chart helpers and add server-rendered monitor chart
Автор: Eduard Laas | Дата: 15:54 20.05.2026

Eliminates duplicated point-calculation logic, adds a parametric SVG chart builder with hover zones and tooltips rendered server-side so the template becomes a single variable substitution.

Core changes:

  1. Chart path helpers (admin/modules/monitor.php):
  2. Extract getHistoryPoints() — shared normalised point array used by line and area paths * Accepts width/padding params so charts are no longer hardcoded to 100 px viewport * Attaches raw value to each point for tooltip rendering

  3. Add getHistoryBucketPoints() — evenly samples N points for hover marker alignment
  4. Add getHistoryMarkerPoint() — returns nearest point for a given bucket index
  5. Add getMonitorChartTimeLabel() — localised time label using _MONITOR_TIME_AGO/_NOW
  6. Server-rendered SVG (admin/modules/monitor.php):
  7. Add getMonitorChartSvg() — builds full 900×285 SVG with defs, gradient fills, grid lines, vertical bucket lines, hover zones, and floating tooltip groups

  8. Expose hist_down/hist_up/hist_cpu/hist_ram arrays in getMonitorPanelSnapshot()
  9. Add chartsvg key to getTrafficPanelVars() output

Benefits: - Single source of truth for chart geometry; template contains no SVG logic - Hover and tooltip state is structural (CSS :has / pointer-events) not JS-driven - Width/padding now configurable per chart without touching templates

Chore: add i18n constants for monitor time labels
Автор: Eduard Laas | Дата: 15:54 20.05.2026

Adds two localized constants for the monitor chart time axis to all six language files so the server-rendered SVG can display relative timestamps without hard-coded strings.

Core changes:

  1. All language files (admin/lang/*.php):
  2. Add _MONITOR_TIME_AGO — relative label for past snapshots (e.g. "30 sec ago")
  3. Add _MONITOR_TIME_NOW — label for the current rightmost bucket
Chore: add line and load effects lab demo pages
Автор: Eduard Laas | Дата: 11:34 20.05.2026
Style: replace admin header border with gradient line via ::after
Автор: Eduard Laas | Дата: 11:34 20.05.2026
Эта неделя (19.05.2026)
Refactor: replace hardcoded relative paths with BASE_DIR/UPLOADS_DIR constants
Автор: Eduard Laas | Дата: 23:07 19.05.2026

Completes path-constant migration across admin modules, core, parser, and front-end modules so all filesystem operations use absolute paths regardless of the working directory. Also rewrites the shop CSV import to eliminate raw SQL string concatenation in favour of getSqlValue() closures.

Core changes:

  1. Path constants (admin/modules/, core/system.php, core/admin.php, blocks/img.php):
  2. Replace 'blocks/', 'templates/', 'uploads/', 'config/' literals with BASE_DIR, UPLOADS_DIR, CONFIG_DIR throughout scandir/file_exists/include/fopen * blocks.php: scandir, file_get_contents, fopen, file_exists all absolutised * config.php: logo dir scans, is_file checks use BASE_DIR prefix * template.php: all template dir reads use BASE_DIR/templates/ * uploads.php: all upload dir ops use UPLOADS_DIR * core/admin.php: getAdminUploadFiles() separates filesystem path from web URL ($pub) * blocks/img.php: opendir uses UPLOADS_DIR constant

  3. Parser (core/classes/parser.php):
  4. file_exists/getimagesize/create_img_gd use absolute $path/$tpath
  5. mkdir() adds 0777 + recursive flag
  6. Web-facing $file/$tfile remain relative for URL output
  7. Core system (core/system.php):
  8. upload(): normalise $directory to absolute at function entry
  9. render_blocks(): include via absolute BASE_DIR path
  10. addSitemapTask(): sitemap.xml and sitemap-N.xml use BASE_DIR prefix; addCompress() receives dirname($file); web links use basename() only

  11. getImgText(): file_exists check uses absolute path
  12. getEditorFileData(): strip BASE_DIR prefix to produce relative web URL
  13. getEditorUploadData(): return both 'dir' (relative) and 'path' (absolute)
  14. doScript(): config/header.php include uses CONFIG_DIR constant
  15. Modules (modules/):
  16. account/admin, account: scandir/is_dir use BASE_DIR/templates/
  17. clients/admin, clients/index: filemtime/file_exists/addCompress use UPLOADS_DIR
  18. files/admin: file_exists/filesize/rename use absolute path helper
  19. main, media: file_exists for img check uses BASE_DIR prefix
  20. shop/index: CSS existence check uses BASE_DIR/templates/
  21. Shop CSV import (modules/shop/admin/index.php):
  22. Replace raw string interpolation ('...' = '$data[N]') with getSqlValue() closure
  23. Build SET and VALUES as arrays, implode for final query
  24. Add continue guard for unrecognised CSV type
  25. Guard setRedirect with $idb !== '' check
  26. Fix broken © encoding in file header

Benefits: - All filesystem I/O uses absolute paths — no CWD dependency - shop import no longer builds raw SQL strings from CSV data - parser thumbnail creation is race-condition safe (mkdir recursive)

Technical notes: - Web-facing URLs (image src, href, download links) remain relative — only filesystem calls received absolute paths - BASE_DIR/UPLOADS_DIR/CONFIG_DIR defined in core bootstrap (index.php)

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

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

Технологии

PHPMySQLHTML 5CSS 3jQueryjQuery UI

Контакты

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

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