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

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

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

Всего: 1045 Доступных коммитов | Отфильтровано: 1045 Коммиты | Страница: 52 / 105
12.04.2026
Refactor: admin modules — migrate preview(), drop explicit tab index from info()
Автор: Eduard Laas | Дата: 21:33 12.04.2026

Replaced legacy preview() calls with getTplPreviewContent() across all affected admin modules and removed hardcoded 'tab' index from setTplAdminInfoPage() calls so the info tab is resolved automatically.

Core changes:

  1. preview() migration (admin/modules/messages.php, newsletter.php, modules/clients, faq, files, help, jokes, links, media admin/index.php):

  2. preview($title, $body, ...) replaced with getTplPreviewContent([...]) using named params
  3. setTplAdminInfoPage() cleanup (modules/clients, contact, faq, files, forum, help, jokes, links, media admin/index.php):

  4. Removed explicit 'tab' => N argument; tab is now auto-computed

Benefits:

  • Consistent preview rendering API across all admin modules
  • Info tab no longer needs manual index maintenance

Technical notes:

  • getTplPreviewContent() accepts named array: title, texta, textb, field, mod
  • Behavior unchanged; visual output identical
Chore: config — remove content module from search, update fingerprint
Автор: Eduard Laas | Дата: 21:33 12.04.2026

Two targeted config updates applied after module refactoring: content module removed from the search index, base_fingerprint refreshed to match current admin module state.

Core changes:

  1. Search config (config/search.php):
  2. Removed 'content' from the 'mods' list of searchable modules
  3. Local config (config/local.php):
  4. Updated base_fingerprint to 95db25262294c2f867f3bb75581549e2e3b277eb

Benefits:

  • Search no longer indexes removed content module
  • Fingerprint reflects current admin build state

Technical notes:

  • base_fingerprint is auto-derived; manual update after module changes
  • Backward compatible
Chore: config — remove alignment padding, convert heredocs to strings
Автор: Eduard Laas | Дата: 21:32 12.04.2026

Reformatted all module config files to match project coding style: no alignment padding in array assignments, no heredoc syntax for multi-line string values. Behavior unchanged.

Core changes:

  1. Config array style (config/money.php, config/news.php, config/order.php, config/pages.php, config/rss.php, config/shop.php, config/sitemap.php, config/voting.php, config/whois.php):

  2. Removed extra spaces used to align '=>' operators
  3. Replaced heredoc (<<<HTML) with regular single-quote multi-line strings

Benefits:

  • Consistent style across all config files
  • Easier to diff and merge

Technical notes:

  • No config values were changed
  • Backward compatible
10.04.2026
Chore: config — update base_fingerprint after admin module refactor
Автор: Eduard Laas | Дата: 12:31 10.04.2026

Updates the base_fingerprint value in config/local.php to reflect the current state of the codebase following the batch refactor of admin modules to the new fragment API.

Core changes:

  1. Fingerprint update (config/local.php):
  2. Updated base_fingerprint from 268a9d51... to 8cc21cf6...

Benefits:

  • Config fingerprint in sync with current codebase state

Technical notes:

  • Auto-generated value; no logic or behavior changes
Refactor: admin links, media — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the links and media admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, and getTplAdminActionMenu calls with getTplAdminTabs, new/table, new/row-actions, new/table-row, new/table-cells, and new/form; removes four legacy HTML fragment files.

Core changes:

  1. Links list and add form (modules/links/admin/index.php):
  2. Fixed setHead() leading-whitespace indentation
  3. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  4. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  5. Add/edit form rebuilt as new/form rows array with new/input and new/textarea
  6. Table + pager wrapped in getHtmlPart('box')
  7. Media list and add form (modules/media/admin/index.php):
  8. Fixed setHead() leading-whitespace indentation
  9. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  10. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  11. Add/edit and linked-files forms rebuilt as new/form rows array
  12. Table + pager wrapped in getHtmlPart('box')
  13. Template cleanup (templates/admin/fragments/):
  14. Removed: admin-links-add-rows.html, admin-links-list-row.html, admin-media-add-rows.html, admin-media-link-row.html

Benefits:

  • Links and media modules fully aligned with new admin fragment API
  • All legacy HTML fragment files for these modules eliminated

Technical notes:

  • No SQL, schema, or URL changes
Refactor: admin files, help — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the files and help admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, and getTplAdminActionMenu calls with getTplAdminTabs, new/table, new/row-actions, new/table-row, new/table-cells, and new/form; removes four legacy HTML fragment files.

Core changes:

  1. Files list and add form (modules/files/admin/index.php):
  2. Fixed setHead() leading-whitespace indentation
  3. Replaced getTplAdminNavi with getTplAdminTabs in all three status branches
  4. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  5. Add/edit form rebuilt as new/form rows array
  6. Table + pager wrapped in getHtmlPart('box')
  7. Help list and add form (modules/help/admin/index.php):
  8. Fixed setHead() leading-whitespace indentation
  9. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  10. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  11. Add and thread-view forms rebuilt as new/form rows array
  12. Table + pager wrapped in getHtmlPart('box')
  13. Template cleanup (templates/admin/fragments/):
  14. Removed: admin-files-add-rows.html, admin-help-add-rows.html, admin-help-addview-rows.html, admin-help-list-row.html

Benefits:

  • Files and help modules fully aligned with new admin fragment API
  • All legacy HTML fragment files for these modules eliminated

Technical notes:

  • No SQL, schema, or URL changes
Refactor: admin content, faq, forum, jokes — migrate to new fragment API
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites four admin modules to use the unified new/* fragment API, replacing getTplAdminNavi, getTplAdminTableHead, getTplAdminActionMenu, and associated legacy helpers with getTplAdminTabs, new/table, new/row-actions, new/table-row, and new/table-cells; also fixes setHead() indentation regression in files that had accidental leading whitespace.

Core changes:

  1. Content list (modules/content/admin/index.php):
  2. Replaced inline head array + getTplAdminNavi with getTplAdminTabs
  3. Table rebuilt with new/table (is_wrapless) + new/row-actions
  4. Pager and table wrapped in getHtmlPart('box')
  5. FAQ list (modules/faq/admin/index.php):
  6. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  7. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  8. Table + pager wrapped in getHtmlPart('box')
  9. Forum sync (modules/forum/admin/index.php):
  10. Replaced getTplAdminNavi with getTplAdminTabs
  11. 'alert' key updated to 'new/alert'
  12. Table rebuilt with new/table + new/table-cells, new/table-row
  13. Removed getTplAdminTitleTip / getTplAdminTextLink / getTplAdminColorLabel
  14. Jokes list (modules/jokes/admin/index.php):
  15. Replaced getTplAdminNavi with getTplAdminTabs in both status branches
  16. Row rendering migrated to new/table-row, new/table-cells, new/row-actions
  17. Fixed setHead() leading-whitespace indentation

Benefits:

  • All four modules render tables and action menus via the new fragment API
  • No legacy getTplAdminNavi or getTplAdminTableHead calls remain in these files

Technical notes:

  • No SQL, schema, or URL changes; no template files deleted in this group
Refactor: admin clients, contact — migrate to new fragment API, remove legacy fragments
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the clients and contact admin modules to use the unified new/* fragment API, replacing all legacy getTplAdminNavi, getTplAdminTableHead, getTplAdminActionMenu, getTplAdminForm, and radio_form calls; removes three legacy HTML fragment files that are no longer referenced.

Core changes:

  1. Clients list (modules/clients/admin/index.php):
  2. Replaced getTplAdminNavi with getTplAdminTabs
  3. Rewrote row rendering: new/table-row, new/table-cells, new/row-actions
  4. Add form rebuilt as new/form with rows array; new/input for all fields
  5. getTplAdminForm replaced with new/form + getHtmlPart('box')
  6. Contact config (modules/contact/admin/index.php):
  7. Replaced getTplAdminNavi with getTplAdminTabs
  8. Config form rebuilt as new/form rows array: getTplRadioGroup for admins, new/textarea for info field

  9. getTplAdminForm / getTplHiddenInput replaced with new/form hidden array
  10. Template cleanup (templates/admin/fragments/):
  11. Removed: admin-clients-add-rows.html, admin-clients-list-row.html, admin-contact-config-rows.html

Benefits:

  • Both modules aligned with the unified admin fragment API
  • No dependency on legacy HTML fragment files for form or table rendering

Technical notes:

  • No SQL, schema, or URL changes
  • Prepared statements and getVar() usage unchanged
Refactor: admin changelog — migrate config form to new fragment API, add dual-context file rendering
Автор: Eduard Laas | Дата: 12:30 10.04.2026

Rewrites the changelog admin config form to use the new/form rows array and new/* fragment components, adds CSRF token validation on configsave, and updates chlogRenderCommitStats() in common.php to render file lists and stats with inline HTML when running in the admin context (ADMIN_FILE defined) instead of depending on deprecated changelog-file-row and changelog-stats fragments; removes three legacy HTML fragment files.

Core changes:

  1. Config form (modules/changelog/admin/index.php):
  2. Replaced getTplAdminNavi with getTplAdminTabs in changelog() and config()
  3. Replaced new/alert frag key 'alert' with 'new/alert' for consistency
  4. Config form rebuilt as new/form with rows array: source select with new/label-hint, GitHub fields with conditional row_class, numeric inputs, and radio groups via getTplRadioGroup

  5. configsave() now validates CSRF token via checkSiteToken('changelog')
  6. Main changelog view wraps content in getHtmlPart('box') with checkPerms()
  7. Dual-context rendering (modules/changelog/common.php):
  8. chlogRenderCommitStats(): when ADMIN_FILE is defined, renders file list and stats as raw inline HTML instead of calling legacy fragment functions

  9. Frontend path unchanged: continues using changelog-file-row / changelog-stats
  10. Template cleanup (templates/admin/fragments/):
  11. Removed: admin-chlog-config-rows.html, admin-chlog-config-script.html, admin-chlog-source-select.html

Benefits:

  • Config form no longer depends on legacy HTML fragments
  • Admin file-stats rendering decoupled from frontend fragment contract
  • CSRF-safe config saves with named token scope

Technical notes:

  • Frontend template fragments (changelog-file-row, changelog-stats) unchanged
  • No schema, URL, or stored-data changes
Refactor: admin auto_links — migrate to new fragment API, add CSRF guards, remove legacy fragments
Автор: Eduard Laas | Дата: 12:29 10.04.2026

Rewrites the auto_links admin module to use the new unified fragment API and strengthens security by adding CSRF token validation on all state-mutating actions (delete, hitreset, zerodel, configsave); removes six legacy HTML fragment files that were replaced by inline new/* fragment calls.

Core changes:

  1. List and stats views (modules/auto_links/admin/index.php):
  2. Replaced getTplAdminNavi with getTplAdminTabs; added getSiteToken() to hitreset and zerodel tab URLs

  3. Rewrote row rendering with new/table-row, new/table-cells, new/row-actions
  4. Config form rebuilt using new/form rows array and new/select, new/input
  5. Replaced getTplAdminForm / getTplBox with new/form + getHtmlPart('box')
  6. Stats view: table head and rows migrated to new/table + new/table-row
  7. CSRF hardening (modules/auto_links/admin/index.php):
  8. delete(), hitreset(), zerodel() now check checkSiteToken(); skip mutation and redirect with _TOKENMISS warning on failure

  9. add() save path checks checkSiteToken() before INSERT/UPDATE
  10. Template cleanup (templates/admin/fragments/):
  11. Removed: admin-auto-links-add-rows.html, admin-auto-links-config-rows.html, admin-auto-links-list-row.html, admin-auto-links-stats-head.html, admin-auto-links-stats-row.html, admin-auto-links-stats-search.html

Benefits:

  • CSRF-safe: all write operations require a valid site token
  • Legacy fragment files eliminated; rendering fully handled in PHP
  • Config form uses structured rows array for consistency with other modules

Technical notes:

  • Prepared statements were already in use; no SQL API changes
  • No schema, URL, or session-API changes

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

1 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 105
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

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