1
0
Fork 0
mirror of synced 2024-08-03 04:21:46 +12:00
Commit graph

17740 commits

Author SHA1 Message Date
Matej Bačo
9060aa1ba7 Remove unnessessary cache clear 2023-09-06 09:53:02 +02:00
Khushboo Verma
af4be4051f Skip validation if webhook secret is empty 2023-09-06 13:12:27 +05:30
Matej Bačo
cafe792879 Fix API returning html 2023-09-06 09:34:02 +02:00
Christy Jacob
7b448527a6
Merge pull request #6157 from appwrite/feat-migrations-team-fix
Make URL optional for Create Membership API and Serverside Requests
2023-09-06 00:23:54 -04:00
Christy Jacob
8e204f7105
Merge pull request #6153 from appwrite/fix-ai-assistant
Fix: AI Assistant
2023-09-06 00:08:27 -04:00
Christy Jacob
30713f58f9
Merge pull request #6146 from appwrite/fix-create-function-request-filter
Fix create execution request filter from previous SDK version
2023-09-05 23:50:08 -04:00
Christy Jacob
557513c3ee
Merge pull request #6160 from appwrite/fix-restore-executor-hostname
Change executor hostname back to appwrite-executor
2023-09-05 19:46:30 -04:00
Steven Nguyen
970c586c76
Change executor hostname back to appwrite-executor 2023-09-05 16:43:59 -07:00
Christy Jacob
53b1c87c6e
Merge pull request #6141 from appwrite/fix-overwrite-executor-variable
Fix _APP_EXECUTOR_HOST for upgrades
2023-09-05 19:35:31 -04:00
Christy Jacob
167af9f370
Merge pull request #6145 from appwrite/feat-6136-improve-router_domain_not_configured-error
Update the error message for router_domain_not_configured
2023-09-05 19:25:38 -04:00
shimon
f246d4d6e5 removed $route->setIsActive(false);
from cache output
2023-09-05 21:21:24 +03:00
Steven Nguyen
d4f6c5f491
Update the error message for router_domain_not_configured
Explicitly list the environment variables that need to be configured to
make it clear what needs to be done.
2023-09-05 11:18:15 -07:00
Bradley Schofield
8357d20be7 Make URL optional for API and Serverside Requests 2023-09-05 19:13:47 +01:00
shimon
a46879f1cb cache key reformat 2023-09-05 18:29:11 +03:00
Matej Bačo
cda58d2256 Re-add automatic ssl generation 2023-09-05 17:09:54 +02:00
Matej Bačo
f4ada97d1a Allow any hostname, and serve API+Console by default 2023-09-05 17:02:07 +02:00
Matej Bačo
ac62641f5a Add assistant scole to console member 2023-09-05 15:55:13 +02:00
Matej Bačo
9a1d13f9db Add v2 function test 2023-09-05 15:47:59 +02:00
Matej Bačo
8e509efcec Add global env var test 2023-09-05 13:55:02 +02:00
Matej Bačo
79726dbfb6 Fix formatting 2023-09-05 13:16:20 +02:00
Matej Bačo
268bfca928 Fix differences between compose files 2023-09-05 12:28:08 +02:00
Matej Bačo
5538c47b3f Improve installation exception when missconfigured 2023-09-05 12:14:43 +02:00
Matej Bačo
1b9236ba3f Improve VCS error when creating repository 2023-09-05 11:48:23 +02:00
Matej Bačo
1a6530fb57 Fix project variables 2023-09-05 10:21:36 +02:00
Christy Jacob
3c649ba56d
Merge pull request #6148 from appwrite/fix-6126-scheduled-functions
Add required params for scheduled functions
2023-09-04 21:57:19 -04:00
Christy Jacob
5c1d29d683
Merge pull request #6133 from appwrite/fix-git-not-found
Fix Not Found error when deploying function from git
2023-09-04 20:34:23 -04:00
Steven Nguyen
4c90b6bb1c
Add required params for scheduled functions 2023-09-04 17:02:17 -07:00
Steven Nguyen
65e2e79457
Fix create execution request filter from previous SDK version
When an older SDK executes a function without passing any data, the
data param is unset/null so we need to make sure to handle that case.
2023-09-04 16:10:49 -07:00
Christy Jacob
4e00f61519
Merge pull request #6144 from appwrite/fix-cache-migration
Override forEachDocument() to skip the cache collection
2023-09-04 18:03:47 -04:00
Steven Nguyen
ceb1188e8a
Override forEachDocument() to skip the cache collection
Skip the cache collection because:

1. There may be * in the $id of the document which causes problems
   when paginating with a cursor.
1. Nothing was done to the cache collection so we don't need to process
   it.
2023-09-04 13:25:27 -07:00
Steven Nguyen
3c7c44adda
Fix _APP_EXECUTOR_HOST for upgrades
As of 1.4.0, the hostname of the executor should be executor rather than
appwrite-executor. The problem is our install command always uses the
existing installation's variable values as the default for the upgrade.
This means the _APP_EXECUTOR_HOST will retain it's old value.

This PR Adds an overwrite key to variables.php to allow overwriting the
variable value regardless of whatever was in the previous installation.
2023-09-04 11:06:43 -07:00
Matej Bačo
7588a9c4ec Make v2 functions work again 2023-09-04 19:53:25 +02:00
Christy Jacob
22745e0418
Merge pull request #6125 from appwrite/fix-functions-backwards-compatibility
Fix CLI backwards compatibility
2023-09-04 12:28:03 -04:00
Steven Nguyen
c7929572f3
Fix builds migration 2023-09-04 09:04:15 -07:00
Steven Nguyen
605ee2f7c5
Update create deployment default commands
Default to function commands only if commands weren't supplied.
2023-09-04 09:04:15 -07:00
Christy Jacob
a1c278e34e
Merge pull request #6134 from appwrite/fix-create-phone-session-abuse-key
Fix create phone session abuse key
2023-09-03 17:41:54 -04:00
Steven
62065a1c33 Fix create phone session abuse key
Create phone session doesn't have anything to do with email. The key
name should be email just for clarity (even though, technically, it
doesn't matter).
2023-09-03 21:37:02 +00:00
Steven
397d6350cd Fix Not Found error when deploying function from git 2023-09-03 21:25:32 +00:00
Steven Nguyen
87b0851092
Fix executions migrations 2023-09-02 19:13:15 -07:00
Steven Nguyen
9aeb15c337
Fix variables migration
Set new resourceType attribute to function since all variables were
function variables.
2023-09-02 18:35:26 -07:00
Steven Nguyen
f317d33fc7
Skip migrating domains without project because it would throw an error 2023-09-02 18:06:50 -07:00
Steven Nguyen
03c2a16306
Fix update migrations for functions and deployments
- Create additional attributes for the deployments collection.
- Set the commands attribute for the functions and deployments based on
  runtime.
2023-09-02 17:29:38 -07:00
Steven Nguyen
a609759951
Make runtime optional when updating a function
This is important for backwards compatibility since it wasn't possible
to update a function runtime in previous versions and it was never
included in the request.
2023-09-02 16:37:40 -07:00
Jake Barnby
07fc59b5f3
Add migrations worker 2023-09-01 19:17:37 -04:00
Christy Jacob
f4cba83072 chore: update default env variables 2023-09-01 18:46:49 -04:00
Christy Jacob
fad4bfcb1c chore: move env variable to dockerfile 2023-09-01 17:18:52 -04:00
Christy Jacob
b3807e6e22 chore: move env variable to dockerfile 2023-09-01 17:17:58 -04:00
Christy Jacob
036b565f8f chore: add missing env variable 2023-09-01 17:09:15 -04:00
Christy Jacob
31a7cca906 chore: add missing env variable 2023-09-01 17:08:51 -04:00
Christy Jacob
3fd77bdda7 chore: revert composer.lock 2023-09-01 15:29:30 -04:00