diff --git a/api/chalicelib/utils/html/reset_password.html b/api/chalicelib/utils/html/reset_password.html index 1d841abdf..e32f73d7d 100644 --- a/api/chalicelib/utils/html/reset_password.html +++ b/api/chalicelib/utils/html/reset_password.html @@ -20,218 +20,303 @@ + + + - - - @@ -449,13 +456,24 @@ width: 25%!important +

+ Please click the button below to reset your password (valid for 24 hours + only).

+
+

+ Reset Password

- Use the link below to reset your password (valid for 24 hours only):

+ If the button above doesn't work, please copy and paste the URL into + your browser:


- %(invitationLink)s%(invitationLink)s

@@ -516,16 +534,16 @@ width: 25%!important
- -
-
-

- If you no longer wish to make this change or did not initiate this request, plrease ignore this e-mail. -

-
-
- - + +
+
+

+ If you no longer wish to make this change or did not initiate this request, plrease ignore this e-mail. +

+
+
+ + diff --git a/ee/api/Dockerfile b/ee/api/Dockerfile index 3ba2a1536..33e5bfecf 100644 --- a/ee/api/Dockerfile +++ b/ee/api/Dockerfile @@ -1,9 +1,6 @@ FROM python:3.11-alpine3.17 -#revert to this image when this issue is fixed https://github.com/xmlsec/python-xmlsec/issues/252 -#FROM python:3.11-slim LABEL Maintainer="KRAIEM Taha Yassine" RUN apk add --no-cache build-base libressl libffi-dev libressl-dev libxslt-dev libxml2-dev xmlsec-dev xmlsec tini -#RUN apt-get update && apt-get install -y pkg-config libxmlsec1-dev gcc tini && rm -rf /var/lib/apt/lists/* ARG envarg ENV SOURCE_MAP_VERSION=0.7.4 \ @@ -20,9 +17,7 @@ COPY . . RUN mv env.default .env RUN adduser -u 1001 openreplay -D -#RUN useradd -mu 1001 openreplay USER 1001 ENTRYPOINT ["/sbin/tini", "--"] -#ENTRYPOINT ["tini", "--"] CMD ./entrypoint.sh diff --git a/ee/api/chalicelib/utils/storage/azure_blob.py b/ee/api/chalicelib/utils/storage/azure_blob.py index 3d9724844..52902137f 100644 --- a/ee/api/chalicelib/utils/storage/azure_blob.py +++ b/ee/api/chalicelib/utils/storage/azure_blob.py @@ -5,11 +5,14 @@ from azure.storage.blob import BlobServiceClient, BlobSasPermissions, generate_b class AzureBlobStorage(ObjectStorage): - # Prepare blob storage client - client = BlobServiceClient( - account_url=f"https://{config('AZURE_ACCOUNT_NAME')}.blob.core.windows.net", - credential=config("AZURE_ACCOUNT_KEY"), - ) + client = None + + def __init__(self): + # Prepare blob storage client + self.client = BlobServiceClient( + account_url=f"https://{config('AZURE_ACCOUNT_NAME')}.blob.core.windows.net", + credential=config("AZURE_ACCOUNT_KEY"), + ) def exists(self, bucket, key): return self.client.get_blob_client(bucket, key).exists()