1
0
Fork 0
mirror of synced 2024-08-19 12:11:55 +12:00
Commit graph

3679 commits

Author SHA1 Message Date
Christy Jacob
d33b8c2ce1
Merge branch '1.4.x' into fix-null-password-history 2023-11-09 07:44:44 -08:00
shimon
91fed7a255 editing the response models 2023-11-09 12:54:33 +02:00
Bradley Schofield
56310bc4fa
Merge branch 'main' into fix-null-password-history 2023-11-09 10:41:17 +00:00
Steven Nguyen
0c264a107a
Merge branch '1.4.x' into fix-4797-verified-user-getting-email-verifications 2023-11-08 17:37:43 -08:00
Christy Jacob
fcf9e9c4d0
Merge pull request #7066 from appwrite/fix-vcs-documents-not-deleted
Delete linked VCS repos and comments
2023-11-08 14:28:45 -08:00
德华 刘
2bf247053d chore: address review comments 2023-11-08 21:59:29 +00:00
shimon
d54615d376 project.php 2023-11-08 18:12:36 +02:00
Khushboo Verma
05ab73ee37 Update download limit to 5 MB 2023-11-08 17:12:07 +05:30
Khushboo Verma
e461a4f14b Added max download limit of 1 GB 2023-11-08 16:09:17 +05:30
shimon
0f3c438976 added inf metric 2023-11-08 12:05:51 +02:00
shimon
ad63a377ab added inf metric 2023-11-08 11:09:32 +02:00
Khushboo Verma
365c520267 Fixed linter error 2023-11-08 12:41:16 +05:30
Khushboo Verma
698bce2c36 Limit max redirects to 5 2023-11-08 12:32:48 +05:30
Bradley Schofield
44cbfb2769 Add null check to hash 2023-11-07 16:17:14 +00:00
Khushboo Verma
018800c7ae Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-07 13:02:25 +05:30
shimon
f64d0ab8a8 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	composer.lock
	src/Appwrite/Migration/Migration.php
2023-11-05 17:03:13 +02:00
Steven Nguyen
30b8ff9166 Add pagination to listByGroup to fix infinite loop problem 2023-11-03 17:47:52 +00:00
Steven Nguyen
03da0380ea Ensure schedules for deleted projects are deleted 2023-11-03 17:47:16 +00:00
Khushboo Verma
4a3b8fb70e Change projectId to projectInternalId 2023-11-03 15:32:50 +05:30
Khushboo Verma
9be32184d6 Refactor loop 2023-11-03 14:54:51 +05:30
Bradley Schofield
e158d134b0 Merge branch 'main' into feat-improve-migration-validations 2023-11-02 10:48:38 +00:00
shimon
1c1028412a refactor users, project, functions usage display 2023-11-01 20:44:06 +02:00
shimon
04290730b2 refactor storage, databases usage display 2023-11-01 17:20:12 +02:00
Khushboo Verma
d95e4790a0 Delete VCS documents when project is deleted 2023-11-01 15:06:28 +05:30
Khushboo Verma
8798d183bd Merge branch '1.4.x' into fix-vcs-documents-not-deleted 2023-11-01 14:41:07 +05:30
Khushboo Verma
64630490a5 Delete linked VCS repos and comments on function deletion 2023-11-01 14:36:31 +05:30
Jake Barnby
3652ab61d8
Revert "Enum tests"
This reverts commit 74450b1178.
2023-11-01 21:02:42 +13:00
Jake Barnby
74450b1178
Enum tests 2023-11-01 18:29:54 +13:00
Steven Nguyen
755699de8a
Bump appwrite version to 1.4.9 2023-10-31 12:40:45 -07:00
Steven Nguyen
c4e22b1085
Fix warning when cookie is null 2023-10-31 18:25:35 +00:00
Khushboo Verma
ce6d873cf4 Added cURL timeout and not store response data for webhooks 2023-10-31 15:55:11 +05:30
Steven Nguyen
c1df289df7
Bump appwrite version to 1.4.8 2023-10-27 10:31:43 -07:00
Christy Jacob
24824e1582
Merge pull request #7015 from appwrite/feat-delete-orphaned-projects
Feat delete orphaned projects
2023-10-27 20:21:52 +04:00
shimon
75484fa018 $collectionsConfig fix 2023-10-27 19:07:27 +03:00
shimon
917a4e9ab1 $collectionsConfig fix 2023-10-27 19:06:16 +03:00
Christy Jacob
bcdebee598
Merge pull request #7024 from appwrite/fix-cookie-header
Fix: Cookie Header
2023-10-27 19:36:05 +04:00
Matej Bačo
71807635b3 Move cookie-header logic to request 2023-10-27 17:23:43 +02:00
shimon
07ef5535ef dry run 2023-10-27 18:23:41 +03:00
Steven Nguyen
7c1ab91ebc
Add support for variables in email template subject 2023-10-26 16:58:31 -07:00
Steven Nguyen
fc4fa977a0
Update emails from certificate worker to match pattern of other emails
Since the certificate worker is sending a job to the mails worker just
like the controllers, it should prepare the email in the same way by
localizing and then sending the inner template for the mail worker to
apply the layout and final variables.

This commit also fixes a problem with a missing subject.
2023-10-26 16:56:44 -07:00
Steven Nguyen
836ce852ed
Refactor email templates
Update the mails worker to only be responsible for building the final
email using the base (layout) template and the user, team, project, and
redirect variables.

It is the responsibility of the controller to perform localization and
determine whether a custom or default email template should be used.
If the default one is used, it has to be rendered using the hello,
footer, thanks, and signature variables so that it matches the custom
template. Then, it can be sent to the worker.
2023-10-26 16:47:14 -07:00
Steven Nguyen
70a3820009
Remove unused mail vars 2023-10-26 16:23:58 -07:00
Torsten Dittmann
c81b4576b4 chore: remove install analytics 2023-10-26 22:25:35 +02:00
shimon
fc348b2055 dry run 2023-10-26 21:12:13 +03:00
shimon
7e6378b23b dry run 2023-10-26 20:56:32 +03:00
shimon
0f43aa6872 dry run 2023-10-26 20:53:36 +03:00
shimon
831122679f creating script 2023-10-26 17:45:23 +03:00
shimon
a42577b1aa composer json 2023-10-25 17:14:10 +03:00
shimon
19fe1c3fa5 migration ver 2023-10-25 15:08:01 +03:00
shimon
4c6976488c clean up 2023-10-25 15:06:54 +03:00
shimon
b775c53666 clean up 2023-10-25 13:16:25 +03:00
shimon
c11b3ff522 workers start hook 2023-10-25 12:46:45 +03:00
shimon
ef347f65b8 usage workers 2023-10-25 11:41:42 +03:00
shimon
b7675df9b9 usage workers 2023-10-25 11:38:44 +03:00
shimon
8736a01814 CHANGES.md
migrations::V20
2023-10-25 11:25:31 +03:00
shimon
9fad9dca88 usage sync 2023-10-25 10:39:59 +03:00
Torsten Dittmann
fbcbd0d430 feat: realtime error handling 2023-10-24 14:32:22 +02:00
Christy Jacob
3e2b6c4344
Merge pull request #6990 from appwrite/feat-1.4.7-release-prep
Prepare 1.4.7 release
2023-10-24 00:49:44 +04:00
Steven Nguyen
3addf76a2a Bump appwrite version to 1.4.7 2023-10-23 13:36:29 -07:00
shimon
0411f9f530 fix function-worker body param typo 2023-10-23 16:33:26 +03:00
Torsten Dittmann
d19baafc59 chore: fix linting 2023-10-20 14:43:48 +02:00
Torsten Dittmann
4f77510b0a fix: only apply hook flags to mails worker 2023-10-20 14:42:22 +02:00
Torsten Dittmann
1f97aaf591 fix: disable swoole tcp hook for mails worker 2023-10-20 14:40:59 +02:00
shimon
dd47ef4fd9 email template path 2023-10-19 20:57:24 +03:00
Christy Jacob
01e842782f
Merge branch '1.4.x' into feat-1.4.6-release-prep 2023-10-19 05:28:02 -04:00
Jake Barnby
389d367fca
Set hard timeouts for API dbs 2023-10-19 15:32:45 +13:00
Steven Nguyen
435b20df77
Bump appwrite version to 1.4.6 2023-10-18 16:07:47 -07:00
Christy Jacob
be26e4b729 chore: remove resque library and update health check endpoints 2023-10-18 19:44:06 +00:00
Christy Jacob
4724d729fb Merge branch 'refactor-workers-sn' of https://github.com/appwrite/appwrite into feat-delegate-deletes 2023-10-18 18:59:51 +00:00
Christy Jacob
066dd6393d Merge branch 'refactor-workers-sn' of https://github.com/appwrite/appwrite into feat-delegate-deletes 2023-10-18 18:57:16 +00:00
Christy Jacob
72d0865ad8 chore: use deletes worker for deleting audit logs 2023-10-18 18:54:20 +00:00
Christy Jacob
688f2e5a56 Merge branch 'refactor-workers-sn' of github.com:appwrite/appwrite into remove-obsolete-tasks 2023-10-18 22:19:52 +04:00
shimon
8a52dc3485 some fixes 2023-10-18 20:21:39 +03:00
Christy Jacob
050cb28d4f fix: incorrect events 2023-10-18 20:30:47 +04:00
Christy Jacob
33ec5b3d7b chore: re-order tests 2023-10-18 02:36:50 +04:00
Christy Jacob
011df60c0d feat: remove old worker class 2023-10-18 01:17:02 +04:00
Christy Jacob
685a953705 Merge branch 'refactor-workers-sn' of github.com:appwrite/appwrite into remove-obsolete-tasks 2023-10-17 23:30:44 +04:00
Christy Jacob
617ded14aa chore: cleanup obsolete CLI tasks 2023-10-17 23:30:11 +04:00
Christy Jacob
7806cf1b55 chore: cleanup obsolete CLI tasks 2023-10-17 23:29:25 +04:00
shimon
593e5ab316 some fixes 2023-10-17 22:08:01 +03:00
shimon
1036cb406d some fixes 2023-10-17 21:32:38 +03:00
Matej Bačo
8b6d050b0d Fix failing event tests 2023-10-17 18:23:10 +02:00
shimon
56f565bf30 addressing some comments 2023-10-17 07:23:33 +03:00
shimon
e8dbd043ec addressing some comments 2023-10-17 07:02:54 +03:00
shimon
9a6d88a819 addressing some comments 2023-10-17 06:44:36 +03:00
Jake Barnby
dbfe5e45aa
Delegate custom deletes 2023-10-17 12:18:51 +13:00
shimon
0e2cf14e12 minor fix 2023-10-16 18:17:13 +03:00
Shimon Newman
710ac707e3
Update src/Appwrite/Event/Audit.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-10-16 18:11:29 +03:00
shimon
2451d9fef1 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-workers-sn
 Conflicts:
	src/Appwrite/Platform/Workers/Deletes.php
2023-10-16 17:06:59 +03:00
shimon
2fcda9fc11 Merge branch 'cl-1.4.x' of github.com:appwrite/appwrite into refactor-workers-sn 2023-10-16 17:03:43 +03:00
shimon
94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
Yatharth Verma
96f389cee5 merge 1.4.x changes to my branch 2023-10-14 11:57:40 +05:30
Bradley Schofield
5274f1234b Merge branch 'main' into feat-improve-migration-validations 2023-10-13 16:23:25 +01:00
Torsten Dittmann
c0c4cffba2 fix: relative links to absolute v2 2023-10-13 15:43:44 +02:00
Christy Jacob
d8714ec3fa fix: rename domains collection to rules in hamster script 2023-10-13 12:54:10 +04:00
Christy Jacob
b3d8998735 chore: update hamster script 2023-10-13 12:29:03 +04:00
Jake Barnby
1ac3372239
Set queue name per worker 2023-10-12 17:55:30 +13:00
Jake Barnby
0ebb256b16
Revert formatting 2023-10-12 15:31:58 +13:00
Jake Barnby
096a529618
Revert "Merge branch 'feat-db-per-process' of github.com:appwrite/appwrite into feat-db-per-process"
This reverts commit 6f42305484, reversing
changes made to 69abd222e8.
2023-10-12 15:30:01 +13:00
Jake Barnby
6f42305484
Merge branch 'feat-db-per-process' of github.com:appwrite/appwrite into feat-db-per-process
# Conflicts:
#	bin/worker-databases
#	src/Appwrite/Event/Database.php
#	src/Appwrite/Platform/Workers/Databases.php
2023-10-12 15:28:52 +13:00
Jake Barnby
69abd222e8
Simplify 2023-10-12 15:26:01 +13:00
Jake Barnby
7a78f49eb9
Allow multiprocess for db queue 2023-10-12 15:23:16 +13:00
Jake Barnby
5d845208d9
Simplify 2023-10-12 15:02:53 +13:00
shimon
1c8b38502a sync with main 2023-10-11 17:07:06 +03:00
shimon
2cd4514086 sync with main 2023-10-11 16:03:15 +03:00
shimon
893b1d0ba7 Merge branch 'main' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.gitmodules
	app/controllers/api/functions.php
	app/controllers/api/health.php
	app/init.php
	app/views/install/compose.phtml
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Workers/Builds.php
	src/Appwrite/Platform/Workers/Deletes.php
	src/Appwrite/Platform/Workers/Functions.php
	src/Executor/Executor.php
2023-10-11 12:08:13 +03:00
Jake Barnby
d238d79e29
Allow multiprocess for db queue 2023-10-11 21:28:29 +13:00
Torsten Dittmann
920d2b2db3
Merge branch 'cl-1.4.x' into 1.4.x 2023-10-10 11:59:24 +02:00
Steven Nguyen
071920fb30
Bump version to 1.4.5 2023-10-09 16:39:46 -07:00
Jake Barnby
72b4950168
Merge pull request #6469 from appwrite/fix-migration-response-model
Fix missing array flag on migration errors response model rule
2023-10-09 11:29:31 +13:00
Bradley Schofield
9cb1cf418c Improve Error Handling and Add more Validation 2023-10-06 17:02:01 +01:00
shimon
948f36a023 sync with 1.4 2023-10-05 16:15:39 +03:00
shimon
a643a8c907 sync with 1.4 2023-10-04 13:43:21 +03:00
Matej Bačo
b6ce679b93 Merge branch '1.4.x' into cl-1.4.x 2023-10-04 10:46:38 +02:00
Matej Bačo
891960a977 Fix realtime logs container name 2023-10-04 10:16:02 +02:00
Jake Barnby
d1502029d1
Fix missing array flag on migration errors response model rule 2023-10-04 15:05:42 +13:00
shimon
e3668a4d06 sync with 1.4 2023-10-03 21:56:36 +03:00
shimon
429dabaaee sync with 1.4 2023-10-03 19:50:48 +03:00
shimon
3b00e396d5 sync with main 2023-10-03 15:15:13 +03:00
shimon
6d60b0bd8c sync with 1.4 2023-10-03 11:40:34 +03:00
shimon
2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
shimon
75d8741eaa sync against master 2023-10-01 21:30:52 +03:00
shimon
b1da87f970 migrations worker 2023-10-01 21:06:25 +03:00
shimon
b02d51c794 migrations worker 2023-10-01 20:39:26 +03:00
shimon
47d27096db deletes & databases workers 2023-10-01 11:04:12 +03:00
Matej Bačo
515fec2858 Linter fix 2023-09-30 11:57:15 +02:00
Matej Bačo
d9f2f1c37b Introduce execution sync timeout 2023-09-30 11:54:54 +02:00
shimon
9cf83151cd certificates worker 2023-09-28 20:37:07 +03:00
shimon
a10246a9bd build && audit && usage workers 2023-09-28 13:45:15 +03:00
Christy Jacob
ac844d33ef Merge branch '1.4.x' of https://github.com/appwrite/appwrite into cl-1.4.x 2023-09-27 23:25:48 +00:00
Christy Jacob
0c2cd174a5 chore: prep for 1.4.4 2023-09-27 21:28:28 +00:00
Christy Jacob
50600d6f2a
Merge pull request #6343 from appwrite/master
Merge master into 1.4.x
2023-09-27 17:20:32 -04:00
shimon
dcf0107a79 sync with master 2023-09-27 20:10:21 +03:00
shimon
c4bd6e008e Merge branch 'master' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.env
	app/cli.php
	app/config/collections.php
	app/console
	app/controllers/api/account.php
	app/controllers/api/databases.php
	app/controllers/api/functions.php
	app/controllers/api/projects.php
	app/controllers/api/storage.php
	app/controllers/api/teams.php
	app/controllers/api/users.php
	app/controllers/general.php
	app/controllers/shared/api.php
	app/init.php
	app/worker.php
	app/workers/audits.php
	app/workers/builds.php
	app/workers/certificates.php
	app/workers/databases.php
	app/workers/deletes.php
	app/workers/functions.php
	app/workers/mails.php
	bin/worker-usage
	composer.json
	composer.lock
	docker-compose.yml
	src/Appwrite/Event/Delete.php
	src/Appwrite/Event/Mail.php
	src/Appwrite/Platform/Tasks/Maintenance.php
2023-09-27 18:51:17 +03:00
Matej Bačo
872531dc95 Fix execution call timeout 2023-09-26 10:06:22 +02:00
Christy Jacob
79d7bd8379 chore: linter 2023-09-26 00:10:17 +04:00
Christy Jacob
39dc153a22 chore: remove comments 2023-09-26 00:05:01 +04:00
Christy Jacob
d4debddc46 chore: update hamster script 2023-09-26 00:01:42 +04:00
Christy Jacob
d1d523e1dc chore: update hamster script 2023-09-26 00:01:34 +04:00
Torsten Dittmann
c273e3d8e1
Merge pull request #6229 from btme0011/fix-6212-Issue-With-Linkedin-OAuth 2023-09-24 01:57:58 +02:00
Yatharth Verma
f07f246f8d fix conflicts 2023-09-22 22:53:41 +05:30
Matej Bačo
4984b01ef4 Merge branch '1.4.x' into feat-https-function-domains 2023-09-21 10:10:07 +02:00
Matej Bačo
8926d24a0d One more env var rename 2023-09-19 09:35:32 +02:00
Matej Bačo
d87dbad768 PR review changes 2023-09-19 09:31:57 +02:00
Matej Bačo
94117ed471 Fix build race condition 2023-09-18 12:33:05 +02:00
Matej Bačo
6a7950aa34 Add function domains force https 2023-09-18 12:27:47 +02:00
Jake Barnby
9ba609c46e
Merge pull request #6238 from appwrite/1.4.x
1.4.x
2023-09-15 18:49:55 -04:00
Jake Barnby
ff7b102550
Merge remote-tracking branch 'origin/1.4.x' into chore-update-appwrite-version 2023-09-15 12:21:42 -04:00
Christy Jacob
bede0d43d4 fix: add try catch block in the schedules task 2023-09-15 05:24:00 +00:00
Christy Jacob
1e6b37f980 chore: update appwrite version 2023-09-14 19:53:32 +00:00
Christy Jacob
50405f838e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into chore-cleanup-dockerfile 2023-09-14 18:07:53 +00:00
Akhil Anand
5ba6491dd5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-14 13:16:45 +05:30
Akhil Anand
2aa788d7d5 fix-6212-Issue-With-Linkedin-OAuth 2023-09-13 21:31:26 +05:30
Binyamin Yawitz
5cb03da001 Extracting function event validator to its own class. 2023-09-11 23:24:11 -04:00
Jake Barnby
d4f6b99ee2
Fix mock enum endpoint 2023-09-07 19:25:42 -04:00
Christy Jacob
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 Jacob
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
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
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
Steven Nguyen
c8d6ac0267
Update migration script to not remove schedule from functions 2023-08-31 08:40:53 -07: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
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
Steven Nguyen
917f2f1d74
Update installation confirmation text
Let the user know a backup will be created.
2023-08-30 12:32:10 -07:00
Steven Nguyen
2f2edd41d5
Update install.php not specify docker-compose.yml file
By not specifying a docker-compose.yml file, docker compose
automatically uses the docker-compose.yml file in the project directory
and a docker-compose.override.yml file if one is present.
2023-08-30 10:17:37 -07:00
Steven Nguyen
7d56c6f37e
Prompt developer to confirm installing over existing install 2023-08-30 09:55:27 -07:00
Steven Nguyen
75f7459c40
Create a dedicated upgrade task
Before, we used the same command for both installation and upgrades.
This lead to problems because developers would try to upgrade in the
wrong folder and end up creating a new installation.

This new upgrade command validates the existence of an existing
installation before proceeding with the upgrade to ensure no new
installation is created when upgrading.
2023-08-30 09:55:18 -07:00
Steven Nguyen
48f0ff86ba
Make the install path a class property
This makes it so the property can be used by subclasses.
2023-08-30 09:50:47 -07:00
Christy Jacob
cc8aa27fea feat: update specs 2023-08-30 12:36:47 -04:00
Torsten Dittmann
48c5a09b4f fix: string interpolation 2023-08-30 11:21:28 +02: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
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
Jake Barnby
0a1ab4ae60
Add back codes env var 2023-08-28 22:24:52 -04:00