Repository navigation
Grammatical error - #230
Closed
trishitapingolia wants to merge 1 commit into
Closed
trishitapingolia wants to merge 1 commit into
trishitapingolia wants to merge 1 commit into
Conversation
Grammatical error
Member
|
Hey @trishitapingolia, we really appreciate your time and willingness to contribute to open-source, but this is not the kind of PR's that we need at the moment. If you still wish to help us by creating meaningful pull requests, go over our open issues and see if there is any topic that you might be interested in helping. |
pull Bot
referenced
this pull request
in AmirulAndalib/appwrite
Sep 28, 2026
#230) * feat: split Swoole adapters, add compression support, and adopt utopia-php/servers - Split Swoole adapter into Swoole (SWOOLE_PROCESS) and SwooleCoroutine (coroutine-based) servers - Add response compression support with configurable min size and algorithm selection - Migrate Hook to utopia-php/servers and Route now extends Servers\Hook - Add View class for template rendering - Add trusted IP header support and IP validation in Request - Enhance Response with cookie management, content-type helpers, and chunked transfer - Add utopia-php/servers and utopia-php/compression dependencies - Fix server-swoole.php test server to work with non-coroutine Swoole adapter - Disable Swoole cookie parsing to preserve raw Cookie headers * fix: address Greptile review comments on PR #230 - Remove Content-Length before re-adding after compression to prevent duplicate headers - Defer onStart callback into coroutine event loop for SwooleCoroutine adapter consistency - Add null-coalescing fallback for preg_replace in View::render - Add void return types to compression setter methods for API consistency * add telemetry
pull Bot
referenced
this pull request
in AmirulAndalib/appwrite
Sep 28, 2026
…xclusive-consumer fix(queue): refuse a concurrency an exclusive consumer cannot survive
abnegate
added a commit
that referenced
this pull request
Oct 2, 2026
…ion policy
The Appwrite source endpoint was checked only by host, against the
policy shared with OAuth2, webhooks and avatars, and only when the
migration was created or reported. The migrations worker connected to
whatever endpoint the stored migration held, and the source's own curl
requests, outside Utopia\Client, resolved the host again on every request
and followed redirects anywhere.
A migrations Endpoint now accepts an http or https URL without
credentials whose host passes PublicHostname over PublicInternet plus the
IPRange entries of _APP_MIGRATIONS_ALLOWED_HOSTS, resolving through
_APP_DNS_EXTERNAL, or is a hostname that list allows by name. The report
and create routes check the endpoint with it, and the worker checks a
stored endpoint again before building the source, so migrations queued
or retried from before this change follow the same rule. Its own internal
endpoint (http://{_APP_MIGRATION_HOST}/v1) is exempt.
The source cannot take a Utopia\Client: utopia-php/migration 2.0.x is on
Appwrite PHP SDK 27, which drives curl itself. Its resolver hook
(utopia-php/migration#230) receives every request URL, so the report
route and the worker pass Endpoint::resolve(), which checks the URL and
pins the connection to the address it checked through CURLOPT_RESOLVE.
#230 also stops following redirects, restricts curl to http and https,
and now ignores proxies while a resolver is set. composer.json requires
its branch as 2.0.9 until that release is tagged.
Appwrite migration sources use _APP_MIGRATIONS_ALLOWED_HOSTS in place of
_APP_ALLOWED_INTERNAL_ADDRESSES; the development .env lists appwrite and
the compose network so the local stack can migrate from itself.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grammatical error