LATEST UPDATE: PROFILES, NOTIFICATIONS AND OPENROUTER CHAT

1. Preserve your live environment configuration, private uploads and any existing config/openrouter.local.php when updating source.
2. Run database/migrations/20261016_profiles.sql.
3. Configure OPENROUTER_API_KEY and optionally OPENROUTER_MODEL in server environment, OR copy config/openrouter.example.php to config/openrouter.local.php on your server and enter your key there. PHP cURL and outbound HTTPS to OpenRouter are required. No key is included.
4. Ctrl+F5, then test My Profile, Assistant and the login Chat with us popup.

My Profile supports personal details, photos and password updates. Notices is now labelled Notifications. The login page has the blue-and-white support popup from the supplied reference; its other layout is unchanged.

Setup details and validation limits: docs/PROFILES_AND_AI_SETUP.md. Live API replies require your own key and have not yet been tested. Earlier feature migrations remain required.

Latest update: WhatsApp-inspired Assistant and login chat, rendered reply formatting, message timestamps, typing animation and expanding composer. See docs/CHAT_DESIGN_UPDATE.md. No additional SQL required.

Daily login attendance added: import database/migrations/20261016_login_attendance.sql before using monthly receipts. See docs/LOGIN_ATTENDANCE.md.

Working Settings: system preferences, authentication policies, registration/AI switches, database export/download/deletion and readiness checks. See docs/SYSTEM_SETTINGS.md.

Practical Examinations: Level 1 /25, Level 2 /25 and Final /50. Import database/migrations/20261016_practical_examinations.sql before use. See docs/PRACTICAL_EXAMINATIONS.md.

Practical examination stage separation: import database/migrations/20261017_exam_stages.sql. HODs enter Level 1/2; staff enter all stages and publish final combined results. Administrators view marks.

Practical transcripts with QR verification: import database/migrations/20261017_practical_transcripts.sql. Configure Settings → Public system URL for phone scans. See docs/PRACTICAL_TRANSCRIPTS.md.

Practical Groups retired in all panels. Individual assignments and collaboration teams remain. No SQL migration needed. See docs/GROUP_FEATURE_REMOVAL.md.

Syntax highlighting fixed: restored complete Ace editor, shared file-language detection and read-only highlighting for extracted code previews. No SQL required. See docs/CODE_SYNTAX_HIGHLIGHTING.md.
