Commit graph

1720 commits

Author SHA1 Message Date
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
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
Sibren Vasse
bdc3102420 Fix space error footer 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 Nguyen Kim
4d87df01a3
Merge pull request #181 from developStorm/webauthn-patch-1
Auto activate WebAuthn authentication
2020-05-14 20:39:49 +02:00
Son Nguyen Kim
50cdbc2b74
Merge pull request #183 from simple-login/api-error
API Error handling for 404 and 500
2020-05-14 20:36:53 +02:00
Son Nguyen Kim
ca366e35b6
Merge pull request #184 from simple-login/empty-from-header
If From header is empty, try creating contact with envelope sender
2020-05-14 20:36:23 +02:00
Son Nguyen Kim
2def79e689
Merge pull request #187 from SibrenVasse/domain_check
On domain check fail, update database
2020-05-14 20:36:02 +02:00
Sibren Vasse
c7530947d3 On domain check fail, update database 2020-05-14 15:05:04 +02:00
Son NK
3a1af9f424 fall back for UnicodeDecodeError 2020-05-14 13:27:04 +02:00
Son NK
ee19957d5d Add 405 error 2020-05-13 23:28:00 +02:00
Son NK
85130e175b fix dark-mode for modal 2020-05-13 23:02:29 +02:00
Son NK
092d934feb improve wording 2020-05-13 22:55:15 +02:00