Журнал изменений
Всего: 1217 Доступных коммитов |
Отфильтровано: 1217 Коммиты |
Страница: 113 из 122
16.12.2025
Refactor: Standardize language file names to ISO 639-1 codes
Renamed language files for consistency:
- lang-english.php → en.php
- lang-german.php → de.php
- lang-french.php → fr.php
- lang-polish.php → pl.php
- lang-russian.php → ru.php
- lang-ukrainian.php → uk.php
Applied to:
- modules/account/language/ (6 files)
- modules/news/language/ (6 files)
- modules/news/admin/info/ (6 files)
Total: 18 files renamed Naming convention follows ISO 639-1 standard (two-letter language codes)
Refactor database.php: Replace $admin_file with $aroute
Global variable standardization:
- Line 16: global declaration updated
- Line 107: URL construction updated
- Line 111: URL construction updated
Consistent with all other admin modules (3 changes total)
Refactor security.php: Rename functions to SLAED standard
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
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
Update account and rss_info modules
- 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
- 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]
Update: Add English commit message rule to git-rules.md
Update: Core, SQL and Language files