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

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

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

Всего: 1155 Доступных коммитов | Отфильтровано: 1155 Коммиты | Страница: 107 / 116
16.12.2025
Refactor security.php: Rename functions to SLAED standard
Автор: Eduard Laas | Дата: 15:26 16.12.2025

Function naming modernization:

  • file_view() → fileview()
  • block_save() → blocksave()
  • pass_save() → passsave()
  • conf_save() → confsave()

Updated 13 references across:

  • 4 function definitions
  • 4 switch cases
  • 6 form op parameters
  • 2 URL op parameters

Code optimization:

  • Lines 294-295: Combine getVar() with multiplication Old: $sess_d = getVar(...); $sess_d = ($sess_d) ? $sess_d * 60 : 86400; New: $sess_d = getVar('post', 'sess_d', 'num', 1440) * 60;

  • Mathematically equivalent: 1440 * 60 = 86400
Refactor: Minor optimizations in security.php
Автор: Eduard Laas | Дата: 09:14 16.12.2025

Minor code style improvements:

  • Updated array syntax from array() to [] for consistency
  • Changed mail parameter type from 'text' to 'bool' for checkbox validation
  • Ensures full adherence to modern PHP 8.4 standards

All security features and functionality remain unchanged.

15.12.2025
Refactor Security Module: Rename config to security.php, modernize admin/modules/security.php to PHP 8.4
Автор: Eduard Laas | Дата: 14:33 15.12.2025
Update account and rss_info modules
Автор: Eduard Laas | Дата: 14:05 15.12.2025
  • Update copyright year in modules/account/index.php
  • Refactor modules/rss_info/index.php to use new config/rss.php and modernize code structure
Refactor RSS module and modernize config handling
Автор: Eduard Laas | Дата: 13:59 15.12.2025
  • Rename config/config_rss.php to config/rss.php
  • Modernize admin/modules/rss.php:
- Update navi() to accept extra param for correct tab handling
- Use getVar() for input sanitization in save()
- Match array assignment style in save() to other modules
- Use checkConfigFile() and setConfigFile() helpers
  • Update inclusions of rss config in core/core.php, core/user.php, modules/account/index.php, and modules/rss_info/index.php to use new filename and CONFIG_DIR constant.
  • Minor cleanup in other admin modules (replace.php, referers.php, comments.php) to ensure consistency in getVar usage.
Upload local files [SLAED-CMS-6.3]
Автор: Eduard Laas | Дата: 11:55 15.12.2025
Update: Add English commit message rule to git-rules.md
Автор: Eduard Laas | Дата: 11:18 15.12.2025
Update: Core, SQL and Language files
Автор: Eduard Laas | Дата: 10:54 15.12.2025
Refactor: template.php - Remove excessive whitespace
Автор: Eduard Laas | Дата: 10:54 15.12.2025
12.12.2025
Refactor: Optimize replace.php with modern patterns
Автор: Eduard Laas | Дата: 11:52 12.12.2025

Updated replace.php with comprehensive modernization:

  • Updated copyright year to 2026
  • Added require_once CONFIG_DIR at top for config loading
  • Enhanced navi() function with legacy and extra parameters
  • Modernized navigation ops with proper name=replace URLs
  • Updated template functions to use array parameters
  • Replaced end_chmod() with checkConfigFile() helper
  • Complete rewrite of save() function using getVar() for input validation
  • Implemented setConfigFile() for config writing (replacing manual file operations)
  • Added global $confre variable handling
  • Simplified and secured all user input handling
  • Compact switch statement formatting

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

Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

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

Предварительный просмотр