Endpoints for Users are not yet implemented, so I just wrote the code that is relevant to this feature and wrote comments on how to use the code when the user Endpoints are there.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/detleph/server/pull/33
**Author:** [@Stefan-5422](https://github.com/Stefan-5422)
**Created:** 4/25/2022
**Status:** ✅ Merged
**Merged:** 4/29/2022
**Merged by:** [@Stefan-5422](https://github.com/Stefan-5422)
**Base:** `dev` ← **Head:** `feature-email-verification`
---
### 📝 Commits (10+)
- [`db9ea4b`](https://github.com/detleph/server/commit/db9ea4b36a8dcae64204eee7bdc3eb213064b03f) Added compile code for mail templates
- [`b4528f3`](https://github.com/detleph/server/commit/b4528f3d531f1f619f00e1c6a51b5e27851193bc) - Added Code to get template by name
- [`893f351`](https://github.com/detleph/server/commit/893f351e28d63bef021a6d6d6bab9a9850420571) Update Dockerfile to include templates in the server;
- [`a84fcdc`](https://github.com/detleph/server/commit/a84fcdce8f1a0e425cb0327d447b808b52b26b3f) Fix fix bugs in the mail & mjml library files;
- [`c96537f`](https://github.com/detleph/server/commit/c96537f5b43097c734eb5e296aefdf569ec9b2d9) Add handlebars;
- [`62a5daa`](https://github.com/detleph/server/commit/62a5daa432046e52bcfe1bd190afc8fa283c2d9d) Add Endpoint to verify email codes
- [`22a959b`](https://github.com/detleph/server/commit/22a959bcea211bd038d8dcd6f7db5bbeea76f5b5) FIX: The dev script can now run in any directory
- [`5e5b6bb`](https://github.com/detleph/server/commit/5e5b6bb60c73fc6acf47e2183bb54c86e0e8cbe5) Add routes for admin authentication endpoints
- [`fdfbd22`](https://github.com/detleph/server/commit/fdfbd22dafd36f9b2305488a1a25cfb2c48cd629) Add a controller for getting all admin user details
- [`579dc68`](https://github.com/detleph/server/commit/579dc68d823d899abe92be0852c6829015932c1b) Remove event <-> admin association and introduce a default value for revision
### 📊 Changes
**10 files changed** (+168 additions, -50 deletions)
<details>
<summary>View changed files</summary>
📝 `Dockerfile` (+1 -0)
📝 `dev.sh` (+0 -3)
📝 `package.json` (+5 -0)
📝 `prisma/schema.prisma` (+1 -1)
📝 `src/Controllers/event.controller.ts` (+5 -8)
➕ `src/Controllers/user_auth.controller.ts` (+56 -0)
📝 `src/Middleware/debug/logger.ts` (+1 -1)
📝 `src/lib/mail.ts` (+56 -37)
➕ `src/lib/mjml.ts` (+33 -0)
📝 `src/lib/redis.ts` (+10 -0)
</details>
### 📄 Description
Endpoints for Users are not yet implemented, so I just wrote the code that is relevant to this feature and wrote comments on how to use the code when the user Endpoints are there.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/detleph/server/pull/33
Author: @Stefan-5422
Created: 4/25/2022
Status: ✅ Merged
Merged: 4/29/2022
Merged by: @Stefan-5422
Base:
dev← Head:feature-email-verification📝 Commits (10+)
db9ea4bAdded compile code for mail templatesb4528f3- Added Code to get template by name893f351Update Dockerfile to include templates in the server;a84fcdcFix fix bugs in the mail & mjml library files;c96537fAdd handlebars;62a5daaAdd Endpoint to verify email codes22a959bFIX: The dev script can now run in any directory5e5b6bbAdd routes for admin authentication endpointsfdfbd22Add a controller for getting all admin user details579dc68Remove event <-> admin association and introduce a default value for revision📊 Changes
10 files changed (+168 additions, -50 deletions)
View changed files
📝
Dockerfile(+1 -0)📝
dev.sh(+0 -3)📝
package.json(+5 -0)📝
prisma/schema.prisma(+1 -1)📝
src/Controllers/event.controller.ts(+5 -8)➕
src/Controllers/user_auth.controller.ts(+56 -0)📝
src/Middleware/debug/logger.ts(+1 -1)📝
src/lib/mail.ts(+56 -37)➕
src/lib/mjml.ts(+33 -0)📝
src/lib/redis.ts(+10 -0)📄 Description
Endpoints for Users are not yet implemented, so I just wrote the code that is relevant to this feature and wrote comments on how to use the code when the user Endpoints are there.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.