18 Commits

Author SHA1 Message Date
Thomas Waldmann
e194ac0e46 show whether we received last v4/v6 update via SSL 2013-11-03 08:32:43 +01:00
Thomas Waldmann
4f50664977 add comment field for Domains 2013-11-02 12:37:27 +01:00
Thomas Waldmann
979f2f8b3e separate ipv4 and v6 update timestamps 2013-10-27 13:09:46 +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
1c1dd2c4d1 add missing migration file for previous commit, removed unneeded import 2013-10-18 15:35:55 -07:00
Arne Schauf
df971fe8e9 more fields 2013-09-29 22:48:09 +02:00
Fabian Faessler
053f2f9a65 added last_api_update field and migrated db 2013-09-29 20:50:33 +02:00
Arne Schauf
13511a7982 fqdn fix 2013-09-29 18:15:15 +02:00
Fabian Faessler
e1c87a1f42 Merge branch 'master' of github.com:asmaps/nsupdate.info
Conflicts:
	nsupdate/main/models.py
2013-09-29 14:33:58 +02:00
Fabian Faessler
f25ed3cdee removed proxy user, because solution was not working. Made id session based. please work now :'( 2013-09-29 14:33:24 +02:00
Arne Schauf
f56b8a8376 actually added the validator and made created_by in blacklist optional 2013-09-29 14:21:23 +02:00
Arne Schauf
b60bd75509 added domain blacklisting 2013-09-29 14:10:14 +02:00
Fabian Faessler
5537a12c1b changed User to ProxyUser 2013-09-29 13:53:35 +02:00
Arne Schauf
332acdf469 divided subdomain and domain (as FK) 2013-09-29 13:36:28 +02:00
Fabian Faessler
aabc5d78d6 updadd Host fields. serve 1px image instead of OK text in /updateip/. favicon change. 2013-09-29 01:12:23 +02:00
Fabian Faessler
eb30914704 added comment field in host. added admin and forms. 2013-09-28 20:01:09 +02:00
Arne Schauf
22eecac4d5 Host model 2013-09-28 18:02:13 +02:00