From c8758a65262b56482b5640e6e77b4797f846cd2a Mon Sep 17 00:00:00 2001 From: hoellen Date: Sun, 13 Jan 2019 13:25:28 +0100 Subject: [PATCH 1/2] allow ipv6 addresses for tokens --- CHANGELOG.md | 1 + core/admin/mailu/ui/forms.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07b5b164..2bc867cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ v1.6.0 - unreleased - Enhancement: Include favicon package ([#801](https://github.com/Mailu/Mailu/issues/801), ([#802](https://github.com/Mailu/Mailu/issues/802)) - Enhancement: Add logging at critical places in python start.py scripts. Implement LOG_LEVEL to control verbosity ([#588](https://github.com/Mailu/Mailu/issues/588)) - Enhancement: Mark message as seen when reporting as spam +- Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829)) - Upstream: Update Roundcube - Upstream: Update Rainloop - Bug: Rainloop fails with "domain not allowed" ([#93](https://github.com/Mailu/Mailu/issues/93)) diff --git a/core/admin/mailu/ui/forms.py b/core/admin/mailu/ui/forms.py index e8302199..ed0a0a2c 100644 --- a/core/admin/mailu/ui/forms.py +++ b/core/admin/mailu/ui/forms.py @@ -137,7 +137,7 @@ class TokenForm(flask_wtf.FlaskForm): raw_password = fields.HiddenField([validators.DataRequired()]) comment = fields.StringField(_('Comment')) ip = fields.StringField( - _('Authorized IP'), [validators.Optional(), validators.IPAddress()] + _('Authorized IP'), [validators.Optional(), validators.IPAddress(ipv6=True)] ) submit = fields.SubmitField(_('Save')) From b46fd3bde4f83a06e4a7f5f26bac650325c632cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=B6hlmann?= Date: Tue, 22 Jan 2019 13:57:37 +0200 Subject: [PATCH 2/2] Move changelog entry to 1.6.1 --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2749591..35d05f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ upgrading Freposte.io as some changes will include useful notes. v1.6.1 - unreleased ------------------- - Enhancement: Make Unbound drop privileges after binding to port +- Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829)) v1.6.0 - 2019-01-18 ------------------- @@ -84,7 +85,6 @@ v1.6.0 - 2019-01-18 - Enhancement: Include favicon package ([#801](https://github.com/Mailu/Mailu/issues/801), ([#802](https://github.com/Mailu/Mailu/issues/802)) - Enhancement: Add logging at critical places in python start.py scripts. Implement LOG_LEVEL to control verbosity ([#588](https://github.com/Mailu/Mailu/issues/588)) - Enhancement: Mark message as seen when reporting as spam -- Enhancement: Create an Authentication Token with IPv6 address restriction ([#829](https://github.com/Mailu/Mailu/issues/829)) - Upstream: Update Roundcube - Upstream: Update Rainloop - Bug: Rainloop fails with "domain not allowed" ([#93](https://github.com/Mailu/Mailu/issues/93))