864 Commits

Author SHA1 Message Date
Thomas Waldmann
7dcf5a22bb validate domain of email address in registration form, fixes #284
- via DNS (MX, A/AAAA records)
- against blacklist with regexes

This is implemented because without it, postmasters get tons of mailer daemon
emails each day, just because emails are invalid, domain has no mx, ...
2018-10-14 14:52:52 +02:00
TW
90e59c7a89
Merge pull request #367 from ThomasWaldmann/http-error
http error templates simplified, catch session-saving OperationalError
2018-10-01 17:21:14 +02:00
TW
5d25e6b7a3
Merge pull request #371 from ThomasWaldmann/fix-stale-users-check
Fix stale users check
2018-10-01 16:50:08 +02:00
Thomas Waldmann
92211b0402 django-admin.py users: avoid unicode issues by using %r, fixes #350
non-ascii user names crashed the log output.
2018-10-01 15:52:49 +02:00
Thomas Waldmann
80590a646b django-admin.py users: initialize log_msg 2018-10-01 15:50:48 +02:00
Thomas Waldmann
e0a373dfcc upgrade jquery from 3.2.1 to 3.3.1, fixes #366 2018-10-01 15:40:40 +02:00
Thomas Waldmann
bc9776b119 no exceptions when context processor saves the session, fixes #356 2018-10-01 15:06:01 +02:00
Thomas Waldmann
8c6d6c6346 use a much simpler errorpage.html template, related to #356 #365
the normal base template does quite a lot of stuff and the context /
session needs to be prepared for that. in case of errors, we do not
want to do any heavy stuff, like accessing the db / session.
2018-10-01 14:10:43 +02:00
TW
04dcbc8662
Merge pull request #358 from ThomasWaldmann/fix-strip
do not strip interface_id_ipv(4|6) if empty/None, fixes #355
2018-09-30 22:14:54 +02:00
TW
64780a0368
Merge pull request #359 from ThomasWaldmann/tsigkeyring-exceptions
catch exceptions of dns.tsigkeyring.from_text(), fixes #338, fixes #319
2018-09-30 22:05:20 +02:00
Thomas Waldmann
3caf2508f7 do not strip interface_id_ipv(4|6) if empty/None, fixes #355 2018-09-30 21:39:36 +02:00
Thomas Waldmann
7e868de697 use same cleaning for the secret in (Create|Edit)DomainForm, see #338 2018-09-30 21:39:03 +02:00
Thomas Waldmann
837103fdd7 catch exceptions of dns.tsigkeyring.from_text(), fixes #338, fixes #319 2018-09-30 21:39:03 +02:00
Thomas Waldmann
fc7e48d7a2 django-admin domains --check: catch UnknownTSIGKey, fixes #336 2018-09-30 21:38:30 +02:00
Thomas Waldmann
133dd9fcba transform UnknownTSIGKey into DnsUpdateError, fixes #337
this exception is catched in nsupdate.api.views._update_or_delete.
2018-09-30 21:38:30 +02:00
Thomas Waldmann
fe7b1bc0cb 1.1.1.1 == one.one.one.one 2018-09-30 20:53:26 +02:00
Thomas Waldmann
ee54d07d2a fix placeholders in domains management script 2018-05-02 13:46:22 +02:00
TW
ba43006194
Merge pull request #343 from ThomasWaldmann/fix-335
work around UnknownTSIGKey exception blowing up the overview view
2018-04-26 02:04:40 +02:00
TW
b5ed33529f
Merge pull request #344 from ThomasWaldmann/stale-domains
implement django-admin domains --stale-check
2018-04-26 00:52:54 +02:00
Thomas Waldmann
4e41cfb96b implement django-admin domains --stale-check 2018-04-25 18:49:08 +02:00
Thomas Waldmann
b2e2ddf949 fix reverse dns lookup tests
not sure why, but the old ones were failing half of the time.
let's try the latest shit from cloudflare. :)
2018-04-25 18:45:04 +02:00
Thomas Waldmann
92c105b64c work around UnknownTSIGKey exception blowing up the overview view 2018-04-25 16:29:24 +02:00
Thomas Waldmann
b62fa0454d implement django-admin users --stale-check
deletes users who have not logged in for >= 1y and
have no hosts and domains.
2018-04-20 10:29:17 +02:00
Fabian Weisshaar
6b3d2ffbd8 Minor changes and fixes, v0.12 milestone 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
262fce4476 Update jquery to v3.2.1 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
a2b8e3da9d fix register test, view now redirects 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
fe1c697631 fix pep8, fix argparse 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
2b5f0e9f05 update BaseCommand option_list for Django 1.11 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
cbf7027287 already something for Django 2.0 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
55f47ff52d Update to Django 1.11 LTS, fixes #293 2018-01-30 12:37:12 +01:00
5d3aa6cef3
Add missing closing div after dyndnsc sample configuration
c9bc5bffb0 was missing the closing `</div>` which breaks the `tab-pane`
2018-01-28 21:32:07 +01:00
Paul Kremer
c9bc5bffb0 Provide example configuration for 'dyndnsc' 2018-01-15 20:56:40 +01:00
Fabian Weisshaar
0d3b47773d Merge pull request #312 from elnappo/prevent_domain
add domain name check
2017-05-27 16:17:15 +02:00
Fabian Weisshaar
f3d2d031b0 add domain name check, fixes #308 2017-05-26 21:50:24 +02:00
Fabian Weisshaar
a23b07c0e3 Update DD-WRT config instructions, fixes #300 2017-05-26 12:15:34 +02:00
enricostano
a1072902fb Update inadyn configuration to 2.1
fix nsupdate-info/nsupdate.info/304
2017-03-20 17:49:43 +01:00
TW
f38cc72c56 Merge pull request #291 from elnappo/registration
Upgrade django-registration-redux
2017-01-21 01:00:21 +01:00
TW
8b63cea4b2 Merge pull request #290 from elnappo/upgrade_social
upgrade python-social-auth
2017-01-20 23:52:51 +01:00
Fabian Weisshaar
cb7f55d55d upgrade python-social-auth 2016-12-29 17:53:27 +01:00
Fabian Weisshaar
dfe0e1c7f0 This fixes #250, fixes #251 and fixes #252 2016-12-28 20:24:00 +01:00
Fabian Weisshaar
8a56770870 upgrade to jQuery 3.1.1, bootstrap 3.3.7 and font-awesome 4.7.0 fixes #178 2016-12-28 20:20:15 +01:00
Thomas Waldmann
253391053c api basic auth - ignore non-utf8 chars, fixes #282 2016-09-05 16:51:44 +02:00
TW
fbb781dd81 Merge pull request #280 from ThomasWaldmann/fix-247
fix crash on ShortHeader and other DNSException subclasses, fixes #247
2016-08-27 17:48:30 +02:00
Thomas Waldmann
118d0d51fd fix crash on ShortHeader and other DNSException subclasses, fixes #247 2016-08-27 17:29:59 +02:00
Fabian Weisshaar
2a059a9f48 fix #278 2016-08-17 13:16:14 +02:00
Thomas Waldmann
d0f225b3af settings.base: fix pep8 2016-08-14 02:38:34 +02:00
TW
634996be57 Merge pull request #270 from ThomasWaldmann/fix-templating
Fix templating
2016-08-13 23:57:29 +02:00
TW
9d30ca1014 Merge pull request #271 from ThomasWaldmann/fix-hostadd-sameip-crash
fix SameIpError in host add form processing, fixes #267
2016-08-13 23:56:25 +02:00
TW
0baa8b8571 Merge pull request #272 from ThomasWaldmann/fix-openwrt-config
update OpenWrt config example for Chaos Calmer, fixes #259
2016-08-13 23:55:07 +02:00
Thomas Waldmann
a1216d1967 update OpenWrt config example for Chaos Calmer, fixes #259 2016-08-13 23:45:00 +02:00