# Clip24 UPDATE-LOG

## v1.0.1 — Protected root installer, domain, backup, and cache update

### Changed

- Updated default project root to `/home/clip/public_html`.
- Updated default domain to `clip24.ainab.info`.
- Updated mobile API URL to `https://clip24.ainab.info/api/clip24`.
- Updated default admin email to `admin@clip24.ainab.info`.
- Rebuilt ZIP so files extract directly into the project root, not into a top-level subfolder.

### Added

- Protected smart installer with wrong-folder detection.
- Unsafe path protection for uninstall/restore/cleanup actions.
- Backup folder system under `/home/clip/public_html/clip24-backups/`.
- Backup subfolders: `project`, `database`, `logs`, `zips`, and `tmp`.
- `.htaccess` deny rule in the backup folder.
- Automatic project backup before install, repair, and uninstall.
- Automatic database backup attempt when `.env` and `mysqldump` are available.
- Automatic ZIP movement into `/home/clip/public_html/clip24-backups/zips/` after install/repair.
- Installer menu option to move ZIP files manually.
- Cache system with feed/profile/settings cache support.
- Admin Cache Manager page.
- Cache settings fields in admin settings.
- Artisan commands:
  - `php artisan clip24:cache-clear`
  - `php artisan clip24:cache-clear --laravel`
  - `php artisan clip24:cache-warm --countries=DE,PK,AT,CH`
- Auto-clear cache after video upload/delete/approve/reject/block.
- Auto-clear cache after like/comment/follow/user/profile updates.
- Cron setup for video processing and cache warming.

### Files changed

- `clip24-smart-installer.sh`
- `README.md`
- `UPDATE-LOG.md`
- `backend/config/clip24.php`
- `backend/routes/clip24_web.php`
- `backend/routes/clip24_console.php`
- `backend/app/Services/Clip24/Clip24CacheService.php`
- `backend/app/Http/Controllers/Clip24/Api/AuthController.php`
- `backend/app/Http/Controllers/Clip24/Api/FeedController.php`
- `backend/app/Http/Controllers/Clip24/Api/VideoController.php`
- `backend/app/Http/Controllers/Clip24/Api/EngagementController.php`
- `backend/app/Http/Controllers/Clip24/Admin/CacheController.php`
- `backend/app/Http/Controllers/Clip24/Admin/SettingController.php`
- `backend/app/Http/Controllers/Clip24/Admin/VideoModerationController.php`
- `backend/app/Http/Controllers/Clip24/Admin/CountryRuleController.php`
- `backend/app/Http/Controllers/Clip24/Admin/UserController.php`
- `backend/resources/views/clip24/admin/layout.blade.php`
- `backend/resources/views/clip24/admin/settings/index.blade.php`
- `backend/resources/views/clip24/admin/cache/index.blade.php`
- `backend/database/seeders/Clip24Seeder.php`
- `mobile/src/config.js`
- `mobile/MOBILE-README.md`
- `mobile/package.json`

## v1.0.0 — Initial MVP build

- Laravel backend/API source.
- Laravel admin panel.
- React Native mobile app source.
- Country-based app access control.
- Video upload/feed/like/comment/follow/report.
- Admin user/video/report/country/settings pages.
- FFmpeg video processing command.
- Smart installer initial version.
