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
Thomas Waldmann
b718b93453
test more main views, exclude csrf failure view from coverage
2013-12-18 03:50:41 +01:00
Thomas Waldmann
f1fae4e28e
js update client: add verbose messages, but also display the original result code
2013-12-16 00:15:51 +01:00
Thomas Waldmann
38b37b132f
dnstools: reviewed/improved docstrings
2013-12-15 18:44:33 +01:00
Thomas Waldmann
14b9407ab5
remove unused imports
2013-12-15 18:27:59 +01:00
Thomas Waldmann
758a38f95e
fix some minor issues found by pycharm code checker
2013-12-15 18:05:19 +01:00
Thomas Waldmann
271666876d
update robots.txt
2013-12-15 17:36:38 +01:00
Thomas Waldmann
cf6629a0a8
add/fix more docstrings
2013-12-15 17:29:55 +01:00
Thomas Waldmann
0df4efce1c
add/fix some module-level docstrings
2013-12-15 17:09:22 +01:00
Thomas Waldmann
711aba237f
python 3.3 port
...
not much tested yet, be careful
2013-12-14 00:35:29 +01:00
Thomas Waldmann
e2e07b60e3
dnstools: make timeouts configurable via ENV, travis: use longer timeouts
2013-12-13 03:04:00 +01:00
Thomas Waldmann
088c53e78b
fix: add default=False to BooleanFields (otherwise it might complain about "not NULL")
2013-12-07 21:59:00 +01:00
Thomas Waldmann
61e1f30efa
js updater view: use localtime, format it like "ISO for normal people"
2013-12-07 18:46:23 +01:00
Thomas Waldmann
0146404569
add simple test for update view (js updater)
2013-12-07 12:59:22 +01:00
Thomas Waldmann
560a66c7e6
add URLs pointing to the js updater
2013-12-07 12:20:35 +01:00
Thomas Waldmann
6eb412c45d
improve browser / url help
2013-12-07 12:01:39 +01:00
Thomas Waldmann
aac6b553f3
setInterval does first run after N ms, add a call to do the first run immediately
2013-12-07 11:45:54 +01:00
Thomas Waldmann
92a14df635
use setInterval rather than setTimeout, cosmetic fixes
2013-12-07 00:48:44 +01:00
Thomas Waldmann
a58a957b28
js updater: add myip output to status, add timestamps
2013-12-06 21:15:42 +01:00
Thomas Waldmann
915d64b592
fix stupid class name collision from previous changeset
2013-12-06 20:54:46 +01:00
Thomas Waldmann
de973353cf
view with js based updater - thanks for 1v3ry for helping
2013-12-06 13:59:26 +01:00
Thomas Waldmann
c20295e68b
add counts for unavailable / abuse / abuse_blocked hosts to status view
2013-12-01 14:06:45 +01:00
Thomas Waldmann
179d4d63c3
show configuration / new secret generation - similar texts and ui for both hosts and domains
2013-12-01 13:29:29 +01:00
Thomas Waldmann
9673085b4e
Domain view: use danger/warning colours
2013-12-01 13:17:09 +01:00