chouseknecht
2afd8d44e7
Fix setup.yml
2013-05-06 15:15:18 -04:00
chouseknecht
c1cc2a1e0b
Added UI under lib/static/web. Updated README.md
2013-05-06 14:26:49 -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
Michael DeHaan
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.
2013-04-29 10:37:16 -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
Michael DeHaan
1fdf99fc31
Do not install paramiko from pip, as ansible already requires the OS paramiko and this will
...
result in it not being found.
2013-04-27 11:25:17 -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
Michael DeHaan
b2c4ca6ece
Complete tests and permission API REST exposure. Note permission objects are found through user and teams, not a permissions
...
collection.
2013-04-26 18:12:12 -04:00
Michael DeHaan
b4932ab5a9
Partial support for permission editablity through REST. More TBA.
2013-04-26 17:32:19 -04:00
Michael DeHaan
f18f3a339c
Add discoverability on /api/v1 to show available top level resources.
2013-04-25 20:33:37 -04:00
Michael DeHaan
2a013a5cfe
Add API version info to api root, add dependency to setup playbook
2013-04-25 13:08:39 -04:00
Michael DeHaan
5c7cab70b7
Stubs for API head points. To add reverse URLs next.
2013-04-25 12:55:25 -04:00
Michael DeHaan
620ce927a8
Add libYAML package dependency
2013-04-25 08:13:29 -04:00
Michael DeHaan
0251253f49
Don't treat pagination parameters as filtering.
2013-04-25 08:01:40 -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
Michael DeHaan
3a9533ffa0
more related resources!
2013-04-23 19:44:18 -04:00
Michael DeHaan
fdb0dd29a9
Fix organization lookup ID.
2013-04-23 19:36:00 -04:00
Michael DeHaan
3162f62fa9
Add more related resources.
2013-04-23 19:18:58 -04:00
Michael DeHaan
fc0fc43f63
Add inventory related resource.
2013-04-23 19:01:05 -04:00
Michael DeHaan
c81de8f7b9
Add modified_by to audit trail
2013-04-23 18:54:27 -04:00
Michael DeHaan
69f8f1e70d
Add created_by related resource only if set.
2013-04-23 18:51:47 -04:00
Michael DeHaan
82ef8ca0f3
Working on exposing more related fields.
2013-04-23 18:08:38 -04:00
Michael DeHaan
a45a5c2594
Ability to list teams attached to a project.
2013-04-23 11:26:50 -04:00
Michael DeHaan
c661c0bbf2
Add organizations related resource to projects.
2013-04-23 11:13:33 -04:00
Michael DeHaan
069d16a1ae
Add teams related resource to org.
2013-04-23 10:25:12 -04:00
Michael DeHaan
e511b60e29
Allow more advanced django filtering.
2013-04-22 10:43:18 -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
Michael DeHaan
86de2c8846
Check that the object we are attaching is readable by us for extra security on attaching resources.
2013-04-19 15:25:19 -04:00
Michael DeHaan
0ed275c3c8
Pass request data to various functions to allow for extra validation to be implemented on top of what is there now.
2013-04-19 12:10:30 -04:00
Michael DeHaan
4cd7405a37
update TODO
2013-04-19 11:15:02 -04:00
Michael DeHaan
761354067f
Add TODO note
2013-04-19 10:49:24 -04:00
Michael DeHaan
bbaf9c96b5
Add important credential note.
2013-04-19 10:48:32 -04:00
Michael DeHaan
3047c07139
REST access for job template detail, access to read one follows whether permissions are available. Access to see
...
them should similarly follow (pending).
2013-04-19 10:42:36 -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
Michael DeHaan
c40156e04e
Update TODO
2013-04-18 23:00:35 -04:00
Michael DeHaan
2f5745272f
Tests for permission checking on who can start jobs of certain types, etc.
2013-04-18 22:32:54 -04:00
Michael DeHaan
28332cc5a5
Ability to post new job templates. The permissions checks on these need more tests for non-org-admin users.
2013-04-18 22:11:00 -04:00
Michael DeHaan
6bb4f4f255
remove user from jobs (redundant, since we have created_by) and add start of jobs REST testing.
2013-04-18 21:05:31 -04:00
Michael DeHaan
7d224d8cf3
Ability to list job templates. Related resources are not added.
2013-04-18 20:52:54 -04:00
Michael DeHaan
48a29df4ec
Cleanup TODO file
2013-04-18 17:06:54 -04:00
Michael DeHaan
bc19dc90ac
Stub tests for jobs REST API.
2013-04-18 17:01:49 -04:00
Michael DeHaan
d11405d089
Stub views for all things job and event related.
2013-04-18 15:22:45 -04:00