Commit graph

3460 commits

Author SHA1 Message Date
Son NK
b4eb110971 fix Directory.create: use alias_utils.delete_alias 2020-08-14 12:02:54 +02:00
Son NK
2cae0200a8 use delete_alias(alias,user) instead of Alias.delete, DomainDeletedAlias.create, DeletedAlias.create 2020-08-14 12:02:33 +02:00
Son NK
4434ad62dd handle the case 2 users want to use the same email address 2020-08-13 11:00:48 +02:00
Son NK
b7cbaa6e84 delete the expired ChangeEmail object 2020-08-13 10:59:39 +02:00
Son Nguyen Kim
cb687c4248
Merge pull request #259 from FabioWidmer/plausible-analytics-support
Plausible Analytics Support
2020-08-12 20:25:37 +02:00
Fabio Widmer
8e71e8e7f4
A few (self hosting) improvements 2020-08-12 16:12:41 +02:00
Fabio Widmer
d0ed69f8aa
Add Plausible Analytics support 2020-08-12 15:24:34 +02:00
Son NK
0d1e5b1f7d Revert "show alert message on the email delay issue"
This reverts commit cba78b1b5d.
2020-08-12 12:49:09 +02:00
Son NK
b395c2ebd0 use warning log for FIDO error 2020-08-12 12:48:51 +02:00
Son NK
7e5deef34f add time measures to email_handler 2020-08-11 17:32:04 +02:00
Son NK
cba78b1b5d show alert message on the email delay issue 2020-08-11 17:04:00 +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
ef45e28ab3 Add aiocontextvars to fix "RuntimeError: The aiohttp integration for Sentry requires Python 3.7+ or aiocontextvars package" 2020-08-11 08:44:06 +02:00
Son NK
b064341f4e install gevent 2020-08-11 08:28:48 +02:00
Son NK
9def7df974 also search for PGP key in contact 2020-08-08 10:26:24 +02:00
Son NK
8db2ddcd5b Add nb_apple_premium, take into account canceled subscription in nb_premium 2020-08-07 10:06:00 +02:00
Son NK
8a11e42da9 notify admin when user cancels 2020-08-07 10:01:11 +02:00
Son NK
c74857c7e7 use alias name when searching 2020-08-07 09:56:44 +02:00
Son NK
2f00294ba3 replace pgp_enabled by disable_pgp 2020-08-06 14:22:28 +02:00
Son NK
0484fdbb83 update doc 2020-08-05 20:59:24 +02:00
Son NK
5dc631a6b5 black 2020-08-05 12:31:08 +02:00
Son NK
1f0ef13ff2 do not require user to re-enter TOTP code when cancelling TOTP 2020-08-05 12:30:56 +02:00
Son NK
f17608df50 add link back to home page in recovery page 2020-08-05 12:28:20 +02:00
snyk-bot
8e3a16841d fix: upgrade @sentry/browser from 5.19.1 to 5.19.2
Snyk has created this PR to upgrade @sentry/browser from 5.19.1 to 5.19.2.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-08-05 03:23:41 +00:00
Son Nguyen Kim
5d61d5b31b
Merge pull request #252 from simple-login/fix-custom-domain
avoid adding a built-in domain as custom domain
2020-08-04 21:09:42 +02:00
Son NK
6cb589350b avoid adding a built-in domain as custom domain 2020-08-04 21:07:45 +02:00
Son Nguyen Kim
0a50b21450
Merge pull request #251 from simple-login/pgp-api
Pgp api
2020-08-04 20:22:35 +02:00
Son NK
a3051b3d45 black 2020-08-04 20:12:15 +02:00
Son NK
b3ca7d1d5b Return pgp_enabled in GET /api/v2/aliases 2020-08-04 20:11:59 +02:00
Son NK
03841693ba Return support_pgp in GET /api/v2/aliases 2020-08-04 20:09:42 +02:00
Son NK
3d2a325e55 enable debug toolbar when running locally 2020-08-04 11:37:59 +02:00
Son NK
f2fb599664 Optimize Alias.get_contacts() to retrieve the latest reply for each contact in a single query 2020-08-04 11:37:59 +02:00
Son Nguyen Kim
a0ed091b35
Merge pull request #248 from simple-login/snyk-upgrade-b52e398d97b584f86cb8ae3654e99692
[Snyk] Upgrade @sentry/browser from 5.19.0 to 5.19.1
2020-08-02 10:05:38 +02:00
snyk-bot
6d142cc926 fix: upgrade @sentry/browser from 5.19.0 to 5.19.1
Snyk has created this PR to upgrade @sentry/browser from 5.19.0 to 5.19.1.

See this package in npm:
https://www.npmjs.com/package/@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/nguyenkims/project/72f25afd-ac84-4504-a9bd-dc5ead29b930?utm_source=github&utm_medium=upgrade-pr
2020-08-02 03:24:26 +00:00
Son Nguyen Kim
852c13fb60
Merge pull request #247 from simple-login/domain-mailbox
Domain mailbox
2020-08-01 12:54:34 +02:00
Son NK
4a2a4b9828 migration script 2020-08-01 12:48:03 +02:00
Son NK
918b18870f show mailboxes that a catch-all alias belongs to 2020-08-01 12:41:48 +02:00
Son NK
41e2283d93 domain catch-all alias belongs to domain mailboxes 2020-08-01 12:31:43 +02:00
Son NK
f5bc166f39 able to choose mailboxes for a domain 2020-08-01 12:31:02 +02:00
Son NK
ec8f120085 small fixes in directory.py 2020-08-01 12:22:52 +02:00
Son NK
e8fc9752b5 Add DomailMailbox model 2020-08-01 12:20:59 +02:00
Son NK
d98cde440a add how to test sending email using swaks and mailcatcher 2020-08-01 12:20:15 +02:00
Son Nguyen Kim
9d78f9a21b
Merge pull request #244 from simple-login/snyk-upgrade-db7b068f1af8d53cc31b15d0c627a8b3
[Snyk] Upgrade @sentry/browser from 5.12.0 to 5.19.0
2020-08-01 11:03:32 +02:00
Son Nguyen Kim
c8a4c53870
Merge pull request #246 from simple-login/fix-ai-key
fix api key counter not correctly incremented
2020-08-01 10:15:25 +02:00
Son NK
ed22f5116f fix api key counter not correctly incremented 2020-08-01 10:14:59 +02:00
Son NK
3e5323c2dd add no-referrer for referrer meta 2020-07-30 10:09:26 +02:00
Son NK
68eeb2e121 add rel="noopener" for target="_blank" link 2020-07-30 10:09:10 +02:00
Son NK
701579f18c update opencollective handle 2020-07-30 08:27:38 +02:00