fogelito
89537774e7
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# app/init/resources.php
# composer.json
# composer.lock
2026-04-08 11:27:05 +03:00
Matej Bačo
cea242c66f
Merge branch '1.9.x' into feat-public-platform-api
2026-04-08 09:29:54 +02:00
loks0n and Claude Sonnet 4.6
7781d377ae
fix: persist session before purging user cache in email/password login
...
Swap the order of createDocument('sessions') and purgeCachedDocument('users')
in the email/password session creation flow. Previously, the cache was purged
before the session was written, opening a race window in Swoole's async
environment where a concurrent account.get() could re-cache the user with no
sessions, causing sessionVerify to fail with a 401. This matches the correct
ordering already used by the token-based flows (magic URL, OTP, phone).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-07 21:44:24 +01:00
Matej Bačo
331fcee710
Merge branch '1.9.x' into feat-public-platform-api
2026-04-07 10:43:11 +02:00
fogelito
dd9d7174d5
Fix validation class
2026-04-06 19:47:05 +03:00
fogelito
66cd5d73db
Update 1.9.x
2026-04-06 18:05:38 +03:00
fogelito
c45803b942
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# app/controllers/api/migrations.php
# composer.json
# composer.lock
# tests/e2e/Services/Databases/DatabasesBase.php
2026-04-06 17:44:45 +03:00
Chirag Aggarwal
1f7fc4bd40
Use request-scoped domain verification
2026-04-06 12:43:05 +05:30
Chirag Aggarwal
221b52bac0
Add request-scoped cookie domain resource
2026-04-06 12:30:25 +05:30
Chirag Aggarwal
b8eb0810c2
Make response sensitive mode instance-scoped
2026-04-06 10:24:32 +05:30
Matej Bačo
7c50bbc500
Merge branch '1.9.x' into feat-disposable-emails
2026-04-02 11:05:19 +02:00
Chirag Aggarwal
33f8e35b62
chore: remove phpstan baseline
2026-04-01 23:01:11 +05:30
Matej Bačo
c1dde09070
Merge branch '1.9.x' into feat-disposable-emails
2026-04-01 15:14:10 +02:00
Matej Bačo
b554243447
Merge branch '1.9.x' into feat-public-platform-api
2026-04-01 13:35:46 +02:00
Prem Palanisamy
5d1009b324
fix: correct resourceType routing, schemaless validation, and E2E tests for migrations
...
- Add getDatabaseResourceType() helper to map database types to resource constants
- Use database-specific resourceType for CSV/JSON import/export instead of hardcoded TYPE_DATABASE
- Skip attribute validation for schemaless databases (DocumentsDB/VectorsDB) in exports
- Parse JSON export queries in migration worker
- Restore MigrationsBase from 1.9.x and append VectorsDB/DocumentsDB E2E tests
2026-03-31 12:35:18 +01:00
Prem Palanisamy
a80ecd0cb6
fix: alphabetize imports, update phpstan baseline count for migrations tests
2026-03-30 17:24:58 +01:00
premtsd-code
3bb6a8bcc8
Merge branch '1.9.x' into feat/import-export-json
2026-03-30 16:15:16 +01:00
Prem Palanisamy
2611bf4af1
fix: add setPlatform to JSON import trigger for consistency
2026-03-30 15:43:21 +01:00
Prem Palanisamy
de219de31d
fix: restore original databasetype block in CSV export
2026-03-30 15:26:09 +01:00
Prem Palanisamy
d8bbd82556
fix: remove duplicate database fetch, add null-safe queries fallback, add schemaless comment
2026-03-30 14:55:05 +01:00
Prem Palanisamy
aaebeec61e
fix: remove spatial from documentsdb indexes, parse JSON export queries, skip schema validation for schemaless exports
2026-03-30 09:09:50 +01:00
Prem Palanisamy
52ae8b3880
fix: use type-specific resources for JSON endpoints, add JSON source/destination to worker
2026-03-26 09:23:45 +00:00
Prem Palanisamy
8f09e74462
fix: bump migration to 1.9.*, fix dataExportType property
2026-03-26 07:41:23 +00:00
Prem Palanisamy
30907d716f
cleanup: remove duplicate setProject, remove stale spec files
2026-03-26 06:55:28 +00:00
Darshan
5b1ee93927
fix: endpoint.
2026-03-26 06:43:04 +00:00
Claude
42414a46b0
fix: address review comments for User class pattern
...
- general.php: add instanceof guard in error handler to prevent calling
isPrivileged() on a plain Document if getResource('user') returns
an unexpected type
- graphql.php: add setUser() calls on request/response in graphql group
init so sensitive field filtering works correctly for GraphQL routes
- api.php: fix session group init type hint from Document to User for
consistency with all other init blocks
https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
2026-03-26 02:48:02 +00:00
Claude
7aff75ae1c
refactor: convert User::isApp() and User::isPrivileged() from static to instance methods
...
All call sites now use $user->isApp() and $user->isPrivileged() instance
syntax instead of static User::isApp() / $user::isPrivileged() calls.
Added setUser() to Request class for consistency with Response.
https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
2026-03-26 02:47:56 +00:00
Claude
82d7926c4b
fix: use User type hint instead of Document for $user parameter
...
PHPStan correctly flagged that Document::isPrivileged() doesn't exist.
Changed type hints from Document $user to User $user in all action
signatures where $user::isPrivileged() is called, since the runtime
instance is always a User (or subclass).
https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
2026-03-26 02:47:38 +00:00
Claude
669f323156
refactor: use $user:: for isPrivileged() to make privilege checks extensible
...
Replace all static User::isPrivileged() calls with $user::isPrivileged()
across the codebase. Since $user is resolved via setDocumentType, this
allows subclasses to override the privilege check without CE needing to
know about downstream-specific roles.
https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
2026-03-26 02:46:48 +00:00
Matej Bačo
bb7815bd57
Merge branch '1.9.x' into feat-public-platform-api
2026-03-24 11:18:18 +01:00
fogelito
3720c0f8de
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# composer.json
# composer.lock
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Utopia/Database/Validator/Queries/Base.php
2026-03-24 12:07:06 +02:00
Jake Barnby
8666bf1325
Merge branch '1.9.x' into revert-11585-revert-11402-sync-mongodb
2026-03-24 03:03:02 +00:00
fogelito
b1fadcf65e
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins3
2026-03-23 17:28:40 +02:00
Matej Bačo
d3c5a425e7
Implement public platform API
2026-03-23 15:46:11 +01:00
Matej Bačo
10da066075
Merge branch '1.9.x' into feat-public-project-variables-api
2026-03-23 12:21:11 +01:00
Matej Bačo
01142bba2c
Merge branch '1.8.x' into feat-public-project-variables-api
2026-03-23 12:21:06 +01:00
fogelito
09ccd755ed
Fix subqueries nulls
2026-03-23 13:01:48 +02:00
Matej Bačo
682105c068
Rework without schema changes
2026-03-23 11:52:40 +01:00
Matej Bačo
2c5e029116
Merge branch '1.8.x' into fix-oauth-token-flow-provider-param
2026-03-23 11:41:39 +01:00
fogelito
e738608006
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# app/init/constants.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/DocumentsDB/Collections/Documents/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/DocumentsDB/Collections/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/VectorsDB/Collections/Logs/XList.php
# src/Appwrite/Utopia/Database/Validator/Queries/Base.php
2026-03-23 11:07:39 +02:00
ArnabChatterjee20k
8ae07ac61f
Merge remote-tracking branch 'origin/1.9.x' into revert-11585-revert-11402-sync-mongodb
2026-03-23 10:47:23 +05:30
eldadfux
34f23bdc9f
Merge branch '1.8.x' into feat-disposable-emails
...
Made-with: Cursor
# Conflicts:
# app/controllers/api/projects.php
2026-03-21 19:32:07 +01:00
eldadfux
f74a60dba4
Merge origin/1.8.x into feat-disposable-emails
...
Made-with: Cursor
2026-03-20 07:43:55 +01:00
eldadfux
aa89128d10
Fixes
2026-03-19 22:54:45 +01:00
eldadfux
b81f3f8267
Merge origin/1.8.x into feat-user-impersonation
2026-03-19 22:12:38 +01:00
ArnabChatterjee20k
c7907932e4
Revert "Revert "Documentsdb + vectordb (latest)""
2026-03-19 20:30:42 +05:30
ArnabChatterjee20k
9917f95dfd
Revert "Documentsdb + vectordb (latest)"
2026-03-19 19:18:27 +05:30
fogelito
c522983030
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# app/init/constants.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Utopia/Database/Validator/Queries/Base.php
2026-03-19 15:33:42 +02:00
Matej Bačo
8af0efafd4
Merge branch '1.8.x' into feat-public-project-variables-api
2026-03-19 14:17:26 +01:00
Matej Bačo
7e7cac017c
Merge pull request #11582 from appwrite/fix-webhooks-duplication
...
Fix: webhook endpoints duplication
2026-03-19 14:16:30 +01:00