Commit graph

1976 commits

Author SHA1 Message Date
Son NK
eff960b451 regenerate migration 2020-05-24 19:54:12 +02:00
Son Nguyen Kim
93b7ff3d28
Merge pull request #203 from SibrenVasse/remember_mfa
Optional 'remember MFA' for browser
2020-05-24 19:52:11 +02:00
Sibren Vasse
3c7e03f83d Add remember option to FIDO mfa path 2020-05-24 19:23:16 +02:00
Sibren Vasse
097ac771b0 Prevent OTP replay attacks by invalidating last token 2020-05-24 19:23:16 +02:00
Sibren Vasse
35bb1645a3 Allow user to disable mfa for browser for 30 days 2020-05-24 19:23:16 +02:00
Sibren Vasse
e15ab7f932 Add autofocus to login screen 2020-05-24 19:23:16 +02:00
Sibren Vasse
8c946d7026 Remove token when submitted value is incorrect 2020-05-24 19:23:16 +02:00
Son NK
de1823c854 add migration script 2020-05-24 19:04:01 +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
44fbffb679 add how to use for contact page 2020-05-23 23:21:00 +02:00
Son NK
0b1131a412 improve wording 2020-05-23 23:20:47 +02:00
Son NK
dcca3f0459 make introjs compatible with dark mode 2020-05-23 23:03:38 +02:00
Son Nguyen Kim
2d45b324e8
Merge pull request #208 from simple-login/notif-improve
Improve the notification
2020-05-23 23:02:33 +02:00
Son NK
3c6d137bf1 Only show notification icon when there's at least 1 notification. Only show "load more" when there's more 🙄 2020-05-23 22:52:35 +02:00
Son NK
1e03f26cfa Return whether there's more notification in GET /api/notifications 2020-05-23 22:51:00 +02:00
Son NK
c47fb44c1e Pagination for contact page 2020-05-23 22:34:46 +02:00
Son NK
1d62400aac move darkmode.css to static/ and fix dark mode on notification 2020-05-23 21:11:53 +02:00
Son Nguyen Kim
d371b2ec2d
Merge pull request #207 from simple-login/notification
Notification
2020-05-23 20:55:00 +02:00
Son NK
01a40ff801 migration script 2020-05-23 19:54:39 +02:00
Son NK
b01c91423f display notifications. user can mark a notification as read. 2020-05-23 19:54:06 +02:00
Son NK
95c5cb8452 move StartIntro() to footer.html 2020-05-23 19:54:06 +02:00
Son NK
dae357dd6b Add GET /api/notifications, /api/notifications/:notification_id 2020-05-23 19:54:06 +02:00
Son NK
a2e7de0bab Add Notification model 2020-05-23 19:54:06 +02:00
Son NK
dfb427e6da format 2020-05-23 19:50:36 +02:00
Son NK
9bb17533c1 no need to check for deletedAlias when changing mailbox or user email 2020-05-23 19:50:04 +02:00
Son NK
adce27b88b Add DomainDeletedAlias.get_by check when creating custom alias 2020-05-23 19:49:40 +02:00
Son NK
605e8d1f23 Fix DomainDeletedAlias check in Alias.create 2020-05-23 19:48:45 +02:00
Son NK
a4f8dc9c9d Use AliasInTrashError instead of DeletedAlias.get_by check when trying to create alias automatically 2020-05-23 19:45:26 +02:00
Son NK
c73820920b check DomainDeletedAlias when creating new alias 2020-05-23 19:35:18 +02:00
Son Nguyen Kim
1ded0c3e26
Merge pull request #206 from simple-login/normalize-api-response
Normalize api response
2020-05-23 19:33:13 +02:00
Son NK
1d598252e7 format 2020-05-23 19:18:50 +02:00
Son NK
6fc380c0d9 remove unused imports 2020-05-23 19:18:35 +02:00
Son NK
42b3666f45 use the alias v2 format for GET /api/aliases/:alias_id, POST /api/v2/alias/custom/new, POST /api/v2/alias/random/new 2020-05-23 19:18:24 +02:00
Son Nguyen Kim
8777db0729
Merge pull request #205 from simple-login/mailbox-api
Add endpoints for mailbox
2020-05-23 16:51:01 +02:00
Son NK
6280512adf move get mailboxes to mailbox.py 2020-05-23 16:46:10 +02:00
Son NK
3eb6700232 user can cancel mailbox email change 2020-05-23 16:43:48 +02:00
Son NK
2f087de061 can update mailbox email 2020-05-23 16:40:28 +02:00
Son NK
a76ad0485f PUT /api/mailboxes/:mailbox_id: update mailbox 2020-05-23 16:26:26 +02:00
Son NK
5ae39c85c6 Add DELETE /api/mailboxes/:mailbox_id 2020-05-23 16:18:12 +02:00
Son NK
722bff319e add POST /api/mailboxes: create a new mailbox 2020-05-23 16:17:42 +02:00
Son Nguyen Kim
96502c677d
Merge pull request #204 from simple-login/domain-trash
Domain trash
2020-05-23 12:23:02 +02:00
Son NK
56a483d579 re-organize readme 2020-05-23 12:22:26 +02:00
Son NK
6d9d017c08 re-organize README 2020-05-23 12:18:32 +02:00
Son NK
95ae2ec254 Add migrate_domain_trash() to move deleted alias to the correct trash 2020-05-23 12:17:50 +02:00
Son NK
be7ef9bbe9 migration script 2020-05-23 12:06:45 +02:00
Son NK
2fbc2c171b check domain trash when creating custom alias in api 2020-05-23 12:02:01 +02:00
Son NK
40ec9f44a4 check if an alias is domain trash before creating it 2020-05-23 11:51:35 +02:00
Son NK
17acaec214 save deleted alias to domain trash if it belongs to a custom domain, otherwise global trash 2020-05-23 11:49:34 +02:00
Son NK
a3ff19dac4 create custom domain trash page 2020-05-23 11:48:43 +02:00
Son NK
bad3c39921 Add DomainDeletedAlias to store all deleted aliases for a domain 2020-05-23 11:44:15 +02:00