Upgraded to 1.1.0
1.1.0 (2025-10-09) - **User Notifications System** - In-app notification center with 7 notification types, filtering, pagination - **Advanced Session Management** - Database-backed sessions with geolocation (country, city, ISP) - **Remote Session Control** - Terminate any device instantly with immediate logout validation - **Enhanced Profile Page** - Sidebar navigation with 4 tabs, hash-based routing (#profile, #security, #sessions) - **MVC Architecture Refactoring** - 3 new Helpers (Layout, Domain, Session), ~265 lines cleaned from views - **Geolocation Tracking** - IP-based location detection using ip-api.com, country flags with flag-icons - **Device Detection** - Browser & device type parsing (Chrome/Firefox/Safari, Desktop/Mobile/Tablet) - **Auto-Detected Cron Paths** - Settings show actual installation paths (thanks @jadeops) - **Welcome Notifications** - Sent to new users on registration or fresh install - **Upgrade Notifications** - Admins notified on system updates with version & migration count - **Web-Based Installer** - Replaces CLI, auto-generates encryption key, one-time password display - **Web-Based Updater** - `/install/update` for running new migrations with smart detection - **User Registration** - Full signup flow with email verification, password reset, resend verification - **User Management** - CRUD for users with filtering, sorting, pagination (admin-only) - **Remember Me** - 30-day secure tokens linked to sessions, cascade deletion on logout - **Session Validator** - Middleware validates sessions on every request for instant remote logout - **Consistent UI/UX** - Unified filtering, sorting, pagination across Domains, Users, Notifications, TLD Registry - **Smart Migrations** - Consolidated schema for fresh installs, incremental for upgrades - **XSS Protection** - htmlspecialchars() applied across all user-facing data (thanks @jadeops)
This commit is contained in:
@@ -65,7 +65,7 @@ Use our [Feature Request Template](.github/ISSUE_TEMPLATE/feature_request.md).
|
||||
3. **Set up your development environment**
|
||||
- Copy `env.example.txt` to `.env`
|
||||
- Configure database settings
|
||||
- Run migrations: `php database/migrate.php`
|
||||
- Run web installer: Visit `http://localhost:8000` (or your local domain)
|
||||
|
||||
4. **Create a feature branch**
|
||||
```bash
|
||||
@@ -131,12 +131,15 @@ public function getDomainInfo(string $domain): ?array
|
||||
If your contribution includes database changes:
|
||||
|
||||
1. **Create a new migration file** in `database/migrations/`
|
||||
- Name it: `XXX_descriptive_name.sql` (e.g., `007_add_timezone_column.sql`)
|
||||
- Name it: `XXX_descriptive_name.sql` (e.g., `014_add_new_feature.sql`)
|
||||
- Use sequential numbering (next available number)
|
||||
- Include `IF NOT EXISTS` checks where appropriate
|
||||
|
||||
2. **Update `database/migrate.php`** to include the new migration
|
||||
2. **Update `app/Controllers/InstallerController.php`**
|
||||
- Add your migration to the `$incrementalMigrations` array
|
||||
- Add it to the appropriate version upgrade path
|
||||
|
||||
3. **Test the migration** on a fresh database
|
||||
3. **Test the migration** using the web updater at `/install/update`
|
||||
|
||||
### Frontend Changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user