Commit Graph

1836 Commits

Author SHA1 Message Date
Son NK 5b1d8d4d74 migration script 2020-05-27 00:20:33 +02:00
Son NK eb6bfdd56f only show upgrade button to "free" lifetime user 2020-05-27 00:20:09 +02:00
Son NK 2f0a5aa429 add user.paid_lifetime column 2020-05-27 00:18:45 +02:00
Son NK ba5d71dd75 Use FIRST_ALIAS_DOMAIN instead of EMAIL_DOMAIN when creating random alias 2020-05-26 09:07:36 +02:00
Son NK 62017592e1 Add ALIAS_DOMAINS config 2020-05-25 19:51:30 +02:00
Son Nguyen Kim 7d0ab3651f
Merge pull request #209 from SibrenVasse/rate_limit
Implement rate limiting
2020-05-25 12:18:19 +02:00
Sibren Vasse 31a1f94a5f Implement rate limiting 2020-05-25 11:39:33 +02:00
Son NK b65328afe7 workaround browser cache for webauthn.js 2020-05-25 00:10:12 +02:00
Son NK c68fad741b Improve how to use directory 2020-05-24 23:55:49 +02:00
Son NK 22c5513909 fix ForeignKeyViolation 2020-05-24 20:35:52 +02:00
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