Thomas Waldmann
c0cb56a97d
implement custom template view, add docs for it
2014-01-22 00:09:14 +01:00
Thomas Waldmann
ee60c89d2d
remove view for legalese
...
we don't want to be responsible for its contents (do it yourself and, if in doubt, ask your lawyer).
depending on applicable law, you might be required to have multiple directly reachable views,
thus this one view was not flexible enough anyway,
2014-01-21 19:24:34 +01:00
Thomas Waldmann
36c3c8d314
implement delete API
...
Very similar to /nic/update and /nic/update_authorized, /nic/delete and /nic/delete_authorized delete
the A or AAAA record, depending in the kind of IP address given.
As this is a delete, the specific ip address value is ignored.
2014-01-21 17:50:01 +01:00
Thomas Waldmann
0df4efce1c
add/fix some module-level docstrings
2013-12-15 17:09:22 +01:00
Thomas Waldmann
915d64b592
fix stupid class name collision from previous changeset
2013-12-06 20:54:46 +01:00
Thomas Waldmann
de973353cf
view with js based updater - thanks for 1v3ry for helping
2013-12-06 13:59:26 +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
71509fe935
fix typo in class name
2013-11-27 07:23:04 +01:00
Thomas Waldmann
ae9c2f29d0
more tests, better coverage
2013-11-21 04:02:16 +01:00
Thomas Waldmann
4c46c30d25
more api tests (mostly triggering execution of some code)
...
it's hard to test anything without a user / http auth / login / session.
2013-11-15 13:00:57 +01:00
Thomas Waldmann
1f28cb3ed0
name api views, use reverse() in unit tests
2013-11-15 12:14:36 +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
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
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
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
35c953347c
domain editing, shared secret generation, show bind9 configuration
2013-11-02 11:29:06 +01:00
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
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
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
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
Arne Schauf
5ff91162dd
legal notice and css fixes
2013-09-29 17:28:36 +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
Fabian Faessler
dcd78ac304
pep8 fixes
2013-09-29 15:37: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
Fabian Faessler
09da9a4036
changed User to ProxyUser
2013-09-29 14:07:24 +02:00
Fabian Faessler
d454af649f
ip dns update button in HostView
2013-09-29 03:44:14 +02:00
Fabian Faessler
2dfd6075c4
Merge branch 'master' of github.com:asmaps/nsupdate.info
2013-09-29 02:44:12 +02:00
Fabian Faessler
aa670e33ed
some ui changes
2013-09-29 02:44:09 +02:00
Thomas Waldmann
adc6315a34
implemented authorized nic update view (via admin session)
2013-09-29 02:43:47 +02:00
Fabian Faessler
abe8ee41ff
Merge branch 'master' of github.com:asmaps/nsupdate.info
...
Conflicts:
nsupdate/main/urls.py
2013-09-29 02:08:39 +02:00
Fabian Faessler
374288d20a
changed updateIp to detectIP
2013-09-29 02:07:58 +02:00
Thomas Waldmann
26a911824d
pep8 fixes
2013-09-29 01:29:01 +02:00
Arne Schauf
5d4aec123d
quick fixes are dirty
2013-09-29 01:16:49 +02:00
Arne Schauf
8b95f4dd40
first test - then commit
2013-09-29 01:15:55 +02:00
Arne Schauf
57e4ae3c26
minor fixes
2013-09-29 01:08:52 +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
eb8f548f95
overview as class based view
2013-09-28 22:46:53 +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
fc7c891000
Merge branch 'master' of github.com:asmaps/nsupdate.info
2013-09-28 21:32:35 +02:00
Fabian Faessler
99a3347042
host list and create new host form
2013-09-28 21:32:29 +02:00
Thomas Waldmann
add5e6a379
implemented update api (still without checking the DB), misc. cleanups
2013-09-28 20:39:33 +02:00
Fabian Faessler
04602c53a6
get ipv4 and ipv6 adr from session
2013-09-28 19:01:40 +02:00
Fabian Faessler
366f809e7f
moved the /myip call into the api module
2013-09-28 18:46:31 +02:00