782 Commits

Author SHA1 Message Date
Thomas Waldmann
c8ffb3b194 update i18n (.po) 2014-11-01 21:36:57 +01:00
Thomas Waldmann
8aae3e2c73 make the pep8 checker happy 2014-11-01 20:23:08 +01:00
Thomas Waldmann
dc23b56537 fix form name for language selector
(so it works with lang.name that has blanks)
2014-11-01 19:37:47 +01:00
Thomas Waldmann
0c7c259901 prepare adding of zh-cn i18n 2014-11-01 19:33:39 +01:00
Thomas Waldmann
4383226046 fix some issues found by pycharm 2014-11-01 19:25:49 +01:00
elnappo
a3f7fe905d login and password change layout improvements 2014-10-28 17:15:23 +01:00
elnappo
c943728d00 minor login template cleanup 2014-10-28 17:14:43 +01:00
elnappo
b617396f2a make registration views prettier (fix missing trans, layout improvments and code cleanup) #119 2014-10-28 17:10:53 +01:00
elnappo
886919ac83 change col-layout from large to medium in about template 2014-10-28 17:09:05 +01:00
elnappo
06cbd2f6b0 use naturaltime in overview 2014-10-28 14:25:19 +01:00
Thomas Waldmann
57bf826756 remove abusive hosts from dns via post_save signal 2014-10-27 23:06:08 +01:00
Thomas Waldmann
d77b4fc702 add tests for accounts package views 2014-10-27 22:45:38 +01:00
Thomas Waldmann
12f045cdb4 add delete useraccount functionality, fixes #170 2014-10-27 22:38:25 +01:00
Thomas Waldmann
ce9f2a83a5 fix 2 small issues found by pycharm 2014-10-24 20:37:56 +02:00
Thomas Waldmann
aeceda0f38 manually fix related_name, fixes bug in django 1.7.0 migration generation (issue #23455) 2014-10-21 06:06:23 +02:00
Thomas Waldmann
69d76b625a use new @admin.register 2014-10-21 05:24:48 +02:00
Thomas Waldmann
39eb5e992e support and require django 1.7 (and related changes)
drop python 2.6 (not supported by django any more)
switch from django-registration (dead and broken) to django-registration-redux, fix issue #116
remove south dependency (and south migrations)
create new initial migration with django's builtin migrations
update docs
2014-10-21 05:06:44 +02:00
Thomas Waldmann
8974cf1daf fix pep8 2014-10-01 17:22:52 +02:00
Thomas Waldmann
e7660d5356 add search fields for host/domain admin 2014-10-01 17:12:14 +02:00
Thomas Waldmann
7eecfc0790 updated translations (.mo) 2014-09-30 21:40:54 +02:00
Thomas Waldmann
121d40375f updated translations (.po) 2014-09-30 21:40:12 +02:00
Thomas Waldmann
0c1911b9d8 configuration help: translate "General" 2014-09-30 13:59:46 +02:00
Thomas Waldmann
c1d03eaf5c add inadyn to configuration help 2014-09-30 13:57:55 +02:00
Thomas Waldmann
8d50874e3a improve basic_auth tests so they work with same datatype as when practically running with a web server 2014-09-29 13:44:21 +02:00
Thomas Waldmann
8624d5dbd9 iptools: add docstring, minor changes 2014-09-29 11:31:22 +02:00
Jonne Haß
5e637b14c9 Handle IPv4-mapped IPv6 addresses
Some reverse proxy configurations pass REMOTE_ADDR
as a IPv4-mapped IPv6 address when listening on a
IPv6 socket. This patch converts such a mapped
address into a IPv4 address at all usages of
REMOTE_ADDR. It handles both, the ::ffff:192.0.2.128
format as well as the deprecated ::192.0.2.128 format.
2014-09-29 06:21:24 +02:00
Thomas Waldmann
dd95d84404 remove deprecated commit_on_success (works for Django >= 1.6), update requirements to Django 1.6.7 2014-09-26 02:32:46 +02:00
Thomas Waldmann
63c1cdbe6b remove support for django 1.5.x, stuff not needed any more when requiring >= 1.6 2014-09-26 02:25:08 +02:00
Thomas Waldmann
7344f7e284 quick fix for py3 compatibility 2014-09-26 02:07:58 +02:00
Thomas Waldmann
8c25bdf14d show related hosts' ipv4/v6 addr from nameserver 2014-09-26 00:16:52 +02:00
Thomas Waldmann
3b4669771a rather use PositiveSmallIntegerField for netmasks 2014-09-25 23:47:48 +02:00
Thomas Waldmann
27fe20da18 make netmasks / prefix lengths configurable in host record 2014-09-25 23:40:52 +02:00
Thomas Waldmann
4280728bfa add comments for related hosts 2014-09-25 22:05:14 +02:00
Thomas Waldmann
4d70a77ab8 add pre_delete handler for RelatedHost to remove related hosts from DNS 2014-09-25 20:40:14 +02:00
Thomas Waldmann
c1f2f91dc6 add user interface for related hosts 2014-09-25 20:15:18 +02:00
Thomas Waldmann
fa640706f5 add related hosts functionality, to update host records based on main host network address + interface id
this is esp. useful for v6 hosts, where your provider might give you a changing prefix (we assume /64), but your interface ids stay the same.

but same mechanism also principally works for v4 (we assume /29), except that you usually do not get a v4 network where the network address is changing.
and when it comes to dynamic addresses, many people only get 1 ipv4 address anyway. the related host could then be used for aliaseses with ifid == 0 for all aliases.
2014-09-23 00:48:54 +02:00
Thomas Waldmann
66cedf5425 use FQDN namedtuple for test hostnames 2014-09-22 23:41:35 +02:00
Thomas Waldmann
cf075aa1aa fix some places that relied on TEST_HOST being str
this prepares next commit
2014-09-22 23:39:23 +02:00
Thomas Waldmann
a064ba1961 rename domain_blacklist_validator to host_blacklist_validator 2014-09-21 22:48:51 +02:00
Thomas Waldmann
522911f6f8 rename BlacklistedDomain to BlacklistedHost, add migration 2014-09-21 22:47:05 +02:00
Thomas Waldmann
5fe8f13015 rename some model attributes, add migration
Domain.domain to Domain.name
Host.subdomain to Host.name
BlacklistedDomain.domain to BlacklistedDomain.name_re
2014-09-21 22:31:26 +02:00
Thomas Waldmann
06e0225c0e removed email address on request 2014-09-19 19:02:26 +02:00
Thomas Waldmann
941d2daabf add openwrt configuration help (ipv4) 2014-09-19 08:13:19 +02:00
Thomas Waldmann
3da3d82eb4 update CHANGES, fix typo in comment 2014-09-12 21:11:55 +02:00
Thomas Waldmann
6fc1f64698 disallow deleting hosts that are flagged abuse_blocked 2014-09-12 20:53:08 +02:00
Thomas Waldmann
804eda920c catch dns.tsig.PeerBadTime 2014-09-08 02:44:12 +02:00
Thomas Waldmann
ded5e0cb8b updated i18n (.mo) 2014-09-04 18:50:19 +02:00
Thomas Waldmann
cb00af18d2 updated i18n (.po) 2014-09-04 18:50:05 +02:00
Thomas Waldmann
8a39d6a90e reduce amount of i18n strings / words, standardize some terms, use placeholders 2014-09-04 18:48:29 +02:00
Thomas Waldmann
277ba9a185 remove "created_by" from admin view filters, does not scale. add "created". 2014-09-03 18:23:50 +02:00