Commit graph

4741 commits

Author SHA1 Message Date
Khushboo Verma
60e42c2e07 Add boundary to multipart header 2024-08-14 15:09:55 +05:30
Bradley Schofield
79a757297d Update size to specification for variable runtimes 2024-08-14 11:48:40 +09:00
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Matej Bačo
380dc8a106 Fix manual templates 2024-08-13 10:50:58 +00:00
Christy Jacob
3da1cc69d7
Merge pull request #8484 from appwrite/fix-missing-build-logs
Fix: missing build logs
2024-08-13 00:38:23 +04:00
Christy Jacob
87d6900f48
Merge pull request #8517 from appwrite/fix-deploy-from-git-with-space
Fix deploy from git with space
2024-08-13 00:36:52 +04:00
Binyamin Yawitz
fbd55eb17e
review: addressing 2024-08-12 16:36:16 -04:00
Binyamin Yawitz
aa27a37064
review: addressing 2024-08-12 16:33:00 -04:00
Steven Nguyen
f47af1626c
Bump appwrite version to 1.5.10 2024-08-12 19:55:22 +00:00
Steven Nguyen
a52626e5d3
fix(upgrade): fix migration stuck at "Starting Data Migration [...]"
The iterator was in the loop so it was always reset to null and the
same data set to be scanned.

For cases where this happened, the iterator was not empty, but the keys
returned from the scan was empty. According to [redis](https://redis.io/docs/latest/commands/scan/#number-of-elements-returned-at-every-scan-call),
this is expected behavior.

> SCAN family functions do not guarantee that the number of elements returned per call are in a given range. The commands are also allowed to return zero elements, and the client should not consider the iteration complete as long as the returned cursor is not zero.

As such, we must make sure we're using the new iterator returned to
continue scanning the keys.
2024-08-12 19:34:23 +00:00
Binyamin Yawitz
5bf9794cb2
chore: pint 2024-08-12 15:00:19 -04:00
Binyamin Yawitz
9b79b14821
fix: github cloning and archiving of functions with space 2024-08-12 14:46:12 -04:00
Khushboo Verma
cd5a9c5c84 Update proxy version 2024-08-12 23:41:33 +05:30
Khushboo Verma
e4cfcd00fd Updated composer.json 2024-08-12 23:17:22 +05:30
Christy Jacob
ad43e1c419
Merge pull request #8412 from appwrite/feat-schedule-execution-improvements
feat: schedule execution improvements
2024-08-12 19:59:56 +04:00
Christy Jacob
6d7fe6e28d
Merge pull request #8452 from appwrite/fix-buckets-metadata
fix: Increasing buckets metadata
2024-08-12 19:10:36 +04:00
Christy Jacob
856abeb76b
Merge pull request #8466 from appwrite/feat-adding-email
Feat changing emails
2024-08-12 19:01:33 +04:00
Khushboo Verma
468a97bcd2 Merge branch '1.6.x' into feat-add-multipart-support 2024-08-12 15:39:46 +05:30
Khushboo Verma
285b48a9e8 Replace regex with ctype function 2024-08-12 15:39:35 +05:30
Khushboo Verma
1a5b5f15b0 Merge branch '1.6.x' into chore-allow-more-deployment-attributes 2024-08-12 15:21:21 +05:30
Luke B. Silver
4b5d8b4102
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-12 10:42:52 +01:00
Christy Jacob
4f0a265520
Merge pull request #8503 from appwrite/feat-base-runtimes
feat: base runtimes key
2024-08-12 13:41:54 +04:00
Christy Jacob
70c933f8d8
Merge pull request #8492 from appwrite/feat-dynamic-keys-build
Feat: Dynamic keys in builds
2024-08-12 13:24:30 +04:00
Khushboo Verma
74615f6d1c Merge branch '1.6.x' into chore-allow-more-deployment-attributes 2024-08-12 14:53:16 +05:30
Khushboo Verma
34fc855c8a Allow deployment queries on type and size 2024-08-12 14:49:16 +05:30
Matej Bačo
47a0998211
Merge branch '1.6.x' into fix-4xx-executions-status 2024-08-12 09:54:55 +02:00
Matej Bačo
e6664fde7a
Merge branch '1.6.x' into feat-dynamic-keys-build 2024-08-12 09:20:30 +02:00
Khushboo Verma
f6530fd6a5 Simplified headers validator 2024-08-11 18:32:14 +05:30
Khushboo Verma
a8973ab26b Improved header tests 2024-08-11 18:15:10 +05:30
Khushboo Verma
c8d04c11eb Added more tests to headers validator 2024-08-11 02:25:03 +05:30
Steven Nguyen
2b9f3c4638
Bump appwrite version to 1.5.9 2024-08-09 16:06:02 +00:00
Khushboo Verma
f3e4987f6c
Merge branch '1.6.x' into feat-add-multipart-support 2024-08-09 19:38:26 +05:30
loks0n
f6dec62c50 feat: add base/key runtime 2024-08-09 12:56:55 +01:00
Luke B. Silver
a1df29d5f6
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-09 10:44:38 +01:00
Bradley Schofield
a59ba219ad Update specification consts 2024-08-09 17:17:13 +09:00
Binyamin Yawitz
844ec11bd3
Merge branch 'refs/heads/1.6.x' into feat-extract-team-deletion 2024-08-08 09:58:30 -04:00
Khushboo Verma
caa234f140 Add scopes to function template 2024-08-08 19:15:00 +05:30
Binyamin Yawitz
8e7cc6ed14
fix: Moving migration to be inside coroutine completely 2024-08-08 09:25:56 -04:00
Luke B. Silver
f1013a79e8
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-08 13:32:58 +01:00
Matej Bačo
47316a250b Edge case for test case 2024-08-08 09:15:53 +00:00
Matej Bačo
bc4a250813 Fix bug in response filter 2024-08-08 08:51:38 +00:00
Matej Bačo
f8fb98d377 Update response filter 2024-08-08 08:42:38 +00:00
Matej Bačo
25f5c83594 Fix 4XX execution status 2024-08-08 08:38:15 +00:00
Khushboo Verma
066dc59064 Update error message 2024-08-08 13:49:33 +05:30
Khushboo Verma
41de522d04 Merge branch '1.6.x' into feat-add-multipart-support 2024-08-08 13:47:11 +05:30
Matej Bačo
5b184236c1 Dynamic keys in builds 2024-08-08 09:38:37 +02:00
Bradley Schofield
078b159942
Update src/Appwrite/Platform/Workers/Builds.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-08-08 11:28:03 +09:00
Bradley Schofield
948fbc0916
Update src/Appwrite/Utopia/Response/Model/Func.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-08-08 11:27:49 +09:00
Binyamin Yawitz
579aa5bd1a
fixing: Adding missing models from merge 2024-08-07 14:50:06 -04:00
Binyamin Yawitz
d2b8d3ae7a
chore: finishing merge 2024-08-07 14:24:52 -04:00
Binyamin Yawitz
e672a0ebe2
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	src/Appwrite/Auth/Validator/MockNumber.php
2024-08-07 14:01:46 -04:00
loks0n
e2ed0b2693 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-08-07 17:43:07 +01:00
loks0n
f1b40c69cd Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-build-size-limits 2024-08-07 17:31:51 +01:00
Matej Bačo
870cbbb019 Add commments 2024-08-07 15:13:24 +00:00
Christy Jacob
f20851e8f7
Merge pull request #8483 from appwrite/fix-template-variable
Add value to variables template
2024-08-07 18:05:34 +04:00
Khushboo Verma
2f56c123c9 Merge branch '1.6.x' into feat-add-multipart-support 2024-08-07 18:46:46 +05:30
Khushboo Verma
dcf1684c8c Update dynamic response method 2024-08-07 18:45:53 +05:30
Matej Bačo
8e3fbfc00d Fix missing build logs 2024-08-07 10:53:40 +02:00
Binyamin Yawitz
fc95877177
chore: stan 2024-08-06 15:20:45 -04:00
Binyamin Yawitz
7a1e3ce4d9
chore: merge 2024-08-06 15:05:24 -04:00
Binyamin Yawitz
9ed43ebbc2
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/general.php
#	app/init.php
#	composer.lock
#	dev/xdebug.ini
#	src/Appwrite/Utopia/Response.php
2024-08-06 14:57:05 -04:00
Khushboo Verma
5eacde84ae Add value to variables template 2024-08-07 00:01:54 +05:30
Khushboo Verma
d4cb90c608 Addressed PR comments 2024-08-06 23:01:09 +05:30
Christy Jacob
a019ada0e7
Merge branch '1.6.x' into feat-mock-numbers-review 2024-08-06 19:32:30 +04:00
Bradley Schofield
9da682ec48 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-06 18:57:55 +09:00
Bradley Schofield
e51f912ab1 Address Jake's comments and add 0.5 cpu spec 2024-08-06 18:54:46 +09:00
Khushboo Verma
ccdfc8b1ea Resolve merge conflicts 2024-08-06 14:02:48 +05:30
Khushboo Verma
6691c985dd Add headers validator 2024-08-06 13:49:28 +05:30
Christy Jacob
ad9586e7c7
Merge pull request #8434 from appwrite/fix-redeployments
Fix: function redeployments
2024-08-05 17:38:44 +04:00
Christy Jacob
085efb02c5
Merge pull request #8445 from appwrite/fix-template-tags
Fix: template tags
2024-08-05 17:04:12 +04:00
Bradley Schofield
6415533365 Update Specifications.php 2024-08-05 18:01:28 +09:00
Bradley Schofield
fb474734fe Ditch using an enum, use class 2024-08-05 16:16:24 +09:00
Bradley Schofield
4c56de8348 Move specification enum into an autoloaded directory 2024-08-05 15:53:09 +09:00
Binyamin Yawitz
73ecec099d
feat: adding team email and changing base to noreplay 2024-08-02 08:59:47 -04:00
Matej Bačo
bb1371c1fa Update sdks to 1.6.x 2024-08-02 14:36:29 +02:00
Bradley Schofield
275ecc9f83 Fix specifications and make builds memory minimum 1024 2024-08-02 16:45:22 +09:00
Bradley Schofield
aa21a1a200 Update RuntimeSpecification.php 2024-08-02 12:05:07 +09:00
Bradley Schofield
dcbf8356c0 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-01 19:23:56 +09:00
Bradley Schofield
facb1ad174 Cleanup leftovers and use hook for determining billing stuff 2024-08-01 15:30:24 +09:00
Christy Jacob
654b73c966 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-07-31 20:41:42 +00:00
Bradley Schofield
2060d3f09c Rename everything to use specification instead of size 2024-07-31 20:27:32 +09:00
shimon
00fc34a2a4 get project db key by region 2024-07-31 13:23:51 +03:00
Bradley Schofield
198a7973c7 Implement Eldad's Suggestions 2024-07-31 15:21:07 +09:00
Binyamin Yawitz
821d0bee19
feat: Purging collection cache 2024-07-30 20:36:29 -04:00
Binyamin Yawitz
999c2cfac7
fix: reviews 2024-07-30 17:39:32 -04:00
Binyamin Yawitz
1559fec29a
fix: Increasing buckets metadata 2024-07-30 16:53:18 -04:00
shimon
29e169fe95 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-30 22:29:35 +03:00
Khushboo Verma
e3017a83e0
Merge branch '1.6.x' into fix-disabled-function-logging 2024-07-30 19:21:24 +05:30
Khushboo Verma
395f431718 Add endpoint to get template by ID 2024-07-30 17:16:45 +05:30
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
Matej Bačo
cb9e5bd0ae Upgrade VCS and support 0.1.x tags 2024-07-29 19:28:15 +02:00
Binyamin Yawitz
b884059ecd
refactor: Making sure database names remains the same as previous versions 2024-07-29 12:29:21 -04:00
Khushboo Verma
57bd180fd4 Make code verbose 2024-07-29 11:22:32 +05:30
Khushboo Verma
d43039387e Merge branch '1.6.x' into fix-disabled-function-logging 2024-07-29 11:19:36 +05:30
Bradley Schofield
16cd971682 Merge deployments and build storage metrics together 2024-07-29 12:03:41 +09:00
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
c924e417be Merge remote-tracking branch 'origin/1.6.x' into feat-expose-execution-schedule-date 2024-07-25 06:54:58 +00:00
Matej Bačo
0666ce2aad
Merge branch '1.6.x' into fix-router-dynamic-keys 2024-07-24 09:15:13 +02:00
Matej Bačo
c42a2bc5b7 PR review changes 2024-07-24 07:11:48 +00:00
Matej Bačo
ab55e6f511 Linter fix 2024-07-24 07:00:20 +00:00
Matej Bačo
51c163a42f Apply migrations properly 2024-07-24 06:55:36 +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
Bradley Schofield
cb0baee4ad
Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-07-24 12:00:17 +09:00
Christy Jacob
bcd3af90f0
Merge pull request #8394 from appwrite/feat-add-appwrite-region-env-var
Add APPWRITE_REGION in function variables
2024-07-23 23:46:55 +04:00
Matej Bačo
cb3c7505fe Fix Router dynamic keys 2024-07-23 14:28:13 +02:00
Khushboo Verma
12487e17b0 Merge branch '1.6.x' into feat-move-functions-marketplace-to-appwrite 2024-07-23 14:22:08 +05:30
Bradley Schofield
9e3c5b9368 Add variable runtimes sizes migrations 2024-07-22 19:40:05 +09: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
Christy Jacob
7614a356a2 feat: address review comments 2024-07-22 12:55:15 +04:00
Bradley Schofield
3a6df3c973 Merge branch '1.6.x' into feat-1.6.x-migrations-and-filters 2024-07-22 11:38:17 +09:00
Christy Jacob
711ca8801a feat: address review comments 2024-07-21 23:30:06 +04:00
shimon
2ef358e8dc linter 2024-07-21 09:27:12 +03:00
shimon
088ef769a5 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-21 09:23:33 +03:00
Binyamin Yawitz
916f58cd9d
fixes: Logger and Abuse timelimit 2024-07-19 14:19:30 -04:00
Binyamin Yawitz
f7a28bcf71
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/init.php
#	src/Appwrite/Migration/Migration.php
2024-07-19 09:59:08 -04:00
Khushboo Verma
1b5d815532 Add get function templates endpoint 2024-07-19 17:39:18 +05:30
Torsten Dittmann
8ad15b2df1 feat: base migration for 1.6.x 2024-07-19 13:53:42 +02:00
loks0n
5a56131efa chore: binyamin review 2024-07-19 10:22:50 +01:00
Binyamin Yawitz
850c17dde1
tests: Ensure stability 2024-07-18 11:51:09 -04:00
Binyamin Yawitz
0bdf75a4a0
chore: Update response models 2024-07-18 09:11:04 -04:00
loks0n
f02bf6ac5a feat: use coroutines delay system 2024-07-18 13:03:24 +01:00
Binyamin Yawitz
b245aab9d8
fix: Adjusting to coroutine 2024-07-17 15:59:25 -04:00
Binyamin Yawitz
8d66536e7f
fix: Adjusting 2024-07-17 15:34:57 -04:00
Binyamin Yawitz
d1af8cfbe0
feat: Extracting authentication cookie 2024-07-17 15:21:47 -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
Binyamin Yawitz
17c708a056
fix: Setting path for vsc function deployments 2024-07-17 13:44:07 -04:00
Bradley Schofield
efa1924f26 Run Linter 2024-07-17 18:00:41 +09:00
Bradley Schofield
83c4350395 Make scopes optional on functions 2024-07-17 17:58:25 +09:00
Bradley Schofield
667b69e146 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-07-17 17:04:04 +09:00
Bradley Schofield
7dec5f68be Update V21.php 2024-07-17 15:20:42 +09:00
Bradley Schofield
d78c880bf0 Update V21.php 2024-07-17 15:20:34 +09:00
Bradley Schofield
35375c42ad Fix typos 2024-07-17 14:54:37 +09:00
Bradley Schofield
5d6b74e447 Add migrations and filters for 1.6.x 2024-07-17 14:52:17 +09:00
Khushboo Verma
81eb0f8507 Small fix 2024-07-16 16:33:34 +05:30
Bradley Schofield
a57cc0a18e Address Christy's comments 2024-07-16 20:00:00 +09:00
Khushboo Verma
0970d784ff Handle false appended to string 2024-07-16 16:10:17 +05:30
Bradley Schofield
372ad6ce43 Update mbSeconds calculation to use cpu cores 2024-07-16 19:12:40 +09:00
Bradley Schofield
5f14500e48 Use Enums instead 2024-07-16 18:59:54 +09:00
Luke B. Silver
1025c575f6
Merge branch '1.6.x' into fix-build-size-limits 2024-07-16 10:23:44 +01:00
Bradley Schofield
e3b123d559 Implement Runtime Sizes instead of individual memory and cpu 2024-07-16 14:26:53 +09:00
Binyamin Yawitz
acef279091
refactor: headers to instance 2024-07-15 16:15:02 -04:00
Binyamin Yawitz
55d4cd2aa5
refactor: response models to static 2024-07-15 10:34:59 -04:00
loks0n
67fa2c9e39 feat: max build size 2024-07-15 10:53:29 +01:00
shimon
ada1746466 clean migration project cache 2024-07-15 12:20:01 +03:00