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
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
shimon
0a0cf26269
Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
...
# Conflicts:
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Create.php
2025-12-08 09:26:38 +02:00
Damodar Lohani
d0b1f5f529
Fix: Catch duplicate exception while creating file document
2025-12-02 02:09:29 +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
Damodar Lohani
d539186808
Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth
2025-11-26 10:42:55 +00: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
Jake Barnby
8fe7de7ff9
Custom disposition
2025-11-25 15:19:16 +13: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
Chirag Aggarwal
3568af54b3
consistent naming
2025-11-18 09:51:20 +05:30
Chirag Aggarwal
71b6ac0364
Merge branch '1.8.x' into feat-per-bucket-image-transformations
2025-11-18 09:50:02 +05:30
Jake Barnby
6274d5a3e4
Merge branch '1.8.x' into refactor-auth-single-instance
2025-11-14 05:21:40 +00:00
Jake Barnby
83b9815644
Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
2025-11-14 16:45:57 +13:00
Jake Barnby
b9211d7141
Add delete old CSV job for maintenance
2025-11-14 15:55:41 +13:00
Jake Barnby
a11cf6b002
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
2025-11-14 15:34:36 +13:00
Jake Barnby
3df2efb7ae
Fix file reads
2025-11-14 00:15:18 +13:00
Chirag Aggarwal
eb17ffd5d2
wrap all optional values with default null with nullable
2025-11-10 10:15:49 +05:30
Chirag Aggarwal
decad9ff9d
Merge branch '1.8.x' into feat-per-bucket-image-transformations
2025-11-04 14:31:04 +05:30
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
shimon
c13aed651a
Refactor storage file retrieval to use queries directly for counting, improving consistency in authorization handling. Update Action class to remove unnecessary authorization skip, and include authorization in Email/Create class constructor for better dependency management.
2025-11-02 21:24:11 +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
Shimon Newman
d38399dcc0
Merge branch '1.8.x' into refactor-auth-single-instance
2025-10-29 20:38:04 +02:00
shimon
5c2828bc78
Refactor authorization handling across multiple modules to use a single instance of the Authorization class.
2025-10-29 20:21:41 +02:00
shimon
a7dbb3daea
Refactor API parameters to replace 'includeTotal' with 'total' across multiple endpoints for consistency in response handling.
2025-10-29 11:08:08 +02:00
Chirag Aggarwal
4aaaa460b2
feat: per bucket image transformations flag
2025-10-28 14:13:38 +05:30
shimon
462634d311
Update dependencies in composer.json and composer.lock; upgrade utopia-php/detector to version 0.2.*, and utopia-php/migration to version 1.3.3. Modify exception messages in storage API for better clarity on authorization failures. Adjust test assertions to reflect updated error messages.
2025-10-28 09:09:54 +02:00
shimon
8b3b07a710
linter
2025-10-22 16:40:00 +03: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
shimon
a643cde26d
Update 'includeTotal' parameter to use Boolean(true) for consistent behavior across API endpoints, enhancing response handling for sessions, logs, memberships, and more.
2025-10-20 22:00:57 +03:00
shimon
09075a05db
typo fix
2025-10-19 16:22:13 +03:00
shimon
d0e0f67fee
Implement 'includeTotal' parameter across various API endpoints to control total count in responses
2025-10-19 15:45:16 +03:00
Jake Barnby
832687dd09
Catch query exception on bucket/file list
2025-09-16 23:42:07 +12:00
fogelito
78887b9df6
fallbacks
2025-07-28 11:18:03 +03:00
fogelito
66fa7ad659
Use null default with fallback
2025-07-28 11:08:32 +03:00
fogelito
9a3687ae3b
Run tests
2025-07-28 10:43:35 +03:00
Matej Bačo
b194558226
Switch from gzip to none compression
2025-07-23 15:49:07 +02:00
hmacr
9da57a457b
fix: Use direct source for file-preview when empty
2025-07-21 22:31:06 +05:30
Darshan
14e52058c7
fix: file tokens not working on file-security.
2025-07-08 13:46:53 +05:30
Matej Bačo
a356e86ced
Add previe wendpoint logging
2025-06-26 20:17:26 +02:00
Jake Barnby
8c6f0a4e7b
Fix merge
2025-06-10 13:42:41 -04:00
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# app/controllers/api/functions.php
# app/controllers/api/project.php
# app/controllers/api/proxy.php
# app/controllers/api/storage.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/init/database/filters.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Migration/Version/V15.php
# src/Appwrite/Migration/Version/V16.php
# src/Appwrite/Migration/Version/V17.php
# src/Appwrite/Migration/Version/V18.php
# src/Appwrite/Migration/Version/V19.php
# src/Appwrite/Migration/Version/V20.php
# src/Appwrite/Migration/Version/V21.php
# src/Appwrite/Platform/Tasks/Migrate.php
# src/Appwrite/Platform/Workers/Builds.php
# src/Appwrite/Platform/Workers/Deletes.php
# src/Appwrite/Platform/Workers/Functions.php
# src/Appwrite/Platform/Workers/StatsResources.php
# src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Jake Barnby
86f7489640
Internal ID -> sequence
2025-05-26 17:42:11 +12:00
Christy Jacob
28d2ed1baa
Revert "Feat sequence"
2025-05-23 21:39:56 +04:00
Jake Barnby
71e3446498
Change internal ID to sequence
2025-05-23 02:55:29 +12:00