670 Commits

Author SHA1 Message Date
Thomas Waldmann
852e541778 make the tests use a test zone
for the dnstools tests, tests were already changed to use a random test host in the test zone,
so parallel tests runs should not use the same hostnames.

test_api tests still use same host names, though
2013-12-25 03:38:08 +01:00
Thomas Waldmann
7de76a142a fix pep8 2013-12-25 00:42:51 +01:00
Thomas Waldmann
bf2f5bbe7e fix py3 compatibility 2013-12-24 21:44:11 +01:00
Thomas Waldmann
ba977193ce Merge branch 'master' into py3-port
Conflicts:
	nsupdate/main/_tests/test_main.py
2013-12-24 21:31:40 +01:00
Thomas Waldmann
c96246d156 reformat CHANGES.rst so it fits into 80 columns width 2013-12-24 20:57:08 +01:00
Thomas Waldmann
c88e2e28cf add some toplevel dir files to MANIFEST.in
we include the tests in the pypi package, so we should include conftest.py also

include the patch for for django-registration needed to run it with django 1.6
2013-12-24 20:54:27 +01:00
Thomas Waldmann
11b56ee5db bump version to 0.6.0 2013-12-24 20:10:55 +01:00
Thomas Waldmann
3fc65cac44 changelog: update / restructure 2013-12-22 04:32:13 +01:00
Thomas Waldmann
7317ef1f7f changelog: added note about the patch required for django 1.6 2013-12-22 04:00:39 +01:00
Thomas Waldmann
fb4723cdd0 add a patch to fix django-registration to be compatible with django 1.6 2013-12-22 03:13:40 +01:00
Thomas Waldmann
bbe7ae096a reorder apps, so templates of django's "admin" get considered last (so nsupdate or django registration can override them) 2013-12-22 02:58:25 +01:00
Thomas Waldmann
b317837f58 add a test for dnserr api response
and also fix dnserr api response - should not contain additional info, but just "dnserr"
2013-12-18 04:08:18 +01:00
Thomas Waldmann
b718b93453 test more main views, exclude csrf failure view from coverage 2013-12-18 03:50:41 +01:00
Thomas Waldmann
3d53d8f1fd fix faults command help strings 2013-12-18 03:18:35 +01:00
Thomas Waldmann
f7d081cfc8 add tests for management commands 2013-12-18 03:16:12 +01:00
Thomas Waldmann
05271681cf exclude settings files from coverage 2013-12-18 02:19:04 +01:00
Thomas Waldmann
01d278489f upgrade bootstrap cdn url to 3.0.3 2013-12-18 01:16:32 +01:00
Thomas Waldmann
201b930334 use jquery cdn 2013-12-18 01:14:58 +01:00
Thomas Waldmann
f1fae4e28e js update client: add verbose messages, but also display the original result code 2013-12-16 00:15:51 +01:00
Thomas Waldmann
73382fdf6a improved admin docs 2013-12-15 22:54:35 +01:00
Thomas Waldmann
38b37b132f dnstools: reviewed/improved docstrings 2013-12-15 18:44:33 +01:00
Thomas Waldmann
14b9407ab5 remove unused imports 2013-12-15 18:27:59 +01:00
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
1b9bd79f2b fix reST markup 2013-12-14 03:50:08 +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
711aba237f python 3.3 port
not much tested yet, be careful
2013-12-14 00:35:29 +01:00
Thomas Waldmann
273c884658 fix .travis.yml, remove almost duplicate py 2.7 / django 1.6.1 run 2013-12-13 05:10:41 +01:00
Thomas Waldmann
e8ab547a37 fix .travis.yml, shell quoting 2013-12-13 04:46:14 +01:00
Thomas Waldmann
40aee47119 fix .travis.yml, again 2013-12-13 04:20:57 +01:00
Thomas Waldmann
04b78f8072 fix .travis.yml 2013-12-13 04:14:06 +01:00
Thomas Waldmann
329b6b5abf travis: do not run dnstools tests in parallel
also: only run coverage and pep8 once
2013-12-13 04:06:59 +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
cc4cd1c805 travis: build on django 1.5 and 1.6 2013-12-13 02:40:39 +01:00
Thomas Waldmann
e3104dec57 docs: reST syntax fixes 2013-12-12 13:47:38 +01:00
Thomas Waldmann
e512db4ace update CHANGES 2013-12-12 01:44:03 +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
112545544b add postgresql installation help 2013-12-07 21:21:33 +01:00
Thomas Waldmann
8d44b84b1d add docs for browser-based update client, including use case 2013-12-07 20:39:30 +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