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
Jeffrey Forman
a3f0a643a1
Commit first round of unit tests (14), all pass!
2012-12-01 19:10:44 -05:00
Jeffrey Forman
bb40ef2d6a
add validating tests around models with incorrect/missing data
2012-12-01 16:20:50 -05:00
Jeffrey Forman
02caf7c983
Split up tests into own directory and separate files
2012-12-01 14:41:40 -05:00
Jeffrey Forman
d5b2197571
Merge keyutils into a method inside the Key class. Delete keyutils.py
2012-11-30 22:40:58 -05:00
Jeffrey Forman
063d64d6c6
create feeder function to send dns updates. forward/reverse/cname call send_dns_update.
...
Collapse keyutils into helper. Create single create_keyring function that decides what to create.
2012-11-30 07:25:23 -05:00
Jeffrey Forman
46a91e2fdf
Add error handling in delete_record function around unrecognized/malformed keys.
2012-11-29 21:52:27 -05:00
Jeffrey Forman
d4d4afdaa1
Add ip info on server list page.
...
Also clean up imports, standardize on order
2012-11-28 22:09:25 -05:00
Jeffrey Forman
9dcb07e996
Display IP address along side server name in server list
2012-11-26 22:05:44 -05:00