Commit Graph

147 Commits

Author SHA1 Message Date
Son NK e5926978c8 use bouncer on custom alias page 2021-04-30 11:45:00 +02:00
Son NK 722e38deb1 install formbouncer 2021-04-30 11:44:43 +02:00
Son NK c715f87526 improve SIWSL UI 2021-04-06 12:06:46 +02:00
Son NK 2ad1b75e45 change wording 2021-03-22 15:40:17 +01:00
Son NK f0fb5108f9 show a different message for custom domain alias when deleting 2021-03-18 14:45:18 +01:00
Son NK 8bb324e82b propose users to disable an alias instead of deleting it 2021-03-18 14:21:26 +01:00
Son NK 9dede0a281 remove unused var 2021-03-18 13:54:14 +01:00
Son NK bcfc846af3 refactor: extract disableAlias() 2021-03-18 13:52:58 +01:00
Son NK 89c69ad625 refactor index.js 2021-03-18 13:52:13 +01:00
Son NK 91e805a637 move js part in index to a separate file 2021-03-18 12:34:08 +01:00
Sylvia van Os c6646d5971 Add export test 2021-03-10 22:35:04 +01:00
Sylvia van Os 1915c8d09d Export and import mailbox info with alias 2021-03-09 21:09:58 +01:00
snyk-bot 1386afe545
fix: upgrade @sentry/browser from 5.27.6 to 5.30.0
Snyk has created this PR to upgrade @sentry/browser from 5.27.6 to 5.30.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2021-03-06 03:23:44 +00:00
Son Nguyen Kim 48dcd634fa
Merge pull request #352 from simple-login/snyk-upgrade-d5185be84c60a61c96600ab52a66962e
[Snyk] Upgrade bootbox from 5.5.1 to 5.5.2
2021-03-05 13:13:29 +01:00
Son NK cb58adc44b prettify alert-info 2021-02-15 20:21:55 +01:00
Son NK 7efce95145 add warning for cloudflare when setup DNS 2021-02-15 20:21:55 +01:00
Son NK 3b850f6228 create analytics.js 2020-12-28 16:30:44 +01:00
snyk-bot d924dc1d52
fix: upgrade bootbox from 5.5.1 to 5.5.2
Snyk has created this PR to upgrade bootbox from 5.5.1 to 5.5.2.

See this package in npm:
https://www.npmjs.com/package/bootbox

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-12-22 03:23:42 +00:00
snyk-bot 6982a9bc5e
fix: upgrade @sentry/browser from 5.27.4 to 5.27.6
Snyk has created this PR to upgrade @sentry/browser from 5.27.4 to 5.27.6.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-12-15 03:23:47 +00:00
snyk-bot 537617ae34
fix: upgrade @sentry/browser from 5.27.3 to 5.27.4
Snyk has created this PR to upgrade @sentry/browser from 5.27.3 to 5.27.4.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-12-05 03:23:53 +00:00
snyk-bot 2b429b1738
fix: upgrade @sentry/browser from 5.27.2 to 5.27.3
Snyk has created this PR to upgrade @sentry/browser from 5.27.2 to 5.27.3.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-26 03:24:18 +00:00
snyk-bot 5cdd3e1969
fix: upgrade @sentry/browser from 5.26.0 to 5.27.2
Snyk has created this PR to upgrade @sentry/browser from 5.26.0 to 5.27.2.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-24 03:24:00 +00:00
Son Nguyen Kim a9bd313d52
Merge pull request #324 from simple-login/snyk-upgrade-bf37bdbfd90b8c29bd0e75d289390ab6
[Snyk] Upgrade @sentry/browser from 5.25.0 to 5.26.0
2020-11-23 11:08:52 +01:00
Son NK ec4d879836 change promotion to 1st year only 2020-11-10 22:37:58 +01:00
snyk-bot 42237c9539
fix: upgrade @sentry/browser from 5.25.0 to 5.26.0
Snyk has created this PR to upgrade @sentry/browser from 5.25.0 to 5.26.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-03 03:23:45 +00:00
snyk-bot 6df616c4b4
fix: upgrade bootbox from 5.4.0 to 5.5.1
Snyk has created this PR to upgrade bootbox from 5.4.0 to 5.5.1.

See this package in npm:
https://www.npmjs.com/package/bootbox

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-11-01 03:25:19 +00:00
snyk-bot a8d4ef73a2
fix: upgrade @sentry/browser from 5.24.2 to 5.25.0
Snyk has created this PR to upgrade @sentry/browser from 5.24.2 to 5.25.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-10-27 03:23:50 +00:00
Son NK c140d3f842 improve reverse-alias instruction use 2020-10-24 16:23:47 +02:00
snyk-bot 23d7a83f16
fix: upgrade @sentry/browser from 5.23.0 to 5.24.2
Snyk has created this PR to upgrade @sentry/browser from 5.23.0 to 5.24.2.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-10-10 03:23:42 +00:00
snyk-bot 8b63d302e4
fix: upgrade @sentry/browser from 5.22.3 to 5.23.0
Snyk has created this PR to upgrade @sentry/browser from 5.22.3 to 5.23.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-10-01 03:23:45 +00:00
snyk-bot 89c91f3843
fix: upgrade @sentry/browser from 5.21.4 to 5.22.3
Snyk has created this PR to upgrade @sentry/browser from 5.21.4 to 5.22.3.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-30 03:23:40 +00:00
snyk-bot b8099bdb2f
fix: upgrade @sentry/browser from 5.21.3 to 5.21.4
Snyk has created this PR to upgrade @sentry/browser from 5.21.3 to 5.21.4.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-15 03:23:43 +00:00
Son Nguyen Kim 3e450c5ac2
Merge pull request #283 from simple-login/snyk-upgrade-cf909261df1f4c89d4cc698a2c9edcd2
[Snyk] Upgrade @sentry/browser from 5.21.1 to 5.21.3
2020-09-12 14:45:20 +02:00
snyk-bot 54ace01d86
fix: upgrade @sentry/browser from 5.21.1 to 5.21.3
Snyk has created this PR to upgrade @sentry/browser from 5.21.1 to 5.21.3.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-12 03:23:44 +00:00
snyk-bot 8f04ae82e6
fix: upgrade vue from 2.6.11 to 2.6.12
Snyk has created this PR to upgrade vue from 2.6.11 to 2.6.12.

See this package in npm:
https://www.npmjs.com/package/vue

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-11 03:23:48 +00:00
Son NK f664243e42 add batch-import page 2020-09-10 20:14:55 +02:00
snyk-bot a0854ae35c fix: upgrade @sentry/browser from 5.20.1 to 5.21.1
Snyk has created this PR to upgrade @sentry/browser from 5.20.1 to 5.21.1.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-09-03 03:23:42 +00:00
snyk-bot 119622ecb3 fix: upgrade @sentry/browser from 5.19.2 to 5.20.1
Snyk has created this PR to upgrade @sentry/browser from 5.19.2 to 5.20.1.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-08-27 03:23:42 +00:00
Son Nguyen Kim a1206d212f
Merge pull request #254 from simple-login/snyk-upgrade-87781a3cbe01c07072c01431e126ec5a
[Snyk] Upgrade @sentry/browser from 5.19.1 to 5.19.2
2020-08-26 05:18:50 -04:00
Fabio Widmer 9226492f83
More self hosting improvements 2020-08-14 16:23:29 +02:00
snyk-bot 8e3a16841d fix: upgrade @sentry/browser from 5.19.1 to 5.19.2
Snyk has created this PR to upgrade @sentry/browser from 5.19.1 to 5.19.2.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-08-05 03:23:41 +00:00
snyk-bot 6d142cc926 fix: upgrade @sentry/browser from 5.19.0 to 5.19.1
Snyk has created this PR to upgrade @sentry/browser from 5.19.0 to 5.19.1.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-08-02 03:24:26 +00:00
snyk-bot 327a26b5d1 fix: upgrade @sentry/browser from 5.12.0 to 5.19.0
Snyk has created this PR to upgrade @sentry/browser from 5.12.0 to 5.19.0.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-07-25 03:23:46 +00:00
Son NK 5ed39b47ca add setup-done page 2020-07-04 19:42:48 +02:00
Son NK 08f4891492 use breadcrumb for contact header 2020-06-07 13:41:59 +02:00
Son Nguyen Kim eb60028b1f
Merge pull request #199 from developStorm/webauthn-multiple-keys
Support Multiple Keys for WebAuthn
2020-05-24 18:56:42 +02:00
Son NK dcca3f0459 make introjs compatible with dark mode 2020-05-23 23:03:38 +02:00
Son NK 1d62400aac move darkmode.css to static/ and fix dark mode on notification 2020-05-23 21:11:53 +02:00
devStorm f2f6e13af7
DB & Setup ready for multi-keys 2020-05-17 22:05:37 -07:00
dependabot[bot] 71136e64d9
Bump jquery from 3.4.1 to 3.5.1 in /static
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.1.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-16 10:21:32 +00:00
Son NK a4d17e7afc use multiple-select instead of bootstrap-select 2020-05-16 12:17:26 +02:00
Son NK 362d101bab Merge branch 'master' into multiple-mailboxes
# Conflicts:
#	app/dashboard/templates/dashboard/custom_alias.html
#	email_handler.py
#	templates/emails/com/newsletter/mobile-darkmode.html
2020-05-16 11:28:25 +02:00
Son NK c9b75c338e move theme.js to static/ and include it in base.html 2020-05-15 23:40:30 +02:00
Sibren Vasse c0041d55bc Set input background to white for light theme 2020-05-15 13:42:48 +02:00
Sibren Vasse c6e291f7e8 Dark theme: prevent white flash on page load 2020-05-15 13:42:48 +02:00
Son NK 85130e175b fix dark-mode for modal 2020-05-13 23:02:29 +02:00
Son NK 591fee301e prettify dns page 2020-05-11 23:23:08 +02:00
Son NK 6058257509 add bootstrap-select 2020-05-10 20:09:54 +02:00
doanguyen 7ef78c991f Dark mode implementation
* Using CSS variable as a solution
* The new darkmode css is now live in another file so that upgarding
dashboard.css doesn't affect the darkmode itself
* Used a naive darkmode controller by client javascript. No persistance
state is stored in the backend at the moment
2020-05-10 16:52:14 +02:00
devStorm 1d24b6da08
License for base64.js 2020-05-05 05:37:57 -07:00
devStorm 3ce4dfb371
Security key setup page (front-end) 2020-05-05 01:32:49 -07:00
Son NK 2df6b8023d remove notie 2020-04-30 22:39:23 +02:00
Son NK 1be3297551 install bootbox 2020-04-30 22:35:51 +02:00
Son NK 18d1b59845 add vuejs to package.json 2020-04-26 17:51:47 +02:00
Son NK ae353dbb25 Use 4 borders for highlight-row (instead of 1) 2020-04-24 09:49:19 +02:00
Son NK 1bed525231 Prettify alert-primary, alert-danger 2020-04-12 19:39:31 +02:00
Son NK c3d63f155f Remove font bold from highlight-row 2020-04-09 22:39:53 +02:00
Son NK af9178e216 Use non-beta logo 2020-04-05 18:58:22 +02:00
Son NK 518cb84677 Use a new favicon 2020-04-02 21:30:36 +02:00
Son NK 0be0a180f7 Replace logo 2020-03-27 10:11:21 +01:00
Son NK 66654a3635 prettify alias page 2020-02-28 22:39:15 +07:00
Son NK 54e4f5e721 add script to fallback localStorage to cookie, using https://stackoverflow.com/a/12302790/1428034 2020-02-05 14:30:04 +07:00
Son NK e0e5029d18 install sentry from npm 2020-02-04 18:14:27 +07:00
Son NK cb2c6af4e4 npm qrious 2020-02-04 16:53:25 +07:00
Son NK 31b9abe708 use npm toastr 2020-02-04 16:50:47 +07:00
Son NK 1c328b5219 local bootstrap-social.min.css 2020-02-04 16:48:15 +07:00
Son NK 69d1d74da2 use local introjs 2020-02-04 16:47:50 +07:00
Son NK 754dcfc343 use local font-awesome.min.css with npm 2020-02-04 16:13:25 +07:00
Son NK a99bc462e5 init package.json, install notie 2020-02-04 16:05:55 +07:00
Son NK 961301214d download font-awesome.min.css 2020-02-04 16:03:38 +07:00
Son NK 608047b736 use key icon instead of browser icon 2020-02-04 15:35:42 +07:00
Son NK f480b1ff54 Use browser icon instead of Chrome icon for api key 2020-02-02 21:01:26 +07:00
Son NK 75ccc337a9 add paddle.js as a backup to their CDN 2020-01-10 18:36:02 +01:00
doanguyen 45c49f1e1a minor comments on domain-detail branch 2019-12-29 10:48:46 +01:00
Son NK 306bb9927e add beta corner ribbon to logo 2019-12-24 09:34:18 +00:00
Son NK 642b6531b1 Increase visibility for small-text 2019-12-22 16:04:14 +00:00
Son NK a5615b22e7 make alias activity responsive 2019-12-15 18:55:17 +02:00
Son NK 39311ab1ff Make dashboard responsive 2019-12-15 18:55:16 +02:00
Son NK 86cc9b18aa add <em> style: highlight in yellow 2019-12-15 18:55:16 +02:00
Son NK 5b8bc68da1 add alias log page 2019-12-15 18:55:14 +02:00
Son NK 62c3b4cd02 highlight newly created gen-email 2019-12-15 18:55:12 +02:00
Son NK 67dbcb9723 user can choose their avatar to send 2019-12-15 18:55:10 +02:00
Son NK 00f858c8c1 user can choose custom email in authorize 2019-12-15 18:55:10 +02:00
Son NK d05749d577 add default-avatar and use it instead of gravatar 2019-12-15 18:55:10 +02:00
Son NK 8e9fefee4b remove icon.png 2019-12-15 18:55:09 +02:00
Son NK c98d2594c6 change icon 2019-12-15 18:55:08 +02:00
Son NK c18d9f5280 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 10:20:12 +03:00