Commit graph

1008 commits

Author SHA1 Message Date
Khushboo Verma
c9f8671af1 Small fixes 2024-07-30 15:13:38 +05:30
Bradley Schofield
f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00
Khushboo Verma
198b460e22 Improve tests 2024-07-30 02:25:18 +05:30
Khushboo Verma
0369e8913f Add filter by runtimes 2024-07-29 18:59:16 +05:30
Khushboo Verma
9f0f5657cb Add filtering using usecase 2024-07-29 17:55:58 +05:30
Khushboo Verma
7dca530f70 Add pagination to templates 2024-07-29 16:02:49 +05:30
Khushboo Verma
de114e61cd Merge branch '1.6.x' into feat-move-functions-marketplace-to-appwrite 2024-07-26 17:48:48 +05:30
Khushboo Verma
03de578293 Rename as per convensions 2024-07-26 17:47:03 +05:30
Matej Bačo
75db8946a6 Fix function redeployments 2024-07-25 08:36:11 +00:00
Matej Bačo
c6ab0d8523
Merge branch '1.6.x' into feat-expose-execution-schedule-date 2024-07-24 08:38:09 +02:00
Matej Bačo
304910e303 Add schedule date to response format 2024-07-22 10:36:18 +00:00
Bradley Schofield
7d2a65f87e Run linter and address more comments 2024-07-22 18:17:38 +09:00
Bradley Schofield
f0c1a62aa2 Remove CPU/Memory from document, add envs, add tests 2024-07-22 18:12:43 +09:00
Khushboo Verma
1b5d815532 Add get function templates endpoint 2024-07-19 17:39:18 +05:30
Binyamin Yawitz
b245aab9d8
fix: Adjusting to coroutine 2024-07-17 15:59:25 -04:00
Binyamin Yawitz
19119b573d
chore: Merge and lint 2024-07-17 15:06:06 -04:00
Binyamin Yawitz
927dbc7e11
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/console
#	app/controllers/api/account.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/api/users.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/mock.php
#	app/controllers/shared/api.php
#	app/init.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/Doctor.php
#	src/Appwrite/Platform/Tasks/ScheduleMessages.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Utopia/Response.php
2024-07-17 14:31:13 -04:00
Bradley Schofield
a57cc0a18e Address Christy's comments 2024-07-16 20:00:00 +09:00
Bradley Schofield
372ad6ce43 Update mbSeconds calculation to use cpu cores 2024-07-16 19:12:40 +09:00
Bradley Schofield
e3b123d559 Implement Runtime Sizes instead of individual memory and cpu 2024-07-16 14:26:53 +09:00
Khushboo Verma
e6686bd3dd Add APPWRITE_REGION in env var 2024-07-15 12:40:11 +05:30
Bradley Schofield
8ef309a4aa Run Linter 2024-07-15 11:59:02 +09:00
Bradley Schofield
fce118ff34 Move GBHours to 1.5.x 2024-07-12 19:02:32 +09:00
Bradley Schofield
824a70f936 Move Runtime Controls PR to 1.5.x 2024-07-12 18:25:57 +09:00
Matej Bačo
e02261d09f Fix download deployment 2024-07-08 10:06:01 +02:00
Matej Bačo
b9cebae561 Fix activate param 2024-07-03 17:14:59 +02:00
Damodar Lohani
d2c5e55ca7
Merge pull request #8355 from appwrite/feat-scheduled-executions
Feat scheduled executions
2024-07-03 16:08:48 +05:45
Damodar Lohani
75cd558670
Merge pull request #8323 from appwrite/feat-opr-v4-support
OPR v4 support
2024-07-03 15:11:54 +05:45
Matej Bačo
5fb41fd216 Fix executions 2024-07-03 08:00:17 +00:00
Matej Bačo
1c83668568 PR review changes 2024-07-03 07:02:41 +00:00
Binyamin Yawitz
c7d030fef4
Merge branch 'feat-scheduled-executions' into feat-delete-execution 2024-07-02 16:21:20 -04:00
Matej Bačo
cc176a4e7d Merge remote-tracking branch 'origin/1.6.x' into feat-scheduled-executions 2024-07-02 15:56:54 +00:00
Khushboo Verma
e9034a9d9d Fix missing closing bracket 2024-07-02 17:08:59 +05:30
Khushboo Verma
ead0b93900 Resolve merge conflict 2024-07-02 14:59:15 +05:30
choir27
dc07b5d028 docs: update functions api reference 2024-07-01 15:35:55 -04:00
Binyamin Yawitz
30db70fe80
fix: reviews 2024-07-01 10:23:39 -04:00
loks0n
bb3ee81065 chore: rename metadata to data 2024-06-28 22:42:55 +01:00
Binyamin Yawitz
6f62f915d9
feat: Adding Authentication injection for user id and secret 2024-06-28 14:33:13 -04:00
Khushboo Verma
66c761b73e Create execution even when logging is disabled 2024-06-28 19:51:33 +05:30
Binyamin Yawitz
b19d7cb35f
feat: Update scheduled when deleting an execution 2024-06-27 18:12:23 -04:00
Binyamin Yawitz
3aee3122a9
Merge remote-tracking branch 'refs/remotes/origin/feat-scheduled-executions' into feat-delete-execution 2024-06-27 15:10:51 -04:00
Binyamin Yawitz
010f8d3fb8
review: Delete execution 2024-06-27 12:36:24 -04:00
Binyamin Yawitz
366d75fe39
feat: Delete execution 2024-06-27 11:17:14 -04:00
Khushboo Verma
0a335ed8ac Add appwrite version 2024-06-27 18:13:15 +05:30
loks0n
e884009075 fix: test 2024-06-26 13:14:07 +01:00
loks0n
303ce498be feat: allow custom path method body 2024-06-26 12:30:23 +01:00
Luke B. Silver
dab0a17082
Merge branch '1.6.x' into feat-scheduled-executions 2024-06-25 17:21:44 +01:00
Christy Jacob
91fe8b7a8b
Merge pull request #8295 from appwrite/sync-with-main
Sync with main
2024-06-25 19:13:32 +04:00
Binyamin Yawitz
034814c924
chore: Removing default function timeout 2024-06-25 09:38:33 -04:00
Khushboo Verma
0edbec4f44 OPR v4 support 2024-06-25 15:03:07 +05:30
Christy Jacob
fdf44c7bab Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-20 15:26:17 +00:00
Binyamin Yawitz
6cfada946f
Merge branch '1.6.x' into feat-func-deploy-type 2024-06-17 13:53:21 -04:00
loks0n
2f0f7bf9c7 fix: test 2024-06-17 13:44:12 +01:00
Luke B. Silver
9341c9d76b
Merge branch '1.6.x' into feat-scheduled-executions 2024-06-14 14:07:41 +01:00
loks0n
865b12ba9d chore: exception type 2024-06-13 09:24:51 +01:00
loks0n
0a78d41ecb chore: remove endTime 2024-06-12 13:50:18 +01:00
loks0n
7559c9af68 chore: us spelling of canceled 2024-06-12 11:21:48 +01:00
loks0n
1269397475 chore: fmt 2024-06-11 15:50:50 +01:00
loks0n
853ffe804e feat: improve duration calc 2024-06-11 15:48:55 +01:00
loks0n
67b32ecb05 test: cancel deployment 2024-06-11 15:41:13 +01:00
Matej Bačo
b8b81a9bd1 WIP: Schedulded executions 2024-06-07 19:05:29 +00:00
Khushboo Verma
97786a05ff Updated cancelled build duration 2024-06-07 20:29:24 +05:30
Khushboo Verma
d233f1ac64 Update duration and endTime 2024-06-07 16:53:33 +05:30
Binyamin Yawitz
d0a55e266c
lint: Linting 2024-06-06 20:54:51 -04:00
Khushboo Verma
c2c6d337ed Resolved merge conflict 2024-06-06 19:39:16 +05:30
Christy Jacob
3e47b43908
Merge pull request #8214 from appwrite/chore-update-create-build-endpoint
Remove build id from api endpoint
2024-06-06 17:53:05 +05:30
Binyamin Yawitz
b5a241db8d
merge: Main into Coroutines 2024-06-05 18:38:39 -04:00
Khushboo Verma
d7a40e2b4d Remove the code to fetch build document 2024-06-02 23:14:41 +05:30
Khushboo Verma
0eabff5faf Refactor builds document creation 2024-05-31 01:53:29 +05:30
Khushboo Verma
d3c2e9db1f Add comment for clarity 2024-05-30 22:33:37 +05:30
Binyamin Yawitz
ca7f222640
feat: Adding cli to the function deployment type 2024-05-29 12:55:14 -04:00
Khushboo Verma
94e7669b41 Remove build id from api endpoint 2024-05-29 17:48:52 +05:30
Matej Bačo
3b8799353d PR review changes 2024-05-29 07:51:51 +00:00
Matej Bačo
711e26c605 Relay on lib to verify JWT expiry 2024-05-28 10:59:53 +00:00
Matej Bačo
b1ff989c3f Implement tests, fix JWT maxAge 2024-05-28 09:25:54 +00:00
Khushboo Verma
b880a0a7b2 Remove :buildId from endpoint as discussed 2024-05-27 18:21:28 +05:30
Khushboo Verma
4e8855fad3 Merge branch '1.6.x' into feat-cancel-build-deployment 2024-05-27 18:03:59 +05:30
Khushboo Verma
f0de4c6eac Resolved merge conflict 2024-05-23 18:34:48 +05:30
loks0n
ff1cabdbf7 chore: refactor finally clause 2024-05-20 22:35:40 +01:00
loks0n
b3c00c4d32 chore: create doc 2024-05-20 11:46:41 +01:00
loks0n
863a2ce0a9 chore: matej review 2024-05-20 11:44:08 +01:00
Matej Bačo
54c953d559 Add prefix of api key types 2024-05-14 11:58:31 +00:00
Matej Bačo
5002b0f3fa PR review changes 2024-05-09 11:50:45 +00:00
Eldad Fux
c53de9fb6b Merge branch 'main' of github.com:appwrite/appwrite into feat-eldad4-coroutines 2024-05-08 18:21:55 +01:00
Matej Bačo
9252b66493 Add scope tests 2024-05-06 11:27:28 +00:00
Matej Bačo
3a3d5b61a6 PR review changes 2024-05-06 09:55:59 +00:00
Matej Bačo
9a0d9cee15 Merge remote-tracking branch 'origin/main' into feat-function-tokens 2024-05-06 08:35:14 +00:00
Khushboo Verma
fba60f974e Throw exception for cancellation if build is already complete 2024-04-30 15:46:58 +05:30
Khushboo Verma
ea9c71757c Fix tests 2024-04-30 00:19:14 +05:30
Khushboo Verma
2b69f0b7e2 Fix formatting 2024-04-29 19:14:37 +05:30
Khushboo Verma
564fe96eec Resolve merge conflicts 2024-04-29 19:05:51 +05:30
ItzNotABug
02ece2637f fix: use resourceInternalId. 2024-04-29 15:54:22 +05:30
Eldad Fux
ab6744df3a Fixed webhooks tests 2024-04-22 14:12:09 +02:00
Eldad Fux
5ce3de4933 Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines 2024-04-02 02:13:15 +02:00
Eldad Fux
beda5293b4 Fix format 2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Matej Bačo
db1674811f Finish fixing code QL warnings 2024-03-08 13:57:20 +01:00
Matej Bačo
005a239932 Auth fixes 2024-03-07 18:24:01 +01:00
Matej Bačo
efeb898be1 Import fixes 2024-03-07 15:29:42 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Khushboo Verma
974104f8b0 address PR comments 2024-03-04 21:30:06 +01:00
Khushboo Verma
56760b14cb Restore create build endpoint 2024-02-26 15:37:47 +05:30
Khushboo Verma
353092ba00 Remove create build endpoint 2024-02-26 00:05:00 +05:30
Khushboo Verma
0e3a354f1f Create build document in API instead of worker 2024-02-25 19:13:55 +05:30
Jake Barnby
209c29991b
Only return allowed runtimes in runtime list route 2024-02-25 18:49:25 +13:00
Jake Barnby
a9d1aa5bca
Merge pull request #7620 from appwrite/refactor-remove-resource-collection
Refactor remove resource collection
2024-02-21 13:00:48 +13:00
Jake Barnby
400b28de8a
Replace resourceCollection with switch 2024-02-21 03:25:01 +13:00
Jake Barnby
379c79dae9
Consistent naming for device resources 2024-02-21 03:10:51 +13:00
Jake Barnby
b9b54b808c
Merge pull request #7618 from appwrite/feat-remove-callback-resources
Remove callback resources from workers
2024-02-21 02:30:32 +13:00
Jake Barnby
2f711c84ed
Remove callback resources from workers 2024-02-21 00:40:55 +13:00
Jake Barnby
6c4b0ecd5b
Simplify allow list 2024-02-20 23:27:40 +13:00
Jake Barnby
5747b33e38
Make self-hosted and cloud specs consistent 2024-02-20 23:15:46 +13:00
Khushboo Verma
ada1f2abb7 Mark cancelled first, then kill container 2024-02-19 00:44:21 +05:30
Khushboo Verma
12f2e761ef Updated description and response model 2024-02-18 23:25:57 +05:30
Khushboo Verma
f5919aad4a Merge branch 'main' into feat-cancel-build-deployment 2024-02-18 18:03:21 +05:30
Khushboo Verma
ed3d598f2e Added cancel build endpoint 2024-02-18 18:01:25 +05:30
Jake Barnby
66e51c0f18
Merge remote-tracking branch 'origin/1.5.x' into 1.5.x-response-request-models
# Conflicts:
#	src/Appwrite/Platform/Workers/Usage.php
#	src/Appwrite/Platform/Workers/UsageHook.php
2024-02-13 15:07:16 +13:00
Jake Barnby
06b15c79ff
Merge pull request #7572 from appwrite/attributes-query-fix
fix Indexes
2024-02-13 12:37:59 +13:00
fogelito
ace75b0786 parseQueries 2024-02-12 18:02:04 +02:00
fogelito
e5bada0493 typo 2024-02-12 12:03:31 +02:00
fogelito
adbe11fd50 fix Indexes 2024-02-12 11:55:45 +02:00
shimon
e7ace61273 Sync against main 2024-02-12 11:10:52 +02:00
shimon
350d72eb1f updates 2024-02-01 12:21:50 +02:00
Matej Bačo
ba6f5c1a57 Revert unnessessary changes 2024-01-29 11:21:51 +00:00
Matej Bačo
36ce992e9f Add API Tokens 2024-01-29 11:15:07 +00:00
fogelito
a782e20315 Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
 Conflicts:
	app/controllers/api/account.php
	composer.json
	composer.lock
	src/Appwrite/Platform/Tasks/CalcTierStats.php
	tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00
Torsten Dittmann
9f5a0312cf Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-01-24 11:24:59 +01:00
Jake Barnby
a40c6fce64
Add resource collection to schedules 2024-01-11 16:00:48 +13:00
Steven Nguyen
44182b4444
Fix incorrect response model 2024-01-09 03:10:43 +00:00
Damodar Lohani
5e59d73f78 rename stats collection 2023-12-18 10:11:10 +00:00
德华 刘
dc89501012 chore: linter 2023-12-14 04:51:36 +00:00
德华 刘
1307f73c31 chore: refactor code 2023-12-14 04:49:16 +00:00
shimon
41ae96ea77 change execution usage trigger 2023-12-12 21:55:01 +02:00
shimon
bdf9a64771 change execution usage trigger 2023-12-12 21:21:47 +02:00
fogelito
2fe50717d1 TYPE_CURSOR_AFTER TYPE_CURSOR_BEFORE 2023-12-06 15:10:40 +01:00
shimon
21895e3ac0 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	app/controllers/api/storage.php
	app/init.php
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Services/Tasks.php
	src/Appwrite/Usage/Calculators/TimeSeries.php
2023-11-26 10:28:17 +02:00
Matej Bačo
7e1b618769 Fix permission issues with repositories collection 2023-11-14 16:50:59 +01:00
Khushboo Verma
141b864a56 Update permissions for create repository document 2023-11-14 19:49:23 +05:30
shimon
ad63a377ab added inf metric 2023-11-08 11:09:32 +02:00
loks0n
7e37c973ce fix: missing functionId error on create execution 2023-11-07 10:25:33 +00:00
shimon
f64d0ab8a8 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	composer.lock
	src/Appwrite/Migration/Migration.php
2023-11-05 17:03:13 +02:00
Christy Jacob
9fc7c1384a
Merge pull request #7071 from appwrite/fix-swoole-warning
feat: fix swoole warning
2023-11-03 19:46:59 +04:00
loks0n
305c781206 feat: fix swoole warning 2023-11-03 12:18:24 +00:00
shimon
1c1028412a refactor users, project, functions usage display 2023-11-01 20:44:06 +02:00
Khushboo Verma
cba20d8b96 Addressed PR comments 2023-10-27 19:38:33 +05:30
shimon
4c6976488c clean up 2023-10-25 15:06:54 +03:00
shimon
c11b3ff522 workers start hook 2023-10-25 12:46:45 +03:00
shimon
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
shimon
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
shimon
24e09d3d8e queueForBuilds fix via functions controller 2023-10-09 13:16:05 +03:00