Commit graph

246 commits

Author SHA1 Message Date
Son NK
93a8873192 show payouts on referral page 2021-05-10 13:03:44 +02:00
Son NK
f45e7b53d0 create admin for Client 2021-04-06 19:46:38 +02:00
Son NK
f8540808bc remove Client.published 2021-04-06 19:46:21 +02:00
Son NK
3c5706fb16 only run app without ssl 2021-04-01 12:37:05 +02:00
Son NK
e31e19047c improve admin 2021-03-30 19:08:41 +02:00
Son NK
9d5c2e3f80 display when subscription ends in admin 2021-03-26 12:14:48 +01:00
Son NK
71389b7e09 add limiter on custom alias page 2021-03-24 16:52:05 +01:00
Son NK
0c62ac4b1f set rate limit for creating alias endpoint 2021-03-24 16:26:42 +01:00
Son NK
c0efc78a94 fix 2021-03-18 14:56:32 +01:00
Son NK
d2c99ea00e add more fake data 2021-03-18 14:45:31 +01:00
Son NK
bc69e11f9b enable color log when dev 2021-03-08 12:09:10 +01:00
Son
c4c29dfa1d flake8 2021-03-06 18:13:59 +01:00
Son NK
3494f314bc disable flask toolbar by default 2021-03-06 17:44:46 +01:00
Son NK
3aeaf6fe29 make include_sender_in_reverse_alias non nullable 2021-02-24 15:44:50 +01:00
Son NK
0f9cb13920 add admin page for manual subscription 2021-02-24 09:48:06 +01:00
Son NK
b00524e74f upgrade flask-admin to 1.5.7, use bootstrap4 for admin UI 2021-02-24 09:47:48 +01:00
Son NK
1f7366c07c enrich fake data 2021-02-17 12:49:56 +01:00
Son NK
e651e70d2d add a bounce to fake_data() 2021-01-27 10:09:44 +01:00
Son NK
66f3585253 Add LifetimeCoupon admin page 2021-01-27 10:08:49 +01:00
Son NK
c927edfeaa add a dummy profile pic for fake data 2021-01-19 09:15:55 +01:00
Son NK
79f22857b5 add mailbox admin page 2021-01-12 18:14:35 +01:00
Son NK
cce08adb87 set "" as default name when creating new user 2021-01-11 10:25:37 +01:00
Son NK
ef7fae32b1 remove the "Hi {name}" from email template 2021-01-11 10:23:34 +01:00
Son NK
08d8e11a27 flake8 2021-01-08 18:58:14 +01:00
Son NK
4293bba5ab add edu upgrade to User admin page 2021-01-08 18:53:01 +01:00
Son NK
07febc9715 replace GoatCounter by Plausible 2020-12-28 16:27:42 +01:00
Son NK
6eaeb1fcf6 update coinbase webhook 2020-12-14 11:36:34 +01:00
Son NK
b00841f679 add /coinbase to handle Coinbase callback 2020-12-13 19:18:23 +01:00
Son Nguyen Kim
bf139f83b3
Merge pull request #342 from herrboyer/linting
Linting
2020-12-07 17:45:50 +01:00
Son NK
a40bbe74fe show include_sender_in_reverse_alias as checked if user hasn't set any value 2020-12-07 10:23:36 +01:00
Renaud Boyer
b6c311a02e linting 2020-12-06 14:02:37 +01:00
Son NK
083398522c sentry init with release 2020-11-26 10:30:03 +01:00
Son NK
2c46d1db8e Add PGP_SIGNER and display if it's set 2020-11-14 13:00:14 +01:00
Son NK
15466903d1 Support OTHER_PADDLE_MONTHLY_PRODUCT_IDS, OTHER_PADDLE_YEARLY_PRODUCT_IDS config 2020-11-09 16:56:17 +01:00
Son NK
606f9dfbae use valid PGP key for fake data 2020-11-07 13:00:26 +01:00
Son NK
dec956c84d handle case user is None 2020-10-26 12:01:59 +01:00
Son NK
886d3a761c delete /alias/options v1,v2,v3 2020-10-19 12:08:47 +02:00
Son NK
4a32db5b5d rename PublicDomain -> SLDomain 2020-10-15 16:51:07 +02:00
Son NK
2d73d52127 log disabled user out immediately 2020-10-04 19:17:19 +02:00
Son NK
b99085419e remove AioHttpIntegration sentry, remove aiocontextvars dependency 2020-10-01 12:48:08 +02:00
Son NK
b690e903fa small refactoring 2020-10-01 12:24:37 +02:00
Son NK
73f56818fb fix ProxyFix 2020-10-01 12:21:16 +02:00
Son NK
f2eedfd3d1 enable sentry AioHttpIntegration 2020-09-30 10:22:10 +02:00
Son NK
2fba4c9a53 send email to ask for user feedback when user cancels 2020-09-12 11:12:34 +02:00
Son NK
fdedc24358 black new version 2020-08-27 10:20:48 +02:00
Son Nguyen Kim
637bc569eb
Merge pull request #260 from FabioWidmer/improvements-1
Improvements for Self Hosting & More
2020-08-24 20:16:59 +02:00
Fabio Widmer
6a45010740
Remove secret variables from Jinja 2020-08-22 18:38:44 +02:00
Son NK
b8e0ee424c pass userId to Paddle 2020-08-20 09:44:45 +02:00
Fabio Widmer
aa18b7ecd1
Add variables to Jinja 2020-08-18 08:47:41 +02:00
Son NK
5636b7ba32 do not use DomainDeletedAlias.create 2020-08-14 12:03:59 +02:00
Son NK
00411cef61 reduce further 2020-08-11 16:31:08 +02:00
Son NK
dc206b41c7 lighten mail handler 2020-08-11 16:31:08 +02:00
Son NK
184397dc92 remove sentry AioHttpIntegration 2020-08-11 08:45:06 +02:00
Son NK
8a11e42da9 notify admin when user cancels 2020-08-07 10:01:11 +02:00
Son NK
5dc631a6b5 black 2020-08-05 12:31:08 +02:00
Son NK
f17608df50 add link back to home page in recovery page 2020-08-05 12:28:20 +02:00
Son NK
3d2a325e55 enable debug toolbar when running locally 2020-08-04 11:37:59 +02:00
Son NK
6437ee46e0 use LOG.exception instead of LOG.error to provide stacktrace 2020-07-17 12:59:07 +02:00
Son NK
bb343a5cde use warning level for hit rate limit error 2020-07-11 19:28:54 +02:00
Son NK
74498146d8 add public domain in fake_data 2020-07-04 23:29:15 +02:00
Son NK
e3569ee7ad create less aliases in fake_data 2020-06-30 20:09:48 +02:00
Son NK
c22af6d1f0 no need to bind to 0.0.0.0 2020-06-28 21:58:08 +02:00
Son NK
c41bffbbae refactor: use SESSION_COOKIE_NAME instead of hardcoding "slapp" 2020-06-28 21:17:18 +02:00
Son NK
8e068eea30 fix user has to login again after quitting the browser 2020-06-28 21:14:30 +02:00
Son NK
774ffcae3b enable CORS on /api endpoints 2020-06-24 10:30:01 +02:00
Son NK
683b3e54d8 remove User.can_use_fido column: anyone can setup FIDO 2020-05-28 20:38:29 +02:00
Sibren Vasse
31a1f94a5f Implement rate limiting 2020-05-25 11:39:33 +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
a2e7de0bab Add Notification model 2020-05-23 19:54:06 +02:00
Son NK
1beb7c004b improve fake_data 2020-05-22 14:13:17 +02:00
Son NK
516485d4d6 warning log for "cancel subscription" 2020-05-21 20:07:41 +02:00
devStorm
ea914e0378
Rename FIDO->Fido 2020-05-18 13:54:05 -07:00
devStorm
e892535287
Black 2020-05-18 05:28:18 -07:00
devStorm
d91fbb563a
Remove debug keys 2020-05-18 05:11:54 -07:00
devStorm
6509053fa8
named key 2020-05-18 02:55:41 -07:00
devStorm
419aa95f1f
more verify 2020-05-18 01:02:58 -07:00
devStorm
2b8febe0b9
black 2020-05-18 00:06:24 -07:00
devStorm
9fb91c83e7
more setup 2020-05-18 00:01:27 -07:00
devStorm
f2f6e13af7
DB & Setup ready for multi-keys 2020-05-17 22:05:37 -07:00
Son Nguyen Kim
1997c207ed
Merge pull request #196 from SibrenVasse/error_handling
Move api error handling to global error handler
2020-05-17 18:02:23 +02:00
Sibren Vasse
2d7bd225e9 Move api error handling to global error handler 2020-05-17 15:27:24 +02:00
Son NK
13bb9810b6 use can disable PGP on an alias 2020-05-16 20:51:07 +02:00
Son NK
083a857f1b disable intro_shown in fake data 2020-05-16 20:50:57 +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
6fb85c81fc fix format 2020-05-15 16:50:14 +02:00
Son NK
f04caa3c35 move SQLALCHEMY_ECHO option to create_app(): useful when profiling 2020-05-15 16:48:42 +02:00
Son NK
0b652cf3f8 remove AliasMailbox.user_id column 2020-05-15 16:35:57 +02:00
Son NK
5c8c741a6a API Error handling for 404 and 500 2020-05-13 22:02:38 +02:00
Son NK
dafa23c5bf Add fake aliases with multiple mailboxes 2020-05-10 20:09:54 +02:00
Son NK
8fa0927826 Set SESSION_COOKIE_SAMESITE to Lax 2020-05-10 11:34:23 +02:00
Son Nguyen Kim
b95d815e5c
Merge pull request #168 from simple-login/global-trash
Global trash
2020-05-09 18:08:51 +02:00
Sibren Vasse
e7c3a127b8 Set samesite and secure attributes of session cookie. Enable strong session protection. 2020-05-09 14:13:37 +02:00
Son NK
0441e5e2a9 Remove DeletedAlias.user_id column 2020-05-07 22:40:30 +02:00
Son NK
3ce3a05c7b Add referral name 2020-05-02 18:08:05 +02:00
Son NK
fd90811e85 Prettify alias contact manager 2020-04-27 19:58:55 +02:00
Son NK
12714ae601 Add Only enabled alias sorting option 2020-04-26 12:31:10 +02:00
Son NK
182f01f775 More diverse fake data 2020-04-25 23:42:56 +02:00
Son NK
97544ac760 Update mailbox using ajax
refactor: return Mailbox in User.mailboxes()
2020-04-25 13:49:40 +02:00
Son NK
8ee34d9132 add more alias in fake_data 2020-04-25 13:42:53 +02:00
Son NK
746cd2eb66 Use FIRST_ALIAS_DOMAIN in directory and custom alias 2020-04-15 22:52:30 +02:00