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
1072b7ccf0
fixed levels of some error messages, should work now
2013-11-06 01:30:06 +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
12c3c052f7
bots don't need to request the ajax_get_ips view
2013-11-03 17:36:04 +01:00
Thomas Waldmann
f7bbb41fd2
show statistics about SSL updates
2013-11-03 08:57:16 +01:00
Thomas Waldmann
9cc5bdf938
implemented status view
...
status: counts for domains (incl. domains flagged unavailable), hosts, users (incl. inactive users)
statistics: usage for 2d / 2w / 2m / 2y
2013-11-03 04:29:14 +01:00
Thomas Waldmann
a4c82cf7e3
domain overview: first list own domains (with edit links), then list available public domains of other users
2013-11-03 03:16:59 +01:00
Thomas Waldmann
c8d6c6605b
remove help view
...
there was only a link to the rtd documentation (now directly linked from a "Documentation" navbar entry) and
some duplicate router configuration that was also shown (even with the correct values) when adding a host.
the help page html was not valid due to the values inserted into the router configuration help.
help/documentation policy: add static help to the docs, add dynamic help directly at the places (in the views) where needed
2013-11-02 23:23:01 +01:00
Thomas Waldmann
363590714e
update robots.txt
2013-11-02 13:24:44 +01:00
Thomas Waldmann
8e9b272c70
cleanup active nav tabs, have Hosts and Domains in navbar
2013-11-02 12:12:13 +01:00
Thomas Waldmann
35c953347c
domain editing, shared secret generation, show bind9 configuration
2013-11-02 11:29:06 +01:00
Thomas Waldmann
029dc20be0
pep8 fixes
2013-11-02 10:02:51 +01:00
Thomas Waldmann
32d9f38837
when adding host, deal with Timeout and NameServerNotAvailable exceptions
...
don't add the host, in case of dns exceptions
2013-11-01 22:26:06 +01:00
Thomas Waldmann
60f03b0472
fix typo in CSRF setting, fix pep8 issues
2013-11-01 04:22:53 +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
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
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
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
85b2932a7c
add some more disallows to robots.txt view
2013-10-19 18:20:40 -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
Bastian Blank
d2eab62ac4
Move all stuff into own top-level package
2013-10-17 23:59:07 +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
Fabian Faessler
8cc666190a
added url in host view
2013-09-29 21:55:34 +02:00
Fabian Faessler
7eb23300bd
Merge branch 'master' of github.com:asmaps/nsupdate.info
2013-09-29 21:13:24 +02:00
Fabian Faessler
18770dad4f
call dnstools.add once at create and set to remoteaddr
2013-09-29 21:13:20 +02:00
Thomas Waldmann
5f0266a211
serve /robots.txt
2013-09-29 21:07:09 +02:00
Fabian Faessler
58159fba0c
generate secret view and logic. host view ui update.
2013-09-29 19:58:08 +02:00
Fabian Faessler
8e66e702f7
added get_fqdn() method to Host model. added post_save signal to delete dns entry when Host object is deleted
2013-09-29 17:43:17 +02:00
Arne Schauf
3fb3524106
Merge branch 'master' of github.com:asmaps/nsupdate.info
...
Conflicts:
nsupdate/main/templates/main/about.html
nsupdate/main/urls.py
nsupdate/nsupdate/templates/base.html
2013-09-29 17:12:32 +02:00
Arne Schauf
cb53af87e7
about page
2013-09-29 17:06:39 +02:00
Fabian Faessler
d8f42c1fb1
added help and about view
2013-09-29 16:58:02 +02:00
Arne Schauf
4d8a6a76a5
Merge branch 'master' of github.com:asmaps/nsupdate.info
...
Conflicts:
nsupdate/main/models.py
nsupdate/main/views.py
2013-09-29 16:07:33 +02:00
Arne Schauf
34a8bbe6b8
pep8 and so on
2013-09-29 16:03:56 +02:00
Fabian Faessler
dcd78ac304
pep8 fixes
2013-09-29 15:37:58 +02:00
Fabian Faessler
536ff42e1e
forgot to save session
2013-09-29 15:17:41 +02:00
Thomas Waldmann
105315548a
remove resolved TODO, the update_secret is hashed using django's "sha1" hasher (salted sha1)
2013-09-29 15:13:11 +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
d44c8a7e90
made home template and added admin link to nav
2013-09-29 14:08:22 +02:00
Fabian Faessler
09da9a4036
changed User to ProxyUser
2013-09-29 14:07:24 +02:00
Thomas Waldmann
ac4860f54a
pep8 fixes
2013-09-29 01:23:27 +02:00
Thomas Waldmann
d558e2ece2
store update_secret as salted sha1 (use crypto code from django), fix bug: we also need to catch NoAnswer, not just NXDOMAIN.
...
NoAnswer == there is a record, but not of the type (A or AAAA) we requested.
NXDOMAIN == there is no record at all.
2013-09-29 00:34:47 +02:00
Fabian Faessler
553e02f243
fixed different width in templates
2013-09-29 00:28:31 +02:00
Fabian Faessler
884c86defd
added user check if he is allowed to edit a host
2013-09-28 23:54:37 +02:00
Fabian Faessler
d58e510a79
Merge branch 'master' of github.com:asmaps/nsupdate.info
...
Conflicts:
nsupdate/main/views.py
2013-09-28 23:46:17 +02:00
Fabian Faessler
dd614d1936
changed the host edit into a classbased view. added host delete
2013-09-28 23:45:46 +02:00
Arne Schauf
a92e691161
Merge branch 'master' of github.com:asmaps/nsupdate.info
2013-09-28 23:31:53 +02:00
Arne Schauf
2b365a0496
moved create_context to context_processor
2013-09-28 23:31:33 +02:00
Fabian Faessler
155b1966d5
Merge branch 'master' of github.com:asmaps/nsupdate.info
...
Conflicts:
nsupdate/nsupdate/templates/base.html
2013-09-28 23:14:47 +02:00