Commit Graph

1322 Commits

Author SHA1 Message Date
Son NK 4789e439db rename auth_login to auth 2020-04-09 20:31:53 +02:00
Son NK f34ef8781c Do not hardcode MAX_NB_EMAIL_FREE_PLAN in email templates 2020-04-08 23:08:34 +02:00
Son NK 6a19390e3f Create text() macro, no more variable concatenation as render_text()! 2020-04-08 23:07:38 +02:00
Son NK a548c84694 Make MAX_NB_EMAIL_FREE_PLAN available in all email templates 2020-04-08 23:06:56 +02:00
Son NK d9d22a56e2 Update to 15 aliases in free plan 2020-04-08 22:38:25 +02:00
Son NK 3f84b9e901 no need to set X-Frame-Options header
as already set by Nginx
2020-04-06 22:36:35 +02:00
Son Nguyen Kim cb6a18b1bf
Merge pull request #123 from simple-login/get-alias-v2
Add GET /api/v2/aliases
2020-04-06 22:31:31 +02:00
Son NK 5d0519ed86 Add GET /api/v2/aliases 2020-04-06 22:26:35 +02:00
Son NK 7ed317e334 Show alias creation date when no activity 2020-04-05 20:05:49 +02:00
Son NK cfdaf659f9 Make UI more consistent 2020-04-05 19:59:48 +02:00
Son NK b19dfc6ef4 Use forward/reply/blocked icon on alias page 2020-04-05 19:42:30 +02:00
Son NK e83f11342d prettify alias activity page 2020-04-05 19:28:57 +02:00
Son NK 460c306712 Order alias by latest activity instead of alias creation date. Show the latest activity & contact 2020-04-05 19:03:17 +02:00
Son NK af9178e216 Use non-beta logo 2020-04-05 18:58:22 +02:00
Son NK bf0f8a913a remove AliasInfo.id 2020-04-05 16:57:47 +02:00
Son NK b0c3634e72 use dataclass for AliasInfo, remove note 2020-04-05 16:57:28 +02:00
Son NK 67d6ce1cea rename 2020-04-05 16:33:43 +02:00
Son NK 425fdc66c6 Move methods to api/serializer.py 2020-04-05 16:32:38 +02:00
Son NK f15488f96b refactor: move get_alias_infos_with_pagination, get_alias_info to alias.py 2020-04-05 16:21:13 +02:00
Son NK f3244eb274 force convert contact_from_header to string 2020-04-05 15:42:09 +02:00
Son NK 2619333cc6 remove uses of website_from 2020-04-05 15:39:48 +02:00
Son NK 18844b7011 use full email header in replace_header_when_reply 2020-04-05 15:27:35 +02:00
Son NK f78e790b71 set contact name in get_or_create_contact, use contact.new_addrs in replace_header_when_forward 2020-04-05 15:24:09 +02:00
Son NK afceabeef5 add Contact.new_addr() 2020-04-05 15:21:04 +02:00
Son NK b01533e9ac Update contact name in forward phase 2020-04-05 14:50:12 +02:00
Son NK a7eefe8232 rename 2020-04-05 12:59:36 +02:00
Son NK d1e5b9f9b7 set contact name, use website_email instead of website_from in alias endpoint 2020-04-05 12:58:06 +02:00
Son NK c686767d4d Fix parseaddr_unicode: take into account email only case 2020-04-05 12:56:17 +02:00
Son NK 6c68b3cda7 Fix website_send_to: prefer using name instead of website_from 2020-04-05 12:48:59 +02:00
Son NK fbcac59c7f Set contact name when adding contact via contact manager 2020-04-05 12:29:00 +02:00
Son NK 9c22bf479a rename 2020-04-05 12:19:37 +02:00
Son NK fa8e0aee45 Add contact.name column 2020-04-05 12:18:18 +02:00
Son NK 5fff1e86ce Add parseaddr_unicode() 2020-04-05 12:07:40 +02:00
Son NK 6258ef0c11 Only display website_email instead of website_from in contact manager, alias log and refused emails 2020-04-05 12:02:08 +02:00
Son NK 3a845af2fa use website_email instead of website_from in spam-email 2020-04-05 12:00:01 +02:00
Son NK a081298756 use website_email instead of website_from in bounce-email 2020-04-05 11:59:24 +02:00
Son NK b2f22db9f6 use website_email instead of website_from for automatic-disable-alias email 2020-04-05 11:58:13 +02:00
Son NK 5ce21bfa16 Ignore adhoc_* files 2020-04-05 11:56:36 +02:00
Son NK c163bdc14f use warning for grey listing 2020-04-04 21:59:42 +02:00
Son NK 0657f3dbc2 rename 2020-04-04 20:06:35 +02:00
Son NK 3baddc9206 rename 2020-04-04 20:04:42 +02:00
Son NK f7e5ab1e34 reaname 2020-04-04 19:21:31 +02:00
Son NK 4d8040c80d Add reverse_alias to GET /api/aliases/:alias_id/activities 2020-04-04 19:18:07 +02:00
Son NK 1c5d6e3299 rename 2020-04-04 19:11:10 +02:00
Son NK eab45beef2 Use error level when greylisting happens 2020-04-04 18:07:22 +02:00
Son NK 655090242e Fix greylog query 2020-04-04 18:07:05 +02:00
Son NK eccc8a71e9 use MAX_ACTIVITY_DURING_MINUTE instead of MIN_TIME_BETWEEN_ACTIVITY 2020-04-04 17:22:27 +02:00
Son NK 8caebc0142 Return 421 when there's too much activity on an alias or mailbox 2020-04-04 16:27:22 +02:00
Son NK 661547ec3a refactor: avoid calling "with app.app_context()" all the time 2020-04-04 16:09:24 +02:00
Son NK c1f5c07d86 Move alias auto-creation to alias_utils 2020-04-04 15:24:27 +02:00