Commit Graph
63 Commits
Author SHA1 Message Date
Chris Church 2cbed11034 Reverted JSONField change on VariableData and fixed related tests and migration. Also fixed older migrations that break when migrating backwards. 2013-05-09 17:11:45 -04:00
Chris Church d51fa4f629 Added credentials list view. 2013-05-09 15:14:43 -04:00
Chris Church e6377a1243 Fix lingering import statement, add context processor to expose settings to templates. 2013-05-09 14:31:08 -04:00
Chris Church fdc9422409 Catch exception raised for the reverse access of a OneToOneField. 2013-05-08 17:56:40 -04:00
Chris Church f7cd605415 Model changes based on jobs API discussion, code and test fixes to work with those changes. 2013-05-08 17:43:09 -04:00
Chris Church e5057fbd83 Removed old versions of UI in static directory. 2013-05-08 12:02:56 -04:00
Chris Church cc16c394fe Added debug condition to determine which JS files to include. 2013-05-08 11:58:37 -04:00
Chris Church 6f6e3d23a5 Added static url prefix to partials and images. 2013-05-08 11:46:22 -04:00
Chris Church eff2e65c9a Moved UI into its own Django app. 2013-05-08 11:41:00 -04:00
Chris Church 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. 2013-05-08 10:46:16 -04:00
Chris Church 75ea4a1cda Initial setup script. 2013-05-07 18:17:04 -04:00
Chris Church 932b1ed620 Add variable data to admin. 2013-05-07 18:17:04 -04:00
Chris Church 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. 2013-05-01 14:10:42 -04:00
Chris Church b6e7d964c2 Add foreign key field back to serializer so test will pass. 2013-04-29 16:35:39 -04:00
Chris Church edbd9c42ff Admin updates, added a few more related resources. 2013-04-29 16:02:21 -04:00
Chris Church 69a9916423 Refactored URLs to be more DRY, changed reverse lookups to use named url patterns. 2013-04-27 23:19:28 -04:00
Chris Church 48c0b1c6d5 Update browseable REST API interface, make resource URLs into links. 2013-04-27 19:51:56 -04:00
Chris Church 2a875411d0 Removed old comments/code, better test coverage. 2013-04-26 23:18:13 -04:00
Chris Church ecf6be4335 More tests for jobs and tasks. 2013-04-26 18:24:17 -04:00
Chris Church 52d31d105d Jobs updates to start/cancel and prompt for passwords via the admin. 2013-04-26 18:24:17 -04:00
Chris Church d6d468633f Task refactoring, updates to support ssh-agent and responding to password prompts. Needs test for using credentials. 2013-04-24 11:35:30 -04:00
Chris Church cc25d55121 Work in progress on credential/job updates. 2013-04-24 00:43:36 -04:00
Chris Church 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. 2013-04-19 18:11:31 -04:00
Chris Church bc1f3e320e Changed how Project local_path is configured, added option to specify playbook on JobTemplate and Job, updated admin and tests. 2013-04-19 15:40:13 -04:00
Chris Church 6567e6ac10 Might help to add the forms for the admin to import. 2013-04-19 10:31:47 -04:00
Chris Church b9da59c5f3 Admin updates. 2013-04-19 10:12:49 -04:00
Chris Church 71dbb9c818 Docs update following LaunchJob renaming. 2013-04-17 21:53:45 -04:00
Chris Church 883449f4a5 Added helper attributes to job for retrieving hosts by status. 2013-04-17 21:45:41 -04:00
Chris Church aff422c976 Renamed LaunchJob to JobTemplate, LaunchJobStatus to Job, LaunchJobHostSummary to JobHostSummary, and LaunchJobStatusEvent to JobEvent. Updated admin, celery task, management commands accordingly. 2013-04-17 18:59:21 -04:00
Chris Church 27ac9a206e Added migration dependency. 2013-04-16 16:18:30 -04:00
Chris Church 52ace2700c Added relationships to hosts from launch job status and launch job status event, updated admin to display host stats and events. 2013-04-15 19:23:06 -04:00
Chris Church 9dbbf330e8 Added support for token authentication (with test). 2013-04-10 00:41:51 -04:00
Chris Church 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. 2013-04-04 16:53:28 -04:00
Chris Church 541445d60f Added support and tests for --check option. 2013-04-04 14:47:41 -04:00
Chris Church e9aa3f78e2 Removed todo/comments that have been implemented. 2013-04-04 14:47:41 -04:00
Chris Church 1b93886be2 Updated callback module to delegate to acom_callback_event management command. 2013-04-04 14:47:41 -04:00
Chris Church 0155f0acea Update settings template to use SQLite test database when running acom_inventory script in tests, initial stub for callback event logger. 2013-04-02 14:53:52 -04:00
Chris Church 63ef048d73 Fixed test database name in app setup template. 2013-04-02 14:06:54 -04:00
Chris Church 9307e2de26 Notes/todos. 2013-04-02 13:12:32 -04:00
Chris Church 38f3fb0985 Fix import error for missing file. 2013-03-31 23:28:41 -04:00
Chris Church df1d6ebc7e Added back try/except for TaskMeta lookup. 2013-03-31 23:25:54 -04:00
Chris Church 678e4c053b Admin field/inline updates. 2013-03-31 23:23:48 -04:00
Chris Church 8c42d0d9bb Added test for failed launch job. 2013-03-31 23:23:48 -04:00
Chris Church 3c7cac00f9 Working version of callback module to log to database. 2013-03-31 19:24:53 -04:00
Chris Church c149f03119 Initial working test for run_launch_job task. 2013-03-31 17:25:18 -04:00
Chris Church b38cb80efa Finished acom_inventory commnand tests. 2013-03-31 11:40:13 -04:00
Chris Church cece190c54 Reapplied migrations since change, work on tests for inventory script. 2013-03-29 02:36:11 -04:00
Chris Church a61a353829 Start on tests for inventory command and celery task, stub for playbook callback module. 2013-03-29 01:10:53 -04:00
Chris Church 4e7827829f Work on executing launch job via celery to run ansible playbook. 2013-03-22 18:56:09 -04:00
Chris Church 935463e3ec Updated description to be optional, added migration for description change and removal of application user model. 2013-03-22 13:41:35 -04:00
Chris Church c592c3c392 Hide fields not needed for the user admin. 2013-03-22 12:02:16 -04:00
Chris Church ea536ae903 Minor test/view fixes. 2013-03-22 11:22:04 -04:00
Chris Church cb381849f3 Updated requirements/settings to use new version of devserver. 2013-03-22 01:47:24 -04:00
Chris Church a1fb81c4f4 Added basic celery support and configuration. 2013-03-14 16:11:14 -04:00
Chris Church da9a31b599 Added sample angularjs page to be served by Django, updated admin styles. 2013-03-14 15:52:35 -04:00
Chris Church 8b0401b924 Added inventory to admin. 2013-03-13 17:57:25 -04:00
Chris Church 22a9aad102 Added sample admin.py. 2013-03-13 17:44:54 -04:00
Chris Church ffcc869de2 Updates to enable admin. 2013-03-13 17:15:00 -04:00
Chris Church df6bb82c33 Added wsgi application. 2013-03-13 16:55:44 -04:00
Chris Church 2714e36268 Rearranged settings. 2013-03-13 16:49:22 -04:00
Chris Church e47c2fe08f Updated pip requirements. 2013-03-13 16:04:17 -04:00
Chris Church 13feba1b41 Added pip requirements. 2013-03-13 16:03:24 -04:00
Chris Church e089266491 Updated manage.py to use environment variable instead of importing settings directly. 2013-03-13 15:24:43 -04:00