1
0
Fork 0
mirror of synced 2024-07-11 09:25:43 +12:00
Commit graph

9895 commits

Author SHA1 Message Date
Christy Jacob 8dfd41c31d
Merge pull request #6116 from appwrite/fix-migrations-worker
Fix migrations worker
2023-09-06 13:17:42 -04:00
Khushboo Verma 39a4447103 Update webhook secret check 2023-09-06 22:34:03 +05:30
Matej Bačo ed588a6475 linter fix 2023-09-06 18:45:22 +02:00
Christy Jacob db763b180c
Merge pull request #6142 from appwrite/fix-v2-functions
Fix: v2 functions
2023-09-06 12:43:51 -04:00
Matej Bačo 6964477429 Increase labels maximum limit 2023-09-06 18:15:03 +02:00
Matej Bačo 0d4957009f Fix bug with autossl generator 2023-09-06 10:42:01 +02:00
Matej Bačo adb4c72a9c Fix project internal ID 2023-09-06 10:31:40 +02:00
Matej Bačo 0d6abda431 Fix autossl domain query 2023-09-06 10:27:21 +02:00
Matej Bačo 1268427c5f Upgrade OPR versions 2023-09-06 10:26:27 +02:00
Khushboo Verma 0fbe9d6ce9 Revert allowing empty string in path 2023-09-06 13:46:01 +05:30
Matej Bačo 6594d64c12 Fix indentation 2023-09-06 10:13:56 +02:00
Matej Bačo a782636e13 Add safety defaults to funcions worker 2023-09-06 10:10:03 +02:00
Matej Bačo 933f9631d5 Fix v2 endpoint description 2023-09-06 10:00:04 +02:00
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
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 1a6530fb57 Fix project variables 2023-09-05 10:21:36 +02: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 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 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 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 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 61c054c20b chore: update deps 2023-09-01 15:25:16 -04:00
Christy Jacob 03073d50fc Merge branch '1.4.x' of github.com:appwrite/appwrite into chore-cleanup-dockerfile 2023-09-01 15:24:02 -04: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
Christy Jacob aebbafcb0f Merge branch '1.4.x' of github.com:appwrite/appwrite into chore-update-sdks 2023-09-01 13:25:42 -04:00
Christy Jacob dcdfeed391 Merge branch 'master' of github.com:appwrite/appwrite into chore-update-sdks 2023-09-01 13:25:27 -04:00
Khushboo Verma 7013bc94a6 Fix events triggering functions and path not a string bugs 2023-09-01 21:15:53 +05:30
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
Christy Jacob 7f42ca2b7b chore: generate specs 2023-08-31 21:52:28 -04:00
Christy Jacob bf4444b045 chore: update sdks for apwrite 1.4.1 2023-08-31 18:08:24 -04:00
Jake Barnby fdb7218978
Update firebase connect scope 2023-08-30 22:48:51 -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
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
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 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 f10698aebe
Merge pull request #6073 from appwrite/chore-update-version
Chore update version
2023-08-30 16:25:06 -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 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 a93123e3ac
Remove cloud specific config 2023-08-30 14:45:22 -04:00
Jake Barnby fc3ff188b1
Fix VCS + migrations scopes 2023-08-30 14:44:33 -04:00
Christy Jacob cc8aa27fea feat: update specs 2023-08-30 12:36:47 -04:00
Torsten Dittmann 367dbdc132 chore: upgrade console 2023-08-30 16:40:17 +02:00
Torsten Dittmann 3b2cb9b868
Merge pull request #6059 from appwrite/fix-smtp
Fix smtp
2023-08-30 16:09:10 +02:00
Torsten Dittmann e507fb6715 fix: hide services from server/client sdks 2023-08-30 13:28:43 +02:00
Torsten Dittmann 0d547ebf75 feat: upgrade console to 3.0.0 2023-08-30 11:20:04 +02:00
Torsten Dittmann 0427c2e4eb chore: generate 1.4.x specs 2023-08-30 11:19:55 +02:00
Eldad A. Fux 7835fa9bbc
Update app/controllers/api/proxy.php 2023-08-30 09:43:23 +03:00
Eldad A. Fux 75a9b2c1c5
Update app/controllers/api/console.php 2023-08-30 09:43:11 +03:00
Jake Barnby ff16fd7d9c
Check link after fetching page as well 2023-08-30 02:14:19 -04:00
Jake Barnby 085b50be8b
Check if host is public domain before requesting 2023-08-30 02:04:52 -04:00
Jake Barnby d3929a5bae
Fix forced username and password requirement 2023-08-30 01:31:02 -04:00
Jake Barnby e3a9fae033
Fix maildev auth 2023-08-30 00:56:08 -04:00
Jake Barnby 129f942164
Remove advanced realtime features 2023-08-30 00:33:35 -04:00
Jake Barnby 3d0ae4b9d9
Remove invites codes 2023-08-30 00:31:38 -04:00
Jake Barnby a1d0b67c6b
Fix SMTP 2023-08-30 00:30:44 -04:00
Jake Barnby 3f3d518f36
Merge remote-tracking branch 'origin/1.4.x' into feat-git-integration
# Conflicts:
#	docker-compose.yml
2023-08-29 14:40:46 -04:00
Jake Barnby cfdc9dff1b
Remove cloud specific config 2023-08-29 14:25:00 -04:00
Jake Barnby 860d6854b1
Merge pull request #6053 from appwrite/feat-git-integration-no-hook
Disable swoole curl hook
2023-08-29 13:44:27 -04:00
Jake Barnby 07f8e9411a
Apply suggestions from code review 2023-08-29 13:41:40 -04:00
Khushboo Verma 1293e7bc5f Optimised list repositories endpoint 2023-08-29 23:07:34 +05:30
Jake Barnby 8530830d90
Clean up 2023-08-29 12:01:37 -04:00
Jake Barnby 84177b0fb0
Merge remote-tracking branch 'origin/feat-git-integration' into feat-git-integration-no-hook 2023-08-29 11:59:44 -04:00
Matej Bačo 80205bcfd3 Merge branch 'feat-git-integration' of https://github.com/appwrite/appwrite into feat-git-integration 2023-08-29 12:27:03 +02:00
Matej Bačo 4a1602cad3 Upgrade console 2023-08-29 12:26:41 +02:00
Matej Bačo ca40bf6702 Merge branch 'feat-git-integration' into fix-smtp-behaviour 2023-08-29 11:41:15 +02:00
Matej Bačo c98d5bd3cd Fix SMTP after QA 2023-08-29 11:40:30 +02:00
Torsten Dittmann 4f630e90b3 chore: update specs 2023-08-29 10:56:32 +02:00
Jake Barnby 0a1ab4ae60
Add back codes env var 2023-08-28 22:24:52 -04:00
Jake Barnby aff9dbfb31
Disable swoole curl hook 2023-08-28 21:14:37 -04:00
Jake Barnby 08ab9b016e
Fix render called on string 2023-08-28 20:06:34 -04:00
Jake Barnby ece93a14e5
Fix install task 2023-08-28 18:09:37 -04:00
Matej Bačo ec174c179f Update compose.phtml 2023-08-28 16:23:16 +02:00
Matej Bačo d4acbcf4f0 Add domain_enabled var 2023-08-28 16:08:50 +02:00
Matej Bačo f130a9ebc9 linter fix 2023-08-28 14:21:35 +02:00
Matej Bačo 89c9f8da6a Implement proper behaviour for SMTP sender 2023-08-28 14:19:37 +02:00
Bradley Schofield c566843518 Style Changes 2023-08-28 09:35:26 +01:00
Bradley Schofield 82f400d177 Add more HTML back 2023-08-28 09:03:55 +01:00
Bradley Schofield 88d48715c5 Run Linter 2023-08-28 06:53:26 +01:00
Bradley Schofield 11dca76a70 Update teams.php 2023-08-28 06:53:02 +01:00
Bradley Schofield 1be5f58fd9 Update account.php 2023-08-28 06:14:43 +01:00
Bradley Schofield ee0563c46f Cover other routes and cleanup code 2023-08-28 06:09:28 +01:00
Bradley Schofield 1f1e7dd397 Remove Testing Bypasses 2023-08-28 05:55:40 +01:00
Bradley Schofield 608b6b3847
Continue work 2023-08-27 23:45:37 +01:00
Matej Bačo 596e59f2cc response format fix, smtp QA fixes 2023-08-25 17:13:25 +02:00
Matej Bačo 293e44e91e Introduce SMTP ping timeout 2023-08-24 13:04:49 +02:00
Jake Barnby 55deaec8b2
Fix missing env 2023-08-23 17:53:24 -04:00
Jake Barnby 7636fe23ac
Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-23 16:19:55 -04:00
Jake Barnby 0e7a136cf8
Fix deletes worker crash 2023-08-23 16:19:22 -04:00
Khushboo Verma ff2ec8a93b Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-24 01:09:40 +05:30
Khushboo Verma 46852392b3 Added github console env variables to docker-compose 2023-08-24 01:09:02 +05:30
Jake Barnby 0a5b0fa06b
Fix functions worker crash 2023-08-23 15:08:26 -04:00
Matej Bačo 06ba381b57 Merge branch 'feat-git-integration' of https://github.com/appwrite/appwrite into feat-git-integration 2023-08-23 20:35:29 +02:00
Bradley Schofield bdd84735dd
Add Migrations and Assistant env vars 2023-08-23 14:00:21 +01:00
Matej Bačo 34a2ed3426 Update variables.php 2023-08-23 14:53:27 +02:00
Matej Bačo 8802e318d5 Fix pools resource 2023-08-23 13:52:17 +02:00
Matej Bačo d3a9766c4f Sync env & storage setup with 1.4.x 2023-08-23 12:08:48 +02:00
Matej Bačo bdc9cb5bb5 QA changes 2023-08-23 10:29:01 +02:00
Matej Bačo 5be66c3c11 Linter fix 2023-08-23 10:16:52 +02:00
Matej Bačo 43b1c196e0 Merge branch 'feat-git-integration' into feat-git-integration-copy 2023-08-23 10:16:23 +02:00
Jake Barnby 0639ac1ab3
Fix builds worker trying to update documents that don't exist 2023-08-23 00:43:23 -04:00
Jake Barnby b58c34a052
Add global scope to fix invalid routes getting 401 instead of 404 2023-08-22 22:42:04 -04:00
Jake Barnby 3ec84986b2
Fix project imports 2023-08-22 22:04:36 -04:00
Jake Barnby 2286c7a4b7
Fix param order 2023-08-22 22:03:12 -04:00
Jake Barnby 83cd30c63c
Fix API keys missing public scope 2023-08-22 21:50:40 -04:00
Jake Barnby c99288229f
Add back missing route 2023-08-22 21:36:32 -04:00
Jake Barnby 537756551e
Fix missing accessedAt 2023-08-22 21:36:04 -04:00
Jake Barnby 339893f4f1
Fix param order 2023-08-22 21:35:27 -04:00
Jake Barnby 43ba14fb75
Fix console tests 2023-08-22 21:35:00 -04:00
Jake Barnby a84e669a1f
Add missing accessedAt values when creating users 2023-08-22 21:34:23 -04:00
Jake Barnby 41faa7420f
Fix diff 2023-08-22 19:25:07 -04:00
Jake Barnby b66734e49b
Revert commented vars 2023-08-22 19:19:46 -04:00
Jake Barnby 39ef0cc3c9
Merge remote-tracking branch 'origin/feat-git-integration' into feat-git-integration-update-migration
# Conflicts:
#	app/controllers/api/proxy.php
#	composer.lock
2023-08-22 18:07:11 -04:00
Jake Barnby efd25d6a70
Merge remote-tracking branch 'origin/feat-git-integration' into feat-framework-router-v2
# Conflicts:
#	app/controllers/api/users.php
#	composer.json
#	composer.lock
#	tests/e2e/Services/Storage/StorageBase.php
2023-08-22 17:58:42 -04:00