Neue Datei: MODERNISIERUNG.md - Complete documentation of all changes vom 24.-25.11.2025 - Detaillierte Auflistung: favorites.php, comments.php, sitemap.php - Code-Beispiele: Alt vs. Neu Pattern - Statistiken: 3 Module, 4.039 Dateien, 3 Commits - Best Practices etabliert Dokumentiert: ✅ Alle modernisierten Funktionen ✅ Type Hints, Template-System, Config-Handling ✅ Vorher/Nachher Code-Vergleiche ✅ Git-Historie und Changelog-System
Detaillierte Dokumentation der Modernisierungen vom 24.11.2025:
Version 1.0.0 (24.11.2025) - Modernisierungen:
- admin/modules/favorites.php: Vollständige Code-Modernisierung
- admin/modules/comments.php: Optimierte Save-Funktionen
- admin/modules/sitemap.php: Komplette Überarbeitung
Version 1.0.1 (25.11.2025) - Git & Changelog:
- Git-Versionskontrolle
- Changelog-Modul im Admin-Panel
- Automatische Historie-Generierung
Alle Änderungen sind nun chronologisch dokumentiert.
- Neues Admin-Modul: changelog.php zur Anzeige der Git-Historie im Admin-Panel
- CHANGELOG.md: Detaillierte Änderungsdokumentation im Keep-a-Changelog Format
- generate_changelog.sh: Shell-Script zur automatischen Changelog-Generierung
- Dokumentiert alle Modernisierungen (favorites, comments, sitemap)
Complete SLAED CMS system with admin panel, modules, and configurations. Includes modernized admin modules (favorites, comments, sitemap). License: GNU GPL 3 Author: Eduard Laas Copyright: 2005-2026 SLAED Website: slaed.net
Added production-ready documentation files for SLAED CMS 6.3 to support contributors, security researchers, and users upgrading from previous versions.
Core changes:
- Project documentation (README.md):
- Updated with links to new documentation files
- Added references to CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, UPGRADING
- Contribution guidelines (CONTRIBUTING.md):
- Coding standards with 8 required verbs
- Type declarations and variable naming conventions
- SQL prepared statements and input validation rules
- Commit message format and PR requirements
- Testing requirements (PHPUnit, PHPStan)
- Security policy (SECURITY.md):
- Supported versions table
- Vulnerability reporting process and timeline
- Security measures documentation (SQL injection, XSS, CSRF)
- Best practices for administrators
- Code of Conduct (CODE_OF_CONDUCT.md):
- Based on Contributor Covenant 2.1
- Community standards and enforcement guidelines
- Contact information for reporting
- Upgrade guide (UPGRADING.md):
- Migration paths from 6.2.x to 6.3.x
- Breaking changes (config_db.php removed, new db.php format)
- Function changes (tpl_eval, admin_file)
- Troubleshooting section
Benefits: - Clear guidelines for contributors - Transparent security reporting process - Smooth upgrade path for existing users - Professional open-source project presentation
This commit updates README badge colors and minor formatting.
README.md - Badge updates:
- Badge color changes:
- License: yellow → green
- Migration: yellow → purple
- Formatting:
- Email → E-Mail (consistent with German spelling)
- Cleanup:
- Remove GitHub Issues badge (redundant)
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
This commit adds static analysis configuration and initial unit tests for code quality assurance.
Core changes:
- PHPStan configuration (phpstan.neon):
- Level 5 analysis settings
- Custom bootstrap for global definitions
- Stub files for legacy functions
- Bootstrap files:
- phpstan-bootstrap.php: Global constants and variables
- phpstan-stubs.php: Legacy function signatures
- Unit tests (tests/Unit/):
- StructureTest.php: Project structure validation
- 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
This commit updates the news module to use centralized ModuleBase and renames info files to full language names for clarity.
Core changes:
- News module (modules/news/index.php):
- Integrate with centralized module runner
- Reuse ModuleBase for navigation and filters
- Consistent offset and letter filter handling
- Info file renames (modules/news/admin/info/):
- de.html → german.html
- en.html → english.html
- fr.html → french.html
- pl.html → polish.html
- ru.html → russian.html
- 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





