Commit Graph

213 Commits

Author SHA1 Message Date
Daniel Roschka c3e454e88b Added the cancel link on the page for adding CNAME records as well. 2015-03-22 20:52:46 +01:00
jeffrey forman 19f891c27a fix the text associated with an hmac-md5 tsig key 2015-03-22 14:32:07 -04:00
Jeffrey Forman fb7d27da20 Merge pull request #13 from Dunedan/fix-tsig-algorithms
Fix binder to work with TSIG keys not using dnspythons default algorithm
2015-03-22 14:15:09 -04:00
Jeffrey Forman fb43a9aa5a Merge pull request #12 from Dunedan/fix-errorhandling-for-incorrect-keys
Fixes error handling for broken TSIG keys.
2015-03-22 14:10:32 -04:00
Jeffrey Forman 78f097e681 Merge pull request #11 from Dunedan/small-model-improvements
Some small improvements for the models.
2015-03-22 14:07:30 -04:00
Daniel Roschka 1671bc4c2f Added buttons to cancel forms and fixed the styling of some buttons. 2015-03-22 18:34:40 +01:00
Daniel Roschka a19719a41b Fix binder to work with TSIG keys not using dnspythons default algorithm
binder has been broken to work with signatures created with anything but
dnspythons default TSIG algorithm, which currently is HMAC-MD5.
This commit fixes that by properly using the algorithm stored for the key.
2015-03-22 18:07:06 +01:00
Daniel Roschka 43fe909ec6 Fixes error handling for broken TSIG keys.
The error handling for broken TSIG keys wasn't working for two reasons:
* the import of binascii has been missing, producing a NameError once an
  exception occured
* The exception handler was refering to a non-existant variable key_name.

This commit fixes both issues.
2015-03-22 17:03:50 +01:00
Daniel Roschka 763d132b0f Some small improvements for the models.
* Added help texts to all fields to make adding servers and keys in the admin
  interface more convenient.
* Added a default ordering for servers and keys.
* Added unique constraints, so there can be only on key per name and one server
  per hostname as this has already already been an implicit constraint in the
  code.
2015-03-22 15:47:05 +01:00
jeffrey forman cb44c457ec add initial requirements.txt file 2015-03-22 09:46:33 -04:00
jeffrey forman 27ec2e218c add mention about zone-statistics for named.conf 2015-03-21 22:36:38 -04:00
jeffrey forman 4abce94d42 fix references to beautifulsoup libraries (bs4 rather than bs3) 2015-03-21 20:51:08 -04:00
Jeffrey Forman f0f897fad6 fix models test reason for test where no statistics port is specified 2014-12-24 17:15:06 -05:00
Jeffrey Forman da4bbed5d7 update tests for django >1.6, disable integration tests until I can figure out a good local solution 2014-12-24 17:14:33 -05:00
Jeffrey Forman e732cf3613 add TEST_RUNNER specification to be django >1.6 friendly 2014-12-21 19:24:35 -05:00
Jeffrey Forman 1ff21cb4ab add wsgi.py to binder project for use with apache 2014-10-08 09:44:29 -04:00
Jeffrey Forman 06c1b268b4 make template_dirs in settings a tuple to play nice with django 1.7 2014-10-06 21:58:09 -04:00
Jeffrey Forman f9f9309fe9 beautifulsoup is not a required module for binder itself, remove from models 2014-10-06 13:02:30 -04:00
Jeffrey Forman 9e9190bf84 convert to setup.py packaging, which can be used with fpm.
add manifest file to include static and template  files
2014-03-02 10:05:42 -05:00
Jeffrey Forman e78b215327 add script to tag release and build deb 2014-01-20 21:01:09 -05:00
Jeffrey Forman e48f4ad5b0 make server zone list table sortable by column 2014-01-05 17:53:13 -05:00
Jeffrey Forman d8900c4075 convert to using pybindxml for scraping zone/server information from bind in server zone list 2014-01-05 17:50:13 -05:00
Jeffrey Forman c2daf46358 update url template references to be django 1.5 friendly 2013-12-01 18:05:01 -05:00
Jeffrey Forman 5ec7fc02c9 Add sorttable.js to static, ability to sort zone list table 2013-03-21 21:18:03 -04:00
Jeffrey Forman dfcac75a76 update binder script to build tarball instead of rpm 2013-03-21 20:31:50 -04:00
Jeffrey Forman 1dc627fd82 Merge branch 'master' of github.com:jforman/binder 2013-01-07 22:17:20 -05:00
Jeffrey Forman 061447aa04 Add buld script to create debian package for binder, trunk branch with date 2013-01-07 22:12:50 -05:00
Jeffrey Forman 323375ead7 clean up section headers for bind, and add explanation for ancillary config files 2013-01-07 21:22:58 -05:00
Jeffrey Forman fea960a52a Major documentation update on readme. Provide examples and workflow for getting binder running. 2013-01-07 21:03:43 -05:00
Jeffrey Forman f6c09a737f Add quick script to check binder dependencies. Mostly python modules 2012-12-31 13:13:28 -05:00
Jeffrey Forman ee296be969 Add initial upstart config for binder 2012-12-28 17:29:51 -05:00
Jeffrey Forman 7e0c561682 Add initial binder nginx config 2012-12-25 20:12:14 -05:00
Jeffrey Forman 9e95181936 Add ability to directly create reverse PTR records. Not the best, but it works. 2012-12-25 19:57:00 -05:00
Jeffrey Forman b803923331 print error if encountered in deleting records form 2012-12-16 11:21:44 -05:00
Jeffrey Forman 26acc4f51c Convert unit tests to use reverse() instead of specifying URL's hard coded 2012-12-15 21:59:51 -05:00
Jeffrey Forman a7bc198c4d Convert template URL href references to use 'url' template syntax for reverse URLs 2012-12-15 20:25:06 -05:00
Jeffrey Forman 16a629f81a use a split method on the string, instead of a regex, to make getting the host and domain easier when deleting a record 2012-12-15 20:21:47 -05:00
Jeffrey Forman acd9ec596c Add unit tests for add cname form and add record form testing 2012-12-13 01:40:12 -05:00
Jeffrey Forman 3a9e9fe614 dont show the 'add reverse record' checkbox if on form for adding reverse record 2012-12-12 21:12:58 -05:00
Jeffrey Forman 308be6a025 Add integration test for denied zone transfer 2012-12-09 21:22:47 -05:00
Jeffrey Forman 0b048f46f8 Saving the model is important if you want to change statistics_ports midway through. 2012-12-07 07:46:18 -05:00
Jeffrey Forman 3b0b29664e clean up the keys, down to one key for testing 2012-12-07 07:44:29 -05:00
Jeffrey Forman 453cb4410b add test_Integration_ZoneList_ConnectionRefused 2012-12-06 21:46:10 -05:00
Jeffrey Forman 52a80a90f2 Add testdata to repo, named.conf and forward/reverse zones.
Clean up the main readme.md
2012-12-06 20:13:07 -05:00
Jeffrey Forman 7fc67cb542 Add integration tests for adding and deleting records. and add cname test
Also added fixtures for binder_test
2012-12-04 22:45:01 -05:00
Jeffrey Forman bd65e1b239 Add error reason to form validation for unicode->string list formfield 2012-12-04 06:18:40 -05:00
Jeffrey Forman 8937154b1d Fix broken invalid formadd test now that record type is from record_type_choices 2012-12-02 14:50:48 -05:00
Jeffrey Forman aa76d59a13 add choice selection to record type when adding record. works for A/AAAA records. 2012-12-02 09:13:22 -05:00
Jeffrey Forman e477a23ba4 fix invalid_formaddrecord test because field is now a choice not an integer 2012-12-02 08:58:04 -05:00
Jeffrey Forman 42db5cedee create local_settings, pass TTL_CHOICES around to be able to pick TTL when creating record. 2012-12-02 08:49:49 -05:00