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

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

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

Всего: 1136 Доступных коммитов | Отфильтровано: 1136 Коммиты | Страница: 99 / 114
02.02.2026
Fix: Add missing NOT NULL fields to INSERT queries
Автор: Eduard Laas | Дата: 22:44 02.02.2026

Registration and content creation were failing due to MySQL strict mode requiring all NOT NULL fields without DEFAULT values to be specified.

Core changes:

  1. User registration (modules/account/index.php):
  2. Add user_block, user_warnings, user_field, user_network to INSERT

    • Email activation registration
    • Social network registration
  3. Admin user creation (admin/index.php):
  4. Add user_block, user_warnings, user_field to admin INSERT
  5. Help module (modules/help/admin/index.php):
  6. Add field column to help INSERT
  7. News module (modules/news/index.php):
  8. Add associated column to news INSERT
  9. Database schema (setup/sql/table*.sql):
  10. Use CREATE TABLE IF NOT EXISTS for idempotent migrations

Benefits:

  • Registration now works with MySQL strict mode
  • Consistent INSERT queries across modules
  • Idempotent database migrations

Technical notes:

  • All new fields initialized with empty strings
  • Compatible with existing database schema
Style: Update lite template formatting and structure
Автор: Eduard Laas | Дата: 15:13 02.02.2026

Improve code formatting and template structure in the lite theme for better readability and maintainability.

Core changes:

  1. Template files (templates/lite/):
  2. index.php: Normalize indentation to spaces
  3. login.html: Update login form template
  4. login-logged.html: Update logged-in state template
  5. login-without.html: Update guest state template

Benefits:

  • Consistent code formatting
  • Improved template readability
  • Better maintainability

Technical notes:

  • No functional changes
  • Indentation standardized to 4 spaces
Chore: Remove deprecated image module files
Автор: Eduard Laas | Дата: 15:13 02.02.2026

Clean up obsolete image module files that are no longer needed.

Core changes:

  1. Removed files (modules/image/):
  2. .htaccess
  3. index.php

Benefits:

  • Cleaner module structure
  • Remove unused code from repository

Technical notes:

  • Image handling now managed elsewhere in the system
Refactor: Rename template flag key from 'flag' to 'if_flag'
Автор: Eduard Laas | Дата: 15:13 02.02.2026

Improve template conditional rendering API by using a more descriptive key name that clearly indicates the purpose of boolean flags in templates.

Core changes:

  1. Template engine (core/template.php):
  2. Rename array key 'flag' to 'if_flag'
  3. Maintain full backward compatibility with existing templates
  4. Documentation (docs/TEMPLATES.md):
  5. Update all code examples to use new 'if_flag' key
  6. Clarify conditional rendering usage

Benefits:

  • More intuitive and self-documenting API
  • Clear distinction between variables and conditional flags
  • Consistent naming convention with 'if:' template syntax

Technical notes:

  • No breaking changes to template syntax
  • Only affects PHP-side array key naming
Refactor: Rename language files to ISO 639-1 code format
Автор: Eduard Laas | Дата: 15:12 02.02.2026

Standardize language file naming across all modules using ISO 639-1 codes for better internationalization support and consistency.

Core changes:

  1. Language file renaming (all modules):
  2. lang-english.php → en.php
  3. lang-german.php → de.php
  4. lang-french.php → fr.php
  5. lang-russian.php → ru.php
  6. lang-ukrainian.php → uk.php
  7. lang-polish.php → pl.php
  8. Affected modules:
  9. account, auto_links, changelog, clients, contact
  10. faq, files, forum, help, jokes
  11. links, media, money, news, order, pages

Benefits:

  • ISO 639-1 standard compliance
  • Shorter, cleaner filenames
  • Consistent naming convention across codebase

Technical notes:

  • Both admin and frontend language files updated
  • No content changes, only file renaming
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

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

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

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