464 Commits

Author SHA1 Message Date
Thomas Waldmann
0c95fbacaf catch EOFError exception, add note about readable exception messages PR, fixes #197 2015-01-26 18:07:43 +01:00
Thomas Waldmann
0d8f6cc82e catch socket.error (e.g. "connection refused"), fixes #195 2015-01-09 21:46:30 +01:00
Thomas Waldmann
01f426deb9 fix code to succeed with tests for related host views 2015-01-02 21:21:37 +01:00
elnappo
a0c0ba467c fixed missing url parm for related_host_overview 2015-01-02 14:25:06 +01:00
elnappo
2963e60aa2 add more test for main views (mostly 404) 2015-01-02 14:18:49 +01:00
elnappo
a5f0a00e79 add some tests 2015-01-02 13:19:51 +01:00
elnappo
8994be6ca1 minor admin interface improvments 2014-12-28 15:53:22 +01:00
elnappo
419704618d replace __unicode__() with text_type for python3 2014-12-28 14:52:17 +01:00
elnappo
37bb496e3b dont use unicode_literals 2014-12-28 14:19:24 +01:00
elnappo
1897c9a913 replace PermissionDenied with Http404 2014-12-28 14:07:06 +01:00
elnappo
ca34ca3e0d
remove all __unicode__() for python3 compatibility 2014-12-06 12:35:20 +01:00
elnappo
75fc8627d7
add python_2_unicode_compatible in models.py #189 2014-12-05 20:33:15 +01:00
elnappo
cbab1a5d17
only show "(unkown)" in overview when hosts has this record, add some trans tags 2014-12-05 19:38:26 +01:00
Thomas Waldmann
0db2e60263 fix resolving to not add the service server's domain, but just "." 2014-11-27 20:03:34 +01:00
Thomas Waldmann
6261b64b72 catch more query_ns exceptions. try update/delete even if query_ns failed.
it could be maybe the secondary DNS that failed for query_ns, so we can still try talking to the primary.
2014-11-27 10:47:34 +01:00
elnappo
1de8a9aaf6 Merge branch 'master' of github.com:nsupdate-info/nsupdate.info 2014-11-26 10:39:26 +01:00
Thomas Waldmann
032dd502e6 fix misleading exception handler for query_ns 2014-11-25 22:04:34 +01:00
elnappo
f35d16c406
edit form is now a horizontal form 2014-11-25 21:30:13 +01:00
Thomas Waldmann
13cf70baf6 implement host staleness level, management script to check whether host IP is being updated 2014-11-21 11:00:59 +01:00
Thomas Waldmann
223710c4c7 add missing migration (nameserver2_ip, tls_update_ipv6 help text changes) 2014-11-21 10:56:23 +01:00
Thomas Waldmann
73d69e7502 fix method signature of get_context_data, fixes #180 2014-11-17 22:09:39 +01:00
Thomas Waldmann
2377cdbd85 merged changes from rel0.10 branch 2014-11-17 21:51:00 +01:00
Thomas Waldmann
015ad71945 fix 2 translatable strings 2014-11-17 21:37:03 +01:00
Thomas Waldmann
c432e24c0d add a managment command "domains" to check the domains, notify owner of domain, update admin docs
if a nameserver is not reachable or does not answer queries for the domain, the domain is flagged as not available (and also as not public).

also added catching of PeerBadKey exception.
2014-11-16 23:05:35 +01:00
Thomas Waldmann
b8e37e904d register api auth errors/success in the host record, display auth success/failure in host view, partially fixes #176 2014-11-16 00:04:27 +01:00
Thomas Waldmann
11f9e8b3bf fix pep8 2014-11-15 22:49:59 +01:00
Thomas Waldmann
536a5f5d9d add secondary nameserver, prefer it for queries, add migration, fixes #175 2014-11-15 22:42:13 +01:00
Thomas Waldmann
b6968fdb6f add migration for PR #179 2014-11-15 22:28:26 +01:00
Thomas Waldmann
2e53ce8e4a fix typos 2014-11-15 22:27:04 +01:00
elnappo
60af691fbd Merge branch 'master' of github.com:nsupdate-info/nsupdate.info 2014-11-15 20:54:41 +01:00
Thomas Waldmann
ae06bb4f73 avoid sending delete updates to the master server - first check if there is something to delete 2014-11-15 17:53:38 +01:00
elnappo
4ac7db1340 add verbose names to models and model fields 2014-11-09 12:27:54 +01:00
Thomas Waldmann
04cc11f6d5 forward port security fix from 0.9.1, fixes #177 2014-11-08 17:14:46 +01:00
Thomas Waldmann
c7b1404c78 add admin for RelatedHost 2014-11-02 00:53:06 +01:00
Thomas Waldmann
84b04ee1ab use blocktrans trimmed to have better template formatting, simplify blocktrans to trans at some places 2014-11-01 23:03:02 +01:00
Thomas Waldmann
4383226046 fix some issues found by pycharm 2014-11-01 19:25:49 +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
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
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
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
7344f7e284 quick fix for py3 compatibility 2014-09-26 02:07:58 +02:00