Thomas Waldmann
bd3e7c80f7
if a dns update give a rcode != NOERROR, we log it and raise a DnsUpdateError, dyndns2 result code: "dnserr REASON" (also shown on web ui)
2013-11-10 06:29:33 +01:00
Thomas Waldmann
57641f3b9a
allow single-host update secrets, make dnstools tests work for everybody
...
the nsupdate.info zone is configured to allow updating test.nsupdate.info with a non-secret key used for the tests.
we also have a test that tries to update another host with that key and checks that this fails.
change the tests so they only use test.nsupdate.info (if possible).
single-host update secrets need a Domain record for the fqdn of this single host, the fqdn is tried first, before it tries the origin zone.
2013-11-10 05:52:41 +01:00
Thomas Waldmann
4fadb5de82
dnstools tests: always use the same TEST_HOST
2013-11-09 23:19:05 +01:00
Thomas Waldmann
f13f4f474f
bump version to 0.2.0b0, add Version code, read version number from package init for use in setup.py and sphinx docs
2013-11-09 21:45:30 +01:00
Thomas Waldmann
5a96234cbc
update / improve sample configs
2013-11-09 21:17:52 +01:00
Thomas Waldmann
8cce8e3b94
requirements: use django 1.5.5
2013-11-09 20:12:06 +01:00
Thomas Waldmann
06b2f94206
fix setup.py
...
add missing stuff
fix problematic package_data patterns: static/* also matched the "static/css" directory and
then it falls over that at install time, because it wants to copy that like a file. :-(
2013-11-09 20:00:57 +01:00
Thomas Waldmann
596b03b2b0
domain overview: rather show domain owner than master nameserver IP address
...
the ip address we use to send updates to is not required to be a publically available nameserver, so it is better not published.
the users of domains can query the official public nameservers from dns in the usual ways.
2013-11-09 18:05:51 +01:00
Thomas Waldmann
96a82fca7f
only log request info in views, avoid KeyErrors in logging when we have no request.* info available
2013-11-09 17:42:10 +01:00
Thomas Waldmann
3c915e3575
refactor logger code
...
the original code looked somehow like it was meant to have a lazy on-demand behaviour, just computing what is used in the format string for log output.
problem is that this doesn't really happen practically, the logging code requests ALL values for all keys.
as this stuff is used rather often, the new code was optimized to just build a dictionary of values rather cheaply.
support for request.host was removed as I suspect the required socket operation might be not be cheap enough.
2013-11-09 16:51:44 +01:00
Thomas Waldmann
cd9129f41b
request logging: avoid accessing deprecated attributes, implement exclude for attr names
2013-11-09 07:44:43 +01:00
Thomas Waldmann
f5c70b03b1
dnstools: use enhanced logger, gives remote addr and user agent automatically
2013-11-09 07:17:05 +01:00
Thomas Waldmann
abb0048c9c
add logger decorate to enable logging of infos from django's HttpRequest object
2013-11-09 06:53:16 +01:00
Thomas Waldmann
cc7b22d63f
more help texts
2013-11-08 08:03:12 +01:00
Thomas Waldmann
b3ef4b0ce7
removed unused PasswordChangeView class
2013-11-08 06:57:19 +01:00
Thomas Waldmann
2eb13ee3b8
remove the screenshots view, it is prone to be outdated and boring work to keep it uptodate
...
it is replaced by a hint to use a test account, so you can see it all "live" - without needing to register first.
2013-11-08 05:35:10 +01:00
Thomas Waldmann
f59981616f
offer test account
2013-11-08 05:19:43 +01:00
Thomas Waldmann
a4a08075d4
remove misleading default of STATIC_ROOT
...
it is the destination directory of manage.py collectstatic action, NOT our main app's static dir
2013-11-08 04:11:14 +01:00
Thomas Waldmann
26fca4ffcc
try to read SECRET_KEY from environment (while allowing other methods for setting it later)
2013-11-08 04:01:18 +01:00
Thomas Waldmann
c144e600ec
development status -> beta
...
currently no open bugs in issue tracker (which doesn't necessarily mean there are none)
2013-11-08 02:55:59 +01:00
Thomas Waldmann
0d2184037a
docs enhancements
2013-11-08 01:52:52 +01:00
Thomas Waldmann
22c44afbe9
document why ip detection is implemented like this
2013-11-07 03:09:53 +01:00
Thomas Waldmann
4218ac6880
fix / simplify ip detection javascript
...
use .ready() instead of first delay
merge script blocks
2013-11-07 02:43:48 +01:00
Thomas Waldmann
9cdddbaa0d
catch exception that is raised for update usernames that are not fqdn
2013-11-06 13:17:23 +01:00
Thomas Waldmann
6dfd61d000
navibar: more icons
2013-11-06 13:14:03 +01:00
Thomas Waldmann
ac0f9f0e38
they have fontawesome 4.0.3, they just didn't tell...
2013-11-06 04:45:36 +01:00
Thomas Waldmann
8491d4f058
add some icons to navbar / user menu
2013-11-06 04:33:17 +01:00
Thomas Waldmann
e58afb792c
upgrade to font-awesome 4.0.2
2013-11-06 04:02:37 +01:00
Thomas Waldmann
bd0ca16e70
use bootstrap 3.0.1
2013-11-06 03:42:07 +01:00
Thomas Waldmann
c3ec4c5a50
Fix/generalize ns update secret generation. Reduce code duplication. Fixes #74 .
2013-11-06 02:21:12 +01:00
Thomas Waldmann
1072b7ccf0
fixed levels of some error messages, should work now
2013-11-06 01:30:06 +01:00
Thomas Waldmann
e924b054fe
fix the message tags (== css classes) so they are meaningful to bootstrap3
...
note: tags can have multiple classes inside, so better use full class names
2013-11-06 01:25:28 +01:00
Thomas Waldmann
e2f51d5eb1
more pep8 fixes
2013-11-05 00:32:07 +01:00
Thomas Waldmann
51e5efbe8f
transform some views from function- to class-based
...
fixes some pep8 issues. use lowercase function name for the stuff we keep as function.
2013-11-05 00:24:02 +01:00
Thomas Waldmann
4ba29fc3ff
detectip: it is not valid without a sessionid, remove the view
...
and as we currently use the sessionid, we should also name it like that.
2013-11-04 23:09:24 +01:00
Thomas Waldmann
0ce04a64cb
urls.py: cosmetic changes, added comments, reorder
2013-11-04 22:17:41 +01:00
Thomas Waldmann
4509b0aa69
settings: more comments, reorder settings
2013-11-04 21:23:42 +01:00
Thomas Waldmann
43838cff9b
add customization includes / templates for base template (add stuff to head and body)
2013-11-04 00:03:26 +01:00
Thomas Waldmann
bdba38024b
add customization includes / templates for base template (add stuff to head and body)
2013-11-03 23:37:46 +01:00
Thomas Waldmann
9dcefda8d3
make home view customizable via includes
2013-11-03 22:57:37 +01:00
Thomas Waldmann
f12539aee8
document local vs. remote account login
2013-11-03 21:13:08 +01:00
Thomas Waldmann
80024210eb
document how to serve static files in production
2013-11-03 19:17:04 +01:00
Thomas Waldmann
12c3c052f7
bots don't need to request the ajax_get_ips view
2013-11-03 17:36:04 +01:00
Thomas Waldmann
bdb9fd4dab
fix KeyError if there is no ipv4/ipv6 key in the session
2013-11-03 17:32:56 +01:00
Thomas Waldmann
3b9b2698ed
warn if cookies are limited to the secure site, but user is using the insecure site
2013-11-03 10:55:49 +01:00
Thomas Waldmann
52c2916215
add docs about secure cookies
2013-11-03 10:19:05 +01:00
Thomas Waldmann
7a99935597
use json serializer for sessions, change timestamps' data type, more security docs
...
json serializer can't serialize datetime (but integers), but is more safe than the pickle serializer.
2013-11-03 09:52:11 +01:00
Thomas Waldmann
5cd14a9cd3
update security docs
2013-11-03 09:15:51 +01:00
Thomas Waldmann
f7bbb41fd2
show statistics about SSL updates
2013-11-03 08:57:16 +01:00
Thomas Waldmann
e194ac0e46
show whether we received last v4/v6 update via SSL
2013-11-03 08:32:43 +01:00