2022-06-29 11:28:26 +02:00
{% extends "default.html" %}
create BaseForm to enable CSRF
register page
redirect user to dashboard if they are logged in
enable csrf for login page
Set models more strict
bootstrap developer page
add helper method to ModelMixin, remove CRUDMixin
display list of clients on developer index, add copy client-secret to clipboard using clipboardjs
add toastr and use jquery non slim
display a toast when user copies the client-secret
create new client, generate client-id using unidecode
client detail page: can edit client
add delete client
implement /oauth/authorize and /oauth/allow-deny
implement /oauth/token
add /oauth/user_info endpoint
handle scopes: wip
take into account scope: display scope, return user data according to scope
create virtual-domain, gen email, client_user model WIP
create authorize_nonlogin_user page
user can choose to generate a new email
no need to interfere with root logger
log for before and after request
if user has already allowed a client: generate a auth-code and redirect user to client
get_user_info takes into account gen email
display list of clients that have user has authorised
use yk-client domain instead of localhost as cookie depends on the domain name
use wtforms instead of flask_wtf
Dockerfile
delete virtual domain
EMAIL_DOMAIN can come from env var
bind to host 0.0.0.0
fix signup error: use session as default csrf_context
rename yourkey to simplelogin
add python-dotenv, ipython, sqlalchemy_utils
create DB_URI, FLASK_SECRET. Load config from CONFIG file if exist
add shortcuts to logging
create shell
add psycopg2
do not add local data in Dockerfile
add drop_db into shell
add shell.prepare_db()
fix prepare_db
setup sentry
copy assets from tabler/dist
add icon downloaded from https://commons.wikimedia.org/wiki/File:Simpleicons_Interface_key-tool-1.svg
integrate tabler - login and register page
add favicon
template: default, header. Use gravatar for user avatar url
use default template for dashboard, developer page
use another icon
add clipboard and notie
prettify dashboard
add notie css
add fake gen email and client-user
prettify list client page, use notie for toast
add email, name scope to new client
display client scope in client list
prettify new-client, client-detail
add sentry-sdk and blinker
add arrow, add dt jinja filter, prettify logout, dashboard
comment "last used" in dashboard for now
prettify date display
add copy email to clipboard to dashboard
use "users" as table name for User as "user" is reserved key in postgres
call prepare_db() when creating new db
error page 400, 401, 403, 404
prettify authorize_login_user
create already_authorize.html for user who has already authorized a client
user can generate new email
display all other generated emails
add ENV variable, only reset DB when ENV=local
fix: not return other users gen emails
display nb users for each client
refactor shell: remove prepare_db()
add sendgrid
add /favicon.ico route
add new config: URL, SUPPORT_EMAIL, SENDGRID_API_KEY
user needs to activate their account before login
create copy button on dashboard
client can have multiple redirect uris, in client detail can add/remove redirect-uri,
use redirect_uri passed in /authorize
refactor: move get_user_info into ClientUser model
dashboard: display all apps, all generated emails
add "id" into user_info
add trigger email button
invalidate the session at each new version by changing the secret
centralize Client creation into Client.create_new
user can enable/disable email forwarding
setup auto dismiss alert: just add .alert-auto-dismiss
move name down in register form
add shell.add_real_data
move blueprint template to its own package
prettify authorize page for non-authenticated user
update readme, return error if not redirect_uri
add flask-wtf, use psycopg2-binary
use flask-wtf FlaskForm instead of Form
rename email -> email_utils
add AWS_REGION, BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to config
add s3 module
add File model, add Client.icon_id
handle client icon update
can create client with icon
display client icon in client list page
add Client.home_url
take into account Client.home_url
add boto3
register: ask name first
only show "trigger test email" if email forwarding is enabled
display gen email in alphabetical order, client in client.name alphabetical order
better error page
the modal does not get close when user clicks outside of modal
add Client.published column
discover page that displays all published Client
add missing bootstrap.bundle.min.js.map
developer can publish/unpublish their app in discover
use notie for display flash message
create hotmail account
fix missing jquery
add footer, add global jinja2 variable
strengthen model: use nullable=False whenever possible,
rename client_id to oauth_client_id, client_secret to oauth_client_secret
add flask-migrate
init migrate
1st migrate version
fix rename client_id -> oauth_client_id
prettify UI
use flask_migrate.upgrade() instead of db.create_all()
make sure requirejs.config is called for all page
enable sentry for js, use uppercase for global jinja2 variables
add flask-admin
add User.is_admin column
setup flask admin, only accessible to admin user
fix migration: add server_default
replace session[redirect_after_login] by "next" request args
add pyproject.toml: ignore migrations/ in black
add register waiting_activation_email page
better email wording
add pytest
add get_host_name_and_scheme and tests
example fail test
fix test
fix client-id display
add flask-cors
/user_info supports cors, add /me as /user_info synonym
return client in /me
support implicit flow
no need to use with "app.app_context()"
add watchtower to requirement
add param ENABLE_CLOUDWATCH, CLOUDWATCH_LOG_GROUP, CLOUDWATCH_LOG_STREAM
add cloudwatch logger if cloudwatch is enabled
add 500 error page
add help text for list of used client
display list of app/website that an email has been used
click on client name brings to client detail page
create style.css to add additional style, append its url with the current sha1 to avoid cache
POC on how to send email using postfix
add sqlalchemy-utils
use arrow instead of datetime
add new params STRIPE_API, STRIPE_YEARLY_SKU, STRIPE_MONTHLY_PLAN
show full error in local
add plan, plan_expiration to User, need to create enum directly in migration script, cf https://github.com/sqlalchemy/alembic/issues/67
reformat all html files: use space instead of tab
new user will have trial plan for 15 days
add new param MAX_NB_EMAIL_FREE_PLAN
only user with enough quota can create new email
if user cannot create new gen email, pick randomly one from existing gen emails. Use flush instead of commit
rename STRIPE_YEARLY_SKU -> STRIPE_YEARLY_PLAN
open client page in discover in a new tab
add stripe
not logging /static call: disable flask logging, replace by after_request
add param STRIPE_SECRET_KEY
add 3 columns stripe_customer_id, stripe_card_token, stripe_subscription_id
user can upgrade their pricing
add setting page as coming-soon
add GenEmail, ClientUser to admin
ignore /admin/static logging
add more fake data
add ondelete="cascade" whenever possible
rename plan_expiration -> trial_expiration
reset migration: delete old migrations, create new one
rename test_send_email -> poc_send_email to avoid the file being called by pytest
add new param LYRA_ANALYTICS_ID, add lyra analytics
add how to create new migration into readme
add drift to base.html
notify admin when new user signs up or pays subscription
log exception in case of 500
use sendgrid to notify admin
add alias /userinfo to user_info endpoint
add change_password to shell
add info on how payment is handled
invite user to retry if card not working
remove drift and add "contact us" link
move poc_send_email into poc/
support getting client-id, client-secret from form-data in addition to basic auth
client-id, client-secret is passed in form-data by passport-oauth2 for ex
add jwtRS256 private and public key
add jwk-jws-jwt poc
add new param OPENID_PRIVATE_KEY_PATH, OPENID_PRIVATE_KEY_PATH
add scope, redirect_url to AuthorizationCode and OauthToken
take into scope when creating oauth-token, authorization-code
add jwcrypto
add jose_utils: make_id_token and verify_id_token
add &scope to redirect uri
add "email_verified": True into user_info
fix user not activated
add /oauth2 as alias for /oauth
handle case where scope and state are empty
remove threaded=False
Use Email Alias as wording
remove help text
user can re-send activation email
add "expired" into ActivationCode
Handle the case activation code is expired
reformat: use form.validate_on_submit instead of request.method == post && form.validate
use error text instead of flash()
display client oauth-id and oauth-secret on client detail page
not display oauth-secret on client listing
fix expiration check
improve page title, footer
add /jwks and /.well-known/openid-configuration
init properly tests, fix blueprint conflict bug in flask-admin
create oauth_models module
rename Scope -> ScopeE to distinguish with Scope DB model
set app.url_map.strict_slashes = False
use ScopeE instead of SCOPE_NAME, ...
support access_token passed as args in /userinfo
merge /allow-deny into /authorize
improve wording
take into account the case response_type=code and openid is in scope
take into account response_type=id_token, id_token token, id_token code
make sure to use in-memory db in test
fix scope can be null
allow cross_origin for /.well-known/openid-configuration and /jwks
fix footer link
center authorize form
rename trial_expiration to plan_expiration
move stripe init to create_app()
use real email to be able to receive email notification
add user.profile_picture_id column
use user profile picture and fallback to gravatar
use nguyenkims+local@gm to distinguish with staging
handle plan cancel, reactivation, user profile update
fix can_create_new_email
create cron.py that set plan to free when expired
add crontab.yml
add yacron
use notify_admin instead of LOG.error
add ResetPasswordCode model
user can change password in setting
increase display time for notie
add forgot_password page
If login error: redirect to this page upon success login.
hide discover tab
add column user.is_developer
only show developer menu to developer
comment out the publish button
set local user to developer
make sure only developer can access /developer blueprint
User is invited to upgrade if they are in free plan or their trial ends soon
not sending email when in local mode
create Partner model
create become partner page
use normal error handling on local
fix migration
add "import sqlalchemy_utils" into migration template
small refactoring on setting page
handle promo code. TODO: add migration file
add migration for user.promo_codes
move email alias on top of apps in dashboard
add introjs
move encode_url to utils
create GenEmail.create_new_gen_email
create a first alias mail to show user how to use when they login
show intro when user visits the website the first time
fix register
2019-07-02 09:20:12 +02:00
2019-12-29 10:56:27 +01:00
{% set active_page = "setting" %}
2022-06-29 11:28:26 +02:00
{% block title %}Settings{% endblock %}
2020-04-05 19:59:48 +02:00
{% block head %}
2022-06-29 11:28:26 +02:00
2020-04-05 19:59:48 +02:00
< style >
2020-09-10 20:14:55 +02:00
.card-title {
font-size: 22px;
font-weight: 600;
margin-bottom: 3px;
}
2022-07-04 15:39:12 +02:00
.highlighted{
2022-07-19 17:25:21 +02:00
border: solid 2px #5675E2;
2022-07-04 15:39:12 +02:00
}
2022-07-19 18:58:41 +02:00
li {
margin-top: 8px;
}
2022-07-04 15:39:12 +02:00
2020-04-05 19:59:48 +02:00
< / style >
{% endblock %}
create BaseForm to enable CSRF
register page
redirect user to dashboard if they are logged in
enable csrf for login page
Set models more strict
bootstrap developer page
add helper method to ModelMixin, remove CRUDMixin
display list of clients on developer index, add copy client-secret to clipboard using clipboardjs
add toastr and use jquery non slim
display a toast when user copies the client-secret
create new client, generate client-id using unidecode
client detail page: can edit client
add delete client
implement /oauth/authorize and /oauth/allow-deny
implement /oauth/token
add /oauth/user_info endpoint
handle scopes: wip
take into account scope: display scope, return user data according to scope
create virtual-domain, gen email, client_user model WIP
create authorize_nonlogin_user page
user can choose to generate a new email
no need to interfere with root logger
log for before and after request
if user has already allowed a client: generate a auth-code and redirect user to client
get_user_info takes into account gen email
display list of clients that have user has authorised
use yk-client domain instead of localhost as cookie depends on the domain name
use wtforms instead of flask_wtf
Dockerfile
delete virtual domain
EMAIL_DOMAIN can come from env var
bind to host 0.0.0.0
fix signup error: use session as default csrf_context
rename yourkey to simplelogin
add python-dotenv, ipython, sqlalchemy_utils
create DB_URI, FLASK_SECRET. Load config from CONFIG file if exist
add shortcuts to logging
create shell
add psycopg2
do not add local data in Dockerfile
add drop_db into shell
add shell.prepare_db()
fix prepare_db
setup sentry
copy assets from tabler/dist
add icon downloaded from https://commons.wikimedia.org/wiki/File:Simpleicons_Interface_key-tool-1.svg
integrate tabler - login and register page
add favicon
template: default, header. Use gravatar for user avatar url
use default template for dashboard, developer page
use another icon
add clipboard and notie
prettify dashboard
add notie css
add fake gen email and client-user
prettify list client page, use notie for toast
add email, name scope to new client
display client scope in client list
prettify new-client, client-detail
add sentry-sdk and blinker
add arrow, add dt jinja filter, prettify logout, dashboard
comment "last used" in dashboard for now
prettify date display
add copy email to clipboard to dashboard
use "users" as table name for User as "user" is reserved key in postgres
call prepare_db() when creating new db
error page 400, 401, 403, 404
prettify authorize_login_user
create already_authorize.html for user who has already authorized a client
user can generate new email
display all other generated emails
add ENV variable, only reset DB when ENV=local
fix: not return other users gen emails
display nb users for each client
refactor shell: remove prepare_db()
add sendgrid
add /favicon.ico route
add new config: URL, SUPPORT_EMAIL, SENDGRID_API_KEY
user needs to activate their account before login
create copy button on dashboard
client can have multiple redirect uris, in client detail can add/remove redirect-uri,
use redirect_uri passed in /authorize
refactor: move get_user_info into ClientUser model
dashboard: display all apps, all generated emails
add "id" into user_info
add trigger email button
invalidate the session at each new version by changing the secret
centralize Client creation into Client.create_new
user can enable/disable email forwarding
setup auto dismiss alert: just add .alert-auto-dismiss
move name down in register form
add shell.add_real_data
move blueprint template to its own package
prettify authorize page for non-authenticated user
update readme, return error if not redirect_uri
add flask-wtf, use psycopg2-binary
use flask-wtf FlaskForm instead of Form
rename email -> email_utils
add AWS_REGION, BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to config
add s3 module
add File model, add Client.icon_id
handle client icon update
can create client with icon
display client icon in client list page
add Client.home_url
take into account Client.home_url
add boto3
register: ask name first
only show "trigger test email" if email forwarding is enabled
display gen email in alphabetical order, client in client.name alphabetical order
better error page
the modal does not get close when user clicks outside of modal
add Client.published column
discover page that displays all published Client
add missing bootstrap.bundle.min.js.map
developer can publish/unpublish their app in discover
use notie for display flash message
create hotmail account
fix missing jquery
add footer, add global jinja2 variable
strengthen model: use nullable=False whenever possible,
rename client_id to oauth_client_id, client_secret to oauth_client_secret
add flask-migrate
init migrate
1st migrate version
fix rename client_id -> oauth_client_id
prettify UI
use flask_migrate.upgrade() instead of db.create_all()
make sure requirejs.config is called for all page
enable sentry for js, use uppercase for global jinja2 variables
add flask-admin
add User.is_admin column
setup flask admin, only accessible to admin user
fix migration: add server_default
replace session[redirect_after_login] by "next" request args
add pyproject.toml: ignore migrations/ in black
add register waiting_activation_email page
better email wording
add pytest
add get_host_name_and_scheme and tests
example fail test
fix test
fix client-id display
add flask-cors
/user_info supports cors, add /me as /user_info synonym
return client in /me
support implicit flow
no need to use with "app.app_context()"
add watchtower to requirement
add param ENABLE_CLOUDWATCH, CLOUDWATCH_LOG_GROUP, CLOUDWATCH_LOG_STREAM
add cloudwatch logger if cloudwatch is enabled
add 500 error page
add help text for list of used client
display list of app/website that an email has been used
click on client name brings to client detail page
create style.css to add additional style, append its url with the current sha1 to avoid cache
POC on how to send email using postfix
add sqlalchemy-utils
use arrow instead of datetime
add new params STRIPE_API, STRIPE_YEARLY_SKU, STRIPE_MONTHLY_PLAN
show full error in local
add plan, plan_expiration to User, need to create enum directly in migration script, cf https://github.com/sqlalchemy/alembic/issues/67
reformat all html files: use space instead of tab
new user will have trial plan for 15 days
add new param MAX_NB_EMAIL_FREE_PLAN
only user with enough quota can create new email
if user cannot create new gen email, pick randomly one from existing gen emails. Use flush instead of commit
rename STRIPE_YEARLY_SKU -> STRIPE_YEARLY_PLAN
open client page in discover in a new tab
add stripe
not logging /static call: disable flask logging, replace by after_request
add param STRIPE_SECRET_KEY
add 3 columns stripe_customer_id, stripe_card_token, stripe_subscription_id
user can upgrade their pricing
add setting page as coming-soon
add GenEmail, ClientUser to admin
ignore /admin/static logging
add more fake data
add ondelete="cascade" whenever possible
rename plan_expiration -> trial_expiration
reset migration: delete old migrations, create new one
rename test_send_email -> poc_send_email to avoid the file being called by pytest
add new param LYRA_ANALYTICS_ID, add lyra analytics
add how to create new migration into readme
add drift to base.html
notify admin when new user signs up or pays subscription
log exception in case of 500
use sendgrid to notify admin
add alias /userinfo to user_info endpoint
add change_password to shell
add info on how payment is handled
invite user to retry if card not working
remove drift and add "contact us" link
move poc_send_email into poc/
support getting client-id, client-secret from form-data in addition to basic auth
client-id, client-secret is passed in form-data by passport-oauth2 for ex
add jwtRS256 private and public key
add jwk-jws-jwt poc
add new param OPENID_PRIVATE_KEY_PATH, OPENID_PRIVATE_KEY_PATH
add scope, redirect_url to AuthorizationCode and OauthToken
take into scope when creating oauth-token, authorization-code
add jwcrypto
add jose_utils: make_id_token and verify_id_token
add &scope to redirect uri
add "email_verified": True into user_info
fix user not activated
add /oauth2 as alias for /oauth
handle case where scope and state are empty
remove threaded=False
Use Email Alias as wording
remove help text
user can re-send activation email
add "expired" into ActivationCode
Handle the case activation code is expired
reformat: use form.validate_on_submit instead of request.method == post && form.validate
use error text instead of flash()
display client oauth-id and oauth-secret on client detail page
not display oauth-secret on client listing
fix expiration check
improve page title, footer
add /jwks and /.well-known/openid-configuration
init properly tests, fix blueprint conflict bug in flask-admin
create oauth_models module
rename Scope -> ScopeE to distinguish with Scope DB model
set app.url_map.strict_slashes = False
use ScopeE instead of SCOPE_NAME, ...
support access_token passed as args in /userinfo
merge /allow-deny into /authorize
improve wording
take into account the case response_type=code and openid is in scope
take into account response_type=id_token, id_token token, id_token code
make sure to use in-memory db in test
fix scope can be null
allow cross_origin for /.well-known/openid-configuration and /jwks
fix footer link
center authorize form
rename trial_expiration to plan_expiration
move stripe init to create_app()
use real email to be able to receive email notification
add user.profile_picture_id column
use user profile picture and fallback to gravatar
use nguyenkims+local@gm to distinguish with staging
handle plan cancel, reactivation, user profile update
fix can_create_new_email
create cron.py that set plan to free when expired
add crontab.yml
add yacron
use notify_admin instead of LOG.error
add ResetPasswordCode model
user can change password in setting
increase display time for notie
add forgot_password page
If login error: redirect to this page upon success login.
hide discover tab
add column user.is_developer
only show developer menu to developer
comment out the publish button
set local user to developer
make sure only developer can access /developer blueprint
User is invited to upgrade if they are in free plan or their trial ends soon
not sending email when in local mode
create Partner model
create become partner page
use normal error handling on local
fix migration
add "import sqlalchemy_utils" into migration template
small refactoring on setting page
handle promo code. TODO: add migration file
add migration for user.promo_codes
move email alias on top of apps in dashboard
add introjs
move encode_url to utils
create GenEmail.create_new_gen_email
create a first alias mail to show user how to use when they login
show intro when user visits the website the first time
fix register
2019-07-02 09:20:12 +02:00
{% block default_content %}
2020-04-05 19:59:48 +02:00
< div class = "col pb-3" >
2020-10-20 17:47:58 +02:00
<!-- Current plan -->
2020-02-13 10:57:17 +01:00
< div class = "card" >
2020-10-20 17:47:58 +02:00
< div class = "card-body" >
< div class = "card-title mb-3" > Current Plan< / div >
{% if current_user.lifetime %}
2022-06-29 11:28:26 +02:00
2020-10-20 17:47:58 +02:00
You have lifetime access to the Premium plan.
2021-11-29 16:40:13 +01:00
{% elif current_user.lifetime_or_active_subscription() %}
2022-06-28 11:58:04 +02:00
{% if paddle_sub %}
2022-06-29 11:28:26 +02:00
2021-11-29 16:40:13 +01:00
< div >
2022-06-28 11:58:04 +02:00
{% if paddle_sub.cancelled %}(Cancelled){% endif %}
{{ paddle_sub.plan_name() }} plan subscribed via Paddle.
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.billing') }}" > Manage Subscription ➡< / a >
2021-11-29 16:40:13 +01:00
< / div >
2020-10-20 17:47:58 +02:00
{% endif %}
2021-11-29 16:40:13 +01:00
{% if manual_sub and manual_sub.is_active() %}
2022-06-29 11:28:26 +02:00
2021-11-29 16:40:13 +01:00
< div >
Manual plan which expires {{ manual_sub.end_at | dt }}
({{ manual_sub.end_at.format("YYYY-MM-DD") }}).
{% if manual_sub.is_giveaway %}
2022-06-29 11:28:26 +02:00
< br / >
To gain additional features and support SimpleLogin you can upgrade to a Premium plan.
< br / >
< a href = "{{ url_for('dashboard.pricing') }}"
class="btn btn-sm btn-outline-primary">Upgrade< / a >
2021-11-29 16:40:13 +01:00
{% endif %}
< / div >
{% endif %}
{% if apple_sub and apple_sub.is_valid() %}
2022-06-29 11:28:26 +02:00
2021-11-29 16:40:13 +01:00
< div >
Premium plan subscribed via Apple which expires {{ apple_sub.expires_date | dt }}
({{ apple_sub.expires_date.format("YYYY-MM-DD") }}).
< div class = "alert alert-info" >
If you want to subscribe via the Web instead, please make sure to cancel your subscription
on Apple first.
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.pricing') }}" >
Upgrade < i class = "fa fa-arrow-right" aria-hidden = "true" > < / i >
< / a >
2021-11-29 16:40:13 +01:00
< / div >
< / div >
{% endif %}
{% if coinbase_sub and coinbase_sub.is_active() %}
2022-06-29 11:28:26 +02:00
2021-11-29 16:40:13 +01:00
< div >
Yearly plan subscribed with cryptocurrency which expires on
{{ coinbase_sub.end_at.format("YYYY-MM-DD") }}.
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.coinbase_checkout_route') }}"
2023-02-27 13:15:25 +01:00
target="_blank"
rel="noopener noreferrer">
2021-11-29 16:40:13 +01:00
Extend Subscription < i class = "fe fe-external-link" > < / i >
< / a >
< / div >
{% endif %}
2022-06-29 11:28:26 +02:00
{% if partner_sub %}< div > Premium subscription managed by {{ partner_name }}.< / div > {% endif %}
2020-10-20 17:47:58 +02:00
{% elif current_user.in_trial() %}
Your Premium trial expires {{ current_user.trial_end | dt }}.
{% else %}
You are on the Free plan.
{% endif %}
< / div >
< / div >
<!-- END Current plan -->
2020-10-22 11:09:37 +02:00
<!-- TOTP -->
< div class = "card" id = "totp" >
< div class = "card-body" >
< div class = "card-title" > Two Factor Authentication< / div >
< div class = "mb-3" >
2022-06-29 11:28:26 +02:00
Secure your account with 2FA, you'll be asked for a code generated through an app when you login.
< br / >
2020-10-22 11:09:37 +02:00
< / div >
{% if not current_user.enable_otp %}
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.mfa_setup') }}"
class="btn btn-outline-primary">Setup TOTP< / a >
2020-10-22 11:09:37 +02:00
{% else %}
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.mfa_cancel') }}"
class="btn btn-outline-danger">Disable TOTP< / a >
2020-10-22 11:09:37 +02:00
{% endif %}
< / div >
< / div >
<!-- END TOTP -->
2020-10-20 17:47:58 +02:00
<!-- WebAuthn -->
< div class = "card" >
< div class = "card-body" >
< div class = "card-title" > Security Key (WebAuthn)< / div >
< div class = "mb-3" >
You can secure your account by linking either your FIDO-supported physical key such as Yubikey, Google
Titan,
or a device with appropriate hardware to your account.
2020-02-13 10:57:17 +01:00
< / div >
2020-10-20 17:47:58 +02:00
{% if current_user.fido_uuid is none %}
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.fido_setup') }}"
class="btn btn-outline-primary">Setup WebAuthn< / a >
2020-10-20 17:47:58 +02:00
{% else %}
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.fido_manage') }}"
class="btn btn-outline-info">Manage WebAuthn< / a >
2020-10-20 17:47:58 +02:00
{% endif %}
< / div >
2020-02-13 10:57:17 +01:00
< / div >
2020-10-20 17:47:58 +02:00
<!-- END WebAuthn -->
<!-- Newsletter -->
< div class = "card" id = "notification" >
< div class = "card-body" >
< div class = "card-title" > Newsletters< / div >
2022-06-29 11:28:26 +02:00
< div class = "mb-3" > We will occasionally send you emails with new feature announcements.< / div >
2020-10-20 17:47:58 +02:00
< form method = "post" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2020-10-20 17:47:58 +02:00
< input type = "hidden" name = "form-name" value = "notification-preference" >
< div class = "form-check" >
2022-06-29 11:28:26 +02:00
< input type = "checkbox"
id="notification"
name="notification"
{% if current_user.notification %} checked{% endif %}
class="form-check-input">
2020-10-20 17:47:58 +02:00
< label for = "notification" > I want to be emailed when new features are released.< / label >
< / div >
< button type = "submit" class = "btn btn-outline-primary" > Submit< / button >
< / form >
< / div >
< / div >
<!-- END Newsletter -->
2020-02-13 10:57:17 +01:00
<!-- Change name & profile picture -->
< div class = "card" >
< form method = "post" enctype = "multipart/form-data" >
{{ form.csrf_token }}
< input type = "hidden" name = "form-name" value = "update-profile" >
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" > Profile< / div >
2020-04-12 19:43:46 +02:00
< div >
2020-10-20 18:02:52 +02:00
This information will be filled in automatically when you use the
< em > Sign in with SimpleLogin< / em > button.
2020-04-12 19:43:46 +02:00
< / div >
< div class = "form-group mt-3" >
2020-02-13 10:57:17 +01:00
< label class = "form-label" > Name< / label >
{{ form.name(class="form-control", value=current_user.name) }}
{{ render_field_errors(form.name) }}
< / div >
< div class = "form-group" >
< div class = "form-label" > Profile picture< / div >
{{ form.profile_picture(class="form-control-file") }}
{{ render_field_errors(form.profile_picture) }}
{% if current_user.profile_picture_id %}
2022-06-29 11:28:26 +02:00
< img src = "{{ current_user.profile_picture_url() }}"
class="profile-picture">
2020-02-13 10:57:17 +01:00
{% endif %}
< / div >
2020-04-28 20:25:40 +02:00
< button class = "btn btn-outline-primary" > Update< / button >
2020-02-13 10:57:17 +01:00
< / div >
< / form >
< / div >
<!-- END change name & profile picture -->
2020-10-20 17:47:58 +02:00
<!-- Change email -->
2020-05-28 20:38:29 +02:00
< div class = "card" >
2020-10-20 17:47:58 +02:00
< form method = "post" enctype = "multipart/form-data" >
< input type = "hidden" name = "form-name" value = "update-email" >
{{ change_email_form.csrf_token }}
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" > Account Email< / div >
2020-10-20 18:02:52 +02:00
< div class = "mb-3" >
2022-06-29 11:28:26 +02:00
This email address is used to log in to SimpleLogin.
< br / >
2020-10-20 18:02:52 +02:00
If you want to change the mailbox that emails are forwarded to, use the
< a href = "{{ url_for('dashboard.mailbox_route') }}" >
< i class = "fe fe-inbox" > < / i > Mailboxes page
2022-06-29 11:28:26 +02:00
< / a >
instead.
2020-10-20 18:02:52 +02:00
< / div >
< div class = "form-group mt-2" >
2020-10-20 17:47:58 +02:00
<!-- Not allow user to change email if there's a pending change -->
{{ change_email_form.email(class="form-control", value=current_user.email, readonly=pending_email != None) }}
{{ render_field_errors(change_email_form.email) }}
{% if pending_email %}
2022-06-29 11:28:26 +02:00
2020-10-20 17:47:58 +02:00
< div class = "mt-2" >
< span class = "text-danger" > Pending email change: {{ pending_email }}< / span >
2022-06-29 11:28:26 +02:00
< a href = "{{ url_for('dashboard.resend_email_change') }}"
class="btn btn-secondary btn-sm">
Resend
confirmation email
< / a >
< a href = "{{ url_for('dashboard.cancel_email_change') }}"
class="btn btn-secondary btn-sm">
Cancel email
change
< / a >
2020-10-20 17:47:58 +02:00
< / div >
{% endif %}
< / div >
< button class = "btn btn-outline-primary" > Change Email< / button >
2020-02-13 11:05:34 +01:00
< / div >
2020-10-20 17:47:58 +02:00
< / form >
2019-12-29 15:10:40 +01:00
< / div >
2020-10-20 17:47:58 +02:00
<!-- END Change email -->
2022-03-14 09:33:31 +01:00
<!-- Connect with Proton -->
{% if connect_with_proton %}
2022-06-29 11:28:26 +02:00
2022-07-04 15:39:12 +02:00
< div class = "card" id = "connect-with-proton" >
2022-03-14 09:33:31 +01:00
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" > Connect with Proton< / div >
2022-03-14 09:33:31 +01:00
{% if proton_linked_account != None %}
2022-06-29 11:28:26 +02:00
2022-03-14 09:33:31 +01:00
< div class = "mb-3" >
2022-06-30 19:19:22 +02:00
Your account is currently linked to the Proton account < b > {{ proton_linked_account }}< / b >
2022-06-29 11:28:26 +02:00
< br / >
2022-03-14 09:33:31 +01:00
< / div >
2022-10-27 10:04:47 +02:00
< form method = "post"
action="{{ url_for("dashboard.unlink_proton_account") }}">
{{ csrf_form.csrf_token }}
< button class = "btn btn-primary mt-2 proton-button" >
< img class = "mr-2" src = "/static/images/proton.svg" >
Unlink account
< / button >
< / form >
2022-03-14 09:33:31 +01:00
{% else %}
< div class = "mb-3" >
2022-07-25 18:10:30 +02:00
You can connect your Proton and SimpleLogin accounts.
< br >
You can then quickly log in to your SimpleLogin account using the Proton one.
< br >
If you have Proton Unlimited, Business or Visionary, you can have SimpleLogin premium for free.
2022-06-29 11:28:26 +02:00
< br / >
2022-03-14 09:33:31 +01:00
< / div >
2022-06-29 11:28:26 +02:00
< a class = "btn btn-primary mt-2 proton-button"
href="{{ url_for("auth.proton_login", action="link") }}">
< img class = "mr-2"
src="{{ url_for('static', filename='images/proton.svg') }}"/>
Connect with Proton
< / a >
2022-03-14 09:33:31 +01:00
{% endif %}
< / div >
< / div >
{% endif %}
<!-- END Connect with Proton -->
2020-10-20 17:42:05 +02:00
<!-- Change password -->
2022-01-20 16:40:28 +01:00
< div class = "card" id = "change_password" >
2020-02-13 11:05:34 +01:00
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" > Password< / div >
2022-10-03 12:32:45 +02:00
< div class = "mb-3" > You will receive an email containing instructions on how to change your password.< / div >
2020-02-13 11:05:34 +01:00
< form method = "post" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2020-02-13 11:05:34 +01:00
< input type = "hidden" name = "form-name" value = "change-password" >
2022-10-03 12:32:45 +02:00
< button class = "btn btn-outline-primary" > Change password< / button >
2020-02-13 11:05:34 +01:00
< / form >
2020-02-13 10:57:17 +01:00
< / div >
2020-02-13 11:05:34 +01:00
< / div >
2020-10-20 17:42:05 +02:00
<!-- END Change password -->
<!-- Random alias -->
2020-06-25 13:04:27 +02:00
< div id = "random-alias" class = "card" >
2020-02-13 11:05:34 +01:00
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" >
Aliases
< / div >
< div class = "mt-3 mb-1" >
Change the way random aliases are generated by default.
< / div >
2020-06-25 13:04:27 +02:00
< form method = "post" action = "#random-alias" class = "form-inline" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2020-02-13 11:05:34 +01:00
< input type = "hidden" name = "form-name" value = "change-alias-generator" >
2020-05-02 12:28:20 +02:00
< select class = "form-control mr-sm-2" name = "alias-generator-scheme" >
2020-02-13 11:05:34 +01:00
< option value = "{{ AliasGeneratorEnum.word.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.alias_generator == AliasGeneratorEnum.word.value %} selected{% endif %}>
Based on
Random {{ AliasGeneratorEnum.word.name.capitalize() }}
< / option >
2020-02-13 11:05:34 +01:00
< option value = "{{ AliasGeneratorEnum.uuid.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.alias_generator == AliasGeneratorEnum.uuid.value %} selected{% endif %}>
Based
on {{ AliasGeneratorEnum.uuid.name.upper() }}
< / option >
2020-02-13 11:05:34 +01:00
< / select >
2022-06-29 11:28:26 +02:00
< button class = "btn btn-outline-primary" >
Update
< / button >
2020-02-13 11:05:34 +01:00
< / form >
2022-06-29 11:28:26 +02:00
< div class = "mt-3 mb-1" >
Select the default domain for aliases.
< / div >
2020-07-04 23:29:06 +02:00
< form method = "post" action = "#random-alias" class = "form-inline" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden"
name="form-name"
value="change-random-alias-default-domain">
2020-07-04 23:29:06 +02:00
< select class = "form-control mr-sm-2" name = "random-alias-default-domain" >
2022-06-29 11:28:26 +02:00
< option value = "" >
Not Selected
< / option >
2022-05-11 19:09:51 +02:00
{% for is_public, domain in current_user.available_domains_for_random_alias() %}
2022-06-29 11:28:26 +02:00
< option value = "{{ domain }}" { % if current_user . default_alias_custom_domain_id or current_user . default_alias_public_domain_id % }
{% if current_user.default_random_alias_domain() == domain %}
selected {% endif %} {% endif %}>
{{ domain }} (
{% if is_public %}
SimpleLogin domain
{% else %}
your domain
{% endif %}
)
2022-05-11 19:09:51 +02:00
< / option >
{% endfor %}
2020-07-04 23:29:06 +02:00
< / select >
2022-06-29 11:28:26 +02:00
< button class = "btn btn-outline-primary" >
Update
< / button >
2020-07-04 23:29:06 +02:00
< / form >
2022-06-29 11:28:26 +02:00
< div id = "random-alias-suffix" class = "mt-3 mb-1" >
Select the default suffix generator for aliases.
< / div >
2021-05-14 01:53:01 +02:00
< form method = "post" action = "#random-alias-suffix" class = "form-inline" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2021-05-14 01:53:01 +02:00
< input type = "hidden" name = "form-name" value = "random-alias-suffix" >
< select class = "form-control mr-sm-2" name = "random-alias-suffix-generator" >
2022-06-29 11:28:26 +02:00
< option value = "0"
{% if current_user.random_alias_suffix==0 %} selected{% endif %}>
2021-05-14 01:53:01 +02:00
Random word from our dictionary
< / option >
2022-06-29 11:28:26 +02:00
< option value = "1"
{% if current_user.random_alias_suffix==1 %} selected{% endif %}>
2021-05-14 01:53:01 +02:00
Random combination of {{ ALIAS_RAND_SUFFIX_LENGTH }} letter and digits
< / option >
< / select >
2022-06-29 11:28:26 +02:00
< button class = "btn btn-outline-primary" >
Update
< / button >
2021-05-14 01:53:01 +02:00
< / form >
2020-02-13 11:05:34 +01:00
< / div >
< / div >
2020-10-20 17:42:05 +02:00
<!-- END Random alias -->
<!-- Sender Format -->
2020-03-28 22:36:19 +01:00
< div class = "card" id = "sender-format" >
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" >
Sender Address Format
< / div >
2020-03-28 22:36:19 +01:00
< div class = "mt-1 mb-3" >
2020-09-23 19:36:54 +02:00
When your alias receives an email, say from: < b > John Wick < john@wick.com> < / b > ,
2022-06-29 11:28:26 +02:00
SimpleLogin forwards it to your mailbox.
< br / >
2020-03-28 22:36:19 +01:00
Due to some email constraints, SimpleLogin cannot keep the sender email address
2020-05-15 16:14:12 +02:00
in the original form and needs to < b > transform< / b > it to one of the formats below.
2020-03-28 22:36:19 +01:00
< / div >
< form method = "post" action = "#sender-format" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2020-03-28 22:36:19 +01:00
< input type = "hidden" name = "form-name" value = "change-sender-format" >
2020-05-15 16:14:12 +02:00
< select class = "form-control mr-sm-2" name = "sender-format" >
< option value = "{{ SenderFormatEnum.AT.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.sender_format == SenderFormatEnum.AT.value %} selected{% endif %}>
2020-05-18 19:15:20 +02:00
John Wick - john at wick.com
< / option >
2020-05-15 16:14:12 +02:00
< option value = "{{ SenderFormatEnum.A.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.sender_format == SenderFormatEnum.A.value %} selected{% endif %}>
2020-05-18 19:15:20 +02:00
John Wick - john(a)wick.com
< / option >
2021-12-28 10:49:37 +01:00
< option value = "{{ SenderFormatEnum.NAME_ONLY.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.sender_format == SenderFormatEnum.NAME_ONLY.value %} selected{% endif %}>
2021-12-28 10:49:37 +01:00
John Wick
< / option >
< option value = "{{ SenderFormatEnum.AT_ONLY.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.sender_format == SenderFormatEnum.AT_ONLY.value %} selected{% endif %}>
2021-12-28 10:49:37 +01:00
john at wick.com
< / option >
< option value = "{{ SenderFormatEnum.NO_NAME.value }}"
2022-06-29 11:28:26 +02:00
{% if current_user.sender_format == SenderFormatEnum.NO_NAME.value %} selected{% endif %}>
2021-12-28 10:49:37 +01:00
No Name (i.e. only reverse-alias)
< / option >
2020-05-15 16:14:12 +02:00
< / select >
2022-06-29 11:28:26 +02:00
< button class = "btn btn-outline-primary mt-3" >
Update
< / button >
2020-03-28 22:36:19 +01:00
< / form >
< / div >
< / div >
2020-10-20 17:42:05 +02:00
<!-- END Sender Format -->
2021-07-11 09:07:25 +02:00
<!-- Reverse - alias replacement -->
< div class = "card" id = "reverse-alias-replacement-section" >
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" >
Reverse Alias Replacement
< div class = "badge badge-warning" >
Experimental
< / div >
2021-07-11 09:07:25 +02:00
< / div >
< div class = "mb-3" >
When replying to a forwarded email, the < b > reverse-alias< / b > can be automatically included
2021-11-03 12:36:07 +01:00
in the attached message by your email client.
2021-11-29 16:40:13 +01:00
If this option is enabled, SimpleLogin will try to < b > replace< / b > the reverse-alias by your contact email.
2022-06-29 11:28:26 +02:00
< br / >
2020-12-01 18:36:24 +01:00
< / div >
2021-07-11 09:07:25 +02:00
< form method = "post" action = "#reverse-alias-replacement-section" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2021-07-11 09:07:25 +02:00
< input type = "hidden" name = "form-name" value = "replace-ra" >
< div class = "form-check" >
2022-06-29 11:28:26 +02:00
< input type = "checkbox"
id="replace-ra"
name="replace-ra"
{% if current_user.replace_reverse_alias %} checked{% endif %}
class="form-check-input">
< label for = "replace-ra" >
Enable replacing reverse alias
< / label >
2021-07-11 09:07:25 +02:00
< / div >
2022-06-29 11:28:26 +02:00
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
2021-07-11 09:07:25 +02:00
< / form >
2020-05-17 14:53:43 +02:00
< / div >
2021-07-11 09:07:25 +02:00
< / div >
2020-10-20 17:42:05 +02:00
<!-- END Reverse - alias -->
2020-12-06 19:38:37 +01:00
<!-- Sender included in reverse - alias -->
< div class = "card" id = "sender-in-ra" >
< div class = "card-body" >
2022-06-29 11:28:26 +02:00
< div class = "card-title" >
Include sender address in reverse-alias
< / div >
2020-12-06 19:38:37 +01:00
< div class = "mb-3" >
2022-08-23 11:24:49 +02:00
If this option is enabled, new reverse-alias will include the sender address (e.g. < span class = "italic" > sender_domain_com_gibberish@simplelogin.co< / span > )
so you can quickly know the sender.
2022-06-29 11:28:26 +02:00
< br / >
2022-08-23 11:24:49 +02:00
If disabled, a new reverse-alias will be randomly generated.
Please note that existing reverse-aliases won't change.
2020-12-06 19:38:37 +01:00
< / div >
< form method = "post" action = "#sender-in-ra" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2020-12-06 19:38:37 +01:00
< input type = "hidden" name = "form-name" value = "sender-in-ra" >
< div class = "form-check" >
< input type = "checkbox" id = "include-sender-ra" name = "enable"
2022-06-29 11:28:26 +02:00
{# todo: remove current_user.include_sender_in_reverse_alias is none condition #}
{% if current_user.include_sender_in_reverse_alias is none or current_user.include_sender_in_reverse_alias %}
2020-12-06 19:38:37 +01:00
2022-06-29 11:28:26 +02:00
checked {% endif %} class="form-check-input">
< label for = "include-sender-ra" >
Include sender address in reverse-alias
< / label >
< / div >
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
< / form >
2021-07-22 10:30:17 +02:00
< / div >
2022-01-12 11:50:42 +01:00
< / div >
2022-06-29 11:28:26 +02:00
<!-- END Reverse - alias -->
<!-- Always expand alias info -->
< div class = "card" id = "expand-alias-info-section" >
< div class = "card-body" >
< div class = "card-title" >
Always expand alias info
< / div >
< div class = "mb-3" >
By default, additional alias info is shown after clicking on the "More" button.
< br / >
When this option is enabled, alias additional info will always be shown.
< br / >
< / div >
< form method = "post" action = "#expand-alias-info-section" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden" name = "form-name" value = "expand-alias-info" >
< div class = "form-check" >
< input type = "checkbox"
id="expand-alias-info"
name="enable"
{% if current_user.expand_alias_info %} checked{% endif %}
class="form-check-input">
< label for = "expand-alias-info" >
Automatically expand alias info
< / label >
< / div >
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
< / form >
2022-01-12 11:50:42 +01:00
< / div >
2021-11-03 10:11:47 +01:00
< / div >
2022-06-29 11:28:26 +02:00
<!-- END Always expand alias info -->
<!-- Include website address in alias -->
< div class = "card" id = "include_website_in_one_click_alias" >
< div class = "card-body" >
< div class = "card-title" >
Include website address in one-click alias creation on browser extension
< / div >
< div class = "mb-3" >
If enabled, the website name will be used as alias prefix
when you create an alias via SimpleLogin browser extension via the email input field
< br / >
< img src = "https://simplelogin.io/images/one-click-alias.gif"
class="my-2"
style="max-width: 40%">
< / div >
< form method = "post" action = "#include_website_in_one_click_alias" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden"
name="form-name"
value="include_website_in_one_click_alias">
< div class = "form-check" >
< input type = "checkbox"
id="include-website-in-alias"
name="enable"
{% if current_user.include_website_in_one_click_alias %} checked{% endif %}
class="form-check-input">
< label for = "include-website-in-alias" >
Include website address in alias
< / label >
< / div >
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
< / form >
2021-11-03 10:11:47 +01:00
< / div >
2020-03-14 16:10:09 +01:00
< / div >
2022-06-29 11:28:26 +02:00
<!-- END Include website address in alias -->
<!-- Ignore Loop Email -->
{# < div class = "card" id = "ignore-loop-email-section" > #}
{# < div class = "card-body" > #}
{# < div class = "card-title" > Ignore Loop Emails< / div > #}
{# < div class = "mb-3" > #}
{# On some email clients, "Reply All" automatically includes your alias that#}
{# would send the same email to your mailbox.#}
{# < br / > #}
{# You can disable these "loop" emails by enabling this option.#}
{# < / div > #}
{# < form method = "post" action = "#ignore-loop-email-section" > #}
2022-10-27 10:04:47 +02:00
{# {{ csrf_form.csrf_token }} #}
2022-06-29 11:28:26 +02:00
{# < input type = "hidden" name = "form-name" value = "ignore-loop-email" > #}
{# < div class = "form-check" > #}
{# < input type = "checkbox" id = "ignore-loop-email" name = "enable" # }
{# {% if current_user.ignore_loop_email %} checked{% endif %} class="form-check-input">#}
{# < label for = "ignore-loop-email" > Ignore Loop Emails< / label > #}
{# < / div > #}
{# < button type = "submit" class = "btn btn-outline-primary" > Update< / button > #}
{# < / form > #}
{# < / div > #}
{# < / div > #}
<!-- END Ignore Loop Email -->
<!-- One - click subscribe -->
< div class = "card" id = "one-click-unsubscribe-section" >
< div class = "card-body" >
< div class = "card-title" >
One-click unsubscribe
< / div >
< div class = "mb-3" >
On email clients that support the
< a href = "https://simplelogin.io/docs/getting-started/one-click-unsubscribe/" >
One-click unsubscribe
< / a >
2022-07-19 17:25:21 +02:00
button, clicking on it will allow you to do one of these actions:
2022-07-19 18:58:41 +02:00
< ul >
< li >
< b > Original action:< / b > Use the same unsubscribe policy set by your sender.
SimpleLogin will make sure to hide your mailbox address.
< / li >
< li >
< b > Disable alias:< / b > The unsubscribe action will disable the alias that received the email.
< / li >
< li >
< b > Block contact:< / b > The sender of the email will be blocked: you won't receive emails from this sender to your alias anymore.
< / li >
< / ul >
2022-06-29 11:28:26 +02:00
< / div >
2022-07-19 17:25:21 +02:00
< form method = "post"
action="#one-click-unsubscribe-section"
class="form-inline">
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden" name = "form-name" value = "one-click-unsubscribe" >
2022-07-19 17:25:21 +02:00
< select class = "form-control mr-sm-2" name = "unsubscribe-behaviour" >
< option value = "{{ UnsubscribeBehaviourEnum.PreserveOriginal.name }}" { % if current_user . unsub_behaviour . value = = UnsubscribeBehaviourEnum . PreserveOriginal . value % }
selected="selected" {% endif %}>
2022-07-19 18:58:41 +02:00
Preserve the original unsubscribe policy
2022-07-19 17:25:21 +02:00
< / option >
< option value = "{{ UnsubscribeBehaviourEnum.DisableAlias.name }}" { % if current_user . unsub_behaviour . value = = UnsubscribeBehaviourEnum . DisableAlias . value % }
selected="selected" {% endif %}>
Disable the alias that received the email
< / option >
< option value = "{{ UnsubscribeBehaviourEnum.BlockContact.name }}" { % if current_user . unsub_behaviour . value = = UnsubscribeBehaviourEnum . BlockContact . value % }
selected="selected" {% endif %}>
Block the sender that sent the original email
< / option >
< / select >
2022-06-29 11:28:26 +02:00
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
< / form >
< / div >
2022-02-21 12:52:21 +01:00
< / div >
2022-06-29 11:28:26 +02:00
<!-- END One - click subscribe -->
< div class = "card" >
< div class = "card-body" >
< div class = "card-title" >
2022-07-19 16:00:02 +02:00
Quarantine & Bounces
2022-06-29 11:28:26 +02:00
< / div >
< div class = "mb-3" >
2022-07-19 16:00:02 +02:00
When an email is refused (or bounced) by your mailbox provider or flagged by
< a href = "https://simplelogin.io/docs/getting-started/anti-phishing/" > SimpleLogin anti-phishing program< / a > ,
SimpleLogin keeps a copy of this email for 7 days so you can take a look at its content and take appropriate actions.
2022-06-29 11:28:26 +02:00
< br / >
The emails are deleted in 7 days.
2022-07-19 16:00:02 +02:00
< br / >
This is an exceptional case where SimpleLogin temporarily stores the email.
2022-06-29 11:28:26 +02:00
< / div >
< a href = "{{ url_for('dashboard.refused_email_route') }}"
class="btn btn-outline-primary">
2022-07-19 16:00:02 +02:00
See quarantine & bounce emails
2022-06-29 11:28:26 +02:00
< / a >
< / div >
2022-02-25 12:21:53 +01:00
< / div >
2022-06-29 11:28:26 +02:00
< div class = "card" id = "blocked-behaviour" >
< div class = "card-body" >
< div class = "card-title" >
Disabled alias/Blocked contact
< / div >
< div class = "mb-3" >
When an email is sent to a < b > disabled< / b > alias or sent from a < b > blocked< / b > contact, you can decide what
response the sender should see.
< br / >
< b > Ignore< / b > means they will see the message as delivered, but SimpleLogin won't actually forward it to you.
This is the default option as you can start receiving the emails again
by re-enabling the alias or unblocking a contact.
< br / >
< b > Reject< / b > means SimpleLogin will tell them that the alias does not exist.
< br / >
< / div >
< form method = "post" action = "#blocked-behaviour" class = "form-inline" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden" name = "form-name" value = "change-blocked-behaviour" >
< select class = "form-control mr-sm-2" name = "blocked-behaviour" >
< option value = "{{ BlockBehaviourEnum.return_2xx.value }}"
{% if current_user.block_behaviour.value == BlockBehaviourEnum.return_2xx.value %} selected="selected"{% endif %}>
Ignore (the sender will see the email as delivered, but you won't receive anything).
< / option >
< option value = "{{ BlockBehaviourEnum.return_5xx.value }}"
{% if current_user.block_behaviour.value == BlockBehaviourEnum.return_5xx.value %} selected="selected"{% endif %}>
Reject (the sender will be told that your alias does not exist).
< / option >
< / select >
< button class = "btn btn-outline-primary" >
Update
< / button >
< / form >
< / div >
2022-02-25 12:21:53 +01:00
< / div >
2022-06-29 11:28:26 +02:00
< div class = "card" id = "sender-header" >
< div class = "card-body" >
< div class = "card-title" >
Include original sender in email headers
< / div >
< div class = "mb-3" >
SimpleLogin forwards emails to your mailbox from the < b > reverse-alias< / b > and not from the < b > original< / b >
sender address.
< br / >
If this option is enabled, the original sender addresses is stored in the email header < b > X-SimpleLogin-Envelope-From< / b > .
You can choose to display this header in your email client.
< br / >
As email headers aren't encrypted, your mailbox service can know the sender address via this header.
< / div >
< form method = "post" action = "#sender-header" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden" name = "form-name" value = "sender-header" >
< div class = "form-check" >
< input type = "checkbox"
id="include-sender-header"
name="enable"
{% if current_user.include_header_email_header %} checked{% endif %}
class="form-check-input">
< label for = "include-sender-header" >
Include sender address in email headers
< / label >
< / div >
< button type = "submit" class = "btn btn-outline-primary" >
Update
< / button >
< / form >
2022-02-25 12:21:53 +01:00
< / div >
2020-09-10 20:14:55 +02:00
< / div >
2022-06-29 11:28:26 +02:00
< div class = "card" >
< div class = "card-body" >
< div class = "card-title" >
2022-11-23 13:51:08 +01:00
Alias import/export
2022-06-29 11:28:26 +02:00
< / div >
< div class = "mb-3" >
You can import your aliases created on other platforms into SimpleLogin.
2022-11-23 13:51:08 +01:00
You can also export your aliases to a readable csv format for a future batch import.
2022-06-29 11:28:26 +02:00
< / div >
< a href = "{{ url_for('dashboard.batch_import_route') }}"
class="btn btn-outline-primary">
Batch Import
< / a >
2022-11-23 13:51:08 +01:00
< a href = "{{ url_for('dashboard.alias_export_route') }}"
class="btn btn-outline-secondary">
Export Aliases
< / a >
2022-06-29 11:28:26 +02:00
< / div >
2020-02-13 11:05:34 +01:00
< / div >
2022-06-29 11:28:26 +02:00
< div class = "card" >
< div class = "card-body" >
< div class = "card-title" >
SimpleLogin data export
< / div >
< div class = "mb-3" >
As per GDPR (General Data Protection Regulation) law, you can request a copy of your data which are stored on
SimpleLogin.
A zip file that contains all information will be sent to your SimpleLogin account address.
< / div >
< div class = "d-flex" >
< div >
< form method = "post" >
2022-10-27 10:04:47 +02:00
{{ csrf_form.csrf_token }}
2022-06-29 11:28:26 +02:00
< input type = "hidden" name = "form-name" value = "send-full-user-report" >
< button class = "btn btn-outline-info" >
Request your data
< / button >
< / form >
< / div >
< / div >
2020-09-30 12:20:18 +02:00
< / div >
< / div >
2022-06-29 11:28:26 +02:00
< div class = "card" >
< div class = "card-body" >
< div class = "card-title" >
Account Deletion
< / div >
< div class = "mb-3" >
If SimpleLogin isn't the right fit for you, you can simply delete your account.
< / div >
< a href = "{{ url_for('dashboard.delete_account') }}"
class="btn btn-outline-danger">
Delete account
< / a >
< / div >
2020-02-13 11:05:34 +01:00
< / div >
< / div >
2022-06-29 11:28:26 +02:00
{% endblock %}
2022-07-04 15:39:12 +02:00
{% block script %}
< script >
2022-07-19 17:25:21 +02:00
let anchor = window.location.hash;
$(anchor).addClass("highlighted")
2022-07-04 15:39:12 +02:00
< / script >
{% endblock %}