1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00
Commit graph

17277 commits

Author SHA1 Message Date
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
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 f47aa91ff1
Merge pull request #6109 from appwrite/fix-1.4-bugs
Fix events not triggering functions and path not a string bugs
2023-09-01 15:15:55 -04:00
Jake Barnby 017cd75071
Merge pull request #6102 from appwrite/fix-file-security-check
Fix fileSecurity check
2023-09-01 15:11:03 -04:00
Jake Barnby 1dc2c08e15
Merge pull request #6095 from appwrite/fix-function-schedule-migration
Update migration script to not remove schedule from functions
2023-09-01 15:06:37 -04:00
Khushboo Verma 7013bc94a6 Fix events triggering functions and path not a string bugs 2023-09-01 21:15:53 +05:30
Torsten Dittmann 1b2cda81d0
Merge pull request #6101 from appwrite/fix-remove-route-setisactive
Remove route setIsActive() call
2023-09-01 10:13:37 +02:00
Steven Nguyen 9bc6011876
Fix fileSecurity check
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.
2023-08-31 20:28:13 -07:00
Steven Nguyen 073172d84b
Remove route setIsActive() call
The method has been removed since it's no longer necessary.
2023-08-31 19:18:13 -07:00
Jake Barnby 36698d180c
Merge pull request #6097 from appwrite/feat-6094-case-insensitive-confirm
Make install confirmation case insensitive
2023-08-31 15:30:14 -04:00
Steven Nguyen dcc676a0c9
Make install confirmation case insensitive
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.
2023-08-31 12:25:42 -07:00
Steven Nguyen c8d6ac0267
Update migration script to not remove schedule from functions 2023-08-31 08:40:53 -07:00
Jake Barnby 458dd8c97d
Merge pull request #6084 from appwrite/chore-update-migrations
Chore update migrations
2023-08-31 00:21:57 -04:00
Jake Barnby ebf942339a
Update migrations version 2023-08-31 00:14:34 -04:00
Christy Jacob 60df7af3f7
Merge pull request #6083 from appwrite/refactor-migration-connect-scope
Update firebase connect scope
2023-08-31 06:50:58 +04:00
Jake Barnby fdb7218978
Update firebase connect scope 2023-08-30 22:48:51 -04:00
Jake Barnby 2fb7a1c862
Merge pull request #6081 from appwrite/fix-sender-name
Fix swapped from/to name
2023-08-30 20:55:59 -04:00
Jake Barnby 781aa8025a
Fix style typo 2023-08-30 20:39:40 -04:00
Jake Barnby 922332042e
Fix template strings 2023-08-30 20:31:11 -04:00
Jake Barnby 7e2e7ce3cb
Fix swapped from/to name 2023-08-30 20:20:20 -04:00
Jake Barnby 02c16040ff
Merge pull request #6079 from appwrite/fix-500-options-requests
Fix router error
2023-08-30 19:28:45 -04:00
Steven Nguyen ac0b697d52
Add router fix to CHANGES.md 2023-08-30 16:08:17 -07:00
Steven Nguyen 24efa0de82
Fix router error
It's possible for the route to be null (no match) which leads to an
error like:

```
appwrite  | [Error] Timestamp: 2023-08-30T21:39:58+00:00
appwrite  | [Error] Type: Error
appwrite  | [Error] Message: Call to a member function label() on null
appwrite  | [Error] File: /usr/src/code/app/controllers/general.php
appwrite  | [Error] Line: 50
```

This adds a null check to prevent the error.
2023-08-30 16:07:11 -07:00
Jake Barnby 589e4f5c7d
Merge pull request #6077 from appwrite/fix-email-templates
fix: missing variable in email templates
2023-08-30 18:47:02 -04:00
Christy Jacob 61e1c3014a fix: incorrect key reference 2023-08-30 18:44:29 -04:00
Christy Jacob 5dbec3d406 chore: remove redundant attribute 2023-08-30 18:43:09 -04:00
Christy Jacob 997cb01142 chore: revert console 2023-08-30 18:42:31 -04:00
Christy Jacob 4e19c94d08 Merge branch '1.4.x' of github.com:appwrite/appwrite into fix-email-templates 2023-08-30 18:40:39 -04:00
Christy Jacob 21dc3b16b0 chore: update changelog 2023-08-30 18:36:40 -04:00
Christy Jacob 861921526e fix: remove redundant name property 2023-08-30 18:34:20 -04:00
Jake Barnby fec3fc3597
Merge pull request #6078 from appwrite/fix-mock-headers
Fix mock headers
2023-08-30 18:05:09 -04:00
Jake Barnby b2f9506130
Update app/controllers/mock.php 2023-08-30 17:57:38 -04:00
Jake Barnby b77d83d246
Add back headers route 2023-08-30 17:55:27 -04:00
Christy Jacob 74012158b3 fix: variable names 2023-08-30 17:54:26 -04:00
Christy Jacob 05615d1449 fix: missing variable in email templates 2023-08-30 17:52:55 -04:00
Christy Jacob 75e957ed4a fix: missing variable in email templates 2023-08-30 17:48:25 -04:00
Jake Barnby 31bff542e9
Merge pull request #6076 from appwrite/fix-domains-migration
Fix domains migration
2023-08-30 17:30:12 -04:00
Steven Nguyen bd89fd4bf5
Fix domains migration
The previous approach tried to migrate the 'rules' collection, but that
didn't work because the data was in the 'domains' collection.

Since the 'domains' collection was removed, the migration is now done
when migrating the 'projects' collection by fetching the domains and
then creating the rule documents.
2023-08-30 14:22:06 -07:00
Jake Barnby f10698aebe
Merge pull request #6073 from appwrite/chore-update-version
Chore update version
2023-08-30 16:25:06 -04:00
Jake Barnby 726b13bc66
Merge pull request #6074 from appwrite/chore-sync-master
Chore sync master
2023-08-30 16:24:26 -04:00
Jake Barnby 513d913298
Merge remote-tracking branch 'origin/1.4.x' into chore-sync-master
# Conflicts:
#	app/config/specs/open-api3-1.4.x-console.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-1.4.x-console.json
#	app/config/specs/swagger2-latest-console.json
2023-08-30 16:11:48 -04:00
Jake Barnby 24bd21e980
Update version 2023-08-30 16:05:51 -04:00
Jake Barnby e018c29b71
Bump .NET SDK version 2023-08-30 15:48:01 -04:00
Jake Barnby afbc39b34b
Update version 2023-08-30 15:45:38 -04:00
Jake Barnby 56da28a180
Merge pull request #6068 from appwrite/feat-upgrade-task
Feat upgrade task
2023-08-30 15:34:28 -04:00