Commit Graph

485 Commits

Author SHA1 Message Date
Son NK
77baf60ca4 Show user current plan in settings 2020-02-23 17:02:49 +07:00
Son NK
9958e1ab8e only full mailbox user can set default mailbox 2020-02-23 16:17:09 +07:00
Son NK
1fcbe32990 Can set a mailbox as default 2020-02-23 15:51:26 +07:00
Son NK
7febe6e15b cannot delete default mailbox 2020-02-23 15:41:53 +07:00
Son NK
0a5113962f remove autofocus on directory & mailbox 2020-02-23 15:10:59 +07:00
Son NK
3c2762dfad only show mailbox when mailbox email != user email 2020-02-23 14:40:37 +07:00
Son NK
731d898774 Handle mailbox change 2020-02-23 14:08:55 +07:00
Son NK
aa784a0593 use red text for delete button 2020-02-23 14:04:20 +07:00
Son NK
e4bb85ac87 Full-mailbox User can change alias mailbox 2020-02-23 13:58:09 +07:00
Son NK
a467830a23 Add custom-select class to select element 2020-02-23 13:53:02 +07:00
Son NK
bc0dc0265d Show mailbox when creating alias for user who has full_mailbox enabled 2020-02-23 13:41:59 +07:00
Son Nguyen Kim
773e24dd9a
Merge pull request #90 from simple-login/handle-bounced
Handle bounced
2020-02-22 22:37:11 +07:00
Son NK
332b4559f3 Prettify unsubscribe page 2020-02-22 22:10:09 +07:00
Son NK
f80de382fe Prettify alias log 2020-02-22 21:09:07 +07:00
Son NK
74d1f87db0 disable bounced email in alias log 2020-02-22 13:27:22 +07:00
Son NK
8639265946 allow user to show/hide api-key 2020-02-19 23:45:08 +07:00
Son NK
c4765a28d6 pycharm format 2020-02-19 23:44:48 +07:00
Son NK
f1c7c83dc3 prettify help section in custom alias 2020-02-18 11:59:03 +07:00
Son NK
b806d843e5 prettify custom alias page: show limits on the alias prefix 2020-02-18 11:54:35 +07:00
Son NK
8f8857704a Add deleted alias page 2020-02-15 21:47:27 +07:00
Son NK
8bbecb2cd1 Delete wrongly-aligned notification on mobile. Improve wordings 2020-02-15 21:38:28 +07:00
Son NK
fd5e162d9b format alias-log 2020-02-15 21:37:24 +07:00
Son NK
0ced6bbb4f Prettify billing page 2020-02-15 21:22:46 +07:00
Son NK
641f8dfe9e Improve settings design 2020-02-13 17:05:34 +07:00
Son NK
5c4f46fdc2 Separate email change in setting screen 2020-02-13 16:57:17 +07:00
Son NK
890bf1b3ed Add Mailbox to pricing, remove beta badge from directory 2020-02-10 23:52:41 +07:00
Son NK
fc167b8b41 Display alias mailbox on alias page 2020-02-10 23:23:02 +07:00
Son NK
b76a71819a User can choose mailbox when creating a new alias 2020-02-10 23:19:42 +07:00
Son NK
b5d961a498 Take into account mailbox in contact manager and improve wording. 2020-02-10 23:18:19 +07:00
Son NK
8a531f6c86 User can add/delete/verify mailbox 2020-02-10 23:17:05 +07:00
Son NK
11b04d5e4a user can update note in alias list page 2020-02-05 17:38:02 +07:00
Son NK
145bed893f user can set note when creating custom alias 2020-02-05 17:36:06 +07:00
Son NK
6fe689dc17 use store instead of localStorage to detect whether the intro has been shown 2020-02-05 14:33:00 +07:00
Son NK
cb2c6af4e4 npm qrious 2020-02-04 16:53:25 +07:00
Son NK
cbcf93a9d9 put more space for alias 2020-02-02 21:16:00 +07:00
Son NK
a30397a88f Improve alias page UI
- use 1 column layout for alias page when screen is <lg
- reduce space between search bar and header
- move alias switch to the right
2020-02-02 20:50:56 +07:00
Son NK
2ca97368f8 Handle trial period
- user can upgrade to lifetime if in trial or free
- free or trial user can buy a subscription
- user has all features when in trial
2020-01-30 10:53:17 +07:00
Son NK
9f95edf203 Move billing button to setting page 2020-01-30 00:29:00 +07:00
Son NK
bc6daab595 display domains that can be used on directory 2020-01-26 22:29:35 +07:00
Son NK
3f2f2cabf4 always use dropdown list for alias suffix 2020-01-22 22:51:52 +01:00
Son NK
da8b110839 small fix 2020-01-22 14:05:42 +01:00
Son NK
8e7f5e56d6 add "your domain" to user's owned domain 2020-01-22 14:04:38 +01:00
Son NK
f7f8c6769d Improve custom alias help text 2020-01-22 10:24:17 +01:00
Son NK
c969e6919a Use the same design as on extension for custom alias: domains are presented in a dropdown list 2020-01-22 10:24:17 +01:00
Son Nguyen Kim
204ccd34c9
Merge pull request #37 from simple-login/disable-suffix-option
Disable suffix option
2020-01-20 13:35:22 +01:00
Son NK
cfd3f5db8f Add more help message to api-key and custom-domain 2020-01-20 11:16:04 +01:00
Son NK
f56ba95b4d disable alias suffix by setting DISABLE_ALIAS_SUFFIX 2020-01-20 09:23:17 +01:00
Son NK
6f925170c5 Give more info on the directory 2020-01-19 22:34:31 +01:00
Son NK
6f414ba405 Support + and # as directory separator 2020-01-19 22:06:36 +01:00
Son NK
13283b6327 Support cancelled premium users in custom domain & directory
- Freemium user can see custom domain and directory but could not add new.
- user who has added custom domain or directory before could delete them
2020-01-16 22:21:19 +01:00
Son NK
e2974cdd60 make card responsive in alias log 2020-01-12 22:23:18 +01:00
Son NK
110b296f73 use alias_id instead of alias in contact manager page 2020-01-12 22:23:05 +01:00
Son NK
f860471d50 fix slash in url: use alias_id instead of alias 2020-01-11 21:48:25 +01:00
Son NK
47bf6646fc Load our paddle.js if their CDN doesn't work 2020-01-10 18:36:31 +01:00
Son Nguyen Kim
cdd69b381e
Merge pull request #27 from simple-login/staging
Fix postfix-python bouncing problem
2020-01-10 13:27:32 +01:00
doanguyen
ef2e390df3 Merge branch 'staging' of https://github.com/simple-login/app into staging 2020-01-10 11:28:08 +01:00
doanguyen
f8bd3800c3 better looking random button 2020-01-10 11:26:18 +01:00
Son NK
6778537083 only allow lowercase for alias 2020-01-09 20:43:03 +01:00
Son NK
a9e7b53161 make sure directory is lowercase only 2020-01-09 20:38:02 +01:00
Son NK
851ddce5a5 Merge remote-tracking branch 'origin/master' into directory
# Conflicts:
#	email_handler.py
2020-01-09 10:37:33 +01:00
Son NK
ecce1eff99 remove support for directory+anything@EMAIL_DOMAIN 2020-01-08 22:09:46 +01:00
Son NK
cdae3c5309 add Directory page to add/delete directory 2020-01-08 21:38:01 +01:00
doanguyen
f0c66d279b
Merge branch 'master' into staging 2020-01-08 21:10:57 +01:00
doanguyen
fd31b77b06 Polish the interface 2020-01-08 19:49:26 +01:00
Son Nguyen Kim
634861e279
Merge pull request #22 from simple-login/alias-dashboard
Alias dashboard
2020-01-08 16:29:22 +01:00
Son NK
d9f2ec214f add @ warning when setup DNS 2020-01-07 22:13:12 +01:00
Son NK
aa10cdb3ee If domain is not verified, clicking on 🚫 brings user to DNS page 2020-01-07 21:53:00 +01:00
doanguyen
6a99fd30c4 fix some minor bugs 2020-01-06 23:58:24 +01:00
Son NK
ca37ce5e5a add id to notification section in setting 2020-01-06 19:41:05 +01:00
doanguyen
5af974fc5d alias log dashboard 2020-01-05 22:49:48 +01:00
Son NK
5053d343d1 Split lifetime licence to a separate page 2020-01-03 22:40:44 +01:00
Son NK
abb2584a38 Prettify pricing page 2020-01-03 11:51:44 +01:00
Son NK
df0e706bdd Fix scrolling in dns page 2020-01-03 11:51:18 +01:00
Son NK
c9d58692bf Prettify some pages 2020-01-02 22:39:53 +01:00
Son NK
f986371ff5 make sure to scroll to the same position in DNS page 2020-01-02 22:39:08 +01:00
Son NK
3edd5f0b82 Show something when there's no DNS record 2020-01-02 22:21:54 +01:00
Son NK
9704219576 Fix product tour wording 2020-01-02 22:12:03 +01:00
Son NK
2a05e320e1 remove beta on send email button 2020-01-02 22:05:34 +01:00
Son NK
553777bc05 Move intro button to footer 2020-01-02 12:14:49 +01:00
Son NK
21cdb973f0 Improve intro 2020-01-02 12:14:39 +01:00
Son NK
4c4c4a81b8 autofocus mfa token input 2020-01-01 23:52:25 +01:00
Son NK
3c05230bd3 User can use lifetime coupon 2020-01-01 20:04:39 +01:00
doanguyen
37ca4eaf20 working on paginate alias log page 2019-12-31 11:11:06 +01:00
Son Nguyen Kim
d63faa8ab3
Merge pull request #13 from simple-login/catch-all
Catch all
2019-12-30 22:18:54 +01:00
Son Nguyen Kim
43a96201ed
Merge pull request #12 from simple-login/email-notification
Email notification
2019-12-30 21:13:22 +01:00
doanguyen
ccaf304448 Remove unused file 2019-12-30 20:24:46 +01:00
Son NK
757fff71af Fix MX and SPF check
- take into account priority in MX check
- use EMAIL_DOMAIN in SPF instead of MX server
2019-12-30 19:37:50 +01:00
Son NK
ef8f87798b Fix MX DNS record 2019-12-30 18:58:44 +01:00
Son NK
8d85ab35f1 Move delete domain to domain info page 2019-12-30 18:51:55 +01:00
Son NK
96bb37f0f6 User can enable/disable catch-all on custom domain 2019-12-30 18:20:49 +01:00
Son NK
4b6717d8dd Split domain detail into Info and DNS page 2019-12-30 17:52:08 +01:00
Son NK
caa95df556 Prettify pricing page 2019-12-30 11:08:11 +01:00
doanguyen
9466fd556c update migration file 2019-12-30 00:35:06 +01:00
doanguyen
84eb10232c notification setting 2019-12-30 00:33:59 +01:00
Son NK
76eec998ea User who has enabled MFA can cancel MFA 2019-12-29 15:10:40 +01:00
Son NK
89664580b3 Move custom-domain to menu 2019-12-29 11:03:47 +01:00
Son NK
b391fa4c91 Move settings and api-key page to menu 2019-12-29 10:56:27 +01:00
doanguyen
45c49f1e1a minor comments on domain-detail branch 2019-12-29 10:48:46 +01:00
Son NK
8dcb8dd249 move domain validation (mx, spf, mx) to domain detail page 2019-12-29 10:46:00 +01:00
Son NK
d0218c86de display 🚫 for unverified domain 2019-12-29 10:46:00 +01:00
doanguyen
3811bb6880 reformat 2019-12-28 14:20:10 +01:00
doanguyen
4a3b958131 reformat modified files, resolve PR https://github.com/simple-login/app/pull/5 2019-12-28 14:20:10 +01:00
doanguyen
e2e9cc6b5d Implement alias generator schemes 2019-12-28 14:20:10 +01:00
Son NK
fa66a71880 Display MFA setup to user who doesn't have MFA enabled 2019-12-27 16:53:07 +00:00
Son NK
e5b10b28a6 Create MFA Setup page if user enable MFA 2019-12-27 16:53:07 +00:00
Son NK
65d0848e2f show alias in confirmation message 2019-12-26 17:37:51 +00:00
Son NK
e09dfaa481 Fix pricing page message 2019-12-25 21:35:35 +00:00
Son NK
bcbe239f60 User can generate quickly a random alias 2019-12-23 15:34:02 +00:00
Son NK
a8d112646e Add hint for alias prefix on custom alias page 2019-12-23 15:09:41 +00:00
Son NK
0955f13593 User can export their data 2019-12-22 16:20:56 +00:00
Son NK
8756241774 Fix wording 2019-12-22 16:03:58 +00:00
Son NK
ec4d034593 Add Delete Account in setting 2019-12-22 16:03:40 +00:00
Son NK
17bb01f317 Fix wording 2019-12-22 15:59:41 +00:00
Son NK
441fc773ba better UI for new alias page 2019-12-22 15:41:37 +00:00
Son NK
6b3fe06efc better UI for custom-alias page 2019-12-22 12:57:19 +00:00
Son NK
1b88d2264e add beta badge for "send email" feature 2019-12-15 18:55:18 +02:00
Son NK
a8d00c3329 add tooltip for reverse-alias 2019-12-15 18:55:18 +02:00
Son NK
3e9233f346 replace the "test alias" by the alias manager page 2019-12-15 18:55:18 +02:00
Son NK
231fc6fd88 create alias contact manager page 2019-12-15 18:55:18 +02:00
Son NK
3d95048e00 fix wording 2019-12-15 18:55:18 +02:00
Son NK
2412658a3e better UI for custom alias page 2019-12-15 18:55:18 +02:00
Son NK
7f908a9da8 display website_from on alias log 2019-12-15 18:55:18 +02:00
Son NK
74fe984ae1 make sure alias pattern check is the same everywhere: Only letter, number, dash (-), underscore (_) can be used in alias prefix 2019-12-15 18:55:17 +02:00
Son NK
260b235328 remove random alias from pricing 2019-12-15 18:55:17 +02:00
Son NK
4c8c48bb23 better UI for custom alias page 2019-12-15 18:55:17 +02:00
Son NK
6d21343748 remove create random email button 2019-12-15 18:55:17 +02:00
Son NK
ac9f896a7d improve pricing page 2019-12-15 18:55:17 +02:00
Son NK
3e4e0e931f add separator to highlight alias 2019-12-15 18:55:17 +02:00
Son NK
6723487a23 add SPF check 2019-12-15 18:55:17 +02:00
Son NK
48ff20906e better UI for alias list page 2019-12-15 18:55:17 +02:00
Son NK
ca05cd359a remove >3 characters on alias prefix 2019-12-15 18:55:17 +02:00
Son NK
a5615b22e7 make alias activity responsive 2019-12-15 18:55:17 +02:00
Son NK
28c83107e9 only show intro when screen is big enough to show "developer" tab 2019-12-15 18:55:17 +02:00
Son NK
acea37d520 show intro on the first alias 2019-12-15 18:55:16 +02:00
Son NK
39311ab1ff Make dashboard responsive 2019-12-15 18:55:16 +02:00
Son NK
5b28d70fe0 fix custom alias html 2019-12-15 18:55:16 +02:00
Son NK
0234af03d3 handle custom domain in custom alias 2019-12-15 18:55:16 +02:00
Son NK
3402d64249 display when a custom domain is created and number of aliases 2019-12-15 18:55:16 +02:00
Son NK
a827b27215 add custom_domain view 2019-12-15 18:55:16 +02:00
Son NK
2b00ceaa6b put extension download link to api-key page 2019-12-15 18:55:16 +02:00
Son NK
efd0e97ebd prettify api key page 2019-12-15 18:55:16 +02:00
Son NK
4f874eec43 Create API Key page 2019-12-15 18:55:16 +02:00
Son NK
b9bce29534 fix search input not large enough on mobile: use col-md-3 instead of col-3 2019-12-15 18:55:16 +02:00
Son NK
efd4f40fb7 add autofocus to custom alias 2019-12-15 18:55:16 +02:00
Son NK
f611d165c3 autofocus search field 2019-12-15 18:55:16 +02:00
Son NK
28c8fa0f4d add alias search 2019-12-15 18:55:16 +02:00
Son NK
6e71541985 remove trial concept 2019-12-15 18:55:16 +02:00
Son NK
8dca65678e improve wording 2019-12-15 18:55:15 +02:00
Son NK
5a9d3b0245 alias activity: fix arrow hidden on mobile 2019-12-15 18:55:15 +02:00
Son NK
0717c91a18 improve onboarding 2019-12-15 18:55:15 +02:00
Son NK
837e1ffcf6 add List-Unsubscribe-Post header. Block alias directly if POST, otherwise ask user confirmation. 2019-12-15 18:55:15 +02:00
Son NK
38d9654624 fix cancel email change 2019-12-15 18:55:15 +02:00
Son NK
0c85cae6ad handle email change in setting 2019-12-15 18:55:15 +02:00
Son NK
58504e3b8d display new alias on top 2019-12-15 18:55:15 +02:00
Son NK
673b9e72ee show send test and delete buttons 2019-12-15 18:55:14 +02:00
Son NK
64180c4077 do not show email 2019-12-15 18:55:14 +02:00
Son NK
3ebb75ca07 Show copy and activity button 2019-12-15 18:55:14 +02:00
Son NK
d929cea771 improve dashboard page 2019-12-15 18:55:14 +02:00
Son NK
5b8bc68da1 add alias log page 2019-12-15 18:55:14 +02:00
Son NK
ec3f2116ff do not show copy button on disabled alias 2019-12-15 18:55:14 +02:00
Son NK
4a56d2eef5 add billing and pricing page 2019-12-15 18:55:13 +02:00
Son NK
6f7c99963b remove pricing2 2019-12-15 18:55:13 +02:00
Son NK
263f68ecec Change subscription model
- create subscription table
- rename plan_expiration -> trial_expiration
- remove user.plan, user.promo_codes
2019-12-15 18:55:13 +02:00
Son NK
1f3239b251 rename pricing to pricing2 to save stripe implementation for reference 2019-12-15 18:55:13 +02:00
Son NK
61a3844ec4 Add tooltip for email forwarding switch, copy and send test email 2019-12-15 18:55:13 +02:00
Son NK
62c3b4cd02 highlight newly created gen-email 2019-12-15 18:55:12 +02:00
Son NK
7cb1c219ed simplify pricing page now that monthly is gone 2019-12-15 18:55:12 +02:00
Son NK
5ff317538c remove monthly pricing, display 20$ for monthly pricing 2019-12-15 18:55:12 +02:00
Son NK
8dd6346f33 allow dash in email alias 2019-12-15 18:55:12 +02:00
Son NK
28d475ea22 better avatar pic: use name initial as avatar 2019-12-15 18:55:12 +02:00
Son NK
83abbe5406 set clipboard behavior on all pages 2019-12-15 18:55:12 +02:00
Son NK
76cb892d77 do not show apps section on dashboard if there's no app 2019-12-15 18:55:10 +02:00
Son NK
d933fcf0b7 replace information by info 2019-12-15 18:55:10 +02:00
Son NK
2a6021c230 custom email must have .suffix 2019-12-15 18:55:10 +02:00
Son NK
37f75954be shorten wording 2019-12-15 18:55:09 +02:00
Son NK
4883ace2ed only show "create custom alias" button to users who can 2019-12-15 18:55:09 +02:00
Son NK
309cb36864 use span instead of a for icon 2019-12-15 18:55:09 +02:00
Son NK
c7df8e9158 fix introJs 2019-12-15 18:55:08 +02:00
Son NK
388f520e9a premium user can choose custom alias 2019-12-15 18:55:08 +02:00
Son NK
414ef2bb9b remove requireJS madness! 2019-12-15 18:55:08 +02:00
Son NK
0b85000a11 import render_field, render_field_errors in base.html 2019-12-15 18:55:08 +02:00
Son NK
fc2fdea6e7 change wording 2019-12-15 18:55:08 +02:00
Son NK
df3292df37 user can delete email alias 2019-12-15 18:55:08 +02:00
Son NK
8b3564c2f2 fix wording 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