388 Commits

Author SHA1 Message Date
Thomas Waldmann
22c44afbe9 document why ip detection is implemented like this 2013-11-07 03:09:53 +01:00
Thomas Waldmann
4218ac6880 fix / simplify ip detection javascript
use .ready() instead of first delay
merge script blocks
2013-11-07 02:43:48 +01:00
Thomas Waldmann
9cdddbaa0d catch exception that is raised for update usernames that are not fqdn 2013-11-06 13:17:23 +01:00
Thomas Waldmann
6dfd61d000 navibar: more icons 2013-11-06 13:14:03 +01:00
Thomas Waldmann
ac0f9f0e38 they have fontawesome 4.0.3, they just didn't tell... 2013-11-06 04:45:36 +01:00
Thomas Waldmann
8491d4f058 add some icons to navbar / user menu 2013-11-06 04:33:17 +01:00
Thomas Waldmann
e58afb792c upgrade to font-awesome 4.0.2 2013-11-06 04:02:37 +01:00
Thomas Waldmann
bd0ca16e70 use bootstrap 3.0.1 2013-11-06 03:42:07 +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
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
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
4509b0aa69 settings: more comments, reorder settings 2013-11-04 21:23:42 +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
9dcefda8d3 make home view customizable via includes 2013-11-03 22:57:37 +01:00
Thomas Waldmann
f12539aee8 document local vs. remote account login 2013-11-03 21:13:08 +01:00
Thomas Waldmann
80024210eb document how to serve static files in production 2013-11-03 19:17:04 +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
bdb9fd4dab fix KeyError if there is no ipv4/ipv6 key in the session 2013-11-03 17:32:56 +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
52c2916215 add docs about secure cookies 2013-11-03 10:19:05 +01:00
Thomas Waldmann
7a99935597 use json serializer for sessions, change timestamps' data type, more security docs
json serializer can't serialize datetime (but integers), but is more safe than the pickle serializer.
2013-11-03 09:52:11 +01:00
Thomas Waldmann
5cd14a9cd3 update security docs 2013-11-03 09:15:51 +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
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
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
9723277851 css padding: only override values needed
aligns left/right borders of content text with header/footer text
2013-11-03 01:29:20 +01:00
Thomas Waldmann
d0a22a44cd add right/left padding to content area, so text does not touch right/left browser window border 2013-11-03 01:03:36 +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
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