Commit graph

249 commits

Author SHA1 Message Date
shimon
60c0f4c973 delete orphaned projects task 2023-11-13 19:27:20 +02:00
shimon
dd0bf66212 delete orphaned projects task 2023-11-13 19:24:55 +02:00
shimon
0f3c438976 added inf metric 2023-11-08 12:05:51 +02: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
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
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
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
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
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
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
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
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
shimon
1c8b38502a sync with main 2023-10-11 17:07:06 +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
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
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