1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00
Commit Graph

52 Commits

Author SHA1 Message Date
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
Michael DeHaan
b8ee694d82 Ability to remove hosts and inventory from groups. 2013-03-27 18:54:30 -04:00
Michael DeHaan
6e15d7a913 Ability to add child groups to groups. 2013-03-27 18:17:21 -04:00
Michael DeHaan
ce7112e08a Update variable schema to use a 1:1 resource, and allow access via GET/PUT. GET if object does not exist will create the resource. 2013-03-26 22:24:03 -04:00
Michael DeHaan
c2bffe47d4 Fixup attach logic for inventory hosts/groups on subcollections. Pass serializer errors through on conflict scenarios. 2013-03-26 19:21:18 -04:00
Michael DeHaan
fa54f7ad66 This allows for creation of subresources when posting new objects to a subcollection. 2013-03-26 18:18:05 -04:00
Michael DeHaan
3625039d47 Start of group support. 2013-03-26 16:57:08 -04:00
Michael DeHaan
2d3ff081c1 Loosen some unique name constraints. Note I've reset the migrations since we're in the dev cycle and I can still do that. 2013-03-26 14:51:14 -04:00
Michael DeHaan
5e91e0a43c Working on Hosts and Groups 2013-03-26 14:44:12 -04:00
Michael DeHaan
dbfd764acd Improve the can_user_add model hook to allow it to pre-examine data for context. 2013-03-25 19:00:07 -04:00
Michael DeHaan
be1bd56ca2 Explain the RBAC model around inventory usage and adapt a view to match. 2013-03-25 17:36:51 -04:00
Michael DeHaan
681b82d378 Start of basic RBAC access control around inventory. 2013-03-25 17:21:17 -04:00
Michael DeHaan
77695bd959 Working on surfacing inventory objects. 2013-03-25 16:41:21 -04:00
Michael DeHaan
44372ed191 Start of API guide + some whitespace removal. 2013-03-24 15:54:57 -04:00
Michael DeHaan
18eaec143c Add related resources from a user object, as a rapid way to list what organizations or projects they belong to. 2013-03-24 15:00:01 -04:00
Michael DeHaan
f02aad42c0 User deletion modification, and overriding the URL for the user objects. 2013-03-24 14:14:59 -04:00
Michael DeHaan
aa2915a151 Create a mechanism for filtering put details, and now users can change their own passwords but not rename themselves, etc. 2013-03-24 12:36:42 -04:00
Michael DeHaan
a071ff65e4 Add copyright headers. 2013-03-23 18:43:11 -04:00
Michael DeHaan
519b5ab77c Add part of list to show audit trail by organization, still need to hook create to auto-establish the audit trail records. 2013-03-23 17:07:24 -04:00
Michael DeHaan
cd214bc95d Ability to add tags to an organization. 2013-03-23 16:34:52 -04:00
Michael DeHaan
f1bfe780e3 Ability to add a user to an organization 2013-03-23 16:21:23 -04:00
Michael DeHaan
b68ab024ec Listing tags attached to an organization, and basic model/view things around tag details 2013-03-23 16:03:17 -04:00
Michael DeHaan
284c495c11 Added remaining sec tests for adding subobjects to collection. 2013-03-23 15:08:02 -04:00
Michael DeHaan
0c9aa1a498 Testing to whether a user can attach/unattach is now deferred to the model. 2013-03-23 14:31:36 -04:00
Chris Church
4e7827829f Work on executing launch job via celery to run ansible playbook. 2013-03-22 18:56:09 -04:00
Michael DeHaan
85897049d9 misc cleanup 2013-03-22 18:16:40 -04:00
Michael DeHaan
e405c9b746 Simplify some auth code, add a FIXME 2013-03-22 18:07:06 -04:00
Michael DeHaan
8b698d13d0 This makes subobject attachment and detachment generic, making the views much easier to code up. 2013-03-22 16:52:44 -04:00
Michael DeHaan
dc071d1914 More view/model cleanup 2013-03-22 15:57:24 -04:00
Michael DeHaan
f1fda9b5de More view->model cleanup 2013-03-22 15:53:08 -04:00
Michael DeHaan
2c02dc73a0 Moving more logic into the models, more view cleanup 2013-03-22 15:44:32 -04:00
Michael DeHaan
d338794ec2 Starting to defer some business logic to the model classes and out of the views. 2013-03-22 15:36:59 -04:00
Michael DeHaan
ed6096216f Example of how to disassociate an object from a collection, to be generalized later! 2013-03-22 14:48:18 -04:00
Michael DeHaan
d179c91537 Test code for posting an object to a subcollection, and accompanying view code. (In this case organizations/n/projects)
To be generalized later.
2013-03-22 14:23:50 -04:00
Michael DeHaan
7a9cd89d80 Merge conflict 2013-03-22 13:49:26 -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
Michael DeHaan
92509d34b3 More launch job notes. 2013-03-22 12:00:11 -04:00
Michael DeHaan
d336433634 Take notes on launch job features 2013-03-22 11:49:04 -04:00
Michael DeHaan
5a03fdf841 Simplify user model by just using the Django user object. 2013-03-22 11:35:26 -04:00
Michael DeHaan
2dbb77833e Implementation and testing of the organizations projects subresource. 2013-03-21 17:38:53 -04:00
Michael DeHaan
eeb0dfd9ba Add a lot of basic serializers for some of the other object types. These may evolve. 2013-03-21 15:28:40 -04:00
Michael DeHaan
6422214b5e Get resource URLs installed in REST API returns. 2013-03-21 00:12:03 -04:00
Michael DeHaan
690af95a50 Start adding tastypie subresources 2013-03-18 15:49:40 -04:00
Michael DeHaan
91c8d122be Basic API object creation. Auth still stubbed out. 2013-03-15 17:53:44 -04:00
Michael DeHaan
4259f2a94e Show tags correctly in Django admin, use limited CharFields for fields without newlines to render admin appropriately. 2013-03-15 11:45:14 -04:00
Michael DeHaan
b3c21db999 Hosts have groups. 2013-03-15 11:26:32 -04:00
Michael DeHaan
4d20258a7c Add blank=True for optional fields in admin, display objects in admin views according to name. 2013-03-15 11:18:18 -04:00
Chris Church
8b0401b924 Added inventory to admin. 2013-03-13 17:57:25 -04:00
Michael DeHaan
9491453887 Working on migrations 2013-03-13 16:29:51 -04:00