appwrite/app/controllers
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
..
api refactor: tighten Mails listener with guard clauses and lean event 2026-04-09 14:01:13 +01:00
shared Merge pull request #11580 from appwrite/feat-audit-user-type-distinction 2026-04-09 06:55:43 +05:45
web Upgrade utopia-php dependencies and fix namespace changes 2026-02-10 10:34:24 +05:30
general.php Revert new patch version 2026-04-08 09:10:02 +02:00
mock.php chore: remove phpstan baseline 2026-04-01 23:01:11 +05:30