Commit Graph

  • 8343d20c60 Job event detail page now working. Search expanded to work with boolean an integer types. Added new form generator layout. Fixed pagination bugs. Job cancel/delete working. chouseknecht 2013-05-21 02:57:34 -04:00
  • 3d3782fcee Job Events detail page starting to work. chouseknecht 2013-05-20 00:05:26 -04:00
  • 0bd576de62 Fix JSONField default in models and migrations to avoid error when running from an installation via tarball. Chris Church 2013-05-19 23:56:37 -04:00
  • 32573ab013 Jobs page cosmetic fixes. Fixed pagination/search issue causing current page # to be incorrect. chouseknecht 2013-05-19 19:05:26 -04:00
  • 6b881a58bf Job detail page now working. Form generator now supports 2 column layout and a status fields section. chouseknecht 2013-05-19 18:55:13 -04:00
  • f409db7778 Latest UI changs. First iteration on Jobs page. chouseknecht 2013-05-19 15:05:03 -04:00
  • 14bc3c02f8 Updated playbook select on Job Template add page. Playbook selection working. chouseknecht 2013-05-17 16:18:27 -04:00
  • 4abe92a7a6 Playbook select list finally works on edit. Woot\! chouseknecht 2013-05-17 16:14:33 -04:00
  • 94ff36b62f All select pages now have clickable rows. The checkbox is still present and will e toggled along with row color. Fixed the typ-o on User select page. chouseknecht 2013-05-17 07:55:17 -04:00
  • 0f4a4b6cb9 Key column on a list view is now clickable -taking you to the detail page. Moved action buttons to top of page next to search widget. Added finishing touches to job submission on job_templates list view. chouseknecht 2013-05-17 06:38:37 -04:00
  • 66f93364b1 No longer create\/execute job when template is saved. Execute job from list view by clicking 'play' button. Prompts for missing credential and all required password. chouseknecht 2013-05-17 00:17:11 -04:00
  • ac172928f8 Added job_events and job_host_summaries for groups. Chris Church 2013-05-16 21:59:58 -04:00
  • 602fce73e4 Removed failing organization test (since we no longer return a 409). Chris Church 2013-05-16 19:53:29 -04:00
  • 6ab9878e65 Latest job template UI changes. Template edit working. Need to add job submission steps and fix playbook initial value on edit page. chouseknecht 2013-05-16 12:59:58 -04:00
  • d1ba197126 Add a test to show you can create a new host by posting to a groups host list. Michael DeHaan 2013-05-15 18:40:34 -04:00
  • ddf10251cc Fix some issues when creating a new object and posting to a subcollection. Tested with groups. Also removed some dead code. Michael DeHaan 2013-05-15 18:31:00 -04:00
  • 1bc85f608c Latest inventory tree updates. Now using root_groups to retrieve top-level inventory groups. Ajax group load now works -hosts and subgroups loading. Need to add sorting, but all works. chouseknecht 2013-05-15 17:24:49 -04:00
  • 01ec33ec8f Removed refernces to jquery-ui. Was going to use spinner, decided not too. Will likely conflict with Angular directives for form validation. chouseknecht 2013-05-15 12:58:07 -04:00
  • 86bd91dfb8 Directives integer, min, max, and awlookup now working. Lookups now allow user to enter a value, the name is validated, and capitalization is corrected. chouseknecht 2013-05-15 12:53:53 -04:00
  • b3615465d1 Renamed _get_queryset in new inventory view to reflect filtering updates. Chris Church 2013-05-14 19:18:28 -04:00
  • 7183549289 Moved queryset filtering/ordering out of BaseList into the CustomFilterBackend. Added job_host_summaries sublists for jobs and hosts, add detail view for job host summary, with tests. Chris Church 2013-05-14 19:17:09 -04:00
  • 5c6895e606 Correct some things in the README Michael DeHaan 2013-05-14 18:47:53 -04:00
  • 09252d5c1d Replace COPYING document Michael DeHaan 2013-05-14 18:45:38 -04:00
  • b83e70b09a Remove various license headers. License was changed to proprietary previously so fix up headers. Michael DeHaan 2013-05-14 18:44:02 -04:00
  • 72fbb6c3a3 Add inventory root groups to related resources. Michael DeHaan 2013-05-14 18:38:32 -04:00
  • 5b65b3bfac Add code that allows getting just the root groups for an inventory. Michael DeHaan 2013-05-14 18:28:13 -04:00
  • e528ede913 Disable transaction middleware when starting jobs via the API (only for tests). Chris Church 2013-05-14 15:29:04 -04:00
  • 0818e6ab3d Latest UI changes -working on Job Templates chouseknecht 2013-05-14 13:50:45 -04:00
  • c9018a0aca Latest UI changes chouseknecht 2013-05-14 11:05:56 -04:00
  • 55f44b86f1 Latest UI inventory changes chouseknecht 2013-05-14 09:51:26 -04:00
  • 2612ebd792 Latest UI Inventory updates chouseknecht 2013-05-14 01:52:04 -04:00
  • fe5a454441 Basic support for job start/cancel via REST API with supporting tests. Chris Church 2013-05-13 10:43:43 -04:00
  • a20573a68d More job template tests, enable creating a new job by posting to the job template job list. Chris Church 2013-05-11 05:11:31 -04:00
  • 6e6600b822 Model and test updates for last_job and last_job_host_summary fields on Host. Chris Church 2013-05-11 02:10:17 -04:00
  • 8f2ea04b48 Add simple test for credentials list, should not allow POST (for now). Chris Church 2013-05-10 11:13:57 -04:00
  • bae177460b Merge branch 'master' of github.com:ansible/ansible-commander chouseknecht 2013-05-10 04:10:03 -04:00
  • 0ff66f668d Credentials add\/edit now works. Ask checkbox is functional. chouseknecht 2013-05-10 04:09:28 -04:00
  • 17e96751c0 Removed local_settings*.tmp files added by @chouseknecht, updated .gitignore to prevent them from getting added again. Chris Church 2013-05-10 00:51:03 -04:00
  • d7737f6b43 Changed project property available_playbooks to playbooks, exposed via API as a child resource of the project detail. Changed project local_path to a CharField and added helper method and API attribute to show the list of available choices for local_path. Chris Church 2013-05-10 00:44:13 -04:00
  • fdceb46c12 Latest UI changes. Credential List and Edit working -need to add ask pw option and validation around team vs. user. Lookup dialog is now a generic helper that can be shared by all controllers. Credentials controller is first to use api-loader which reads the \/api and \/api\/v1 to determine base set of urls. And more... chouseknecht 2013-05-09 23:49:51 -04:00
  • 2cbed11034 Reverted JSONField change on VariableData and fixed related tests and migration. Also fixed older migrations that break when migrating backwards. Chris Church 2013-05-09 17:11:45 -04:00
  • d51fa4f629 Added credentials list view. Chris Church 2013-05-09 15:14:43 -04:00
  • e6377a1243 Fix lingering import statement, add context processor to expose settings to templates. Chris Church 2013-05-09 14:31:08 -04:00
  • fdc9422409 Catch exception raised for the reverse access of a OneToOneField. Chris Church 2013-05-08 17:56:40 -04:00
  • f7cd605415 Model changes based on jobs API discussion, code and test fixes to work with those changes. Chris Church 2013-05-08 17:41:10 -04:00
  • 6238f0ab9a Add summary_fields capability, which for items in a collection gives the names of related fields. Michael DeHaan 2013-05-08 17:36:04 -04:00
  • 51ef375183 Team add/edit now working. Temporarily disabled organization name lookup on Team and Inventory lists. This will get fixed with AC-93 -add summary fields to response. chouseknecht 2013-05-08 16:26:21 -04:00
  • e5057fbd83 Removed old versions of UI in static directory. Chris Church 2013-05-08 12:02:56 -04:00
  • cc16c394fe Added debug condition to determine which JS files to include. Chris Church 2013-05-08 11:58:37 -04:00
  • 6f6e3d23a5 Added static url prefix to partials and images. Chris Church 2013-05-08 11:46:22 -04:00
  • eff2e65c9a Moved UI into its own Django app. Chris Church 2013-05-08 11:41:00 -04:00
  • 839d681b70 Latest UI changes chouseknecht 2013-05-08 11:18:59 -04:00
  • 2a15d07221 Split out RBAC and can_user_* methods from models into access.py. Moved list/item permissions checks from the base views into RBAC. Added serializers/views/tests for jobs REST API. Chris Church 2013-05-08 10:46:16 -04:00
  • 75ea4a1cda Initial setup script. Chris Church 2013-05-03 00:14:14 -04:00
  • 932b1ed620 Add variable data to admin. Chris Church 2013-05-03 00:09:53 -04:00
  • 3c90f91453 Added jsTree to show groups under Inventory/Edit chouseknecht 2013-05-07 11:49:33 -04:00
  • ced96a1bb3 Fixed issue with selected users based on user.id rathr than set index. Fixed dataLoad callback not being destroyed after controller routine exits. Chris Houseknecht 2013-05-06 22:18:44 -04:00
  • ccb732bd69 All lists (included related lists) now send the order_by parameter to the API. Use the key: true attribute in the list definition to specify the default sorting field. Chris Houseknecht 2013-05-06 17:59:13 -04:00
  • d2dad90eb8 Missing add+ button on Hosts and Groups list pages fixed. Chris Houseknecht 2013-05-06 17:07:11 -04:00
  • bb7e1ae74f Inventory group add/delete working Chris Houseknecht 2013-05-06 16:54:26 -04:00
  • 2afd8d44e7 Fix setup.yml chouseknecht 2013-05-06 15:13:37 -04:00
  • c1cc2a1e0b Added UI under lib/static/web. Updated README.md chouseknecht 2013-05-06 14:26:49 -04:00
  • ef92fe3960 Updates to permissions checks (and tests), add logging around permission checks, permission-related fixes to support browsable API, work in progress on job templates API, added default logging settings. Chris Church 2013-05-01 14:10:42 -04:00
  • b6e7d964c2 Add foreign key field back to serializer so test will pass. Chris Church 2013-04-29 16:35:39 -04:00
  • edbd9c42ff Admin updates, added a few more related resources. Chris Church 2013-04-29 16:02:21 -04:00
  • 21f4e3a680 Some hacks to make organizational user object creation possible by posting directly to the subcollection. This is a little complex due to the user (being a Django object) not having any FKs to our objects. This should be refactored later but is at least sufficiently operational for the two cases it is used here. Michael DeHaan 2013-04-29 10:36:16 -04:00
  • 69a9916423 Refactored URLs to be more DRY, changed reverse lookups to use named url patterns. Chris Church 2013-04-27 23:19:28 -04:00
  • 48c0b1c6d5 Update browseable REST API interface, make resource URLs into links. Chris Church 2013-04-27 19:51:56 -04:00
  • 1fdf99fc31 Do not install paramiko from pip, as ansible already requires the OS paramiko and this will result in it not being found. Michael DeHaan 2013-04-27 11:24:51 -04:00
  • 2a875411d0 Removed old comments/code, better test coverage. Chris Church 2013-04-26 23:18:13 -04:00
  • ecf6be4335 More tests for jobs and tasks. Chris Church 2013-04-26 18:24:12 -04:00
  • 52d31d105d Jobs updates to start/cancel and prompt for passwords via the admin. Chris Church 2013-04-25 01:11:55 -04:00
  • b2c4ca6ece Complete tests and permission API REST exposure. Note permission objects are found through user and teams, not a permissions collection. Michael DeHaan 2013-04-26 18:12:12 -04:00
  • b4932ab5a9 Partial support for permission editablity through REST. More TBA. Michael DeHaan 2013-04-26 17:32:19 -04:00
  • f18f3a339c Add discoverability on /api/v1 to show available top level resources. Michael DeHaan 2013-04-25 20:33:37 -04:00
  • 2a013a5cfe Add API version info to api root, add dependency to setup playbook Michael DeHaan 2013-04-25 13:08:39 -04:00
  • 5c7cab70b7 Stubs for API head points. To add reverse URLs next. Michael DeHaan 2013-04-25 12:55:09 -04:00
  • 620ce927a8 Add libYAML package dependency Michael DeHaan 2013-04-25 08:13:29 -04:00
  • 0251253f49 Don't treat pagination parameters as filtering. Michael DeHaan 2013-04-25 08:01:40 -04:00
  • d6d468633f Task refactoring, updates to support ssh-agent and responding to password prompts. Needs test for using credentials. Chris Church 2013-04-24 11:35:30 -04:00
  • cc25d55121 Work in progress on credential/job updates. Chris Church 2013-04-23 16:21:29 -04:00
  • 3a9533ffa0 more related resources! Michael DeHaan 2013-04-23 19:44:18 -04:00
  • fdb0dd29a9 Fix organization lookup ID. Michael DeHaan 2013-04-23 19:36:00 -04:00
  • 3162f62fa9 Add more related resources. Michael DeHaan 2013-04-23 19:18:58 -04:00
  • fc0fc43f63 Add inventory related resource. Michael DeHaan 2013-04-23 19:01:05 -04:00
  • c81de8f7b9 Add modified_by to audit trail Michael DeHaan 2013-04-23 18:54:27 -04:00
  • 69f8f1e70d Add created_by related resource only if set. Michael DeHaan 2013-04-23 18:51:47 -04:00
  • 82ef8ca0f3 Working on exposing more related fields. Michael DeHaan 2013-04-23 18:08:38 -04:00
  • a45a5c2594 Ability to list teams attached to a project. Michael DeHaan 2013-04-23 11:26:50 -04:00
  • c661c0bbf2 Add organizations related resource to projects. Michael DeHaan 2013-04-23 11:13:33 -04:00
  • 069d16a1ae Add teams related resource to org. Michael DeHaan 2013-04-23 10:25:12 -04:00
  • e511b60e29 Allow more advanced django filtering. Michael DeHaan 2013-04-22 10:43:18 -04:00
  • 5901acb6a8 Added separate method to start Job independently from creating it; Jobs no longer start automatically when first saved. Added method on JobTemplate to create a new Job with defaults copied from the template. Chris Church 2013-04-19 18:11:31 -04:00
  • bc1f3e320e Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests. Chris Church 2013-04-19 15:40:08 -04:00
  • 86de2c8846 Check that the object we are attaching is readable by us for extra security on attaching resources. Michael DeHaan 2013-04-19 15:25:19 -04:00
  • 0ed275c3c8 Pass request data to various functions to allow for extra validation to be implemented on top of what is there now. Michael DeHaan 2013-04-19 12:10:30 -04:00
  • 4cd7405a37 update TODO Michael DeHaan 2013-04-19 11:15:02 -04:00
  • 761354067f Add TODO note Michael DeHaan 2013-04-19 10:49:24 -04:00
  • bbaf9c96b5 Add important credential note. Michael DeHaan 2013-04-19 10:48:32 -04:00
  • 3047c07139 REST access for job template detail, access to read one follows whether permissions are available. Access to see them should similarly follow (pending). Michael DeHaan 2013-04-19 10:42:10 -04:00