appwrite/app/controllers/api
loks0n dd29967e99 refactor: tighten Mails listener with guard clauses and lean event
- SessionCreated event now carries only domain data (no isFirstSession)
- Mails listener uses ordered guard clauses, deferring the DB query
  until cheaper checks pass
- Drop $user Document allocation in favour of direct array access
- Inline FileName validator and $smtpEnabled into their use sites
- Extract $isBranded to eliminate duplicate APP_BRANDED_EMAIL_BASE_TEMPLATE check

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 14:01:13 +01:00
..
account.php refactor: tighten Mails listener with guard clauses and lean event 2026-04-09 14:01:13 +01:00
graphql.php fix: address review comments for User class pattern 2026-03-26 02:48:02 +00:00
locale.php chore: remove phpstan baseline 2026-04-01 23:01:11 +05:30
messaging.php Merge branch '1.9.x' into feat-audit-user-type-distinction 2026-04-05 08:04:38 +05:45
migrations.php fix: correct resourceType routing, schemaless validation, and E2E tests for migrations 2026-03-31 12:35:18 +01:00
project.php Merge branch '1.9.x' into revert-11585-revert-11402-sync-mongodb 2026-03-24 03:03:02 +00:00
projects.php Fix platform scopes 2026-04-08 10:17:48 +02:00
users.php Merge branch '1.9.x' into feat-audit-user-type-distinction 2026-04-05 08:04:38 +05:45