Commit graph

131 commits

Author SHA1 Message Date
Jake Barnby
c083e1ce74 Throw AppwriteException so handler can unwrap 2026-01-15 16:31:37 +13: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
Chirag Aggarwal
6c866be9f3 Fix execution status not updating if usage stats trigger fails
Move the execution document update inside the finally block and wrap
it in try-catch to ensure the execution record is always updated,
even if queueForStatsUsage->trigger() throws an exception.
2026-01-14 16:12:51 +05:30
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
Jake Barnby
7573ee75a2 Use authorization instance 2026-01-07 20:04:28 +13:00
fogelito
417bb22790 use Query::contains 2025-12-29 11:55:21 +02:00
fogelito
774e3af61c skip variables subquery 2025-12-29 10:20:32 +02:00
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
loks0n
3c3aa6d416 fix: fallback platform 2025-12-16 22:56:11 +00:00
loks0n
f765eb92e7 feat: cors service 2025-12-11 09:01:31 +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
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
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
Khushboo Verma
a81d980334 Resolve merge conflicts 2025-08-27 12:54:22 +05:30
Khushboo Verma
aac98b2ec7 Update function domain test 2025-08-26 18:56:26 +05:30
Khushboo Verma
8df305576c Add execution id and log id to response headers 2025-08-26 18:34:43 +05:30
Khushboo Verma
1458505201 Address PR comments 2025-08-26 12:55:51 +05:30
Khushboo Verma
2876fad322 Merge branch '1.7.x' into feat-extend-function-headers 2025-08-25 12:50:59 +05:30
Khushboo Verma
bc47ac7caa Truncate logs and errors from beginning 2025-08-21 12:49:31 +05:30
Khushboo Verma
1bd6b6452c Fix PR changes 2025-08-20 18:53:55 +05:30
Mayank Agarwal
7e292813bc Truncate logs in function worker 2025-08-20 18:43:32 +05:30
Khushboo Verma
ed16808930 Add executionId and client IP to execution headers 2025-08-20 16:35:40 +05:30
Matej Bačo
23bc39254c Increase dynamic API key expiration 2025-08-15 12:29:34 +02:00
Matej Bačo
f07abce6f8
Merge branch '1.7.x' into feat-use-first-class-callable-syntax 2025-06-25 16:46:30 +02:00
Jake Barnby
89f0c28e26
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.coderabbit.yaml
2025-06-16 11:37:50 -04:00
loks0n
9196ae7908 feat: tar support 2025-06-16 10:44:15 +01:00
Khushboo Verma
6530d31e7a Use ->action(...)) 2025-06-04 14:07:43 +05:30
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
Damodar Lohani
8d0cdb8e7f
Merge branch 'feat-sites' into fix-usage-sites 2025-04-08 14:30:43 +05:45
Matej Bačo
8e32ef1851 Merge branch '1.7.x' into feat-sites 2025-04-08 10:41:39 +02:00
Fabian Gruber
0ae70f8321 feat: inject executor instead of creating a new instance 2025-04-07 09:53:38 +02:00
Damodar Lohani
1af638deef new resource type metrics 2025-04-01 02:21:52 +00:00
Damodar Lohani
ac152a76b5 Fix: usage stats changes 2025-03-31 06:28:58 +00:00
Khushboo Verma
813424aa3c Split params across multiple lines where overflowing 2025-03-20 20:37:32 +05:30
Matej Bačo
9bc793b216 Fix realtime tests 2025-03-13 14:08:14 +01:00
Matej Bačo
725dff7f0f Merge branch '1.7.x' into feat-sites 2025-03-13 11:41:28 +01:00
Matej Bačo
a840d9de20
Merge pull request #9490 from appwrite/chore-avoid-repetition-in-workers
Avoid code repetition in workers and tasks
2025-03-12 12:40:29 +01:00
Khushboo Verma
42cd1df77d Remove duplication from workers 2025-03-12 15:24:52 +05:30
Matej Bačo
ba26dd6df5 Apply consistency of attributes 2025-03-11 16:26:49 +01:00
Matej Bačo
71b56fc504 Remove log/execution search 2025-03-11 10:22:28 +01:00
Matej Bačo
b4d366eea1
Merge pull request #9457 from appwrite/chore-remove-builds-collection
Chore Remove builds collection
2025-03-08 20:45:10 +01:00
Matej Bačo
1d983a949e Merge site & function specs 2025-03-07 22:36:13 +01:00
Matej Bačo
2e30c1ba1f Reapply "Remove builds collection"
This reverts commit 654d178cf2.
2025-03-06 15:34:06 +01:00
Matej Bačo
654d178cf2 Revert "Remove builds collection"
This reverts commit 02e740f8b0.
2025-03-06 15:33:48 +01:00