Commit graph

889 commits

Author SHA1 Message Date
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
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
Fabian Gruber
ba3f907028 fix(storage): do not allow full range
This prevents requests with `Range: 0-<file length>` and limits it to APP_STORAGE_READ_BUFFER
2025-05-21 10:57:58 +02:00
Jake Barnby
3ec0f08db1
Merge remote-tracking branch 'origin/1.6.x' into feat-sync-1.6.x
# Conflicts:
#	composer.lock
#	src/Appwrite/Messaging/Adapter/Realtime.php
#	src/Appwrite/Platform/Workers/Deletes.php
2025-05-21 20:15:08 +12:00
loks0n
455554a6a2 fix: download endpoint 2025-05-20 11:14:16 +01:00
Matej Bačo
ac6450c726 Merge branch '1.6.x' into 1.7.x 2025-05-15 18:03:15 +02:00
Fabian Gruber
d28831632e
Swap default image quality to -1, keeping source image quality. (#9766) 2025-05-15 14:45:24 +02:00
Darshan
af4d1a8264 update: comment. 2025-05-14 10:47:32 +05:30
Darshan
942b81053d address comments. 2025-05-13 16:23:29 +05:30
Darshan
f01bfc842b
Merge branch '1.7.x' into update-tokens 2025-05-13 16:16:46 +05:30
Darshan
52a128cfaa fix: tests; add: params for sdks. 2025-05-13 16:14:29 +05:30
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
Darshan
61d583c32e update: add resourceToken usage to getFileDownload as well. 2025-04-30 09:45:43 +05:30
Jake Barnby
2238f6d822
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.lock
#	src/Appwrite/Specification/Format/Swagger2.php
2025-04-30 10:45:18 +12:00
Darshan
74dca5b60c
Merge branch '1.7.x' into fix-missing-filter 2025-04-29 18:31:48 +05:30
Darshan
4a8f400f7e add: token usage on view endpoint as well. 2025-04-29 16:23:48 +05:30
Matej Bačo
d8103cb57e Merge branch '1.7.x' into 1.6.x 2025-04-25 12:18:04 +02:00
Chirag Aggarwal
d130e7d3bd chore: add stricter checks according to review 2025-04-18 15:32:25 +00:00
Christy Jacob
f4e8d72593
Merge branch '1.6.x' into feat-group 2025-04-17 18:25:47 +04:00
Chirag Aggarwal
b2dffe4057 Merge branch '1.7.x' into feat-tokens-module 2025-04-17 06:19:18 +00:00
ArnabChatterjee20k
b2f7ed48dd Simplify constructor usage by inlining message; limit try/catch to DB operations 2025-04-17 10:16:26 +05:30
arnab
1cacb87c65 added order query exception handling in the storage 2025-04-16 17:09:13 +05:30
Chirag Aggarwal
04733e25c8 chore: make group nullable and remove it from endpoints where its not required 2025-04-12 06:41:57 +00:00
Chirag Aggarwal
abcaf6cd73 feat: sdk group attribute 2025-03-31 05:48:17 +00:00
Jake Barnby
5aca1fcfa9
Fix content type usage 2025-03-27 21:03:28 +13:00
Chirag Aggarwal
3f133cab74 Merge branch '1.7.x' into feat-tokens-module 2025-03-06 15:25:42 +00:00
Chirag Aggarwal
239bebfe2e Merge branch '1.6.x' into add-file-transformation-endpoints 2025-03-04 07:34:43 +00:00
shimon
b314ae8208 disable transformedAt update for console users 2025-03-03 15:19:49 +02:00
Chirag Aggarwal
f31acd214e chore: remove plan blocking 2025-02-27 09:52:27 +00:00