From 4a5b268c1a750b2b8e53e85cb95b665080eeadd3 Mon Sep 17 00:00:00 2001 From: Jonas Grubbauer <63007476+JohnGrubba@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:45:19 +0100 Subject: [PATCH] Delete demo directory --- demo/README.md | 5 ---- demo/config/email/ChangePassword.html | 32 -------------------- demo/config/email/ConfirmEmail.html | 33 --------------------- demo/config/email/ConfirmEmail.py | 6 ---- demo/config/email/CustomEmailExample.html | 31 ------------------- demo/config/email/WelcomeEmail.html | 29 ------------------ demo/docker-compose.yml | 36 ----------------------- 7 files changed, 172 deletions(-) delete mode 100644 demo/README.md delete mode 100644 demo/config/email/ChangePassword.html delete mode 100644 demo/config/email/ConfirmEmail.html delete mode 100644 demo/config/email/ConfirmEmail.py delete mode 100644 demo/config/email/CustomEmailExample.html delete mode 100644 demo/config/email/WelcomeEmail.html delete mode 100644 demo/docker-compose.yml diff --git a/demo/README.md b/demo/README.md deleted file mode 100644 index 65178f1..0000000 --- a/demo/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Demo Setup - -This is a demo setup for EZAuth. It includes the official Image from Docker Hub and a docker-compose file to run the instance. -Just copy the `docker-compose.yml` file to your server and run `docker-compose up -d` to start the instance. -All Configuration is done in the `config` folder. [(Read the Docs for more information)](https://johngrubba.github.io/ezauth/) \ No newline at end of file diff --git a/demo/config/email/ChangePassword.html b/demo/config/email/ChangePassword.html deleted file mode 100644 index 238a163..0000000 --- a/demo/config/email/ChangePassword.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - Reset your Password - - - -

Did you just request a password reset?

-

If it was you, then enter this code to confirm the change:

-

{code}

-

If it wasn't you, then ignore this email.

-

This code expires in {time} minutes.

- - - \ No newline at end of file diff --git a/demo/config/email/ConfirmEmail.html b/demo/config/email/ConfirmEmail.html deleted file mode 100644 index be6efec..0000000 --- a/demo/config/email/ConfirmEmail.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - Confirm your Email - - - -

Please confirm your E-Mail {username}?

-

If it was you, then enter this code to confirm your email address:

-

{code}

-

If it wasn't you, then ignore this email.

-

This code expires in {time} minutes.

-

Time of Request: {timestamp}

- - - \ No newline at end of file diff --git a/demo/config/email/ConfirmEmail.py b/demo/config/email/ConfirmEmail.py deleted file mode 100644 index 3369c08..0000000 --- a/demo/config/email/ConfirmEmail.py +++ /dev/null @@ -1,6 +0,0 @@ -from datetime import datetime - - -def preprocess(kwargs: dict) -> dict: - kwargs["timestamp"] = datetime.now().strftime("%Y-%m-%d %H:%M:%S") - return kwargs diff --git a/demo/config/email/CustomEmailExample.html b/demo/config/email/CustomEmailExample.html deleted file mode 100644 index 1afa113..0000000 --- a/demo/config/email/CustomEmailExample.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - ! NEW FEATURE ALERT ! - Profiles can do more now - - - -

Hello {username}!

-

Profiles can do more now

-

Profiles can now do more than ever before. We have added new features to profiles that will make your experience - even better.

- - - \ No newline at end of file diff --git a/demo/config/email/WelcomeEmail.html b/demo/config/email/WelcomeEmail.html deleted file mode 100644 index 425b8eb..0000000 --- a/demo/config/email/WelcomeEmail.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - Welcome to Turnify - - - -

This is a Template Welcome Message. Welcome to EZAuth {username}

-

Thank you for signing up with us. We are excited to have you on board.

- - - \ No newline at end of file diff --git a/demo/docker-compose.yml b/demo/docker-compose.yml deleted file mode 100644 index 5eb43ca..0000000 --- a/demo/docker-compose.yml +++ /dev/null @@ -1,36 +0,0 @@ -services: - api: - image: jjtv/ezauth - ports: - - "3251:80" - environment: - - DATABASE_URL=mongodb://admin:admin@db/ezauth?authSource=admin&retryWrites=true&w=majority - - REDIS_PASSWORD=admin - - REDIS_HOST=redis - - REDIS_PORT=6379 - restart: always - volumes: - - ./config:/src/app/config - depends_on: - - db - - redis - db: - image: mongo - expose: - - 27017 - restart: always - environment: - - MONGO_INITDB_ROOT_USERNAME=admin - - MONGO_INITDB_ROOT_PASSWORD=admin - - MONGO_INITDB_DATABASE=ezauth - volumes: - - ezauth-data:/data/db - redis: - image: redis:alpine - restart: always - expose: - - 6379 - command: redis-server --requirepass admin - -volumes: - ezauth-data: \ No newline at end of file