ArnabChatterjee20k
9ac3cd73a8
Refactor database metrics handling for DocumentsDB
...
- Introduced new methods to retrieve metrics for write and read operations based on database type.
- Updated bulk delete, update, upsert, and create actions to use the new metric methods.
- Enhanced document retrieval and update actions to utilize the new metric structure.
- Added support for DocumentsDB metrics in usage statistics and response models.
- Created new response models for DocumentsDB usage and updated existing models to accommodate new metrics.
- Adjusted migration and stats resources to include DocumentsDB metrics.
- Updated tests to validate the new metrics and ensure correct functionality for DocumentsDB usage.
2025-12-05 18:58:13 +05:30
ArnabChatterjee20k
6f5bfdb726
updated stats
2025-12-03 20:18:53 +05:30
ArnabChatterjee20k
af095bdf4a
updated stats
2025-12-03 19:11:46 +05:30
ArnabChatterjee20k
def028e970
Merge remote-tracking branch 'upstream/documents-db-api' into vector-db-api
2025-12-02 18:38:21 +05:30
ArnabChatterjee20k
7ad6bb048c
merged 1.8.x
2025-12-02 16:35:40 +05:30
Shimon Newman and GitHub
95e29d1046
Merge branch '1.8.x' into refactor-auth-single-instance
2025-11-28 16:10:26 +02:00
shimon
5da1f791a5
sync with 1.8.x
2025-11-27 18:17:04 +02:00
Hemachandar
adc5426ce9
feedback
2025-11-27 20:02:39 +05:30
Hemachandar
c09f7d5cf9
Fix file token expiry
2025-11-27 19:40:09 +05:30
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
ArnabChatterjee20k
918ebb8ecc
Add VectorDB text embedding creation endpoint and update related tests
2025-11-21 18:00:51 +05:30
Jake Barnby
d8d970e03e
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/messaging.php
# app/controllers/api/projects.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# composer.lock
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Datetime/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Email/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Enum/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Float/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/IP/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Line/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Point/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Polygon/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Relationship/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/String/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/URL/Update.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/Bulk/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.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/TablesDB/Tables/Columns/Boolean/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Datetime/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Email/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Enum/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Float/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/IP/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Integer/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Line/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Point/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Polygon/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/Relationship/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/String/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Columns/URL/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Bulk/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Column/Decrement.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Column/Increment.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Tables/Rows/Get.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/Rows/XList.php
# src/Appwrite/Platform/Modules/Functions/Http/Deployments/Create.php
# src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Create.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Update.php
2025-11-20 17:46:19 +13: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
ArnabChatterjee20k
bd6f62dd68
updated realtime, create endpoint , resources, registers
2025-11-06 17:48:39 +05:30
ArnabChatterjee20k
d2275c05fb
updated tests
2025-11-05 20:34:12 +05:30
Jake Barnby and GitHub
501cba216b
Update app/init/resources.php
2025-11-05 16:09:20 +13:00
Damodar Lohani
9130a7102e
Fix use correct user type
2025-11-05 01:41:15 +00:00
Damodar Lohani
dff7aa6ce0
format
2025-11-04 07:12:42 +00:00
Damodar Lohani
437d914e90
More refactor and fixes
2025-11-04 06:08:35 +00:00
Damodar Lohani
2ae474971d
use new session verify
2025-11-04 03:48:57 +00:00
Damodar Lohani
50cd6a737d
Update resources
2025-11-03 09:39:52 +00:00
Damodar Lohani
a575c07468
Fix user resource
2025-11-03 09:32:56 +00:00
shimon
d96c7eb3e9
Enhance TransactionState to utilize Authorization class for improved transaction management. Updated method signatures and resource initialization to include authorization, ensuring consistent handling across the application.
2025-11-02 18:58:41 +02:00
shimon
0904881de8
Refactor authorization handling to ensure consistent usage of the Authorization class across various modules, enhancing code maintainability and clarity. Update method signatures to include authorization as a parameter where necessary.
2025-11-02 18:11:56 +02:00
ArnabChatterjee20k
f9be1ddfc5
added vector embedding creation + update endpoint
2025-10-31 19:07:34 +05:30
ArnabChatterjee20k
8f4496346d
Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api
2025-10-28 18:41:03 +05:30
Shimon Newman and GitHub
dee3d375db
Merge branch '1.8.x' into refactor-auth-single-instance
2025-10-28 10:01:33 +02:00
shimon
d7cc3895cb
Update composer.lock to reflect version changes for utopia-php/detector, remove unused registers.php file, and clean up whitespace in cli.php and worker.php. Refactor database resource initialization in resources.php for consistency.
2025-10-27 19:23:55 +02:00
ArnabChatterjee20k
445b657207
Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api
2025-10-27 16:15:10 +05:30
shimon
6ed2000478
Update composer.lock and refactor authorization handling in CLI and worker modules. Adjust Docker configuration to include database source path. Modify error handling in general controller and enhance permission setting in document creation. Fix privileged user role retrieval in function execution. Ensure consistent authorization usage across various resources.
2025-10-27 12:09:23 +02:00
shimon
33f88fa5e0
Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock.
2025-10-22 16:35:48 +03:00
Jake Barnby
215d55a997
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
...
# Conflicts:
# composer.json
# composer.lock
2025-10-22 00:34:01 +13:00
Jake Barnby
b12e006014
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/init/resources.php
# composer.lock
2025-10-21 18:43:41 +13:00
Jake Barnby
ddde13a78f
Revert "Merge pull request #10468 from appwrite/feat-apps-module-dl"
...
This reverts commit 9dd1939d1f , reversing
changes made to 8dfdfcb522 .
# Conflicts:
# app/config/collections/common.php
# app/controllers/api/users.php
# app/init/resources.php
# composer.lock
2025-10-21 14:59:30 +13:00
Jake Barnby
ad9e6afd86
Fix sync
2025-10-21 03:18:29 +13:00
Jake Barnby
3a8e2b080d
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/init/resources.php
# composer.json
# composer.lock
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-10-21 03:16:21 +13:00
Damodar Lohani
248d3aea7a
Fix: reset argon 2 options to previous default
2025-10-19 05:44:44 +00:00
ArnabChatterjee20k
470d84a843
* updated transactions
...
* updated tests
2025-10-16 21:45:30 +05:30
ArnabChatterjee20k
e0c293c5b4
Merge remote-tracking branch 'upstream/1.8.x' into documents-db-api
2025-10-16 14:25:14 +05:30
Damodar Lohani
7ff664e62b
Fix: undefined $user
2025-10-16 07:38:13 +00:00
Damodar Lohani
9849b9d678
Fix empty check
2025-10-16 02:41:53 +00:00
Damodar Lohani
22136867ed
add additional check
2025-10-16 02:29:30 +00:00
Damodar Lohani
2df621f9c5
Fix: update comment, typings
2025-10-16 02:23:41 +00:00
Damodar Lohani
9a599e2015
update recommended param for argon2
2025-10-16 02:20:28 +00:00
ArnabChatterjee20k
f6dbc0c882
Merge remote-tracking branch 'upstream/feat-mongodb' into documents-db-api
2025-10-12 20:17:53 +05:30
Damodar Lohani
1b17c32405
update block
2025-10-12 03:51:37 +00:00
Damodar Lohani
d56dff954f
Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl
2025-10-12 00:34:07 +00:00
ArnabChatterjee20k
34e4208b3e
addressed comments
...
* renamed getDatabaseDB to getDatabasesDB
* renamed dbForDatabase to dbForDatabases
* removed call_user_func and using newer callable syntax
2025-10-10 20:00:43 +05:30
ArnabChatterjee20k
d51486c62a
* fixed stats usage events(hacky fix)
...
* updated redundant routes(happened during merge conflicts)
2025-10-10 19:39:59 +05:30