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

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

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

Всего: 1301 Доступных коммитов | Отфильтровано: 1301 Коммиты | Страница: 116 из 131
30.01.2026
Style: Normalize template syntax in documentation
Автор: Eduard Laas | Дата: 12:26 30.01.2026

Remove spaces from conditional template tags for consistency with actual template parser behavior.

Core changes:

  1. Template syntax (docs/TEMPLATES.md):
  2. Change {% if FLAG %} to {%if FLAG%}
  3. Change {% else %} to {%else%}
  4. Change {% endif %} to {%endif%}
  5. Change {% elseif %} to {%elseif%}
  6. Updated all 6 practical examples

Benefits:

  • Consistent syntax across documentation and code
  • Matches actual template parser implementation
Docs: Add documentation section to README
Автор: Eduard Laas | Дата: 12:19 30.01.2026

Add new 📚 Documentation section with links to all project documentation files including the new TEMPLATES.md guide.

Core changes:

  1. Documentation index (README.md):
  2. Add table with all documentation files
  3. Link to TEMPLATES.md, CONTRIBUTING.md, UPGRADING.md, SECURITY.md, CODE_OF_CONDUCT.md
  4. Brief descriptions for each document

Benefits:

  • Better discoverability of project documentation
  • Centralized documentation index
  • Easy navigation for contributors and users
Feature: Add conditional rendering support to template system
Автор: Eduard Laas | Дата: 12:11 30.01.2026

Implements {% if FLAG %} ... {% else %} ... {% endif %} conditional blocks for templates, enabling dynamic content display based on flags passed from PHP code.

Core changes:

  1. Template conditional rendering (core/template.php):
  2. Add setTemplateIf() function for processing conditional blocks

    • Supports nested IF blocks
    • Boolean normalization for string 'true'/'false' values
    • Undefined flags default to false
    • Pure string-based parsing (no eval)
  3. Update setTemplateBasic() to support 'if_flag' parameter
  4. Update setTemplateBlock() to support 'if_flag' parameter
  5. Fix typo in comment header

Benefits:

  • Enables dynamic content display (login/logout, admin links, etc.)
  • Safe template conditionals without eval()
  • Consistent flag handling across template functions
  • Improved code documentation

Technical notes:

  • Flags must match pattern [a-zA-Z0-9_]+
  • No support for elseif, logical operators, or comparisons
  • Performance optimized with early return for templates without {%
Docs: Comprehensive documentation update for SLAED CMS 6.3
Автор: Eduard Laas | Дата: 12:09 30.01.2026

Complete overhaul of project documentation with consistent formatting, version information, and GitHub alert syntax for better readability.

Core changes:

  1. All documentation files updated with headers (CODE_OF_CONDUCT.md, CONTRIBUTING.md, README.md, SECURITY.md, UPGRADING.md):

    • Added "Last updated: January 2026" headers
    • Added copyright footers
    • Consistent formatting throughout
  2. Template documentation created (docs/TEMPLATES.md):

    • Main layout template system (index.html)
    • Custom templates for home/modules/categories
    • Layout variables ({%HEAD%}, {%MODULE%}, {%BLOCKS%})
    • Conditional rendering with {% if %} syntax
    • 6 practical examples with PHP code
    • Security & performance best practices
    • Migration guide from legacy tpl_* functions
  3. README.md enhanced:

    • Detailed modernization status (12 admin modules listed)
    • Version history table with PHP compatibility
    • Security statistics (2106+ SQL, 269+ input points)
  4. UPGRADING.md expanded:

    • Migration checklist for custom modules
    • Removed/renamed files documentation
    • Breaking changes with code examples
  5. SECURITY.md improved:

    • Modules secured table
    • Deprecated functions table
    • Known issues for 6.2.x

Benefits:

  • Consistent documentation style across all files
  • GitHub alerts for important information
  • Clear upgrade path for contributors
  • Comprehensive template system documentation

Technical notes:

  • All docs use GitHub alert syntax ([!NOTE], [!TIP], etc.)
  • Version 6.3.0 development status: 50% complete
  • 6 supported languages documented: EN, FR, DE, PL, RU, UA
29.01.2026
Style: Fix contact section formatting in docs
Автор: Eduard Laas | Дата: 22:52 29.01.2026
Chore: Remove counter files from tracking
Автор: Eduard Laas | Дата: 22:51 29.01.2026
Docs: Add comprehensive project documentation
Автор: Eduard Laas | Дата: 22:47 29.01.2026

Added production-ready documentation files for SLAED CMS 6.3 to support contributors, security researchers, and users upgrading from previous versions.

Core changes:

  1. Project documentation (README.md):
  2. Updated with links to new documentation files
  3. Added references to CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, UPGRADING
  4. Contribution guidelines (CONTRIBUTING.md):
  5. Coding standards with 8 required verbs
  6. Type declarations and variable naming conventions
  7. SQL prepared statements and input validation rules
  8. Commit message format and PR requirements
  9. Testing requirements (PHPUnit, PHPStan)
  10. Security policy (SECURITY.md):
  11. Supported versions table
  12. Vulnerability reporting process and timeline
  13. Security measures documentation (SQL injection, XSS, CSRF)
  14. Best practices for administrators
  15. Code of Conduct (CODE_OF_CONDUCT.md):
  16. Based on Contributor Covenant 2.1
  17. Community standards and enforcement guidelines
  18. Contact information for reporting
  19. Upgrade guide (UPGRADING.md):
  20. Migration paths from 6.2.x to 6.3.x
  21. Breaking changes (config_db.php removed, new db.php format)
  22. Function changes (tpl_eval, admin_file)
  23. Troubleshooting section

Benefits:

  • Clear guidelines for contributors
  • Transparent security reporting process
  • Smooth upgrade path for existing users
  • Professional open-source project presentation
Docs: Update README badges and styling
Автор: Eduard Laas | Дата: 22:35 29.01.2026

This commit updates README badge colors and minor formatting.

README.md - Badge updates:

  1. Badge color changes:
  2. License: yellow → green
  3. Migration: yellow → purple
  4. Formatting:
  5. Email → E-Mail (consistent with German spelling)
  6. Cleanup:
  7. Remove GitHub Issues badge (redundant)
Chore: Remove old info files (renamed to full language names)
Автор: Eduard Laas | Дата: 22:35 29.01.2026

This commit removes the old short-named info files that were replaced by full language name versions in the previous commit.

Removed files:

  • modules/news/admin/info/de.html
  • modules/news/admin/info/en.html
  • modules/news/admin/info/fr.html
  • modules/news/admin/info/pl.html
  • modules/news/admin/info/ru.html
  • modules/news/admin/info/uk.html

Technical notes:

  • Replaced by german.html, english.html, french.html, etc.
  • Part of language naming standardization
Test: Add PHPStan config and unit tests
Автор: Eduard Laas | Дата: 22:34 29.01.2026

This commit adds static analysis configuration and initial unit tests for code quality assurance.

Core changes:

  1. PHPStan configuration (phpstan.neon):
  2. Level 5 analysis settings
  3. Custom bootstrap for global definitions
  4. Stub files for legacy functions
  5. Bootstrap files:
  6. phpstan-bootstrap.php: Global constants and variables
  7. phpstan-stubs.php: Legacy function signatures
  8. Unit tests (tests/Unit/):
  9. StructureTest.php: Project structure validation
  10. TemplateTest.php: Template system tests

Benefits:

  • Static type analysis for early bug detection
  • Automated testing infrastructure
  • Code quality enforcement
  • CI/CD ready configuration

Technical notes:

  • PHPStan level 5 catches most type errors
  • Tests run via PHPUnit 10+
  • Bootstrap handles legacy global state

Страница 116 из 131. Всего: 1301

1 … 111 112 113 114 115 116 117 118 119 120 … 131
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

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

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