71 Commits

Author SHA1 Message Date
Thomas Waldmann
e924b054fe fix the message tags (== css classes) so they are meaningful to bootstrap3
note: tags can have multiple classes inside, so better use full class names
2013-11-06 01:25:28 +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
bdba38024b add customization includes / templates for base template (add stuff to head and body) 2013-11-03 23:37:46 +01:00
Thomas Waldmann
3b9b2698ed warn if cookies are limited to the secure site, but user is using the insecure site 2013-11-03 10:55:49 +01:00
Thomas Waldmann
95212f4baf fix invalid html, remove unneeded semicolons from js 2013-11-03 05:57:13 +01:00
Thomas Waldmann
ebb7a6e1ee new setting WE_HAVE_SSL to indicate whether the site also has https (not just http)
we will offer using the https site if we have ssl, otherwise we will just warn about insecure http usage.
2013-11-03 05:24:54 +01:00
Thomas Waldmann
a515717125 only do 1 ajax call to get ipv4 and v6 at the same time 2013-11-03 04:58:28 +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
78091f900f make ip addr detection valid html5
the img tags we had were not valid due to (at first) missing src attribute (that was dynamically added by js later).
new method now inserts the complete img tag, so no invalid tag is present at first and what is inserted later is a valid tag.
2013-11-03 00:46:46 +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
8e9b272c70 cleanup active nav tabs, have Hosts and Domains in navbar 2013-11-02 12:12:13 +01:00
Thomas Waldmann
b45ae25b0a add a danger message if visitor is not using SSL 2013-11-02 01:13:53 +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
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
a8cc003fe1 replace useless logout page by a redirect to the login page 2013-11-01 00:25:03 +01:00
Thomas Waldmann
968b8f4bf6 move authors from footer to about page 2013-10-19 22:36:06 -07:00
Thomas Waldmann
d22383010d hide overview in nav if not logged in (thanks to asmaps) 2013-10-18 15:55:37 -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
Thomas Waldmann
5f272aa7c4 fix typo in w3c validator url 2013-10-17 23:11:15 -07:00
Thomas Waldmann
6110bb78c4 added alt attrs to ip detection fake images 2013-10-17 15:28:23 -07:00
Bastian Blank
d2eab62ac4 Move all stuff into own top-level package 2013-10-17 23:59:07 +02:00