22 Commits

Author SHA1 Message Date
Thomas Waldmann
866ddf3bea add available, abuse and abuse_blocked flags to Host, show on UI, script to reset flags
there is an issue with south and sqlite - it doesn't handle migrations that add BooleanField columns with defaults.
just use the faults script to set the flags to their correct default after migrating with south.
2013-11-30 12:32:03 +01:00
Thomas Waldmann
d9e9c66319 service updater host configuration: added user interface
this is the ui USERS need to configure sending updates to an ALREADY CONFIGURED service.

there is no UI yet for creating a new service, the ADMIN has to use django admin for that.
2013-11-29 10:43:18 +01:00
Thomas Waldmann
dd09b6b5af nameserver update key / secret terminology cleanup
key = secret + algorithm
2013-11-24 05:04:07 +01:00
Thomas Waldmann
972a411ef4 make adding a domain workflow more similar to adding a host
don't ask for the secret in the first form, just autocreate one and show the configuration example with it.
2013-11-24 04:14:31 +01:00
Thomas Waldmann
4f50664977 add comment field for Domains 2013-11-02 12:37:27 +01:00
Thomas Waldmann
35c953347c domain editing, shared secret generation, show bind9 configuration 2013-11-02 11:29:06 +01:00
Thomas Waldmann
7436a8b578 add autofocussed fields
TODO: autofocus for registration / login views
2013-11-01 21:11:57 +01: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
Bastian Blank
d2eab62ac4 Move all stuff into own top-level package 2013-10-17 23:59:07 +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
51caaea41f use newstyle classes 2013-10-03 17:21:18 +02:00
Fabian Faessler
58159fba0c generate secret view and logic. host view ui update. 2013-09-29 19:58:08 +02:00
Arne Schauf
332acdf469 divided subdomain and domain (as FK) 2013-09-29 13:36:28 +02:00
Thomas Waldmann
ac4860f54a pep8 fixes 2013-09-29 01:23:27 +02:00
Arne Schauf
eb8f548f95 overview as class based view 2013-09-28 22:46:53 +02:00
Arne Schauf
cddda9b6c0 Merge branch 'master' of github.com:asmaps/nsupdate.info
Conflicts:
	nsupdate/main/views.py
2013-09-28 22:22:11 +02:00
Arne Schauf
f43c71960f better imports 2013-09-28 22:20:19 +02:00
Fabian Faessler
e68aa8cc5f added host view. with broken edit. will be changed to classbased views 2013-09-28 22:17:24 +02:00
Fabian Faessler
faabb97463 added @login_requeired for the overview form 2013-09-28 21:38:02 +02:00
Fabian Faessler
99a3347042 host list and create new host form 2013-09-28 21:32:29 +02:00
Fabian Faessler
a96c7b4608 imrpoved ipv4/ipv6 check. now always update ip, in case host changes IP. added a create_host() method for the HostForm. 2013-09-28 20:18:20 +02:00
Fabian Faessler
eb30914704 added comment field in host. added admin and forms. 2013-09-28 20:01:09 +02:00