Chirag Aggarwal
1a966741f4
(fix): Fix TypeError in Origin validator when array is passed
...
Move type check before assignment to prevent TypeError when non-string
value (like array) is passed to Origin::isValid(). The property
\$this->origin is typed as string, so assigning an array before
the is_string() check caused the error.
2026-02-11 18:01:18 +05:30
Chirag Aggarwal
b2f4c4227e
Merge branch '1.8.x' into fix/cli-static-setresource
2026-02-11 12:10:35 +05:30
Luke B. Silver
5e974713b7
Merge pull request #11281 from appwrite/feat/worker-executions
...
feat: worker executions
2026-02-10 10:56:30 +00:00
Chirag Aggarwal
2d05d608f4
Upgrade utopia-php dependencies and fix namespace changes
...
- Upgrade utopia-php/cli from 0.15 to 0.22
- Upgrade utopia-php/analytics from 0.10 to 0.15
- Upgrade utopia-php/orchestration from 0.9 to 0.19
- Use dev branches for utopia-php/framework and utopia-php/platform
- Remove utopia-php/swoole dependency (merged into framework)
- Migrate Utopia\CLI\Console to Utopia\Console across all files
- Migrate Utopia\Http to Utopia\Http\Http namespace
- Migrate Utopia\Swoole\Files to Utopia\Http\Files (now instance-based)
- Convert static CLI::setResource() calls to instance-based Dependency API
- Fix StatsResources task named parameter mismatch
2026-02-10 10:34:24 +05:30
loks0n
b432918385
feat: worker executions
2026-02-09 20:20:44 +00:00
Matej Bačo
074ffad826
Improve origin unit tests
2026-02-09 13:46:15 +01:00
loks0n
d864a61f93
chore: upgrade traefik
2026-02-06 19:16:37 +00:00
Jake Barnby
e21614088f
fix: Address CodeRabbit review comments
...
- Fix OR precheck bug: skip attribute existence check when OR conditions
exist, since OR can match with partial attributes present
- Remove dead code in app/realtime.php (unused $names and $channels variables)
- Add tests for OR queries with missing attributes in one branch
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 22:24:26 +13:00
Jake Barnby
18125156d2
fix: Update compileAndFilter return type to nullable array
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 22:14:41 +13:00
Jake Barnby
765d334674
fix: Return null instead of empty array for non-matching queries
...
RuntimeQuery::filter() now returns null when the query doesn't match,
instead of an empty array. This distinguishes between "no match" and
"match with empty payload", fixing the issue where subscriptions with
empty payloads weren't being delivered.
Updated Realtime::getSubscribers() to check for null instead of using
!empty(), and updated all tests to expect null for non-matches.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 22:08:43 +13:00
Jake Barnby
3e31094e1e
fix: Fix unit test failures for RuntimeQuery and Messaging tests
...
- Add missing isSelectAll() method to RuntimeQuery class
- Update RuntimeQueryTest to use compile() before filter() since filter()
expects pre-compiled query arrays, not Query objects
- Remove incorrect break statement in Realtime::getSubscribers() that was
stopping iteration after the first matching channel, causing subscribers
to not be found for subsequent channels
- Use local variable $subscriptionsByChannel to avoid unused variable warning
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 21:57:00 +13:00
ArnabChatterjee20k
0528c0d693
updated the case for select all and empty payload
2026-02-03 14:29:34 +05:30
ArnabChatterjee20k
4319612358
updated unit tests
2026-02-03 14:16:35 +05:30
ArnabChatterjee20k
29b6adf407
Merge branch '1.8.x' into realtime-query-subscriptions
2026-02-03 10:46:34 +05:30
ArnabChatterjee20k
6e576b5140
added realtime query new channel and channel wise filters
2026-02-02 19:45:21 +05:30
ArnabChatterjee20k
64392c1520
fixed failing tests
2026-01-29 11:38:20 +05:30
Matej Bačo
e5ed7c835a
Merge branch '1.8.x' into chore-php-types
2026-01-21 14:43:22 +01:00
ArnabChatterjee20k
b1fab79dc4
updated query logic in array to be of and format
2026-01-16 19:06:55 +05:30
ArnabChatterjee20k
da871635d9
Fix namespace import for RuntimeQuery class and update test file accordingly
2026-01-16 16:16:03 +05:30
ArnabChatterjee20k
b2486fcb6c
Merge remote-tracking branch 'upstream/1.8.x' into dat-969
2026-01-16 15:47:25 +05:30
Matej Bačo
1308706023
Merge branch '1.8.x' into chore-php-types
2026-01-15 15:52:51 +01:00
Jake Barnby
2cfb5ecfd9
Reapply "Merge pull request #11130 from appwrite/feat-auth-instance"
...
This reverts commit 38687bc24e .
2026-01-15 04:08:00 +13:00
Jake Barnby
38687bc24e
Revert "Merge pull request #11130 from appwrite/feat-auth-instance"
...
This reverts commit c12cad80bb , reversing
changes made to 2a17429226 .
# Conflicts:
# composer.lock
2026-01-15 03:48:42 +13:00
Jake Barnby
5c915ef92f
Reapply "Merge pull request #11099 from appwrite/feat-auth-instance"
...
This reverts commit 321fc8ee70 .
2026-01-14 19:07:49 +13:00
Jake Barnby
321fc8ee70
Revert "Merge pull request #11099 from appwrite/feat-auth-instance"
...
This reverts commit a4734a5de7 , reversing
changes made to 15922fb88c .
# Conflicts:
# composer.lock
2026-01-14 02:37:17 +13:00
Jake Barnby
7573ee75a2
Use authorization instance
2026-01-07 20:04:28 +13:00
Matej Bačo
eda189dbf1
AI review improvements
2025-12-29 13:24:26 +01:00
Matej Bačo
ee911e3df6
Finalize unit key tests
2025-12-29 11:21:49 +01:00
Matej Bačo
eb2c616089
Improve key unit tests
2025-12-29 10:47:27 +01:00
Matej Bačo
6774de4eef
add todo
2025-12-27 19:18:25 +01:00
ArnabChatterjee20k
874e5f61f0
Merge remote-tracking branch 'upstream/1.8.x' into dat-969
2025-12-24 19:01:13 +05:30
ArnabChatterjee20k
39cf207df9
re
2025-12-24 18:57:58 +05:30
Matej Bačo
c08acedf6a
Fix key test
2025-12-23 15:12:41 +01:00
Jake Barnby
dc85d44647
Revert "Refactor auth single instance"
2025-12-20 02:54:50 +13:00
Jake Barnby
13f4aa9a80
Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/init/resources.php
# composer.lock
# src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
# src/Appwrite/Platform/Workers/Migrations.php
2025-12-18 18:17:41 +13:00
Hemachandar
dfb53895eb
tiny
2025-12-16 12:40:42 +05:30
Hemachandar
109967953e
feedback + tests
2025-12-16 12:20:59 +05:30
loks0n
da0b2a7517
fix: cors wildcard
2025-12-14 22:41:15 +00:00
loks0n
f765eb92e7
feat: cors service
2025-12-11 09:01:31 +00:00
shimon
5b3659af7c
Remove unused Auth import in storage controller and fix formatting in UserTest class
2025-11-28 16:11:48 +02:00
shimon
67311fe5d6
Refactor: Update role retrieval to use authorization object in multiple files
2025-11-27 18:56:33 +02:00
shimon
5da1f791a5
sync with 1.8.x
2025-11-27 18:17:04 +02:00
shimon
f216ea5d65
Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/graphql.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/controllers/shared/api/auth.php
# app/init/resources.php
# app/realtime.php
# app/worker.php
# composer.lock
# src/Appwrite/Auth/Auth.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Action.php
# src/Appwrite/Utopia/Request.php
# src/Appwrite/Utopia/Response.php
# tests/unit/Auth/AuthTest.php
# tests/unit/Messaging/MessagingChannelsTest.php
2025-11-27 15:50:37 +02:00
shimon
4ad249f918
Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
...
This reverts commit 8765d5650a .
2025-11-26 12:05:12 +02:00
Damodar Lohani
94ba8ee5f2
Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth
2025-11-23 06:43:52 +00:00
Jake Barnby
8765d5650a
Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
...
This reverts commit 919b01a1b1 , reversing
changes made to deb5039352 .
2025-11-19 16:21:06 +13:00
Jake Barnby
919b01a1b1
Merge pull request #10682 from appwrite/refactor-auth-single-instance
...
Refactor authorization handling across multiple modules to use the ne…
2025-11-18 03:25:48 +00:00
Matej Bačo
831a261c04
Sync unit tests with DNS lib validator
2025-11-10 16:29:34 +01:00
Damodar Lohani
12c27edaf9
Fix user test
2025-11-05 05:23:32 +00:00
Damodar Lohani
4d22f4252f
Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth
2025-11-05 01:59:42 +00:00