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

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

Всего: 872 Доступных коммитов | Отфильтровано: 872 Коммиты | Страница: 74 / 88
29.01.2026
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
Refactor: News module with centralized runner and info file renames
Автор: Eduard Laas | Дата: 22:34 29.01.2026

This commit updates the news module to use centralized ModuleBase and renames info files to full language names for clarity.

Core changes:

  1. News module (modules/news/index.php):
  2. Integrate with centralized module runner
  3. Reuse ModuleBase for navigation and filters
  4. Consistent offset and letter filter handling
  5. Info file renames (modules/news/admin/info/):
  6. de.html → german.html
  7. en.html → english.html
  8. fr.html → french.html
  9. pl.html → polish.html
  10. ru.html → russian.html
  11. uk.html → ukrainian.html

Benefits:

  • Centralized module behavior via ModuleBase
  • Clear, readable info file names
  • Consistent with language naming convention
  • Easier maintenance and localization

Technical notes:

  • Info files contain admin panel module descriptions
  • Full language names match config/languages structure
Refactor: Admin panel module system migration
Автор: Eduard Laas | Дата: 22:33 29.01.2026

This commit updates the admin panel to use config-based module names instead of database IDs, completing the module system migration.

Core changes:

  1. Admin panel loader (admin/index.php):
  2. Replace database queries with getModules() iterator
  3. Use module names for navigation and sidebar
  4. Direct filesystem checks for module existence
  5. Admin permissions (admin/modules/admins.php):
  6. Store permissions as module names (CSV format)
  7. Replace numeric IDs with string names in checkboxes
  8. Module management (admin/modules/modules.php):
  9. Config-based module operations
  10. Remove database dependency for module listing
  11. Language files (admin/language/*.php):
  12. Updated translations for 6 languages
  13. Consistent terminology across locales

Benefits:

  • No database queries for module enumeration
  • Human-readable permission strings
  • Portable module configuration
  • Consistent with config-based architecture

Technical notes:

  • Permissions stored as "news,pages,users" format
  • Module validation via filesystem checks
  • All 23 admin modules updated
Refactor: Core system modernization and cleanup
Автор: Eduard Laas | Дата: 22:30 29.01.2026

This commit modernizes core system files with improved module management, security enhancements, and removal of deprecated components.

Core changes:

  1. Module management (core/system.php):
  2. Add getModules() iterator for config-based module loading
  3. Enhance setConfigFile() with deep array merging
  4. Improve bootstrap module loading
  5. Admin utilities (core/admin.php):
  6. Add updateModulesConfig() for filesystem sync
  7. Remove deprecated database-based module queries
  8. Improve module configuration handling
  9. Security improvements (core/security.php, core/access.php):
  10. Enhanced input validation
  11. Improved access control checks
  12. Database layer (core/classes/pdo.php):
  13. PDO connection improvements
  14. Better error handling
  15. Removed deprecated files:
  16. config/config_db.php (replaced by config/db.php)
  17. core/classes/module.php (replaced by config-based system)

Benefits:

  • Config-based module system (no database queries)
  • Cleaner codebase without deprecated files
  • Improved security and validation
  • Better maintainability

Technical notes:

  • Module config stored in config/modules.php
  • Backward compatibility maintained
Docs: Replace MIT license with GPL-3.0
Автор: Eduard Laas | Дата: 22:23 29.01.2026

This commit updates the project license from MIT to GNU General Public License v3.0 to align with README badge and project requirements.

LICENSE - License change:

  1. License replacement:
  2. Remove: MIT License text
  3. Add: Full GNU GPL v3.0 text (674 lines)
  4. Include: Preamble, Terms and Conditions, How to Apply
  5. GPL-3.0 sections included:
  6. Definitions (Section 0)
  7. Source Code (Section 1)
  8. Basic Permissions (Section 2)
  9. Patents (Section 11)
  10. Disclaimer of Warranty (Section 15)
  11. Limitation of Liability (Section 16)

Benefits:

  • Consistent with README license badge
  • Copyleft protection for project
  • Clear terms for distribution and modification

Technical notes:

  • Full GPL-3.0 text from gnu.org
  • No modifications to standard license text
Docs: Update README with GitHub alerts and fix URLs
Автор: Eduard Laas | Дата: 22:23 29.01.2026

This commit improves README documentation by adding GitHub-flavored markdown alerts and correcting various URLs and references.

README.md - Documentation updates:

  1. GitHub alerts added:
  2. WARNING: Default admin credentials reminder
  3. CAUTION: Delete setup.php after installation
  4. NOTE: Modernization status progress
  5. IMPORTANT: Security best practices
  6. CAUTION: SQL injection prevention
  7. TIP: Code requirements for contributors
  8. URL corrections:
  9. Fix git clone URL to SLAED-CMS organization
  10. Fix config file path (config_db.php → db.php)
  11. Fix database schema path (setup/sql/table.sql)
  12. Add Documentation link to slaed.info
  13. Add Forum link to slaed.net/forum
  14. Add GitHub Issues link
  15. Badge updates:
  16. License badge now links to LICENSE file
  17. Added GitHub Issues badge
  18. Project structure fixes:
  19. Fixed comment alignment in tree view
  20. Corrected file descriptions

Benefits:

  • Better visual highlighting of important information
  • Correct URLs for contributors and users
  • Consistent documentation style

Technical notes:

  • GitHub alerts render as colored callout boxes
  • All external links verified and working
Docs: Add unified git commit message template
Автор: Eduard Laas | Дата: 22:23 29.01.2026

This commit introduces a standardized commit message template combining best practices from previous detailed commit formats.

.gitmessage - Commit template:

  1. Template structure:
  2. Type prefix with short description
  3. Extended description section
  4. Core changes with numbered sections
  5. File references in parentheses
  6. Bullet hierarchy:
  7. Main points with dash (-)
  8. Sub-details with asterisk (*)
  9. Benefits and Technical notes sections
  10. Footer hints:
  11. Available commit types listed
  12. Bullet usage reminder

Benefits:

  • Consistent commit message format across project
  • Clear structure for complex changes
  • Easy to parse for changelog generation
  • Supports both simple and detailed commits

Technical notes:

  • Comment lines (# prefix) excluded from commits
  • Template activated via git config commit.template
refactor(core): centralize module index runner (news first)
Автор: Eduard Laas | Дата: 18:10 29.01.2026
refactor(core): centralize module view runner (news first)
Автор: Eduard Laas | Дата: 17:43 29.01.2026
refactor(core): centralize module liste runner (news first)
Автор: Eduard Laas | Дата: 17:24 29.01.2026

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

1 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 88

Хотите опробовать SLAED CMS в действии?

Идеи и предложения
Обратная связь