Thomas Waldmann
4fadb5de82
dnstools tests: always use the same TEST_HOST
2013-11-09 23:19:05 +01:00
Thomas Waldmann
596b03b2b0
domain overview: rather show domain owner than master nameserver IP address
...
the ip address we use to send updates to is not required to be a publically available nameserver, so it is better not published.
the users of domains can query the official public nameservers from dns in the usual ways.
2013-11-09 18:05:51 +01:00
Thomas Waldmann
cc7b22d63f
more help texts
2013-11-08 08:03:12 +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
e58afb792c
upgrade to font-awesome 4.0.2
2013-11-06 04:02:37 +01:00
Thomas Waldmann
c3ec4c5a50
Fix/generalize ns update secret generation. Reduce code duplication. Fixes #74 .
2013-11-06 02:21:12 +01:00
Thomas Waldmann
1072b7ccf0
fixed levels of some error messages, should work now
2013-11-06 01:30:06 +01:00
Thomas Waldmann
e2f51d5eb1
more pep8 fixes
2013-11-05 00:32:07 +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
43838cff9b
add customization includes / templates for base template (add stuff to head and body)
2013-11-04 00:03:26 +01:00
Thomas Waldmann
9dcefda8d3
make home view customizable via includes
2013-11-03 22:57:37 +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
e194ac0e46
show whether we received last v4/v6 update via SSL
2013-11-03 08:32:43 +01:00
Thomas Waldmann
aaae69ae61
added notes about ssl/https support on update clients / update service server, use https: in examples, fix obvious bug in dd-wrt example
2013-11-03 08:00:10 +01:00
Thomas Waldmann
e05b1f4583
ddclient configuration template: use ssl, use specific v4/v6 hosts, add comment about ipv6 patch
2013-11-03 07:20:44 +01:00
Thomas Waldmann
95212f4baf
fix invalid html, remove unneeded semicolons from js
2013-11-03 05:57:13 +01:00
Thomas Waldmann
0915cc2f68
reindent templates, cosmetic changes only
2013-11-03 05:45:03 +01:00
Thomas Waldmann
c67d6c719e
remove container divs, it is in base template already and the content block is inside it
2013-11-03 05:39:26 +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
9b164f6ddc
better "about" page
2013-11-03 02:39:00 +01:00
Thomas Waldmann
2b0e70e59f
remove help view, move project info to docs, make about view use settings
...
help: 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-03 00:02:02 +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
4f50664977
add comment field for Domains
2013-11-02 12:37:27 +01:00
Thomas Waldmann
1536ffae1e
Domain / Host view: rearrange functional blocks
2013-11-02 12:21:22 +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
a08fee5c57
simpler domain overview, add missing template files to repo
2013-11-02 11:43:54 +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
87b3711fd5
handle deletion of a Domain
...
as we reference the Domain as ForeignKey in the Host, it'll kill all Hosts that reference the deleted Domain also.
needs to be the PRE_delete signal as some of the data we need is already gone when using POST.
2013-11-02 00:12:36 +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
7436a8b578
add autofocussed fields
...
TODO: autofocus for registration / login views
2013-11-01 21:11:57 +01:00
Thomas Waldmann
275f0821ca
catch PeerBadSignature exception, log error, set ns to unavailable
2013-11-01 07:40:42 +01:00
Thomas Waldmann
2089ad7ccf
remove info about how ip detection works, it is in the docs now
...
small wording consistency fixes
2013-11-01 07:23:05 +01:00
Thomas Waldmann
3db9ff8231
use WWW_HOST when talking about the service (not the software), cosmetic changes
2013-11-01 06:12:04 +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
60f03b0472
fix typo in CSRF setting, fix pep8 issues
2013-11-01 04:22:53 +01:00
Thomas Waldmann
2529263a48
remove stale IPs from session, so we don't show outdated information
...
could happen if there once was a IPv6 connection, but now is not any more.
it now kills infos older than 3 minutes from the session.
it also shows the age of the infos now on the hosts overview view (but not on home view due to cosmetic reasons).
optimization: only request the fake images for ipv4/v6 detection if we don't have a fresh IP already.
added example settings for using detectip on (ip6-)localhost
2013-11-01 04:03:34 +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
7ccd293a3e
cosmetic changes, esp. for mobile
...
wrap host view into container div (otherwise the top headline hangs out of the screen on the left)
make ipv6 addr a bit smaller, so it might better fit on not-so-wide screens
2013-10-27 13:55:09 +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
979f2f8b3e
separate ipv4 and v6 update timestamps
2013-10-27 13:09:46 +01:00
Thomas Waldmann
6a5e67cb9e
simplify host overview even more, move deletion to host view
2013-10-27 12:46:44 +01:00
Thomas Waldmann
0761f27e32
simplify host overview, remove update as it is already on host edit view (and it supports v4 and v6 there)
2013-10-27 12:32:08 +01:00
Thomas Waldmann
cdb4f9af20
improve rendering of Domains, give key an own row
2013-10-27 12:14:21 +01:00
Thomas Waldmann
1cc4236d58
add help texts to Domain model fields, improve view
2013-10-27 11:59:16 +01:00