425 Commits

Author SHA1 Message Date
Thomas Waldmann
480dbd358c update_ns: catch UnknownTSIGKey exception 2014-07-14 21:48:10 +02:00
Thomas Waldmann
fdc63a20a9 update i18n / i18n string fix 2014-07-14 21:13:14 +02:00
Thomas Waldmann
3159ff61e5 some i18n string fixes 2014-07-14 21:03:52 +02:00
Thomas Waldmann
4f6eef75bb fix wrong template tag in domain overview 2014-06-07 00:33:39 +02:00
Thomas Waldmann
077b91c0dd Merge branch 'pu_translations' of github.com:mandrag0ra/nsupdate.info into mandrag0ra-pu_translations
Conflicts:
	nsupdate/main/templates/main/includes/tabbed_router_configuration.html
	nsupdate/main/templates/main/status.html
	nsupdate/templates/base.html
2014-06-06 22:46:32 +02:00
mandrag0ra
25449d447b correct presumed latest syntax errors 2014-05-30 14:55:50 +02:00
Thomas Waldmann
f26ae31882 s/ssl_update_v4/tls_update_v4/g (and same for v6)
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed model field names. Added a schema migration to rename the DB columns.

Note: the schema migration also adds/removes the index introduced in cs 32289ebb183907e8618ff251dd5846fd00fe9423
2014-05-30 02:03:48 +02:00
Thomas Waldmann
070a1445be s/ssl/secure/g
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed some API params.
2014-05-30 01:28:34 +02:00
Thomas Waldmann
d47793b71c s/WE_HAVE_SSL/WE_HAVE_TLS/g
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed the name of the configuration setting.
2014-05-30 01:18:50 +02:00
Thomas Waldmann
46008bf2cd s/SSL/TLS/g (almost)
SSL is the old/outdated name. Since 1999, it's called TLS.

In this changeset, I did the mostly harmless changes (UI, logs, docs).
2014-05-30 01:10:33 +02:00
Thomas Waldmann
8c93414d8d use colored labels to make the abuse markers better visible 2014-05-29 21:29:58 +02:00
Thomas Waldmann
3cf5e6ff96 say "update DNS", not "update hostname" 2014-05-29 19:10:45 +02:00
Thomas Waldmann
b18ef01a43 when showing the update URLs, use links for the myip= example urls also (for cosmetic reasons) 2014-05-29 19:08:58 +02:00
Thomas Waldmann
37dee16a33 when showing the update URLs, use links so one can more easily copy&paste or bookmark them 2014-05-29 18:55:35 +02:00
Thomas Waldmann
16416cb2af catch NoNameservers exception and show error msg on UI 2014-05-29 17:27:11 +02:00
Thomas Waldmann
32289ebb18 index subdomain and domain together (as they are only unique together also) 2014-05-29 17:19:08 +02:00
Thomas Waldmann
9341df05bb optimize filter_by_fqdn(), rename to get_by_fqdn()
as we precisely expect 1 result (0 or more than 1 are error cases), use .get() instead of .filter().
avoid usage of len().
maybe this is a little more efficient than before.
2014-05-29 15:25:38 +02:00
Thomas Waldmann
3d922e4f13 catch "Network is unreachable" error 2014-05-28 15:19:21 +02:00
mandrag0ra
9e930fad88 syntax errors correction 2014-05-28 15:05:57 +02:00
mandrag0ra
c3ab638092 correct syntax errors 2014-05-27 01:36:57 +02:00
Thomas Waldmann
1821229e83 show created_by in hosts admin, offer abuse flags in filter first (and domains/creators afterwards) 2014-05-26 18:13:08 +02:00
Thomas Waldmann
472b022472 remove client_faults counter from filters 2014-05-25 18:29:16 +02:00
Thomas Waldmann
f4be4ba6d0 add client_faults counter to admin display 2014-05-25 18:26:56 +02:00
Thomas Waldmann
19fe0e94a5 show an example zone file for bind9 after adding a new domain 2014-05-25 17:39:55 +02:00
mandrag0ra
064ec12be6 {% trans %} on .html files 2014-05-23 17:27:18 +02:00
Thomas Waldmann
b818ea9df9 catch / handle DnsUpdateError (e.g. SERVFAIL) 2014-04-28 00:47:28 +02:00
Thomas Waldmann
96c07fb18a add abuse flag to host admin list view 2014-03-09 23:15:20 +01:00
Thomas Waldmann
56092738e8 prettier hosts overview 2014-01-26 16:26:51 +01:00
Thomas Waldmann
454489f129 hosts overview: tell what the stuff in parens refers to: the last update 2014-01-26 16:12:44 +01:00
Thomas Waldmann
70ad623946 hosts overview: improve rendering if update timestamp is unknown (likely because no update happened yet) 2014-01-26 16:11:29 +01:00
Thomas Waldmann
24aaa0ff6b ns_query: as we query the authoritative master dns directly, we switch off RD (recursion desired), fixes #142 2014-01-26 15:34:25 +01:00
Thomas Waldmann
f62bbe896f updated dd-wrt help with verified settings for dd-wrt v24-sp2 - thanks to Per Brax! 2014-01-22 17:48:05 +01:00
Thomas Waldmann
400259c758 get_ip: if there is no A/AAAA record, anwer "none" (anwer "error" only in real error cases) 2014-01-22 14:03:36 +01:00
Thomas Waldmann
c0cb56a97d implement custom template view, add docs for it 2014-01-22 00:09:14 +01:00
Thomas Waldmann
ee60c89d2d remove view for legalese
we don't want to be responsible for its contents (do it yourself and, if in doubt, ask your lawyer).

depending on applicable law, you might be required to have multiple directly reachable views,
thus this one view was not flexible enough anyway,
2014-01-21 19:24:34 +01:00
Thomas Waldmann
d195bba4d0 implement delete UI 2014-01-21 18:47:27 +01:00
Thomas Waldmann
36c3c8d314 implement delete API
Very similar to /nic/update and /nic/update_authorized, /nic/delete and /nic/delete_authorized delete
 the A or AAAA record, depending in the kind of IP address given.

 As this is a delete, the specific ip address value is ignored.
2014-01-21 17:50:01 +01:00
Thomas Waldmann
0b21532bd6 partially revert commit 78b27f65c0a90eb51fba09112e9bc681b8070b1a
the host.get_ipv4 (and same for get_ipv6) call was duplicated, resulting in
additional ns queries.

also, the semantics of this part of the change was unclear or even erroneous.
get_ipv4 returns either the ip address or 'error', so that "if" would always
gets a trueish value to evaluate, making it pointless.
2014-01-16 00:08:09 +01:00
ThomasWaldmann
bf72818e20 Merge pull request #126 from elnappo/master
some improvements
2014-01-15 14:52:27 -08:00
Fabian Weisshaar
0f0bb633d5 fix errors for pull request 2014-01-15 15:24:26 +01:00
Thomas Waldmann
f963672c42 m0nowall configuration: fix homepage link 2014-01-11 01:56:54 +01:00
René Moser
20e1f87588 added m0n0wall router configuration 2013-12-31 16:36:27 +01:00
Fabian Weisshaar
78b27f65c0 col-lg to col-md, add warning badges for no SSL updates 2013-12-30 14:26:53 +01:00
Fabian Weisshaar
1b2644c5b9 change grid layout form col-lg to col-md for better layout 2013-12-30 14:23:02 +01:00
Fabian Weisshaar
924b9ad3ad add ModelAdmin for DomainAdmin, HostAdmin and BlacklistedDomainAdmin 2013-12-29 21:44:40 +01:00
René Moser
f2dfd04c7e fixed non valid html in hostconfig_overview, added colspan 2013-12-28 09:34:34 +01:00
René Moser
9d808f88f2 fixed non valid html in overview, added colspan 2013-12-28 01:12:03 +01:00
Thomas Waldmann
6b526f4ebd fix 500 error when domain does not exist
happens if POST contains a faked basedomain (not from our dropdown list)
2013-12-27 13:03:48 +01:00
Thomas Waldmann
852e541778 make the tests use a test zone
for the dnstools tests, tests were already changed to use a random test host in the test zone,
so parallel tests runs should not use the same hostnames.

test_api tests still use same host names, though
2013-12-25 03:38:08 +01:00
Thomas Waldmann
ba977193ce Merge branch 'master' into py3-port
Conflicts:
	nsupdate/main/_tests/test_main.py
2013-12-24 21:31:40 +01:00