Thomas Waldmann
7f8e62cc30
use AJAX to update view with current IPs, cosmetic changes, deal with v4 and v6 js separately
2013-11-01 06:03:36 +01:00
Thomas Waldmann
60f03b0472
fix typo in CSRF setting, fix pep8 issues
2013-11-01 04:22:53 +01:00
Thomas Waldmann
2529263a48
remove stale IPs from session, so we don't show outdated information
...
could happen if there once was a IPv6 connection, but now is not any more.
it now kills infos older than 3 minutes from the session.
it also shows the age of the infos now on the hosts overview view (but not on home view due to cosmetic reasons).
optimization: only request the fake images for ipv4/v6 detection if we don't have a fresh IP already.
added example settings for using detectip on (ip6-)localhost
2013-11-01 04:03:34 +01:00
Thomas Waldmann
3a919c242d
more helpful CSRF failure view, add CSRF settings to settings.py
...
without this, users get a rather unhelpful/misleading response after clicking "Login" if they don't have cookies enabled.
2013-11-01 01:05:12 +01:00
Thomas Waldmann
7ccd293a3e
cosmetic changes, esp. for mobile
...
wrap host view into container div (otherwise the top headline hangs out of the screen on the left)
make ipv6 addr a bit smaller, so it might better fit on not-so-wide screens
2013-10-27 13:55:09 +01:00
Thomas Waldmann
252a7e5d0b
fix some stuff the pycharm code checker found
...
it also thought the db param of init_db is not needed, but it is, added a comment there
2013-10-27 13:34:56 +01:00
Thomas Waldmann
979f2f8b3e
separate ipv4 and v6 update timestamps
2013-10-27 13:09:46 +01:00
Thomas Waldmann
6a5e67cb9e
simplify host overview even more, move deletion to host view
2013-10-27 12:46:44 +01:00
Thomas Waldmann
0761f27e32
simplify host overview, remove update as it is already on host edit view (and it supports v4 and v6 there)
2013-10-27 12:32:08 +01:00
Thomas Waldmann
cdb4f9af20
improve rendering of Domains, give key an own row
2013-10-27 12:14:21 +01:00
Thomas Waldmann
1cc4236d58
add help texts to Domain model fields, improve view
2013-10-27 11:59:16 +01:00
Thomas Waldmann
9125c8072a
move screenshots to own view, remove features from home view (features are in docs, don't duplicate)
...
remove links to individual static screenshots, they break the slideshow
fix spacing on home view, so footer is at bottom
2013-10-27 11:28:40 +01:00
Thomas Waldmann
26e819e013
fix: get v6 address from v6 input field
2013-10-27 09:54:16 +01:00
Thomas Waldmann
018f680a3f
separate ip v4 and v6 update fields / button, prepopulated with currently detected addresses, simplify host view
2013-10-27 09:51:40 +01:00
Thomas Waldmann
456f5fd2b7
separate ip v4 and v6 update fields / button, prepopulated with currently detected addresses
2013-10-27 09:25:59 +01:00
Thomas Waldmann
f30d283792
use empty search list, make sure query fqdn is really a absolute fqdn
2013-10-27 08:40:54 +01:00
Thomas Waldmann
a210936dcf
use now() from django.utils.timezone - it is utc and not naive
2013-10-27 07:29:58 +01:00
Thomas Waldmann
724f35225e
move test settings to test_settings.py, add FIXME for resolver search list
...
make SECRET_KEY obviously non-secret and non-random + document it should be secret/random
2013-10-27 07:20:43 +01:00
Thomas Waldmann
14209ae25f
better icons
2013-10-27 05:42:17 +01:00
Thomas Waldmann
4cf62af8ab
rename Domain field available_for_everyone to public (so it is not confused with "available" field)
...
"public" field means that this zone can be used by every user (not just the owner) to create hosts there
"available" field means that the nameserver is operating and reachable
2013-10-27 05:28:30 +01:00
Thomas Waldmann
6bf1f57fc1
deal with not responding nameservers (offline or unreachable)
...
if a nameserver does not respond, we flag it in the database
(available = False) and stop talking to it for 5 minutes.
after 5 minutes, we flag it available = True again and retry talking to it
(and if not successful, flag it as unavailable again).
this avoids a unresponsive UI as we do a lot of ns queries from the templates
to get v4 and v6 addresses of our hosts from master nameservers.
we log a warning when setting unavailable and a info when setting available.
2013-10-27 05:14:47 +01:00
Thomas Waldmann
a53ef40e46
remove djangodash references from home view
2013-10-23 17:51:09 +02:00
Thomas Waldmann
a50364c4cf
about page: move software section to bottom, add info about feedback
2013-10-20 00:16:42 -07:00
Thomas Waldmann
865318fda3
link to docs, move some info to docs
2013-10-19 23:19:25 -07:00
Thomas Waldmann
968b8f4bf6
move authors from footer to about page
2013-10-19 22:36:06 -07:00
Thomas Waldmann
85b2932a7c
add some more disallows to robots.txt view
2013-10-19 18:20:40 -07:00
Thomas Waldmann
98e2035187
add hint about how to force a dynamic update with a fritzbox
2013-10-19 14:40:18 -07:00
Thomas Waldmann
1c1dd2c4d1
add missing migration file for previous commit, removed unneeded import
2013-10-18 15:35:55 -07:00
Thomas Waldmann
49693121ea
use zones/nameserver IPs/update keys from DB, logging (thanks to asmaps)
...
remove unneeded stuff from settings
(we still need some in conftest.py for the tests, though)
init DB for tests via conftest.py
more update algorithm choices
give origin zone (if we already know it) to dnstools functions
new views: DomainOverview, DeleteDomain
unify deletion templates using delete_object.html
add django-extensions
2013-10-18 15:30:17 -07:00
Thomas Waldmann
89f743c1b0
removed test skips, all works now
2013-10-17 15:58:25 -07:00
Bastian Blank
b161265cad
Use GenericIPAddressField to allow IPv6
2013-10-17 23:59:07 +02:00
Bastian Blank
d2eab62ac4
Move all stuff into own top-level package
2013-10-17 23:59:07 +02:00
Thomas Waldmann
0f7d47bb17
remove git button as it is unsecure content when using https
2013-10-17 14:32:06 -07:00
ThomasWaldmann
ad0d7ebf5b
Merge pull request #1 from jluebbe/master
...
use configured host names in the web interface
2013-10-17 13:18:43 -07:00
Thomas Waldmann
7176599245
dnstools: add/delete/update pass-through origin now
2013-10-08 15:39:45 +02:00
Thomas Waldmann
ee4ca24f95
dnstools: fixed docstring
2013-10-08 15:20:08 +02:00
Jan Luebbe
de6619ae2f
use the actual host names in the router config page
2013-10-07 20:56:08 +02:00
Thomas Waldmann
b72a4d2606
add german legal text
2013-10-05 22:09:45 +02:00
Thomas Waldmann
c12edc378f
router configuration help: cosmetic text change (add colons)
2013-10-05 21:52:35 +02:00
Thomas Waldmann
2b18bf73e2
add dd-wrt help (thanks to jarus for finding out)
2013-10-05 21:43:24 +02:00
Thomas Waldmann
4f93cc0956
escape & to & in html
2013-10-04 00:46:36 +02:00
Thomas Waldmann
ad52c8849f
for the update link that can be copy and pasted or bookmarked, don't included the (dynamic) IP address, it shall get autodetected
2013-10-04 00:44:01 +02:00
Thomas Waldmann
2dfc9707ca
dnstools: update docstrings about ValueError exceptions
2013-10-03 20:47:25 +02:00
Thomas Waldmann
2982bd6e30
new check_ip() validates if a str is a ip addr and also determines address family, deduplicate code
2013-10-03 20:39:55 +02:00
Thomas Waldmann
1924888b37
reorder imports: stdlib, other libs, django, nsupdate stuff (views, etc.)
2013-10-03 19:26:39 +02:00
Thomas Waldmann
a2afc6a253
add missing param to docstring
2013-10-03 17:59:55 +02:00
Thomas Waldmann
c9e21202cc
remove outdated TODO about hashing the update_secret
2013-10-03 17:42:58 +02:00
Thomas Waldmann
51caaea41f
use newstyle classes
2013-10-03 17:21:18 +02:00
Thomas Waldmann
745a1a7401
screenshots js: simplify, replace Array() with array literal
2013-10-03 16:45:02 +02:00
Thomas Waldmann
6096d66051
fix some invalid html
2013-10-03 16:40:15 +02:00