Commit Graph

  • 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
  • 6567e6ac10 Might help to add the forms for the admin to import. Chris Church 2013-04-19 10:31:47 -04:00
  • b9da59c5f3 Admin updates. Chris Church 2013-04-19 10:12:45 -04:00
  • c40156e04e Update TODO Michael DeHaan 2013-04-18 23:00:35 -04:00
  • 2f5745272f Tests for permission checking on who can start jobs of certain types, etc. Michael DeHaan 2013-04-18 22:32:54 -04:00
  • 28332cc5a5 Ability to post new job templates. The permissions checks on these need more tests for non-org-admin users. Michael DeHaan 2013-04-18 22:11:00 -04:00
  • 6bb4f4f255 remove user from jobs (redundant, since we have created_by) and add start of jobs REST testing. Michael DeHaan 2013-04-18 21:05:31 -04:00
  • 7d224d8cf3 Ability to list job templates. Related resources are not added. Michael DeHaan 2013-04-18 20:52:54 -04:00
  • 48a29df4ec Cleanup TODO file Michael DeHaan 2013-04-18 17:06:54 -04:00
  • bc19dc90ac Stub tests for jobs REST API. Michael DeHaan 2013-04-18 17:01:49 -04:00
  • d11405d089 Stub views for all things job and event related. Michael DeHaan 2013-04-18 15:22:45 -04:00
  • 10adcf204d Allow results to be ordered by specifying "&order=" on the querystring line. Michael DeHaan 2013-04-18 10:28:19 -04:00
  • 71dbb9c818 Docs update following LaunchJob renaming. Chris Church 2013-04-17 21:53:45 -04:00
  • 883449f4a5 Added helper attributes to job for retrieving hosts by status. Chris Church 2013-04-17 21:45:35 -04:00
  • 296c6e8cd4 Fix filter field setting for user classes, where field is named 'username', not 'name' Michael DeHaan 2013-04-17 21:36:12 -04:00
  • 5336316f2e Resolve merge conflicts. Michael DeHaan 2013-04-17 20:35:01 -04:00
  • 7c5fcba037 Commiting just in case the diff is not all whitespace Michael DeHaan 2013-04-17 20:18:14 -04:00
  • aff422c976 Renamed LaunchJob to JobTemplate, LaunchJobStatus to Job, LaunchJobHostSummary to JobHostSummary, and LaunchJobStatusEvent to JobEvent. Updated admin, celery task, management commands accordingly. Chris Church 2013-04-17 18:59:21 -04:00
  • 5e6ad5a244 Added /api/v1/groups/N/hosts and /api/v1/groups/N/all_hosts/ Michael DeHaan 2013-04-16 17:41:20 -04:00
  • 27ac9a206e Added migration dependency. Chris Church 2013-04-16 16:18:25 -04:00
  • 0a364f39d6 Minor tweaks to the setup playbook. Michael DeHaan 2013-04-16 16:14:08 -04:00
  • 52ace2700c Added relationships to hosts from launch job status and launch job status event, updated admin to display host stats and events. Chris Church 2013-04-15 19:22:57 -04:00
  • 54923f05c4 Merge pull request #1 from britcey/patch-1 Michael DeHaan 2013-04-15 16:21:02 -07:00
  • ec0e0f60dc Some TODO updates, a model revision, and getting association/disassociation working on user/team creds. Michael DeHaan 2013-04-15 19:19:54 -04:00
  • 9fc041f4ec No need to keep inventory list on projects, can just use permissions Michael DeHaan 2013-04-15 11:31:54 -04:00
  • 9dbbf330e8 Added support for token authentication (with test). Chris Church 2013-04-10 00:41:51 -04:00
  • 09cca99c69 Just use plain GPL. Michael DeHaan 2013-04-09 01:05:55 -04:00
  • 7368645bc6 Just use the plain GPLv3. Michael DeHaan 2013-04-09 00:55:25 -04:00
  • 26cff59ef0 Use of validate() method on serializer to implement write-once fields. Michael DeHaan 2013-04-07 22:17:33 -04:00
  • 9db8e27491 Working on credentials API Michael DeHaan 2013-04-07 19:57:16 -04:00
  • 038ed04943 Changed celery task reference to store the task_id only, capture traceback if task run fails, update admin to be able to run launch jobs. Chris Church 2013-04-04 16:53:20 -04:00
  • 97a83c7e0d Add license for ansible plugin (not part of commander or ansible) Michael DeHaan 2013-04-04 15:57:58 -04:00
  • 5d8641abe6 Adding some TODOs for later. Michael DeHaan 2013-04-04 15:51:45 -04:00
  • c52f51162a Work on team credentials. Michael DeHaan 2013-04-04 15:50:56 -04:00
  • 541445d60f Added support and tests for --check option. Chris Church 2013-04-04 14:47:32 -04:00
  • e9aa3f78e2 Removed todo/comments that have been implemented. Chris Church 2013-04-04 14:47:10 -04:00
  • 1b93886be2 Updated callback module to delegate to acom_callback_event management command. Chris Church 2013-04-04 13:59:32 -04:00
  • 0a306ee0ad Team credentials listing. Michael DeHaan 2013-04-04 14:41:31 -04:00
  • 2c2c26860f Wiring up team credentials service (WIP). Michael DeHaan 2013-04-04 12:38:41 -04:00
  • 5087db5a7f Remove some prints Michael DeHaan 2013-04-04 12:10:00 -04:00
  • d1f2f871e7 Column name not unique and assorted work on credentials REST Michael DeHaan 2013-04-04 12:07:12 -04:00
  • 09f3c97023 fixed typo britcey 2013-04-03 17:45:04 -03:00
  • b20a29b458 Working on surfacing credentials via REST. Michael DeHaan 2013-04-02 14:59:58 -04:00
  • 37cdd31b79 Fix typo. Michael DeHaan 2013-04-02 14:11:43 -04:00
  • 0155f0acea Update settings template to use SQLite test database when running acom_inventory script in tests, initial stub for callback event logger. Chris Church 2013-04-02 14:53:52 -04:00
  • 63ef048d73 Fixed test database name in app setup template. Chris Church 2013-04-02 14:06:45 -04:00
  • dbab673183 Update TODO notes. Michael DeHaan 2013-04-02 13:20:59 -04:00
  • 9307e2de26 Notes/todos. Chris Church 2013-04-02 13:11:07 -04:00
  • 0250537065 Update credentials schema and TODO notes. Michael DeHaan 2013-04-02 11:23:58 -04:00
  • 4df02f205b Update TODO notes. Michael DeHaan 2013-04-02 10:50:08 -04:00
  • d2dd10b963 Update license mentioned in README to align with actual. Michael DeHaan 2013-04-01 20:40:46 -04:00
  • 0489762a02 Working on credentials endpoints, added migration (no credentials directly on projects) Michael DeHaan 2013-04-01 20:38:03 -04:00
  • 791003995c List the projects that a user can see. Michael DeHaan 2013-04-01 19:43:14 -04:00
  • 0d41b7bf07 A user can access what teams they are on. Michael DeHaan 2013-04-01 18:49:32 -04:00
  • 6bf4c1604f Adding and removing users from a team. Michael DeHaan 2013-04-01 18:19:37 -04:00
  • 93a230078d Remove now N/A comment Michael DeHaan 2013-04-01 17:50:43 -04:00
  • a2d40a44a3 Add missing file. Michael DeHaan 2013-04-01 17:50:12 -04:00
  • 5deaa5c2fa Ability to list teams on an organization. Michael DeHaan 2013-04-01 17:44:06 -04:00
  • 184a68b0f9 License change. GPLv3 -> Affero GPLv3. Michael DeHaan 2013-04-01 16:04:27 -04:00
  • 38f3fb0985 Fix import error for missing file. Chris Church 2013-03-31 23:28:41 -04:00
  • df1d6ebc7e Added back try/except for TaskMeta lookup. Chris Church 2013-03-31 23:25:54 -04:00
  • 678e4c053b Admin field/inline updates. Chris Church 2013-03-31 23:23:40 -04:00
  • 8c42d0d9bb Added test for failed launch job. Chris Church 2013-03-31 23:23:15 -04:00
  • 941d605806 Ability to list teams and get individual team records. Michael DeHaan 2013-03-31 22:18:39 -04:00
  • 987abb1663 Super users can list what projects an organization is assigned to. Michael DeHaan 2013-03-31 22:04:52 -04:00
  • 3b97dced59 Make projects deleteable. Michael DeHaan 2013-03-31 21:18:16 -04:00
  • 33ab8ff1ab Start of projects (+teams/credentials/permissions) tests. Michael DeHaan 2013-03-31 20:02:56 -04:00
  • 3c7cac00f9 Working version of callback module to log to database. Chris Church 2013-03-31 19:24:53 -04:00
  • c149f03119 Initial working test for run_launch_job task. Chris Church 2013-03-31 17:25:18 -04:00