KnightHacks / hackathon-2021-backend

The backend api for Knight Hacks.
https://api.knighthacks.org/apidocs/
MIT License
3 stars 3 forks source link

Email templates #65

Closed TorrentofShame closed 3 years ago

TorrentofShame commented 3 years ago

Updates and adds templates as provided by @APherwani, updates and adds helper functions as applicable. Adds static files, (temporary solution, should have static assets hosted on a CDN in the future)

Checklist:

github-actions[bot] commented 3 years ago

File Coverage
All files 73% :x:
src/__init__.py 94% :white_check_mark:
src/api/__init__.py 85% :white_check_mark:
src/api/auth.py 43% :x:
src/api/club_events.py 66% :x:
src/api/email_verification.py 35% :x:
src/api/hackers.py 56% :x:
src/common/decorators.py 87% :white_check_mark:
src/common/init_defaults.py 56% :x:
src/common/json.py 77% :white_check_mark:
src/common/jwt.py 73% :x:
src/common/mail.py 42% :x:
src/models/hacker.py 94% :white_check_mark:
src/models/sponsor.py 64% :x:
src/models/user.py 88% :white_check_mark:
src/tasks/__init__.py 78% :white_check_mark:
src/tasks/clubevent_tasks.py 19% :x:
src/tasks/mail_tasks.py 45% :x:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against 7a939b66a33e8701cc9bbd3497656a971d18824e

APherwani commented 3 years ago

One more thing, can you send me an email from both templates as an additional sanity check. You have my email.

TorrentofShame commented 3 years ago

One more thing, can you send me an email from both templates as an additional sanity check. You have my email.

I can; however, the static assets will not render as that required the backend to be updated with this pr.

APherwani commented 3 years ago

Alright just do that after you deploy. Thanks!