Thomas Waldmann
807fcaca5a
_update: remove unused agent param
2013-12-15 18:12:10 +01:00
Thomas Waldmann
758a38f95e
fix some minor issues found by pycharm code checker
2013-12-15 18:05:19 +01:00
Thomas Waldmann
271666876d
update robots.txt
2013-12-15 17:36:38 +01:00
Thomas Waldmann
cf6629a0a8
add/fix more docstrings
2013-12-15 17:29:55 +01:00
Thomas Waldmann
e18b725096
fix default settings module name at some places
...
note: in production, you will usually have to specify an OWN module (like local_settings) that imports from nsupdate.settings.prod and then overrides whatever you need to be different
2013-12-15 17:16:04 +01:00
Thomas Waldmann
0df4efce1c
add/fix some module-level docstrings
2013-12-15 17:09:22 +01:00
Thomas Waldmann
3f92c27125
include changelog in docs, cosmetic docs and pep8 fixes
2013-12-15 16:50:18 +01:00
Thomas Waldmann
cae77f53c9
make settings a package, split settings into base / dev / prod settings
2013-12-14 03:41:04 +01:00
Thomas Waldmann
e2e07b60e3
dnstools: make timeouts configurable via ENV, travis: use longer timeouts
2013-12-13 03:04:00 +01:00
Thomas Waldmann
b9c48e5af7
backport to python 2.6, add it travis platforms and to pypi metadata
2013-12-12 01:27:36 +01:00
Thomas Waldmann
5f28b56b9f
add more comments to settings.py, esp. about the different kinds of HOSTs
2013-12-12 01:06:48 +01:00
Thomas Waldmann
d17bdd8006
remove local_settings import, document how local_settings.py should be used, reorder admin docs
2013-12-11 23:31:30 +01:00
Thomas Waldmann
2516b48c88
django-debug-toolbar - we pull it via requirements, so i added the necessary settings so it can work
...
maybe the more simple "quick setup" (see ddt docs) would also have worked, if I had found out earlier
that INTERNAL_IPS is a required setting.
2013-12-08 14:42:58 +01:00
Thomas Waldmann
088c53e78b
fix: add default=False to BooleanFields (otherwise it might complain about "not NULL")
2013-12-07 21:59:00 +01:00
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
0146404569
add simple test for update view (js updater)
2013-12-07 12:59:22 +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
915d64b592
fix stupid class name collision from previous changeset
2013-12-06 20:54:46 +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
737102cef0
bump version to 0.5.0, update CHANGES
2013-12-03 12:56:57 +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
2c5e756f15
add --flag-abuse, add some docs about abuse handling
2013-12-01 12:17:10 +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
47724a3d6b
pep8 fixes
2013-11-30 10:10:11 +01:00
Thomas Waldmann
7500ba363e
Host.get_ip* - reduce code duplication
2013-11-30 10:07:46 +01:00
Thomas Waldmann
9970e76bb5
faults managment script: show and reset client/server fault counters
2013-11-30 08:49:53 +01:00
Thomas Waldmann
258f99eb82
set default login error url
2013-11-29 22:54:51 +01:00
Thomas Waldmann
93db755498
activate middleware for SocialAuth exception handling
2013-11-29 22:24:52 +01:00
Thomas Waldmann
996a398b46
models: use shorter unicode representations
2013-11-29 11:13:59 +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
2aeb2a61f8
service updater (host configs): add (give|accept)_(ipv4|ipv6) fields
2013-11-29 02:11:55 +01:00
Thomas Waldmann
4589dd512b
fix session cookie behaviour to be more private for not logged-in users, fixes #96
...
the bug was that it used a permanent cookie for not-logged in users and only switched it to
a session cookie when you logged in (and did not check the remember me checkbox).
now it uses (non-permanent) session cookies by default and switches to the permanent cookie
only if you tell so when logging in and checking that checkbox.
2013-11-28 09:14:16 +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
71509fe935
fix typo in class name
2013-11-27 07:23:04 +01:00
Thomas Waldmann
0e8f318628
add reverse dns lookup code
2013-11-27 07:14:39 +01:00
Thomas Waldmann
aa610e9c3a
implement "update other services", with tests, no ui yet
...
(can be used when adding the records via django admin)
2013-11-26 08:10:05 +01:00
Thomas Waldmann
7566e6a5e3
implement a dyndns2 updater + tests
2013-11-26 03:03:51 +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
1447b670f5
avoid double lookup of the host object
...
as we have to look it up for auth anyway, return it, so we can continue using it.
2013-11-24 11:09:38 +01:00