Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
10254c5
Update migrations
abnegate Aug 8, 2025
ae5225d
Add placeholder detection
Meldiron Aug 8, 2025
1fba63e
Fix formatting
Meldiron Aug 8, 2025
96b7f31
Fix tests
abnegate Aug 8, 2025
eb3caea
Merge pull request #10283 from appwrite/fix-csv-import
abnegate Aug 8, 2025
f430622
Merge pull request #10284 from appwrite/temp-add-placeholder-detection
Meldiron Aug 8, 2025
2b3a852
Make functions worker customizable
Meldiron Aug 8, 2025
9a6c4c5
Fix typo
Meldiron Aug 8, 2025
3510b9d
Merge pull request #10287 from appwrite/feat-customizable-function-br…
Meldiron Aug 8, 2025
913fa9d
Update build command for flutter
vermakhushboo Aug 8, 2025
b89d713
Purge collection cache alongside document cache in database operations
cursoragent Aug 11, 2025
acaea49
Add database query tests for notContains, notSearch, and other filters
cursoragent Aug 11, 2025
7a0b344
Skip redundant subqueries in users list route
abnegate Aug 11, 2025
4da9b99
Bump flutter starter version
vermakhushboo Aug 11, 2025
672f642
Update DB
abnegate Aug 11, 2025
334c147
Merge pull request #10288 from appwrite/chore-update-flutter-build-co…
Meldiron Aug 11, 2025
a8cc01d
Merge pull request #10297 from appwrite/feat-skip-user-subqueries
abnegate Aug 11, 2025
12d0853
Merge pull request #10294 from appwrite/cursor/fix-databases-worker-c…
abnegate Aug 11, 2025
7e110bf
Revert "Feat: Make functions worker customizable"
abnegate Aug 11, 2025
ec174a1
Merge pull request #10298 from appwrite/revert-10287-feat-customizabl…
abnegate Aug 11, 2025
ee13066
Fix missing place not using proper publisher
Meldiron Aug 11, 2025
3efd9a7
Reapply "Feat: Make functions worker customizable"
Meldiron Aug 11, 2025
b641c9e
Linter fix
Meldiron Aug 11, 2025
100ab4e
Fix flakyness
Meldiron Aug 11, 2025
836606a
Fix notSearch with no FTS
abnegate Aug 11, 2025
a7ccb7b
Update tests
abnegate Aug 11, 2025
22d58e7
Fix index count tests
abnegate Aug 11, 2025
0febefc
Fix not search on wrong attribute
abnegate Aug 11, 2025
f81fd16
Merge pull request #10299 from appwrite/feat-functions-redis-queue
Meldiron Aug 11, 2025
38204a2
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
abnegate Aug 12, 2025
4712c18
Merge remote-tracking branch 'origin/1.8.x' into cursor/add-new-datab…
abnegate Aug 12, 2025
66dacb6
Update lock
abnegate Aug 12, 2025
75eccf8
Fix tests
abnegate Aug 12, 2025
02b83d5
Merge pull request #10296 from appwrite/cursor/add-new-database-query…
abnegate Aug 12, 2025
b418285
Revert "Merge pull request #10299 from appwrite/feat-functions-redis-…
abnegate Aug 12, 2025
e151425
Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongod…
shimonewman Aug 12, 2025
ff8418f
Update composer.lock to reflect new references and timestamps for dep…
shimonewman Aug 12, 2025
b98be47
Update composer.json and composer.lock to reflect changes in utopia-p…
shimonewman Aug 26, 2025
38433b9
Remove unnecessary var_dump statement from ProjectsConsoleClientTest …
shimonewman Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/config/collections/projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
'$id' => ID::custom('type'),
'type' => Database::VAR_STRING,
'size' => 128,
'required' => true,
'required' => false,
'default' => 'grids',
'signed' => true,
'array' => false,
'filters' => [],
Expand Down
4 changes: 2 additions & 2 deletions app/config/templates/site.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,13 +473,13 @@ function getFramework(string $frameworkEnum, array $overrides)
'frameworks' => [
getFramework('FLUTTER', [
'providerRootDirectory' => './',
'buildCommand' => 'bash build.sh',
'buildCommand' => 'bash prepare-env.sh && flutter build web',
]),
],
'vcsProvider' => 'github',
'providerRepositoryId' => 'starter-for-flutter',
'providerOwner' => 'appwrite',
'providerVersion' => '0.1.*',
'providerVersion' => '0.2.*',
'variables' => [
[
'name' => 'APPWRITE_PUBLIC_ENDPOINT',
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc
} elseif ($protocol === 'http' && $port !== '80') {
$callbackBase .= ':' . $port;
}
var_dump( $callbackBase . '/v1/account/sessions/oauth2/callback/' . $provider . '/' . $project->getId());

$callback = $callbackBase . '/v1/account/sessions/oauth2/callback/' . $provider . '/' . $project->getId();
$providerEnabled = $project->getAttribute('oAuthProviders', [])[$provider . 'Enabled'] ?? false;

Expand Down
23 changes: 14 additions & 9 deletions app/controllers/api/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,15 +643,20 @@ function createUser(string $hash, mixed $hashOptions, string $userId, ?string $e
$cursor->setValue($cursorDocument);
}

$filterQueries = Query::groupByType($queries)['filters'];
try {
$users = $dbForProject->find('users', $queries);
$total = $dbForProject->count('users', $filterQueries, APP_LIMIT_COUNT);
} catch (OrderException $e) {
throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null.");
} catch (QueryException $e) {
throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage());
}
$users = [];
$total = 0;

$dbForProject->skipFilters(function () use ($dbForProject, $queries, &$users, &$total) {
try {
$users = $dbForProject->find('users', $queries);
$total = $dbForProject->count('users', $queries, APP_LIMIT_COUNT);
} catch (OrderException $e) {
throw new Exception(Exception::DATABASE_QUERY_ORDER_NULL, "The order attribute '{$e->getAttribute()}' had a null value. Cursor pagination requires all documents order attribute values are non-null.");
} catch (QueryException $e) {
throw new Exception(Exception::GENERAL_QUERY_INVALID, $e->getMessage());
}
}, ['subQueryAuthenticators', 'subQuerySessions', 'subQueryTokens', 'subQueryChallenges', 'subQueryMemberships']);

$response->dynamic(new Document([
'users' => $users,
'total' => $total,
Expand Down
5 changes: 4 additions & 1 deletion app/init/resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,11 @@
if ($project->getId() === 'console') {
$user = $dbForPlatform->getDocument('users', Auth::$unique);
} else {

// var_dump(['Authorization users start::$status' => Authorization::$status]);
$user = $dbForProject->getDocument('users', Auth::$unique);
//var_dump(['Authorization users end::$status' => Authorization::$status]);

}
}
}
Expand Down Expand Up @@ -290,7 +294,6 @@
}
}
}

$dbForProject->setMetadata('user', $user->getId());
$dbForPlatform->setMetadata('user', $user->getId());

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"utopia-php/cache": "0.13.*",
"utopia-php/cli": "0.15.*",
"utopia-php/config": "0.2.*",
"utopia-php/database": "dev-feat-mongo-tmp as 0.73.0",
"utopia-php/database": "dev-feat-mongo-tmp-with-uuid7 as 0.73.0",
"utopia-php/detector": "0.1.*",
"utopia-php/domains": "0.8.*",
"utopia-php/dns": "0.3.*",
Expand Down
88 changes: 46 additions & 42 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ services:
appwrite-console:
<<: *x-logging
container_name: appwrite-console
image: appwrite/console:6.2.0
image: appwrite/console:7.0.0-qa.8
restart: unless-stopped
networks:
- appwrite
Expand Down
Loading
Loading