fractal-server 2.10.4__py3-none-any.whl → 2.10.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fractal_server/__init__.py +1 -1
- fractal_server/app/security/__init__.py +5 -0
- fractal_server/app/security/signup_email.py +1 -1
- {fractal_server-2.10.4.dist-info → fractal_server-2.10.5.dist-info}/METADATA +1 -1
- {fractal_server-2.10.4.dist-info → fractal_server-2.10.5.dist-info}/RECORD +8 -8
- {fractal_server-2.10.4.dist-info → fractal_server-2.10.5.dist-info}/LICENSE +0 -0
- {fractal_server-2.10.4.dist-info → fractal_server-2.10.5.dist-info}/WHEEL +0 -0
- {fractal_server-2.10.4.dist-info → fractal_server-2.10.5.dist-info}/entry_points.txt +0 -0
fractal_server/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "2.10.
|
1
|
+
__VERSION__ = "2.10.5"
|
@@ -254,10 +254,15 @@ class UserManager(IntegerIDMixin, BaseUserManager[UserOAuth, int]):
|
|
254
254
|
|
255
255
|
if this_user.oauth_accounts and settings.MAIL_SETTINGS is not None:
|
256
256
|
try:
|
257
|
+
logger.info(
|
258
|
+
"START sending email about new signup to "
|
259
|
+
f"{settings.MAIL_SETTINGS.recipients}."
|
260
|
+
)
|
257
261
|
mail_new_oauth_signup(
|
258
262
|
msg=f"New user registered: '{this_user.email}'.",
|
259
263
|
mail_settings=settings.MAIL_SETTINGS,
|
260
264
|
)
|
265
|
+
logger.info("END sending email about new signup.")
|
261
266
|
except Exception as e:
|
262
267
|
logger.error(
|
263
268
|
"ERROR sending notification email after oauth "
|
@@ -13,7 +13,7 @@ def mail_new_oauth_signup(msg: str, mail_settings: MailSettings):
|
|
13
13
|
mail_msg = EmailMessage()
|
14
14
|
mail_msg.set_content(msg)
|
15
15
|
mail_msg["From"] = formataddr((mail_settings.sender, mail_settings.sender))
|
16
|
-
mail_msg["To"] = ",".join(
|
16
|
+
mail_msg["To"] = ", ".join(
|
17
17
|
[
|
18
18
|
formataddr((recipient, recipient))
|
19
19
|
for recipient in mail_settings.recipients
|
@@ -1,4 +1,4 @@
|
|
1
|
-
fractal_server/__init__.py,sha256=
|
1
|
+
fractal_server/__init__.py,sha256=j4UXxLfDE1Yliq3zzdCOkBXdg0mF1i5EWgZIJXrwXLE,23
|
2
2
|
fractal_server/__main__.py,sha256=D2YTmSowmXNyvqOjW_HeItCZT2UliWlySl_owicaZg0,8026
|
3
3
|
fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
|
4
4
|
fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -160,8 +160,8 @@ fractal_server/app/schemas/v2/task_collection.py,sha256=9c_yyFcVBXdAZpQQniy1bROh
|
|
160
160
|
fractal_server/app/schemas/v2/task_group.py,sha256=EPQ1WHjIA8WDrpsTfvfRESjwUVzu6jKiaKZx45b36N4,3215
|
161
161
|
fractal_server/app/schemas/v2/workflow.py,sha256=-KWvXnbHBFA3pj5n7mfSyLKJQSqkJmoziIEe7mpLl3M,1875
|
162
162
|
fractal_server/app/schemas/v2/workflowtask.py,sha256=FthKErVgx3a-k7WVk3nqJe1G-fl_iHND4rVrDXJ0F84,5942
|
163
|
-
fractal_server/app/security/__init__.py,sha256=
|
164
|
-
fractal_server/app/security/signup_email.py,sha256=
|
163
|
+
fractal_server/app/security/__init__.py,sha256=qn6idYgl-p5HWea0gTVnz4JnkoxGEkmQjPzvKpDWT0I,14035
|
164
|
+
fractal_server/app/security/signup_email.py,sha256=DrL51UdTSrgjleynMD5CRZwTSOpPrZ96fasRV0fvxDE,1165
|
165
165
|
fractal_server/app/user_settings.py,sha256=OP1yiYKtPadxwM51_Q0hdPk3z90TCN4z1BLpQsXyWiU,1316
|
166
166
|
fractal_server/config.py,sha256=9rAzw7OO6ZeHEz-I8NJHuGoHf4xCHxfFLyRNZQD9ytY,27019
|
167
167
|
fractal_server/data_migrations/README.md,sha256=_3AEFvDg9YkybDqCLlFPdDmGJvr6Tw7HRI14aZ3LOIw,398
|
@@ -238,8 +238,8 @@ fractal_server/tasks/v2/utils_templates.py,sha256=07TZpJ0Mh_A4lXVXrrH2o1VLFFGwxe
|
|
238
238
|
fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
|
239
239
|
fractal_server/utils.py,sha256=utvmBx8K9I8hRWFquxna2pBaOqe0JifDL_NVPmihEJI,3525
|
240
240
|
fractal_server/zip_tools.py,sha256=GjDgo_sf6V_DDg6wWeBlZu5zypIxycn_l257p_YVKGc,4876
|
241
|
-
fractal_server-2.10.
|
242
|
-
fractal_server-2.10.
|
243
|
-
fractal_server-2.10.
|
244
|
-
fractal_server-2.10.
|
245
|
-
fractal_server-2.10.
|
241
|
+
fractal_server-2.10.5.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
|
242
|
+
fractal_server-2.10.5.dist-info/METADATA,sha256=0phWLK--FfXgp-mZLXcttuguEVfLPGLrgKyGH9Lrtic,4562
|
243
|
+
fractal_server-2.10.5.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
244
|
+
fractal_server-2.10.5.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
|
245
|
+
fractal_server-2.10.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|