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

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

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

Всего: 1091 Доступных коммитов | Отфильтровано: 1091 Коммиты | Страница: 20 / 110
22.06.2026
Refactor: consolidate lite theme PHP helpers and fix forum breadcrumbs/pager
Автор: Eduard Laas | Дата: 16:09 22.06.2026

Consolidate duplicated logic behind shared core helpers, add item-level breadcrumb resolution, and fix forum topic-list pager and the inline favorite button across the lite theme and forum module.

Core changes:

  1. Entity decode helper (core/system.php, 16 files):
  2. Add getDecodedText() and replace 25 inline html_entity_decode(..., ENT_QUOTES | ENT_HTML5, 'UTF-8') call sites

  3. Decode forum topic titles in the list so quotes render, not "
  4. Forum topic state helper (core/system.php, modules/forum/index.php, blocks/center_forum.php):

  5. Add getForumTopicState() as the single source for the is_topic_* status flag; drop the duplicated if/elseif chains

  6. Item breadcrumbs (core/helpers.php, templates/lite/index.php):
  7. Add getItemCrumb() guarded via information_schema (cid + title)
  8. getThemeHeadVars() resolves the category trail for op=view items and appends the current item title as the last crumb

  9. Forum list fixes (modules/forum/index.php):
  10. Stop the topic loop from clobbering the page category; use $catid so the pager and the moderator move form get the correct id

  11. Merge the status icon into the single topic title link
  12. Inline favorite button (core/user.php):
  13. Wrap the favorite toggle in an inline span instead of a block div so it no longer shifts headings

  14. Block title bar (core/system.php):
  15. render_blocks() forwards optional icon_name/href to the block-all wrapper; center_forum block supplies them

Benefits:

  • Single source of truth for decode and topic-state logic
  • Correct forum pagination and clean heading layout
  • Uniform item breadcrumbs across category modules

Technical notes:

  • Behavior preserved; shop/content without cid are safely skipped
  • No backward-incompatible changes
Chore: ignore php-cs-fixer cache
Автор: Eduard Laas | Дата: 16:08 22.06.2026

Prevent the generated PHP CS Fixer cache from being tracked, keeping the working tree clean after running the style fixer.

Core changes:

  1. Ignore rule (.gitignore):
  2. Add .php-cs-fixer.cache under a dedicated PHP CS Fixer section

Benefits:

  • No accidental commits of tool-generated cache
  • Cleaner status output

Technical notes:

  • Tooling-only change, no runtime impact
19.06.2026
Docs: consolidate performance/architecture notes, refresh guides
Автор: Eduard Laas | Дата: 12:49 19.06.2026
  • Replace PERFORMANCE_AUDIT_* notes with consolidated PERFORMANCE.md and new ARCHITECTURE.md
  • Update README/CONTRIBUTING/SECURITY/UPGRADING and docs guides
Templates: single-call table fragment, sort indicators, ellipsis/icon styling, even footer grid
Автор: Eduard Laas | Дата: 12:48 19.06.2026
  • table.html: single-call rows_html contract (drop open/close two-pass and dead footer_html)
  • table-row.html: is_truncate, is_forum_user cell flags
  • Sort-indicator CSS, sl-cell-ellipsis truncation, tokenized icon sizes
  • Footer forum teaser: clickable user icon, fix list overflow and even column distribution
Refactor: decode stored title/code entities, consolidate forum queries, fix voting block
Автор: Eduard Laas | Дата: 12:48 19.06.2026
  • Decode HTML-entity-encoded titles before escaped output across forum/news/files/pages/faq/jokes/center* blocks
  • parser: decode entities in plain [code] blocks (fixes double-encoded <, ", &)
  • Add getForumTopics() helper; drop triplicated forum-topic query assembly
  • voting block: move HTML wrapper to block-content fragment, fix array_rand crash on empty set
  • forum block: CSS truncation, plain escaped poster name
  • Reindent blocks to 4 spaces; normalize legacy file headers
18.06.2026
Docs: document Nginx error_page setup in editor help
Автор: Eduard Laas | Дата: 19:12 18.06.2026

The Apache rules section of the editor help now notes that Nginx and IIS do not read .htaccess and shows the error_page directive needed to route HTTP errors to the styled CMS error page.

Feature: universal styled error/message page for both themes
Автор: Eduard Laas | Дата: 19:12 18.06.2026

setExit() now renders a single styled card (logo, gradient divider, message, home/search) for every error and notice, in both the lite and admin themes. Assets resolve through an absolute <base href> built from homeurl so the page keeps its styling even when served from a deep URL, and all <head> tags are emitted via fragments (head-base, head-meta, meta-refresh) instead of inline HTML. The login divider and the message divider share a single --sl-line-gradient token. access.php becomes a thin guard, and _ERROR404 is reworded into a neutral, universal _ERROR_PAGE across all six locales.

Fix: preserve Markdown on admin info-doc save and scope doc styling
Автор: Eduard Laas | Дата: 19:12 18.06.2026

Saving an info/help doc ran the Markdown source through filterHtml(), which (for the CodeMirror branch) applied nl2br + htmlspecialchars + $/quote escaping and corrupted the file on the first save. Info docs are rendered in trusted mode (filterContent safe=false), so store the raw Markdown with normalized LF line endings instead. Wrap the rendered doc in a scoped .sl-markdown container (via the generic div partial) and add spacing rules so the help pages no longer render cramped.

Chore: remove unused getAdminInfo info endpoint
Автор: Eduard Laas | Дата: 19:11 18.06.2026

getAdminInfo() was an AJAX duplicate of setTplAdminInfoPage() reachable only via the index.php dispatch case 'getAdminInfo', which nothing in the UI ever triggered. Drop the function and its dispatch case.

Refactor: rename admin help-tab label _INFO to _DOCS
Автор: Eduard Laas | Дата: 19:11 18.06.2026

The info/help tab in every admin section reused the generic _INFO label ('Информация'). Introduce a dedicated _DOCS constant ('Справка' / 'Documentation') in all six locales and switch the tab bars to it, leaving _INFO for the generic tooltip/nav usages that genuinely mean 'information'.

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

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

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