160 Commits

Author SHA1 Message Date
Thomas Waldmann
61e1f30efa js updater view: use localtime, format it like "ISO for normal people" 2013-12-07 18:46:23 +01:00
Thomas Waldmann
560a66c7e6 add URLs pointing to the js updater 2013-12-07 12:20:35 +01:00
Thomas Waldmann
6eb412c45d improve browser / url help 2013-12-07 12:01:39 +01:00
Thomas Waldmann
aac6b553f3 setInterval does first run after N ms, add a call to do the first run immediately 2013-12-07 11:45:54 +01:00
Thomas Waldmann
92a14df635 use setInterval rather than setTimeout, cosmetic fixes 2013-12-07 00:48:44 +01:00
Thomas Waldmann
a58a957b28 js updater: add myip output to status, add timestamps 2013-12-06 21:15:42 +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
c20295e68b add counts for unavailable / abuse / abuse_blocked hosts to status view 2013-12-01 14:06:45 +01:00
Thomas Waldmann
179d4d63c3 show configuration / new secret generation - similar texts and ui for both hosts and domains 2013-12-01 13:29:29 +01:00
Thomas Waldmann
9673085b4e Domain view: use danger/warning colours 2013-12-01 13:17:09 +01:00
Thomas Waldmann
77a3e18b11 Host view: use danger/warning colours 2013-12-01 13:07:37 +01:00
Thomas Waldmann
b74b280b63 Delete Host / Update other Services - swap columns on UI 2013-12-01 13:05:17 +01:00
Thomas Waldmann
866ddf3bea add available, abuse and abuse_blocked flags to Host, show on UI, script to reset flags
there is an issue with south and sqlite - it doesn't handle migrations that add BooleanField columns with defaults.
just use the faults script to set the flags to their correct default after migrating with south.
2013-11-30 12:32:03 +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
091f3d42e6 cosmetics for rDNS display on hosts overview view 2013-11-27 08:23:35 +01:00
Thomas Waldmann
6b9c7e9511 add reverse dns lookup results for viewer's current IPs to session, show on hosts overview view (see panel at lower right)
not showing it in home view's jumbotron due to potential cosmetic issues
2013-11-27 08:16:49 +01:00
Thomas Waldmann
886bad5fbe warn (using red text colour) about new secret generation 2013-11-25 18:34:50 +01:00
Thomas Waldmann
ec10cd2a92 be more clear for both use cases for generating a new secret (initial configuration / forgot secret) 2013-11-25 01:44:23 +01:00
Thomas Waldmann
e9605535b8 add counters for client and server faults (per host) 2013-11-24 11:42:59 +01:00
Thomas Waldmann
068a27d86c add help for adding a host, cosmetic changes to adding a domain help 2013-11-24 05:43:52 +01:00
Thomas Waldmann
972a411ef4 make adding a domain workflow more similar to adding a host
don't ask for the secret in the first form, just autocreate one and show the configuration example with it.
2013-11-24 04:14:31 +01:00
Thomas Waldmann
5624f3b95f hosts overview: create thead in same way as for domain overview (fixes small visual difference) 2013-11-23 14:07:17 +01:00
Thomas Waldmann
e27d1fa687 update bind9 configuration example / view 2013-11-10 06:48:48 +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
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
e2f51d5eb1 more pep8 fixes 2013-11-05 00:32:07 +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
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
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
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
7436a8b578 add autofocussed fields
TODO: autofocus for registration / login views
2013-11-01 21:11:57 +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
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