610 Commits

Author SHA1 Message Date
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
ca7ef3988d move jquery / bootstrap back to head, broke my socialshareprivacy stuff on nsupdate.info 2014-01-26 03:55:11 +01:00
Thomas Waldmann
9fcd65576c fix login url generation in activation_complate template, fixes #139 2014-01-26 00:51:11 +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
efd4f79ef9 document UI customization (overriding templates/includes) 2014-01-21 20:09:16 +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
5d2ee03e02 if we get an invalid ip address string with an update (e.g. via myip=... param), return result code 'dnserr'
note: I did not find a better matching result code, seems like dyndns2 api is rather incomplete. :-(
2014-01-21 14:21:35 +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
b051449778 minor fix login.html 2014-01-15 15:31:49 +01: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
ThomasWaldmann
12b9d7724d Merge pull request #128 from resmo/feature/add-m0n0wall
added m0n0wall router configuration
2014-01-10 15:33:51 -08: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
8870c0e4eb change some forms for better looking 2013-12-30 14:24:14 +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
43622ab183 remove login, password_change and password_reset template from old location 2013-12-29 22:56:07 +01:00
Fabian Weisshaar
10c0247f77 add nsupdate.login 2013-12-29 22:55:05 +01:00
Fabian Weisshaar
41de0bba85 dont need this fix anymore but need a fix for django-registration and python 3 2013-12-29 22:23:21 +01:00
Fabian Weisshaar
73e37dad14 uses nsupdate.login urls and fixed registration url in nsupdate.accounts 2013-12-29 22:22:08 +01:00
Fabian Weisshaar
ffaa19abc2 add nsupdate.login app 2013-12-29 22:20:45 +01:00
Fabian Weisshaar
7bc356a67c add registration urls. fixes django 1.6 and django-registration issue 2013-12-29 22:18:28 +01:00
Fabian Weisshaar
0dc403ae04 change some links, move jquery to bottom and add some trans strings 2013-12-29 22:16:22 +01:00
Fabian Weisshaar
47900ff37e layout 2013-12-29 21:48:20 +01:00
Fabian Weisshaar
924b9ad3ad add ModelAdmin for DomainAdmin, HostAdmin and BlacklistedDomainAdmin 2013-12-29 21:44:40 +01:00
ThomasWaldmann
05de1085e4 Merge pull request #123 from resmo/fix/overview-colspan
fixed non valid html in overview, added colspan
2013-12-28 03:17:09 -08: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
3aabe41c1b profile view: require login (gave 500 without login) 2013-12-25 16:30:33 +01:00
Thomas Waldmann
81fab506b6 update CHANGES 2013-12-25 05:06:16 +01:00
Thomas Waldmann
0203fdb856 make api tests also use a random hostname (but constant throughout the test session) 2013-12-25 04:42:40 +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
7de76a142a fix pep8 2013-12-25 00:42:51 +01:00
Thomas Waldmann
bf2f5bbe7e fix py3 compatibility 2013-12-24 21:44:11 +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
c96246d156 reformat CHANGES.rst so it fits into 80 columns width 2013-12-24 20:57:08 +01:00
Thomas Waldmann
c88e2e28cf add some toplevel dir files to MANIFEST.in
we include the tests in the pypi package, so we should include conftest.py also

include the patch for for django-registration needed to run it with django 1.6
2013-12-24 20:54:27 +01:00
Thomas Waldmann
11b56ee5db bump version to 0.6.0 2013-12-24 20:10:55 +01:00
Thomas Waldmann
3fc65cac44 changelog: update / restructure 2013-12-22 04:32:13 +01:00
Thomas Waldmann
7317ef1f7f changelog: added note about the patch required for django 1.6 2013-12-22 04:00:39 +01:00
Thomas Waldmann
fb4723cdd0 add a patch to fix django-registration to be compatible with django 1.6 2013-12-22 03:13:40 +01:00