Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MAIL configuration for 3rd party mail service. #46

Merged
merged 27 commits into from
Oct 8, 2020
Merged

Conversation

willgraf
Copy link
Contributor

@willgraf willgraf commented Oct 2, 2020

Use flask-mail to set up an email service for confirming emails and notifications regarding logins/password changes. By default, the MAIL_SERVER is set to "localhost", which disables all the email features.

Closes #36

MekWarrior and others added 27 commits July 24, 2020 16:50
* don't use flask.ext, but import from the module directly.

* move base.html template into global templates directory.

* move all partials into the global templates directory

* data_entry.html extends the global base as well.

* remove stale css classes, may cause unexpected behavior

* fix some HTML spacing

* pip install wheel for github actions tests

* whitespace fix, using comment instead of big whitespace.

* improved error handling, log error type and text.

* declare the templates folder

* use EXPLAIN_TEMPLATE_LOADING if in DEBUG mode.

* PEP8
* ignore database files from dockerignore

* enable email confirmation, password recovery, password changing, and user tracking.

* move navbar and footer into partials and add fontawesome/login button to navbar.

* Import fontawesome from bootstrap CDN, and use the external link and github icons in the navbar.

* add all security template overrides.

* wrap all content blocks in the <main> tag with class="container"

* remove caliban container width overrides.

* set CONFIRMABLE to False, as no mail system is set up currently.

* turn off Email features with TODOs for now.
@willgraf willgraf requested a review from MekWarrior October 2, 2020 21:37
@MekWarrior MekWarrior merged commit ec601f0 into master Oct 8, 2020
@MekWarrior MekWarrior deleted the flask-mail branch October 8, 2020 03:46
@MekWarrior MekWarrior mentioned this pull request Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Mail Client
2 participants