Всего: 114 Коммитов в репозитории |
Отфильтровано: 114 Коммиты |
Страница: 5 / 12
10.12.2025
Docs: Comprehensive README.md optimization and modernization
Enhanced README.md with professional structure and detailed documentation:
Content improvements:
• Added status badges (PHP version, license, status, migration progress)
• Added Quick Start section with 5-step installation guide
• Added detailed Installation section with 2 methods (manual + setup.php)
• Expanded System Requirements with PHP extensions
• Fixed typo: "Ngnix" → "Nginx"
Feature documentation:
• Categorized Features section (Core, Content Management, E-Commerce, SEO)
• Added detailed Project Structure with file descriptions
• Added Modernization Status section (50% complete, 2106+ SQL queries secured)
• Expanded Tech Stack with security details
Development guidelines:
• Enhanced Coding Standards with complete PHP code examples
• Added 8 mandatory function verbs (get, set, add, update, delete, is, check, filter)
• Added Security Best Practices with correct/incorrect examples
• Added Variable and Constant naming conventions
• Added Code Style examples with type declarations
Additional sections:
• Contributing Guidelines with Git workflow
• Expanded License section with GPL v3 details
• Support section with documentation/issues/forum links
• Professional formatting with emojis and clear structure
Technical improvements:
• Modern GitHub README best practices
• Better readability and scanability
• Comprehensive developer onboarding documentation
• Clear code examples for SLAED standards
Impact:
• Much more professional and comprehensive documentation
• Easier onboarding for new contributors
• Clear coding standards and security guidelines
• Better project presentation on GitHub
Content improvements:
• Added status badges (PHP version, license, status, migration progress)
• Added Quick Start section with 5-step installation guide
• Added detailed Installation section with 2 methods (manual + setup.php)
• Expanded System Requirements with PHP extensions
• Fixed typo: "Ngnix" → "Nginx"
Feature documentation:
• Categorized Features section (Core, Content Management, E-Commerce, SEO)
• Added detailed Project Structure with file descriptions
• Added Modernization Status section (50% complete, 2106+ SQL queries secured)
• Expanded Tech Stack with security details
Development guidelines:
• Enhanced Coding Standards with complete PHP code examples
• Added 8 mandatory function verbs (get, set, add, update, delete, is, check, filter)
• Added Security Best Practices with correct/incorrect examples
• Added Variable and Constant naming conventions
• Added Code Style examples with type declarations
Additional sections:
• Contributing Guidelines with Git workflow
• Expanded License section with GPL v3 details
• Support section with documentation/issues/forum links
• Professional formatting with emojis and clear structure
Technical improvements:
• Modern GitHub README best practices
• Better readability and scanability
• Comprehensive developer onboarding documentation
• Clear code examples for SLAED standards
Impact:
• Much more professional and comprehensive documentation
• Easier onboarding for new contributors
• Clear coding standards and security guidelines
• Better project presentation on GitHub
Cleanup and Configuration Update: Remove legacy files, untrack system configurations (.gitignore, .editorconfig), and fix changelog.
Translate: Final German comments to English
• check_compat.php: Translate comment to English
• changelog.php: Translate error message to English
• changelog.php: Translate error message to English
Translate German code comments to English
• Translate comments in core/ files
• Translate comments in admin/modules/ files
• Translate comments in blocks/ files
• Standardize documentation language
• Translate comments in admin/modules/ files
• Translate comments in blocks/ files
• Standardize documentation language
Update README: Remove German keywords and improve formatting
Merge: Combine cleaned history with previous GitHub commits
Merging two histories:
• Local: 52 commits with
• GitHub: 17 commits from previous repository state
Both histories are now preserved.
# Conflicts:
# blocks/block-languages.php
# blocks/block-user_info.php
# blocks/block-voting.php
# config/000config_global.php
# config/changelog.php
# config/comments.php
# config/config_global.php
# config/config_security.php
# config/favorites.php
# config/fields.php
# config/lang.php
# config/users.php
# language/fr.php
# modules/account/index.php
# modules/contact/index.php
# modules/forum/index.php
# modules/voting/index.php
# modules/whois/index.php
# plugins/codemirror/mode/asn.1/index.html
# plugins/codemirror/mode/mumps/index.html
# plugins/codemirror/mode/nginx/index.html
# plugins/codemirror/mode/pig/index.html
# plugins/sxd/backup/.htaccess
# plugins/sxd/cfg.php
# plugins/sxd/img/icons.png
# plugins/sxd/index.php
# plugins/sxd/info.php
# plugins/sxd/lang/list.php
# plugins/sxd/lang/lng_en.php
# plugins/sxd/lang/lng_ru.php
# plugins/sxd/lang/lng_uk.php
# plugins/sxd/lang/update.php
# plugins/sxd/load.php
# plugins/sxd/readme_en.txt
# plugins/sxd/readme_ru.txt
# plugins/sxd/ses.php
# plugins/sxd/sxd.css
# plugins/sxd/sxd.js
# templates/admin/index.php
• Local: 52 commits with
• GitHub: 17 commits from previous repository state
Both histories are now preserved.
# Conflicts:
# blocks/block-languages.php
# blocks/block-user_info.php
# blocks/block-voting.php
# config/000config_global.php
# config/changelog.php
# config/comments.php
# config/config_global.php
# config/config_security.php
# config/favorites.php
# config/fields.php
# config/lang.php
# config/users.php
# language/fr.php
# modules/account/index.php
# modules/contact/index.php
# modules/forum/index.php
# modules/voting/index.php
# modules/whois/index.php
# plugins/codemirror/mode/asn.1/index.html
# plugins/codemirror/mode/mumps/index.html
# plugins/codemirror/mode/nginx/index.html
# plugins/codemirror/mode/pig/index.html
# plugins/sxd/backup/.htaccess
# plugins/sxd/cfg.php
# plugins/sxd/img/icons.png
# plugins/sxd/index.php
# plugins/sxd/info.php
# plugins/sxd/lang/list.php
# plugins/sxd/lang/lng_en.php
# plugins/sxd/lang/lng_ru.php
# plugins/sxd/lang/lng_uk.php
# plugins/sxd/lang/update.php
# plugins/sxd/load.php
# plugins/sxd/readme_en.txt
# plugins/sxd/readme_ru.txt
# plugins/sxd/ses.php
# plugins/sxd/sxd.css
# plugins/sxd/sxd.js
# templates/admin/index.php
Refactor: Info file naming & admin system updates
• Info files: Language name standardization (english→en, german→de, french→fr, etc.)
• Admin modules: Code improvements and consistency fixes
• Core system: Security and user management enhancements
• Config: Log file updates
• Admin modules: Code improvements and consistency fixes
• Core system: Security and user management enhancements
• Config: Log file updates
09.12.2025
Remove
• Removed .
• Removed
• Cleaned up project documentation structure
• Removed
• Cleaned up project documentation structure
Fix changelog module configuration save functionality
Fixed configuration persistence issues in the changelog module where
GitHub repository and token values were not being saved correctly.
Changes in admin/modules/changelog.php:
• Fixed global variable: $admin_file → $aroute (consistency)
• Fixed getVar() type for GitHub fields: 'var' → 'text'
• The 'var' type uses isVar() which only allows a-zA-Z0-9_-
• Repository names like 'SLAED-CMS-6.3-Pro' contain dots, which were rejected
• GitHub tokens contain underscores and were being filtered incorrectly
• Type 'text' uses save_text() which preserves special characters
Issue details:
• getVar() with type 'var' calls isVar() function
• isVar() pattern: /[^a-zA-Z0-9_\-]/ rejects dots and many characters
• 'SLAED-CMS-6.3-Pro' was converted to '0' due to dot rejection
• GitHub tokens 'ghp_...' were also filtered incorrectly
Solution:
• Use type 'text' for github_owner, github_repo, and github_token
• save_text() preserves necessary characters while still sanitizing input
• Configuration now saves correctly with full repository names and tokens
This fix enables proper GitHub API integration configuration.
GitHub repository and token values were not being saved correctly.
Changes in admin/modules/changelog.php:
• Fixed global variable: $admin_file → $aroute (consistency)
• Fixed getVar() type for GitHub fields: 'var' → 'text'
• The 'var' type uses isVar() which only allows a-zA-Z0-9_-
• Repository names like 'SLAED-CMS-6.3-Pro' contain dots, which were rejected
• GitHub tokens contain underscores and were being filtered incorrectly
• Type 'text' uses save_text() which preserves special characters
Issue details:
• getVar() with type 'var' calls isVar() function
• isVar() pattern: /[^a-zA-Z0-9_\-]/ rejects dots and many characters
• 'SLAED-CMS-6.3-Pro' was converted to '0' due to dot rejection
• GitHub tokens 'ghp_...' were also filtered incorrectly
Solution:
• Use type 'text' for github_owner, github_repo, and github_token
• save_text() preserves necessary characters while still sanitizing input
• Configuration now saves correctly with full repository names and tokens
This fix enables proper GitHub API integration configuration.
Fix GitHub API authentication and secure token configuration
Fixed GitHub API authorization header format and moved sensitive
configuration to .gitignore for better security practices.
Changes in admin/modules/changelog.php:
• Fixed Authorization header: 'Bearer' → 'token'
• GitHub Personal Access Tokens require 'token' prefix, not 'Bearer'
• 'Bearer' is used for OAuth 2.0 tokens only
Changes in .gitignore:
• Added /config/changelog.php to excluded files
• Prevents committing API tokens and sensitive credentials
• Grouped under new "API tokens and secrets" section
New file: config/changelog.php.example
• Template configuration file without sensitive data
• Users copy to changelog.php and add their own token
• Safe to commit to repository
Security improvement:
• GitHub tokens no longer tracked in version control
• Reduces risk of credential exposure
• Follows best practices for secret management
configuration to .gitignore for better security practices.
Changes in admin/modules/changelog.php:
• Fixed Authorization header: 'Bearer' → 'token'
• GitHub Personal Access Tokens require 'token' prefix, not 'Bearer'
• 'Bearer' is used for OAuth 2.0 tokens only
Changes in .gitignore:
• Added /config/changelog.php to excluded files
• Prevents committing API tokens and sensitive credentials
• Grouped under new "API tokens and secrets" section
New file: config/changelog.php.example
• Template configuration file without sensitive data
• Users copy to changelog.php and add their own token
• Safe to commit to repository
Security improvement:
• GitHub tokens no longer tracked in version control
• Reduces risk of credential exposure
• Follows best practices for secret management





