-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.x #6135
1.4.x #6135
Conversation
When a previous installation is found during installation/upgrade, the user is prompted to confirm whether they want to overwrite it. We originally only accepted 'Y', but this PR changes it to accept 'y' as well to reduce friction.
…firm Make install confirmation case insensitive
The method has been removed since it's no longer necessary.
Because of the `getAttributes()` call, `$fileSecurity` was always true which lead to invalid permission check. This resulted in files being deleted when a user had delete permissions on the file even though they didn't on the bucket.
Remove route setIsActive() call
Update migration script to not remove schedule from functions
Fix fileSecurity check
Fix events not triggering functions and path not a string bugs
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.
- Create additional attributes for the deployments collection. - Set the commands attribute for the functions and deployments based on runtime.
Set new resourceType attribute to function since all variables were function variables.
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).
…-key Fix create phone session abuse key
Default to function commands only if commands weren't supplied.
…ibility Fix CLI backwards compatibility
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.
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.
Override forEachDocument() to skip the cache collection
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.
Fix Not Found error when deploying function from git
Add required params for scheduled functions
Functions created by schedule or event should have the respective trigger.
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
…nto fix-migration-issues
fix: migration issues
Fix function trigger
Fix: Function redeploys
Fix guests missing global scope
@@ -59,13 +60,13 @@ | |||
'migrations.write', | |||
'vcs.read', | |||
'vcs.write', | |||
'assistant.read', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does removing this mean console can't access the assistant scope?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How? The route is only available for admin auth but admin doesn't have the scope required 🤔
- _APP_DB_PASS | ||
|
||
appwrite-assistant: | ||
image: appwrite/assistant:0.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be 0.2.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.2.1 added dotenv which should only be used for dev so we're okay without it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea we can
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it required to read the API key from the env?
What does this PR do?
Preparations for Appwrite 1.4.2
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist