Commit Graph
5982 Commits
Author SHA1 Message Date
prateek banga f472ae578f Merge branch 'feat-add-messaging-response-models' of https://github.com/appwrite/appwrite into feat-messages-event-config 2023-09-13 17:02:56 +05:30
prateek banga 9b6fc440d9 Review changes and adds enabled in providers collection 2023-09-13 16:57:59 +05:30
Prateek Banga 420eb8857a Merge branch 'feat-mailgun-provider' of https://github.com/appwrite/appwrite into feat-topics-controller 2023-09-13 00:07:32 +05:30
Prateek Banga 6affa6b5a0 Merge branch 'feat-messages-event-config' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-09-13 00:07:09 +05:30
Prateek Banga a723744b06 Merge branch 'feat-add-messaging-response-models' of https://github.com/appwrite/appwrite into feat-messages-event-config 2023-09-13 00:06:49 +05:30
Prateek Banga 11a458f1df change providers to authProviders in remaining places 2023-09-13 00:06:18 +05:30
Binyamin Yawitz 5cb03da001 Extracting function event validator to its own class. 2023-09-11 23:24:11 -04:00
Prateek Banga 996de004fb Merge branch 'feat-mailgun-provider' of https://github.com/appwrite/appwrite into feat-topics-controller 2023-09-11 20:41:52 +05:30
Prateek Banga ddbee0a55b Merge branch 'feat-messages-event-config' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-09-11 20:41:12 +05:30
Prateek Banga 8957640d27 Merge branch 'feat-add-messaging-response-models' of https://github.com/appwrite/appwrite into feat-messages-event-config 2023-09-11 20:40:32 +05:30
Prateek Banga 78a2f6f246 review changes 2023-09-11 20:36:43 +05:30
Prateek Banga a59cfb6461 review changes 2023-09-11 20:30:21 +05:30
Jake Barnby d4f6b99ee2 Fix mock enum endpoint 2023-09-07 19:25:42 -04:00
Christy JacobandSteven Nguyen b9675f736b Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 23:32:49 -04:00
Christy Jacob 732a2b4a98 chore: linter 2023-09-06 22:10:43 +00:00
Christy Jacob 4250a634d3 Merge branch 'fix-migration-issues' of https://github.com/appwrite/appwrite into fix-migration-issues 2023-09-06 22:08:55 +00:00
Christy Jacob c439202d3c chore: review comments 2023-09-06 22:08:26 +00:00
Christy JacobandSteven Nguyen d96a6d7883 Apply suggestions from code review
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 18:06:31 -04:00
Christy Jacob ec9ecb6cd4 chore: linter 2023-09-06 20:08:07 +00:00
Christy Jacob 430ec73a98 fix: incorrect attribute name 2023-09-06 20:01:43 +00:00
Christy Jacob aac46cd5fe fix: migration issues 2023-09-06 19:59:42 +00:00
Christy Jacob 5cfabc7a12 fix: migrations fix and update changelog 2023-09-06 19:25:07 +00:00
Christy Jacob 11f2ee8a1c feat: prep for 1.4.2 2023-09-06 18:22:04 +00:00
Christy Jacob 4ea0541623 Merge pull request #6150 from appwrite/fix-global-vars
Fix: Global variables
2023-09-06 13:51:13 -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 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
prateek banga 3d286a2171 Merge branch 'feat-mailgun-provider' into feat-topics-controller 2023-09-05 23:10:59 +05:30
prateek banga 38d81c058b lint fix 2023-09-05 23:10:33 +05:30
prateek banga 6aa443454b Merge branch 'feat-mailgun-provider' of https://github.com/appwrite/appwrite into feat-topics-controller 2023-09-05 22:58:43 +05:30
prateek banga 597fd965f7 Merge branch 'feat-add-messaging-response-models' of https://github.com/appwrite/appwrite into feat-messages-event-config 2023-09-05 22:57:48 +05:30
prateek banga 78a53aee37 adds messaging event and updates messaging worker 2023-09-05 22:40:48 +05:30
shimon ec93239630 Merge branch 'master' of github.com:appwrite/appwrite into refactor-cache-poc
 Conflicts:
	app/config/collections.php
	app/controllers/api/storage.php
	app/controllers/shared/api.php
	app/init.php
	app/workers/deletes.php
2023-09-05 19:19:59 +03:00
Matej Bačo 79726dbfb6 Fix formatting 2023-09-05 13:16:20 +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
prateek banga 01d5984965 Merge branch 'feat-add-messaging-response-models' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-09-05 13:34:10 +05:30
prateek banga 1a791f46e6 adds default in provider response model 2023-09-05 13:33:22 +05:30
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
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
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
Christy Jacob 31a7cca906 chore: add missing env variable 2023-09-01 17:08:51 -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
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