Prem Palanisamy
a7fb3d91e1
bump utopia-php/database to 5.3.19
2026-04-03 19:23:56 +02:00
Torsten Dittmann
c08e5f706c
Merge pull request #11745 from appwrite/fix-yahoo-oauth-scopes
2026-04-02 19:44:10 +04:00
Matej Bačo
58a90cca4a
Merge pull request #10643 from appwrite/feat-disposable-emails
...
feat: add support for blocking disposable email addresses
2026-04-02 13:03:32 +02:00
Matej Bačo
90e705f8c5
Improve docs
2026-04-02 12:26:03 +02:00
Matej Bačo
17076e4a00
Fix formatting
2026-04-02 11:55:32 +02:00
Matej Bačo
7c50bbc500
Merge branch '1.9.x' into feat-disposable-emails
2026-04-02 11:05:19 +02:00
Chirag Aggarwal
387668bb47
Merge pull request #11748 from appwrite/feat-smtp-messaging-adapter
...
Replace PHPMailer with utopia-php/messaging SMTP adapter
2026-04-02 12:11:58 +05:30
Chirag Aggarwal
b6e95f4502
test: remove redundant headers empty-key case
2026-04-02 11:05:03 +05:30
Chirag Aggarwal
1900492aad
Merge branch '1.9.x' into feat-smtp-messaging-adapter
2026-04-02 10:58:09 +05:30
Chirag Aggarwal
96f4ef7d22
Merge pull request #11751 from appwrite/chore/remove-phpstan-baseline
...
chore: remove phpstan baseline
2026-04-02 10:22:21 +05:30
Chirag Aggarwal
8e02a5a227
Merge pull request #11757 from appwrite/air/fix-flaky-migration-test-580aa1bc-d
...
Fix flaky vectordb migration test
2026-04-02 10:19:15 +05:30
Chirag Aggarwal
c2dd8aceda
use stable
2026-04-02 09:42:59 +05:30
Chirag Aggarwal
24fcf4247c
Fix flaky vectordb migration test
2026-04-02 09:41:20 +05:30
Chirag Aggarwal
2dc20ef0eb
Update utopia-php/messaging lock to latest
2026-04-02 09:31:48 +05:30
Chirag Aggarwal
04943b6313
Pass recipient display name in EmailMessage to field
...
Use associative array format ['email' => ..., 'name' => ...] for
the to field so the recipient display name appears in the To header.
2026-04-02 09:29:57 +05:30
Chirag Aggarwal
eb366cf94b
fix: preserve cors max age type
2026-04-02 08:25:59 +05:30
Chirag Aggarwal
77b4f8b7a0
style: apply formatter
2026-04-02 08:23:51 +05:30
Chirag Aggarwal
24bd4c3d7b
fix: preserve migration resource stats
2026-04-02 08:11:57 +05:30
Chirag Aggarwal
33f8e35b62
chore: remove phpstan baseline
2026-04-01 23:01:11 +05:30
Chirag Aggarwal
2c1060f57a
Fix null array key in HeadersTest
...
Cast null to string to avoid invalid array key type error
while preserving the test's intent of validating empty keys.
2026-04-01 21:31:08 +05:30
Chirag Aggarwal
30e0ca81bd
Fix Usage::fromArray() to use static return type with new static()
...
Keep covariant return type with parent Base::fromArray(). The
new static() is safe here because the cloud subclass constructor
is backwards-compatible via optional params.
2026-04-01 21:30:36 +05:30
Chirag Aggarwal
92cc382a6b
Change Usage::fromArray() return type from static to self
...
The cloud subclass has a different constructor signature so
new static() is unsafe. Use self since subclasses that need
deserialization should override fromArray() themselves.
2026-04-01 21:25:22 +05:30
Chirag Aggarwal
7d428ffe83
trigger ci
2026-04-01 21:03:07 +05:30
Chirag Aggarwal
fb96aecbef
Use new static() in Usage::fromArray() for late static binding
...
Required since the class is no longer final and the return type
is static, so subclasses get the correct type.
2026-04-01 19:52:16 +05:30
Matej Bačo
80d5d4716a
Remove base errors
2026-04-01 15:54:26 +02:00
Matej Bačo
c1dde09070
Merge branch '1.9.x' into feat-disposable-emails
2026-04-01 15:14:10 +02:00
Chirag Aggarwal
d531c29fc8
Remove final from Usage class to allow cloud override
2026-04-01 17:20:34 +05:30
Chirag Aggarwal
7044601603
lock file
2026-04-01 17:05:14 +05:30
Chirag Aggarwal
53bc126015
Remove stale PHPMailer baseline entry from PHPStan
...
The PHPMailer $Port type error no longer occurs since registers.php
now uses the SMTP adapter instead of PHPMailer directly.
2026-04-01 17:01:15 +05:30
Chirag Aggarwal
f1dc468e50
Restore replyTo elseif logic to preserve old behavior
...
customMailOptions replyTo and smtp replyTo are mutually exclusive,
matching the original PHPMailer implementation.
2026-04-01 16:37:08 +05:30
Chirag Aggarwal
ce63b00cf4
lock file
2026-04-01 16:29:06 +05:30
Chirag Aggarwal
b9aaecba25
Replace PHPMailer with utopia-php/messaging SMTP adapter
...
Use Utopia\Messaging\Adapter\Email\SMTP instead of raw PHPMailer
for the smtp register, Mails worker, and Doctor task. This enables
swapping email adapters (e.g. Resend) via DI override in downstream
repos by type-hinting against the EmailAdapter base class.
2026-04-01 16:25:33 +05:30
Torsten Dittmann
d9c606a1c2
fix(oauth): update Yahoo OAuth scopes from deprecated Social Directory API to OIDC
...
The Yahoo OAuth provider was using deprecated Social Directory API scopes
('sdct-r' and 'sdpp-w') which are no longer valid and causing authentication
failures with the error: invalid_scope
Changes:
- Replace deprecated scopes 'sdct-r' (Social Directory Contacts Read) and
'sdpp-w' (Social Directory Profile Write) with standard OIDC scopes
- Add 'openid' scope for OpenID Connect authentication
- Add 'profile' scope for basic profile information
- Add 'email' scope for email address access
These new scopes align with Yahoo's OpenID Connect implementation and are
listed in their discovery document at:
https://api.login.yahoo.com/.well-known/openid-configuration
The Yahoo adapter already uses the OIDC userinfo endpoint
(https://api.login.yahoo.com/openid/v1/userinfo ), so these scopes are the
correct choice for authentication.
Custom scopes passed via the API are still supported and will be merged
with these defaults via the base OAuth2 class constructor.
Fixes: Yahoo OAuth authentication returning 'invalid_scope' error
2026-04-01 13:15:22 +04:00
Chirag Aggarwal
a5b0378138
Merge pull request #11737 from appwrite/codex/phpstan-baseline-part-2
...
[codex] Fix PHPStan baseline cleanup issues (part 2)
2026-04-01 13:23:15 +05:30
Chirag Aggarwal
320068a576
Merge pull request #11740 from appwrite/speed-up-phpstan
...
Speed up PHPStan analysis with result caching
2026-04-01 13:01:07 +05:30
Chirag Aggarwal
3cd90ae629
fix analyze
2026-04-01 12:59:51 +05:30
Chirag Aggarwal
44f33473bd
Use composer analyze in CI to stay in sync with local workflow
2026-04-01 12:04:31 +05:30
Chirag Aggarwal
358f1b78a8
Speed up PHPStan analysis with result caching
...
Configure a project-local result cache directory so PHPStan only
re-analyses files that changed. In CI, persist the cache across
runs with actions/cache and suppress progress output.
2026-04-01 12:00:32 +05:30
Jake Barnby
1f6b9d94bf
Merge pull request #11739 from appwrite/readme-update-1.9.0-installation
2026-04-01 05:53:38 +00:00
Aditya Oberai
a734c8cd46
Update installation commands in readme for 1.9.0 to include self-hosted wizard
2026-04-01 11:20:45 +05:30
Chirag Aggarwal
1788e1bd6c
Address PR review feedback
2026-04-01 11:15:59 +05:30
Chirag Aggarwal
983adf3ffd
Fix analyze regressions in PHPStan cleanup
2026-04-01 11:00:26 +05:30
Chirag Aggarwal
f2ea0b9b48
Fix PHPStan baseline cleanup issues (part 2)
2026-04-01 10:20:20 +05:30
Jake Barnby
44610462b3
Merge pull request #11735 from appwrite/lohanidamodar-patch-2
2026-04-01 03:57:20 +00:00
Damodar Lohani
28ece7de02
Change Usage class from final to non-final
2026-04-01 09:36:26 +05:45
Jake Barnby
8c6d4d8b36
Merge pull request #11734 from appwrite/fix-defaults
1.9.0
2026-04-01 02:50:09 +00:00
Jake Barnby
2ebc6f70ef
(fix): param default
2026-04-01 15:49:40 +13:00
Damodar Lohani
2b7690d6db
Merge pull request #11732 from appwrite/claude/add-deployment-hook-method-prkpM
...
Add beforeCreateGitDeployment hook for deployment validation
2026-04-01 08:27:50 +05:45
Damodar Lohani
d9af799cc7
Merge branch '1.9.x' into claude/add-deployment-hook-method-prkpM
2026-04-01 08:09:46 +05:45
Damodar Lohani
3ed1ca736d
Merge pull request #11731 from appwrite/claude/update-php-runtimes-hNh1r
...
Update dependencies
2026-04-01 07:57:25 +05:45