Журнал изменений
Всего: 1347 Доступных коммитов |
Отфильтровано: 1347 Коммиты |
Страница: 122 из 135
29.01.2026
Docs: Update README with GitHub alerts and fix URLs
This commit improves README documentation by adding GitHub-flavored markdown alerts and correcting various URLs and references.
README.md - Documentation updates:
- GitHub alerts added:
- WARNING: Default admin credentials reminder
- CAUTION: Delete setup.php after installation
- NOTE: Modernization status progress
- IMPORTANT: Security best practices
- CAUTION: SQL injection prevention
- TIP: Code requirements for contributors
- URL corrections:
- Fix git clone URL to SLAED-CMS organization
- Fix config file path (config_db.php → db.php)
- Fix database schema path (setup/sql/table.sql)
- Add Documentation link to slaed.info
- Add Forum link to slaed.net/forum
- Add GitHub Issues link
- Badge updates:
- License badge now links to LICENSE file
- Added GitHub Issues badge
- Project structure fixes:
- Fixed comment alignment in tree view
- 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
This commit introduces a standardized commit message template combining best practices from previous detailed commit formats.
.gitmessage - Commit template:
- Template structure:
- Type prefix with short description
- Extended description section
- Core changes with numbered sections
- File references in parentheses
- Bullet hierarchy:
- Main points with dash (-)
- Sub-details with asterisk (*)
- Benefits and Technical notes sections
- Footer hints:
- Available commit types listed
- 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)
refactor(core): centralize module view runner (news first)
refactor(core): centralize module liste runner (news first)
refactor(news): reuse ModuleBase offset and letter filter in liste
refactor(core): add ModuleBase and reuse navigation in news
28.01.2026
Chore: Update copyright year and add commit template
Focus: ops
Summary
Updates copyright year to 2026 and adds standardized commit message template.
Changes
What
- Update copyright year in modules.php to 2026
- Add .gitmessage template for consistent commit formatting
Why
- Keep copyright notices current
- Standardize commit message format across team
Test
- N/A - metadata changes only
Impact
For Admins / DevOps
- None
For Developers
- Use .gitmessage as template:
git config commit.template .gitmessage
Breaking Changes
- None
Upgrade
- No action required
Refactor: Rename language icons to ISO 639-1 codes
Focus: UX
Summary
Standardizes language icon filenames using ISO 639-1 two-letter codes for consistency and internationalization.
Changes
What
- Rename language icons from full names to ISO codes (e.g., english_mini.png → en_mini.png)
- Applied to admin, default, and lite templates
Why
- Align with international standards (ISO 639-1)
- Simplify language detection logic
- Enable consistent naming across all templates
Test
- Visual inspection of language switcher in all templates
Impact
For Admins / DevOps
- None - purely cosmetic change
For Developers
- Update any hardcoded references to old icon names
- New naming: de, en, fr, pl, ru, uk
Breaking Changes
- Language icon filenames changed - update template references if needed
Upgrade
- No action required if using dynamic language detection
Setup: Add PHPStan and PHPUnit testing infrastructure
Focus: stability
Summary
Adds static analysis and unit testing tools to improve code quality and catch bugs early.
Changes
What
- Add PHPStan for static code analysis (level 0)
- Add PHPUnit 12 for unit testing
- Create test directory structure with example tests
- Update .gitignore for test artifacts
Why
- Enable automated code quality checks
- Establish foundation for test-driven development
- Catch type errors and bugs before runtime
Test
- PHPStan:
php vendor/bin/phpstan analyse(81 issues found at level 0) - PHPUnit:
php vendor/bin/phpunit(3 tests passing)
Impact
For Admins / DevOps
- New dev dependencies: phpstan/phpstan, phpunit/phpunit
- Run
composer installto get testing tools
For Developers
- Use
php vendor/bin/phpstan analyseto check code - Use
php vendor/bin/phpunitto run tests - Add tests in
tests/Unit/directory
Breaking Changes
- None
Upgrade
- Run
composer install --devto install testing tools