fogelito
5aa3696b8b
Merge branch '1.9.x' of https://github.com/appwrite/appwrite into joins2
2026-04-09 08:17:30 +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
Damodar Lohani
f6484294da
Merge branch '1.9.x' into feat-audit-user-type-distinction
2026-04-05 08:04:38 +05:45
Matej Bačo
7c50bbc500
Merge branch '1.9.x' into feat-disposable-emails
2026-04-02 11:05:19 +02:00
Claude
2d34301834
fix: add missing userType field to legacy log endpoints
...
The users.php and messaging.php legacy controllers were missing the
userType field in their log output, creating an inconsistency with the
new audit user type distinction feature. Also adds missing mode field
to users.php logs endpoint.
https://claude.ai/code/session_01J9gKXwbHoLggsGwJi6KUnM
2026-04-02 01:13:01 +00:00
Chirag Aggarwal
33f8e35b62
chore: remove phpstan baseline
2026-04-01 23:01:11 +05:30
fogelito
09ccd755ed
Fix subqueries nulls
2026-03-23 13:01:48 +02: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
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
aa89128d10
Fixes
2026-03-19 22:54:45 +01:00
fogelito
02726d3072
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins3
...
# Conflicts:
# composer.json
# composer.lock
2026-03-18 10:35:55 +02:00
eldadfux
e5385f7512
Removed old validator
2026-03-15 08:54:11 +01:00
eldadfux
d8bf4b9f89
Implement email validation rules for disposable, canonical, and free emails in user account creation and project settings. Update error handling for invalid email types and adjust related configurations in the console and project models.
2026-03-14 09:21:22 +01:00
eldadfux
b85cf2fdb6
applied new logic for logs
2026-03-13 09:18:39 +01:00
eldadfux
d8df5f1ea1
Updated comments and docs
2026-03-13 08:21:02 +01:00
eldadfux
8304a8e0e4
Add impersonation feature for user management
...
- Introduced a new API endpoint to update user impersonator capability.
- Enhanced user model to include impersonator attributes.
- Updated database schema to support impersonation.
- Implemented impersonation logic in the request handling to allow users with impersonator capability to act as other users.
- Added relevant API documentation for impersonation headers.
This feature allows users with the appropriate permissions to impersonate other users, enhancing flexibility in user management.
2026-03-12 19:08:25 +01:00
eldadfux
4bf3c72196
fix: allow users to update phone number to empty without causing duplicate errors
2026-03-11 06:25:08 +01:00
Chirag Aggarwal
8b026d3459
perf: optimize updateDocument() calls to use sparse documents
...
Optimize updateDocument() calls across the codebase to pass only changed
attributes as sparse Document objects rather than full documents. This is
more efficient because updateDocument() internally performs array_merge().
Changes:
- Updated 58 files to use sparse Document objects
- Added Performance Patterns section to AGENTS.md with optimization guidelines
- Applied pattern to Workers, Functions, Sites, Teams, VCS modules
- Updated app/controllers/api files (account, users, messaging)
- Updated app infrastructure files (realtime, general, init/resources, shared/api)
Exceptions maintained:
- Migration files (need full document updates by design)
- Cases with 6+ attributes (marginal benefit)
- Complex nested relationship logic
2026-03-06 17:05:19 +05:30
fogelito
31d17fb0c3
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins2
...
# Conflicts:
# app/controllers/api/messaging.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# composer.lock
# phpunit.xml
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Logs/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Logs/XList.php
# src/Appwrite/Utopia/Database/Validator/Queries/Base.php
# src/Appwrite/Utopia/Response/Model/Document.php
# src/Appwrite/Utopia/Response/Model/Row.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/Legacy/DatabasesConsoleClientTest.php
# tests/e2e/Services/Databases/Legacy/DatabasesCustomServerTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2026-03-02 14:47:33 +02:00
eldadfux
47a81d165e
Fix for user name to accept null and cast as string
2026-02-26 10:30:41 +01:00
Jake Barnby
5590f0bcd0
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# .env
# .github/workflows/tests.yml
# app/controllers/api/projects.php
# app/controllers/api/teams.php
# app/init/registers.php
# app/views/install/compose.phtml
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Create.php
# src/Appwrite/Platform/Tasks/Install.php
# src/Appwrite/Platform/Tasks/Upgrade.php
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2026-02-12 23:35:21 +13:00
fogelito
1a3c4d7b6c
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins2
...
# Conflicts:
# composer.json
# composer.lock
2026-02-11 15:22:11 +02: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
fogelito
affe208d1a
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into joins2
...
# Conflicts:
# app/controllers/api/vcs.php
# composer.lock
2026-02-08 10:56:27 +02:00
Jake Barnby
801befeacd
Merge branch '1.8.x' into get-cursor-queries
2026-02-06 05:59:48 +00:00
Jake Barnby
0a53c677b1
Merge branch '1.8.x' into joins2
2026-02-05 07:29:47 +00:00
Jake Barnby
e70739a3c0
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# Dockerfile
# app/controllers/api/account.php
# app/controllers/api/avatars.php
# app/controllers/api/console.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/http.php
# app/init/database/filters.php
# app/init/registers.php
# app/init/resources.php
# app/views/install/compose.phtml
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.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/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Deployments/XList.php
# src/Appwrite/Platform/Tasks/Install.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2026-02-05 01:01:03 +13:00
Chirag Aggarwal
1eaf5d5ffa
replace app usage with http
2026-02-04 11:22:04 +05:30
fogelito
69e6c0afc0
getCursorQueries
2026-01-28 14:53:24 +02: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
fogelito
638f7431b1
Merge branch 'feat-auth-instance' of https://github.com/appwrite/appwrite into joins2
...
# Conflicts:
# composer.json
# composer.lock
# src/Appwrite/Platform/Action.php
# src/Appwrite/Platform/Workers/Deletes.php
2026-01-13 09:56:37 +02:00
Jake Barnby
7573ee75a2
Use authorization instance
2026-01-07 20:04:28 +13:00
fogelito
a971976587
format
2025-12-21 17:01:17 +02:00
fogelito
9bee2f5a25
Types validator
2025-12-21 16:26:55 +02: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
Damodar Lohani
8baa5cb659
Merge remote-tracking branch 'origin/1.8.x' into feat-audits-upgrade
2025-12-17 08:59:05 +00:00
Damodar Lohani
801219374c
Fix queries
2025-12-15 02:50:21 +00:00
Chirag Aggarwal
5daacb7161
Refactor Specs task for better code organization
...
- Extract platform, auth counts, and keys into separate methods
- Add getPlatforms(), getAuthCounts(), and getKeys() methods
- Extract SDK platform logic into getSDKPlatformsForRouteSecurity()
- Add PHPDoc comments with proper type hints
- Move constructor to top of class for better readability
2025-12-14 11:21:44 +05:30
Damodar Lohani
9441295510
Feat: Audits upgrade
2025-12-14 01:43:35 +00:00
Chirag Aggarwal
aa12ef6569
Add public visibility control for deprecated methods
...
- Add 'public' parameter to SDK Method class to control documentation visibility
- Mark deprecated methods as non-public (public: false) to hide them from docs
- Update OpenAPI and Swagger specs to reflect visibility changes
- Affected endpoints: account verification, messaging providers, and MFA authenticators
2025-12-11 13:53:34 +05:30
Damodar Lohani
61067bd8d3
Fix: remove temp queries
2025-12-10 10:32:51 +00:00
Jake Barnby
a8cf0a6176
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/controllers/api/teams.php
# app/init/resources.php
# composer.lock
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-12-10 20:12:27 +13:00
shimon
7392f6aeff
Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/vcs.php
2025-12-02 12:49:15 +02:00
Damodar Lohani
e114d49789
Fix: add test
2025-12-02 01:04:51 +00:00
Damodar Lohani
1df5b71e32
Simplify
2025-12-02 00:59:39 +00:00
Damodar Lohani
a166ae5a03
Fix: error setting user password
...
Fixes Update Password Bug
Fixes #10878
2025-12-02 00:59:19 +00: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