Commit graph

280 commits

Author SHA1 Message Date
shimon
8c9a662e14 comparison fix 2023-11-16 20:33:37 +02:00
shimon
dceb1858b0 comparison fix 2023-11-16 20:31:53 +02:00
Christy Jacob
6826a9efe0
Merge pull request #7124 from appwrite/usage-auto-skip-fix
wrapping create stats query
2023-11-15 10:38:47 -08:00
Christy Jacob
e36dc817fb
Merge branch '1.4.x' into usage-auto-skip-fix 2023-11-15 10:27:44 -08:00
Christy Jacob
bc09b50c11
Merge pull request #7095 from appwrite/feat-delete-orphaned-projects
Add commit flag to delete orphaned projects task
2023-11-15 10:12:00 -08:00
shimon
6b5e734dfa indentation small fix 2023-11-15 20:09:50 +02:00
Jake Barnby
94931ff4ce
Fix non-PSR-compliant file name 2023-11-15 16:47:49 +13:00
Matej Bačo
1c4fea0fc3 Fix patch script, make errors silent 2023-11-14 17:45:02 +01:00
Matej Bačo
c133bccfa9 Finish recreate repos docs script 2023-11-14 15:06:58 +01:00
Matej Bačo
fb6455b783 Add script to patch missing repos documents 2023-11-14 14:43:33 +01:00
Matej Bačo
4f2f76db22 Improve deletion relation with IDs 2023-11-14 14:11:54 +01:00
Khushboo Verma
78eb5105e7 Update projectInternalId var 2023-11-14 17:08:09 +05:30
Khushboo Verma
be85b173e7 Only delete repositories linked to the particular project 2023-11-14 16:49:16 +05:30
shimon
3d9ee8bc52 delete orphaned projects task 2023-11-13 19:28:48 +02:00
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
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
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
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
Khushboo Verma
018800c7ae Merge branch '1.4.x' into fix-prevent-webhook-abuse 2023-11-07 13:02:25 +05:30
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
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
Khushboo Verma
ce6d873cf4 Added cURL timeout and not store response data for webhooks 2023-10-31 15:55:11 +05:30
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