Commit Graph

120 Commits

Author SHA1 Message Date
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
Jeffrey Forman ba78f39670 collapse add forward and add reverse helper functions into update_record.
clean up some handling of cname creation.
2012-11-25 22:35:11 -05:00
Jeffrey Forman e1c0e9d256 remove unused import 2012-11-25 18:09:56 -05:00
Jeffrey Forman b28bfbacd5 remove errant print statements from views 2012-11-25 18:06:11 -05:00
Jeffrey Forman 0736eb3eb5 error handling around viewing unresponsive dns servers in zones. add try/except when adding cname 2012-11-25 18:02:33 -05:00
Jeffrey Forman 0c35125777 clean up some unused imports, also handle exceptions for adding cname 2012-11-25 18:02:01 -05:00
Jeffrey Forman 0c36d0f4a8 template update,List dns server when listing a particular zone 2012-11-25 18:01:13 -05:00
Jeffrey Forman 5f2414266a Handle exception when attempting a zone list (xfr) fails. 2012-11-25 18:00:48 -05:00
Jeffrey Forman b80719c7ea add zone class and view name to server zone list view 2012-11-25 14:59:05 -05:00
Jeffrey Forman 518f250036 make base template a bit more bootstrap friendly, stick in a container div 2012-11-25 14:17:42 -05:00
Jeffrey Forman 6b66c156b9 Some template cleanup, making tag hierarchy more correct. 2012-11-25 13:45:01 -05:00
Jeffrey Forman fdae61760c First found of 7 unit tests. Rudimentary page getting, form posting.
Need to figure out how to write good integration tests to hit the whole workflow.
2012-11-25 12:56:08 -05:00
Jeffrey Forman 412b75b8cb Make some of the html tag inheritance with tr, div, script and body more correct. 2012-11-25 09:26:19 -05:00
Jeffrey Forman a7b531cf9b add names to all url's 2012-11-24 22:57:08 -05:00
Jeffrey Forman c492fb508c clean up delete_record view using formdeletecord 2012-11-23 22:42:37 -05:00
Jeffrey Forman c42009f714 move delete_record to a more import friendly structure. clean up code 2012-11-23 22:28:33 -05:00
Jeffrey Forman 37d6c91a95 clean up commit comments, add newline 2012-11-23 22:27:50 -05:00
Jeffrey Forman 9c5143cbd7 clean up delete template, change rr_array -> rr_list. list multiple records for deletion a bit cleaner 2012-11-23 22:22:59 -05:00
Jeffrey Forman 8858d831b1 add a delete form model. add custom field for converting unicode to string list 2012-11-23 22:21:41 -05:00
Jeffrey Forman a5af78d18d clean up some string casting for adding cname and forward/reverse records. 2012-11-21 22:08:37 -05:00
Jeffrey Forman 751dae3356 clean up some String casting in making a cname that isnt needed 2012-11-21 20:39:08 -05:00
Jeffrey Forman fc971391b9 more cleanup, adding docstrings, bit more exception handling. 2012-11-18 21:10:09 -05:00
Jeffrey Forman 94fa3cbb43 slowly moving to using custom exceptions, removing unnecessary code 2012-11-17 23:02:57 -05:00
Jeffrey Forman 650245582a correct templates to use key.id in modelchoicefields 2012-11-17 23:02:20 -05:00
Jeffrey Forman 3451cae823 fix how keyrings are created, now use two parameters. 2012-11-17 23:01:37 -05:00
Jeffrey Forman b1907b140a Simplify the forms modules for handling keys 2012-11-17 23:00:50 -05:00
Jeffrey Forman 823da81ed4 Add exceptions for records and zone modifications 2012-11-17 20:40:15 -05:00
Jeffrey Forman ba4ea4176d Initial add of binder exceptions file. Add TransferException 2012-11-17 13:28:21 -05:00
Jeffrey Forman ee63a3608c Remove unused imports, change arguments to be more flexible. 2012-11-17 13:25:41 -05:00
Jeffrey Forman ec1c07c191 Add use of custom exceptions in zone transfers 2012-11-17 13:06:24 -05:00
Jeffrey Forman 5154dd4298 Move keuy model up to top, add foreignkey to bindserver model to eventually use for transfer keys 2012-11-08 23:00:31 -05:00
Jeffrey Forman 55a99dd7f2 clean up admin panel, include columns for fields in models 2012-11-08 23:00:06 -05:00
Jeffrey Forman ae0830436a remove sites installed app that isnt used 2012-11-08 22:59:40 -05:00
Jeffrey Forman 1d584a0d8a make the error on retrieving a zone message more correct 2012-11-08 22:07:38 -05:00
Jeffrey Forman 9f2bbdee0f combine all the result templates into one response_result.htm
standardize on the dictionary returned back from helpers, and to the template
2012-10-28 20:32:37 -04:00
Jeffrey Forman eb717e001a Bring things up to 1.4 standards. A LOT of file moves, simplifying of paths. Removed bcommon directory under binder 2012-10-28 14:49:15 -04:00