305 Commits

Author SHA1 Message Date
Fabian Faessler
80c91e6b4e new favicon 2013-09-29 01:18:28 +02:00
Arne Schauf
5d4aec123d quick fixes are dirty 2013-09-29 01:16:49 +02:00
Arne Schauf
b826ea803b Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-29 01:16:09 +02:00
Arne Schauf
8b95f4dd40 first test - then commit 2013-09-29 01:15:55 +02:00
Fabian Faessler
a9cca9071b Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-29 01:12:35 +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
Arne Schauf
57e4ae3c26 minor fixes 2013-09-29 01:08:52 +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
Thomas Waldmann
ec3869c9d0 verify username (fqdn) and password (update secret) against the database, improve docstrings 2013-09-28 23:32:47 +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
Fabian Faessler
4c38bd4a1d added footer 2013-09-28 23:13:36 +02:00
Arne Schauf
202de726c1 messages 2013-09-28 23:03:34 +02:00
Fabian Faessler
8d0ec17c6d added awesome front page 2013-09-28 22:56:59 +02:00
Arne Schauf
eb8f548f95 overview as class based view 2013-09-28 22:46:53 +02:00
Arne Schauf
3af1d10014 oups - pushed broken things 2013-09-28 22:22:42 +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
3b2fa9008f Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 22:17:32 +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
Thomas Waldmann
a769b4d8ed cleanup settings access 2013-09-28 22:04:52 +02:00
Thomas Waldmann
60353a6429 implement / configure logging to stderr, reorder actions for update api, so that a lot of info can be logged 2013-09-28 21:42:04 +02:00
Thomas Waldmann
44770d9cbd small style change 2013-09-28 21:42:04 +02:00
Fabian Faessler
faabb97463 added @login_requeired for the overview form 2013-09-28 21:38:02 +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
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
8775295c9a removed stupid copy mistake 2013-09-28 20:02:58 +02:00
Fabian Faessler
eb30914704 added comment field in host. added admin and forms. 2013-09-28 20:01:09 +02:00
Fabian Faessler
1895a1c8f6 Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 19:02:01 +02:00
Fabian Faessler
04602c53a6 get ipv4 and ipv6 adr from session 2013-09-28 19:01:40 +02:00
Thomas Waldmann
9c41b1eb24 misc. setup.* related changes / enhancements 2013-09-28 18:49:31 +02:00
Thomas Waldmann
625edb90f3 fix syntax in README.rst, now really 2013-09-28 18:49:31 +02:00
Thomas Waldmann
b012b21c77 fix syntax in README.rst 2013-09-28 18:49:31 +02:00
Fabian Faessler
bde430646a Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 18:46:37 +02:00
Fabian Faessler
366f809e7f moved the /myip call into the api module 2013-09-28 18:46:31 +02:00
Arne Schauf
4a3751732c user profile edit name form 2013-09-28 18:33:45 +02:00
Arne Schauf
d89adee989 Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 18:02:26 +02:00
Arne Schauf
22eecac4d5 Host model 2013-09-28 18:02:13 +02:00
Thomas Waldmann
7655928c1b change README.md to README.rst (setuptools wants .rst .txt or no extension) 2013-09-28 18:01:43 +02:00
Thomas Waldmann
6e7907a95d Merge branch 'master' of github.com:asmaps/nsupdate.info 2013-09-28 17:48:37 +02:00
Fabian Faessler
abf2990db2 changed /myip response to plain text not json 2013-09-28 17:48:15 +02:00
Thomas Waldmann
2fdbc151c2 remove test example, see test_dnstools for an example 2013-09-28 17:29:02 +02:00
Thomas Waldmann
8a52f03e6d create a pytest.ini so django finds the settings 2013-09-28 17:27:01 +02:00