Commit Graph

1781 Commits

Author SHA1 Message Date
Son NK
d439871f65 generate new migration script 2020-05-17 12:51:07 +02:00
Son NK
4fe02266f2 Revert "migration sql"
This reverts commit 0524944d2a.
2020-05-17 12:50:39 +02:00
Son NK
12b76dd33b Merge branch 'master' into alias-disable-pgp 2020-05-17 10:46:44 +02:00
Son Nguyen Kim
fb17dca2cf
Merge pull request #195 from simple-login/recovery-code
Recovery code
2020-05-17 10:46:19 +02:00
Son NK
87d52216cb reformat 2020-05-17 10:35:11 +02:00
Son NK
5ff31f3eb4 migration script 2020-05-17 10:34:55 +02:00
Son NK
20e66edbaa fix redirection to next page 2020-05-17 10:28:00 +02:00
Son NK
2e208ed505 display recovery code options on mfa and fido page 2020-05-17 10:27:20 +02:00
Son NK
da4e0bf384 create /auth/recovery page 2020-05-17 10:17:52 +02:00
Son NK
043ecd4fac redirect user to recovery codes page after MFA setup. Remove all recovery codes when user is no more MFA. 2020-05-17 10:11:38 +02:00
Son NK
3f7842ed3e create /recovery_code page 2020-05-17 10:05:55 +02:00
Son NK
aaa1a869ea add RecoveryCode model 2020-05-17 09:59:07 +02:00
Son NK
0524944d2a migration sql 2020-05-16 20:52:14 +02:00
Son NK
f35b9e7542 do not encrypt if alias disables PGP 2020-05-16 20:51:07 +02:00
Son NK
13bb9810b6 use can disable PGP on an alias 2020-05-16 20:51:07 +02:00
Son NK
5e6454e6de use a different class for alias toggle 2020-05-16 20:51:07 +02:00
Son NK
80f614da6c refactor: remove unused var 2020-05-16 20:51:07 +02:00
Son NK
b167297808 Support disable_pgp in update alias endpoint 2020-05-16 20:51:07 +02:00
Son NK
95213b6d85 Add alias.disable_pgp column 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
62ed7def00 fix wording 2020-05-16 20:50:27 +02:00
Son NK
82a92dee52 fix migration 2020-05-16 20:44:06 +02:00
Son Nguyen Kim
78ff15912e
Merge pull request #190 from SibrenVasse/sender_format
Add more From: sender formatting options
2020-05-16 20:38:13 +02:00
Sibren Vasse
a5f24e0227 Add more From: sender formatting options 2020-05-16 18:44:31 +02:00
Son NK
f577adc0d4 log more info 2020-05-16 18:24:51 +02:00
Son Nguyen Kim
35ec3f4633
Merge pull request #193 from simple-login/dependabot/npm_and_yarn/static/jquery-3.5.1
Bump jquery from 3.4.1 to 3.5.1 in /static
2020-05-16 12:37:14 +02: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 Nguyen Kim
08b470d2a6
Merge pull request #178 from simple-login/multiple-mailboxes
Multiple mailboxes
2020-05-16 12:20:36 +02: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
a7a29ab8c9 fix file name 2020-05-15 23:53:17 +02:00
Son NK
c9b75c338e move theme.js to static/ and include it in base.html 2020-05-15 23:40:30 +02:00
Son Nguyen Kim
d97b52184e
Merge pull request #186 from SibrenVasse/dark_flash
Frontend improvements
2020-05-15 23:37:30 +02:00
Son Nguyen Kim
069997ddb9
Merge pull request #192 from simple-login/fix-user-email
Fix user cannot change personal email back and better naming.
2020-05-15 23:24:22 +02:00
Son NK
7ed77a66b2 format 2020-05-15 23:18:42 +02:00
Son NK
2978bfb281 Fix user cannot change personal email back and better naming.
Happens when user
- changes their personal email
- wants to change back: they can't as this email is already used as mailbox
2020-05-15 23:18:30 +02:00
Son Nguyen Kim
ec8f46f01a
Merge pull request #191 from SibrenVasse/spam
Also enable spam check when pgp is enabled
2020-05-15 18:06:57 +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
aba0a534c0 When a mailbox is deleted, only put alias that has this mailbox as single mailbox to global trash 2020-05-15 16:47:55 +02:00
Son NK
ff1aa72b1d lazy load alias._mailboxes and alias.mailbox 2020-05-15 16:46:02 +02:00
Son NK
0b652cf3f8 remove AliasMailbox.user_id column 2020-05-15 16:35:57 +02:00
Sibren Vasse
8769383724 Also enable spam check when pgp is enabled 2020-05-15 16:34:07 +02:00
Son NK
3d4b44dd15 handle the case contact_from_header can be None 2020-05-15 15:46:37 +02:00
Son NK
c8f1244d81 optimize cron job 2020-05-15 15:31:58 +02:00
Son NK
355b4dc2cf remove too verbose log 2020-05-15 15:30:19 +02:00
Sibren Vasse
012bc52694 Fix formatting 2020-05-15 13:42:48 +02:00
Sibren Vasse
c0041d55bc Set input background to white for light theme 2020-05-15 13:42:48 +02:00
Sibren Vasse
e44d92705c Add missing last_page check (index) Move disabled class to correct element (alias_log) 2020-05-15 13:42:48 +02:00
Sibren Vasse
cb269a1bbe Change pagination style 2020-05-15 13:42:48 +02:00