Commit Graph

178 Commits

Author SHA1 Message Date
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
Jeffrey Forman 51da06474c Ignore more types of temporary files left around 2012-10-28 13:48:50 -04:00
Jeffrey Forman 87d0b08b50 clean up listing server zones, remove error_context code 2012-10-28 08:45:08 -04:00
Jeffrey Forman a3e0dcc8cc Cleanup on the template that lists a zone's records 2012-10-27 18:41:48 -04:00
Jeffrey Forman 60c6a9ee83 Make the admin UI work again now that I'm running django 1.4 2012-10-27 18:41:25 -04:00
Jeffrey Forman 4565e93d93 a fairly big rewrite of add/delete record that actually works! 2012-10-27 18:03:45 -04:00
Jeffrey Forman 00b22acba7 Add most of the framework for adding a cname record. templates, views, helper code.
Still need to cleanup helpers, figure out why delete is failing
2012-10-26 17:09:05 -04:00
Jeffrey Forman 9bb4b88b6b Add *~ emacs temp files to gitignore 2012-10-26 14:18:11 -04:00
Jeffrey Forman 5bc7f923ad Clean up and make work adding and deleting records. Handles reverse and multiple records also 2012-10-22 20:39:07 -04:00
Jeffrey Forman 5c453e9a8d deleting records works again. without tsig key. 2012-10-18 06:34:22 -04:00
Jeffrey Forman d2a6b38a2b template cleanup on adding records. use of tsig key is now optional 2012-10-13 17:00:22 -04:00
Jeffrey Forman 1e2260bbec improve method for listing server zones. parse xml rather than depend on a regex 2012-10-13 08:00:38 -04:00
Jeffrey Forman 80de5b2744 Begin some bootstrap/UI upgrades. Move layout to two column div 2012-10-12 08:25:39 -04:00
Jeffrey Forman dc186c91c9 Add boostrap 2.1.1 to files/static, create boostrap symlink 2012-10-12 08:25:10 -04:00
Jeffrey Forman 755b9eb36a Update readme documentation. 2012-04-19 20:10:29 -04:00
Jeffrey Forman 6f17343e23 Add working django.wsgi and apache config file for inclusion 2012-03-08 22:35:13 -05:00
Jeffrey Forman a6ee4e65f6 Pull in a new version of bootstrap.css 2012-01-29 18:12:26 -05:00
Jeffrey Forman 57e95004c6 Enable html5 doctype declaration 2012-01-29 17:29:06 -05:00
Jeffrey Forman 21b28be873 Add ability to create CNAME records with data_suffix on add record function
Tested: adding/deleting cnames and A records.
2012-01-29 10:47:13 -05:00
Jeffrey Forman a03f49c158 Code cleanup, standardize on dns_server and zone_name
Added bootstrap CSS framework
Added error handling around deleting with a bad key.
2011-11-26 13:03:00 -05:00
Jeffrey Forman 380657d5f5 Better handle when we try to list a zone that does not exist. 2011-11-25 17:43:26 -05:00
Jeffrey Forman 81f8865dcd Add error handling when a DNS server is requested that does not exist in the BindServer table. 2011-11-25 12:57:39 -05:00
Jeffrey Forman e18d0e0d4b Clean up error display in template, and handle a DNS server which is uncontactable. 2011-11-25 12:07:22 -05:00
Jeffrey Forman 32aadb1ee2 End-to-end deletion working for single and multiple records. 2011-11-25 07:58:43 -05:00
Jeffrey Forman 00f8036991 End-to-end working version of adding forward/reverse A record from forward zone form. 2011-11-24 11:57:13 -05:00
Jeffrey Forman 77da4b8f82 Return a dict with the response from adding an RR recorc 2011-10-13 08:38:40 -04:00
Jeffrey Forman 987e1a4d35 Query the bind server object for its list of zones 2011-10-01 16:58:10 -04:00
Jeffrey Forman 546ae82e22 Remove list_server_zones method. Now an object attribute 2011-10-01 16:56:35 -04:00
Jeffrey Forman a512d82ffd Move list server zones into an attribute of the server model 2011-10-01 16:50:55 -04:00
Jeffrey Forman 1588d58d5f Remove 'Add record' link. This is now contained in the zone view 2011-05-08 14:31:18 -04:00
Jeffrey Forman 6dd125eb67 WIP: Initial instrumentation of delete record functionality.
I have the confirmation page written. Need to work on parsing array to delete when confirmation received.
2011-04-24 22:11:43 -04:00
Jeffrey Forman 23321a8a4c Bump the default TTL from 10 seconds to one day 2011-04-24 21:11:27 -04:00
Jeffrey Forman 5523e79ded Preliminary error handling around key errors when adding a record 2011-04-24 21:10:25 -04:00
Jeffrey Forman a981711c22 When input is prefect, adding a record works and shows output from dns update. 2011-04-24 20:52:56 -04:00
Jeffrey Forman dc25ce9b5c Ability to specify the type of TSIG key (passed along in ns update). Still not handling errors if update fails. 2011-04-24 15:28:46 -04:00
Jeffrey Forman 4213e662be Add RequestContext for CSRF protection to bcommon views 2011-04-23 22:46:12 -04:00
Jeffrey Forman 6a1275185d WIP: Initial form written to add record. Displays, but does not work yet. 2011-04-23 16:23:25 -04:00
Jeffrey Forman 27a121ca0a work on issue 1, handle errors when querying server for list of zones
handles errors such as connection refused, no host found, etc.
2011-04-23 11:19:01 -04:00
Jeffrey Forman a69baae308 Part of previous commit for template to have form to delete records 2011-04-22 22:29:45 -04:00
Jeffrey Forman 41509f6898 WIP: preliminary framework for deleting records from zone RR list 2011-04-22 22:29:35 -04:00
Jeffrey Forman f95ac516e1 Remove the Zone class. It's not needed since we get the zones at run time 2011-04-22 22:28:15 -04:00
Jeffrey Forman 5c55c53b4c Merge branch 'master' of github.com:jforman/binder 2011-04-17 22:34:01 -04:00
Jeffrey Forman b8785d3924 Improve error handling around querying a zone that does not exist
part of ticket #4
2011-04-17 22:33:37 -04:00