Commit Graph

283 Commits

Author SHA1 Message Date
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
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