35255 Commits

Author SHA1 Message Date
Harsh Mahajan 5dd63a7fbe Merge pull request #12398 from appwrite/fix/oauth2-provider-order
Fix OAuth2 provider list ordering
2026-05-26 18:42:22 +05:30
harsh mahajan ef7770faab Fix OAuth2 provider list ordering 2026-05-26 17:14:43 +05:30
Jake Barnby eb6fd6b7e7 Merge pull request #12393 from appwrite/console-presence
Add presenceLogs collection to common configuration and update Presen…
2026-05-26 22:31:06 +12:00
ArnabChatterjee20k 9de35c846e Merge pull request #12362 from appwrite/usage-test-one-attempt
Usage test one attempt
2026-05-26 15:46:00 +05:30
ArnabChatterjee20k 2059823ff9 updated tests 2026-05-26 13:21:13 +05:30
Jake Barnby 72bffc6af4 Merge branch '1.9.x' into usage-test-one-attempt 2026-05-26 19:27:54 +12:00
ArnabChatterjee20k dd14598ac0 Skip presence cache tests for console project to avoid flaky assertions 2026-05-26 12:32:37 +05:30
ArnabChatterjee20k 0a58e23634 updated presence base test 2026-05-26 12:03:54 +05:30
Chirag Aggarwal 4efe1e6890 Merge pull request #12392 from appwrite/fix/preserve-sdk-enum-metadata
Update SDK spec metadata generation
2026-05-26 11:53:00 +05:30
ArnabChatterjee20k 429167dc1a updated test to use the side console 2026-05-26 11:38:41 +05:30
Chirag Aggarwal c7caf8d23d fix: map numeric spec enum keys 2026-05-26 11:33:25 +05:30
Chirag Aggarwal a4d889145b test: expect client web version 2026-05-26 11:28:30 +05:30
Chirag Aggarwal fe1a2f6364 fix: preserve organization project region enum 2026-05-26 11:19:48 +05:30
Chirag Aggarwal 3f0d1d2a27 fix: preserve remaining spec enum metadata 2026-05-26 11:14:52 +05:30
Chirag Aggarwal 08b18f0774 fix: name preserved enum metadata 2026-05-26 11:06:34 +05:30
ArnabChatterjee20k 4fe1f83721 Add presenceLogs collection to common configuration and update PresenceConsoleClientTest 2026-05-26 11:06:20 +05:30
Chirag Aggarwal 6f1841681f fix: preserve runtime and migration enum metadata 2026-05-26 11:02:52 +05:30
Chirag Aggarwal 29d2a99e92 fix: remove weight from spec metadata 2026-05-26 10:53:50 +05:30
Chirag Aggarwal 17bae22b24 Revert "Merge pull request #12356 from appwrite/fix-account-server-specs-auth"
This reverts commit ff76f3efa0, reversing
changes made to ed14acfc75.
2026-05-26 10:51:52 +05:30
Chirag Aggarwal 6bc5d0dd06 fix: remove endpoint docs appwrite metadata 2026-05-26 10:51:10 +05:30
Chirag Aggarwal 7f97d91f66 fix: order spec defaults before examples 2026-05-26 10:48:13 +05:30
Chirag Aggarwal 6266dfb7ab fix: preserve remaining SDK enum metadata 2026-05-26 10:45:48 +05:30
Chirag Aggarwal 88648b78f0 fix: preserve SDK enum metadata 2026-05-26 10:30:50 +05:30
Chirag Aggarwal e7f720b8e7 Merge pull request #12358 from appwrite/feat/platform-param-enums
Use platform enum metadata for SDK specs
2026-05-26 10:10:43 +05:30
Chirag Aggarwal e19ca24d5d Update enum metadata tests 2026-05-25 20:36:14 +05:30
Chirag Aggarwal ee97d4ef4d Use compatible HTTP release for platform 2026-05-25 19:27:04 +05:30
Chirag Aggarwal 764fb0d156 Merge remote-tracking branch 'origin/1.9.x' into feat/platform-param-enums
# Conflicts:
#	composer.lock
2026-05-25 19:23:54 +05:30
Chirag Aggarwal a659b0b187 Use stable Utopia dependency releases 2026-05-25 19:21:35 +05:30
Shmuel Fogel 22be6514fb Merge pull request #12293 from appwrite/users-skip-targets
skip subQueryTargets in users route
2026-05-25 12:11:58 +03:00
Jake Barnby 7e4645ffbd Merge branch '1.9.x' into users-skip-targets 2026-05-25 20:09:58 +12:00
Damodar Lohani 4b801273c0 Merge pull request #12384 from appwrite/CLO-4385-fix-event-params-on-chunked-retry
fix(uploads): reset queueForEvents on idempotent chunked-upload retry
2026-05-25 13:04:08 +05:45
Damodar Lohani d6ca57d008 fix(uploads): reset queueForEvents on idempotent chunked-upload retry
The early-return branches added in #12138 for already-complete chunked
uploads bypass the trailing $queueForEvents->setParam('bucketId', ...)
calls. The action returns cleanly, the shutdown hook then calls
Event::generateEvents with empty params, throws \InvalidArgumentException,
and the error handler maps it to HTTP 500.

Reset the queue on each early-return path so the shutdown short-circuits
on the empty event string -- the resource was created on a previous
request and that request already fired the event; replaying it would
double-trigger webhooks/functions.

Applied to Storage Files Create, Functions Deployments Create, and
Sites Deployments Create -- all three endpoints share the same pattern
introduced by #12138.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 06:36:25 +00:00
Chirag Aggarwal 03555fa365 Merge pull request #12376 from appwrite/codex/builds-worker-span-logs
Replace builds worker logs with span attributes
2026-05-25 09:00:38 +05:30
Damodar Lohani 9cbd5be707 Merge pull request #12329 from appwrite/feat/actor-type-constants-CLO-4357
feat!: rename ACTIVITY_TYPE_*, ROLE_APPS, isApp() to ACTOR_TYPE_*, ROLE_KEYS, isKey() + bump utopia-php/audit to ^2.4
2026-05-24 10:02:05 +05:45
Damodar Lohani e9aaea19a4 Merge pull request #12378 from appwrite/CLO-4364-bump-php-runtimes-0.20.1
chore: bump appwrite/php-runtimes to 0.20.1
2026-05-24 09:44:45 +05:45
Damodar Lohani 3fc5fd8fcf chore: bump appwrite/php-runtimes to 0.20.1 2026-05-24 03:08:25 +00:00
Damodar Lohani 5f63100f4c fix(presences): rename isApp() callers to isKey() (new files from upstream 1.9.x merge) 2026-05-24 02:20:47 +00:00
Damodar Lohani 39aeecc58c fix(audits): drop removed 'location' field from event payload (utopia-php/audit 2.4 schema) 2026-05-24 02:20:47 +00:00
Damodar Lohani ce31a4f336 feat!: rename User::ROLE_APPS to ROLE_KEYS and isApp() to isKey() 2026-05-24 02:20:47 +00:00
Damodar Lohani 5f1e537e53 chore: bump utopia-php/audit to ^2.4 2026-05-24 02:20:47 +00:00
Damodar Lohani 27370b6acb feat!: rename ACTIVITY_TYPE_* constants to ACTOR_TYPE_*
Renames the actor identity constants used by the audit/auth flow:

- ACTIVITY_TYPE_USER             -> ACTOR_TYPE_USER             ('user')
- ACTIVITY_TYPE_ADMIN            -> ACTOR_TYPE_ADMIN            ('admin')
- ACTIVITY_TYPE_GUEST            -> ACTOR_TYPE_GUEST            ('guest')
- ACTIVITY_TYPE_KEY_PROJECT      -> ACTOR_TYPE_KEY_PROJECT      ('keyProject')
- ACTIVITY_TYPE_KEY_ACCOUNT      -> ACTOR_TYPE_KEY_ACCOUNT      ('keyAccount')
- ACTIVITY_TYPE_KEY_ORGANIZATION -> ACTOR_TYPE_KEY_ORGANIZATION ('keyOrganization')

Values are unchanged. Call sites updated in:
- app/controllers/shared/api.php
- src/Appwrite/Platform/Workers/Audits.php

Audit payload key rename (userType -> actorType) and utopia-php/audit
bump will land in a follow-up PR.

BREAKING CHANGE: ACTIVITY_TYPE_* global constants are removed. Any
downstream extension or plugin importing those names must be updated
to the ACTOR_TYPE_* equivalents.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 02:20:17 +00:00
Chirag Aggarwal f1abdde9cf Replace builds worker logs with span attributes 2026-05-23 20:37:34 +05:30
Harsh Mahajan 8436fb0175 Merge pull request #12375 from appwrite/fix/organization-projects-api
Fix: organization project API headers and queries
2026-05-22 16:46:45 +05:30
harsh mahajan 6a4dcd76a7 Keep organization projects schema unchanged 2026-05-22 15:45:32 +05:30
harsh mahajan e831b3e952 Add project status index 2026-05-22 15:39:16 +05:30
harsh mahajan 4dec4f2ff2 Fix organization project API headers and queries 2026-05-22 15:32:44 +05:30
Harsh Mahajan aa4c6b6e8f Merge pull request #12374 from appwrite/fix/smtp-test-email-missing-platform-vars
Fix missing platform variables in SMTP test email template
2026-05-22 13:39:59 +05:30
harsh mahajan 2628cc31fc Remove unused $plan injection 2026-05-22 13:12:50 +05:30
harsh mahajan e3768ce8ee Fix missing platform variables in SMTP test email template
The SMTP test email uses email-base-styled.tpl as its base template,
which contains {{platform}}, {{logoUrl}}, {{accentColor}}, and social/
legal link placeholders. These were never passed as template variables,
causing them to render as literal strings (e.g. "{{platform}} logo").

Inject the platform config and pass the variables to MailMessage,
matching the pattern used by OTP and magic-url email flows.

Co-Authored-By: Harsh Mahajan <harsh@appwrite.io>
2026-05-22 13:03:48 +05:30
ArnabChatterjee20k 57a5440b9d removed retry on auth 2026-05-22 12:50:27 +05:30