Commit graph

9111 commits

Author SHA1 Message Date
Chirag Aggarwal
1ced50db1f
Merge remote-tracking branch 'origin/1.9.x' into codex/resolve-12284-conflict
# Conflicts:
#	app/controllers/shared/api.php
2026-05-14 10:43:05 +05:30
Chirag Aggarwal
85e2cf7d8b
(refactor): Migrate queueForFunctions to FunctionPublisher and FunctionMessage 2026-05-13 18:28:05 +05:30
Chirag Aggarwal
d9987dd645
Fix rate limit headers when abuse check is skipped 2026-05-13 15:00:51 +05:30
Luke B. Silver
35941ddc34
Merge pull request #12220 from appwrite/feat/utopia-http-resources-context
Migrate to utopia-php/http resources/context API
2026-05-12 23:01:29 +01:00
Matej Bačo
5e1439f64e
Merge pull request #12276 from appwrite/feat-rework-project-response-model
Feat: Rework project response model
2026-05-12 12:57:16 +02:00
Chirag Aggarwal
e132784532
Fix cache auth role lookup after rate limit refactor 2026-05-12 16:24:50 +05:30
Chirag Aggarwal
a51fd49ed1
Refactor abuse rate limiting init hook 2026-05-12 16:17:23 +05:30
loks0n
4bdcdb6f96 Migrate to utopia-php/http resources/context API
Adopts the new split DI containers in utopia-php/http: `resources()` for
boot-time wiring (shared across requests) and `context()` for per-request
state. Replaces the removed `getResource()`/`setResource()`/`getContainer()`
helpers throughout the HTTP entry point, controllers, GraphQL layer, and
installer.

Bumps the dependency chain accordingly: utopia-php/http to the dev branch
(aliased to 0.34.25 to satisfy platform's exact pin), servers 0.4.*,
queue 0.18.*, and pulled-along cli/platform/database upgrades.

Also tightens app/init/resources/request.php by collapsing single-return
factories to arrow functions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 11:41:42 +01:00
Chirag Aggarwal
7914fde9f1
Use error_log for abuse timelimit failures 2026-05-12 16:09:20 +05:30
Chirag Aggarwal
d523c7425a
Log abuse timelimit fail-open errors 2026-05-12 13:31:33 +05:30
Chirag Aggarwal
728298d2f5
Address abuse timelimit review comments 2026-05-12 13:23:39 +05:30
Chirag Aggarwal
ac79a91aa9
Fail open on abuse timelimit failures 2026-05-12 13:12:13 +05:30
Matej Bačo
152b45087e Fix more tests 2026-05-11 17:01:00 +02:00
Matej Bačo
5cd737b901 Backwards compatibility for GET /v1/project 2026-05-11 15:08:15 +02:00
Matej Bačo
2da400d5b4 Bump version to introduce response filter (for project get) 2026-05-11 12:53:01 +02:00
Matej Bačo
fd893a8b10 Migrate project GET endpoint 2026-05-11 12:10:38 +02:00
Chirag Aggarwal
34075322d7
Migrate mails and messaging queues to publishers 2026-05-08 14:32:11 +05:30
Chirag Aggarwal
75a30793ac
Remove preview flag from storage cache config 2026-05-08 10:42:39 +05:30
Chirag Aggarwal
5841d0a944
Inline storage preview cache control 2026-05-08 09:59:36 +05:30
Chirag Aggarwal
bf76736971
Split storage cache control context 2026-05-08 09:57:33 +05:30
Chirag Aggarwal
707e5d231a
Scope storage cache control to previews 2026-05-08 09:55:33 +05:30
Chirag Aggarwal
6abd88b8f1
Type storage cache control config 2026-05-08 09:44:00 +05:30
Chirag Aggarwal
7b5a5b8d19
Rename storage cache control hook 2026-05-08 08:44:35 +05:30
Chirag Aggarwal
20ab5b026e
Add cached response cache-control callback 2026-05-08 08:33:37 +05:30
Luke B. Silver
1d004240e6
Merge pull request #12236 from appwrite/refactor/builds-publishing
refactor: migrate queueForBuilds to publisherForBuilds pattern
2026-05-07 17:06:32 +01:00
Matej Bačo
c3881f9974 Fix console email policy features 2026-05-07 17:13:26 +02:00
loks0n
7d0843cc7f Migrate queueForBuilds to publisherForBuilds pattern
Replaces the stateful Appwrite\Event\Build queue class with a stateless
BuildPublisher and BuildMessage DTO, matching the publisher pattern used
by audits, certificates, executions, migrations, screenshots, stats, and
usage. Call sites now enqueue messages directly instead of mutating a
shared event object and relying on the API shutdown hook.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-07 13:23:21 +01:00
loks0n
8201fea9ef Differentiate executor timeouts for builds, sync, and async executions
Adds Executor\Exception\Timeout (with timeoutSeconds) and translates it at
each call site into BUILD_TIMEOUT, FUNCTION_SYNCHRONOUS_TIMEOUT, or
FUNCTION_ASYNCHRONOUS_TIMEOUT instead of always using the misleading sync
function error. Build timeouts now append to streamed buildLogs rather
than replacing them, and the build worker reports its timeout via Span.
2026-05-06 15:54:11 +01:00
Matej Bačo
e834a95213 PR review improvements 2026-05-06 16:21:50 +02:00
Matej Bačo
d2b551cd12 Fix refreshing nonoauth sessions 2026-05-06 15:50:18 +02:00
Matej Bačo
48fbb59113 pr review fixes 2026-05-05 16:44:47 +02:00
Matej Bačo
305e8e1ec7 Add request filter 2026-05-05 16:24:41 +02:00
Matej Bačo
aaf91f3816 Improve scopes quality 2026-04-29 13:52:13 +02:00
Jake Barnby
8ab26aab44
Merge pull request #12171 from appwrite/migration-refractor
Refactor migrations API to module style
2026-04-29 21:44:19 +12:00
Matej Bačo
980762fc3e Rename from dynamic key to ephemeral key (api keys) 2026-04-28 17:18:06 +02:00
Prem Palanisamy
3f5dcc81fd Refactor migrations API to module style 2026-04-28 15:57:41 +01:00
Matej Bačo
b2ce95a0cd Dynamic key backwards compatibility 2026-04-28 16:14:10 +02:00
Matej Bačo
ed9b47f6ce Migrate project jwt to dynamic api key 2026-04-28 15:57:37 +02:00
Matej Bačo
8f176166c9 Re-introduce project JWT endpoint 2026-04-28 15:31:10 +02:00
Matej Bačo
2e960b90df Fix unused env variable 2026-04-27 13:38:26 +02:00
Matej Bačo
8200d079c6 Simplify specs 2026-04-24 16:37:27 +02:00
Matej Bačo
bdbc5b92df Fix after code review 2026-04-23 13:47:31 +02:00
Matej Bačo
a0a3849b16 Remove unsupported bulk endpoints 2026-04-23 13:37:32 +02:00
Matej Bačo
b99139661e Migrate delete project endpoint 2026-04-23 13:37:19 +02:00
Matej Bačo
6d86b8fd0d Removal of project JWTs 2026-04-23 13:25:21 +02:00
Matej Bačo
9dad7cef9e Merge branch '1.9.x' into feat-mocks-public-api 2026-04-23 10:17:32 +02:00
Matej Bačo
a85c5e582c Add auth method APIs (public) 2026-04-22 14:19:04 +02:00
Matej Bačo
2e42633e12 Add public mocks API for phones 2026-04-22 11:30:39 +02:00
Matej Bačo
72bb6378c2 Leftover 2026-04-22 10:00:19 +02:00
Matej Bačo
e530bf41f7 Post-merge fix 2026-04-22 09:59:00 +02:00