Michael DeHaan
5e6ad5a244
Added /api/v1/groups/N/hosts and /api/v1/groups/N/all_hosts/
2013-04-16 17:41:20 -04:00
Michael DeHaan
ec0e0f60dc
Some TODO updates, a model revision, and getting association/disassociation working on user/team creds.
2013-04-15 19:19:54 -04:00
Michael DeHaan
09cca99c69
Just use plain GPL.
2013-04-09 01:05:55 -04:00
Michael DeHaan
d1f2f871e7
Column name not unique and assorted work on credentials REST
2013-04-04 12:07:12 -04:00
Michael DeHaan
b20a29b458
Working on surfacing credentials via REST.
2013-04-02 15:00:16 -04:00
Michael DeHaan
184a68b0f9
License change. GPLv3 -> Affero GPLv3.
2013-04-01 17:44:30 -04:00
Michael DeHaan
00d4f67f22
When disassociating objects that are foreign key relationships this implies a delete, so also move the name aside to allow for reuse.
2013-03-27 18:55:49 -04:00
Michael DeHaan
b8ee694d82
Ability to remove hosts and inventory from groups.
2013-03-27 18:54:30 -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
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
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
207c883a7d
Organize test files into subdirectories
2013-03-23 18:28:38 -04:00
Michael DeHaan
1213f2a981
Test that you can't post to an audit trail collection (ever), and a switch to control postability to sub lists.
2013-03-23 16:50:25 -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
6a45aa2823
Added ability to list users under an organization, model additions to support. Simplified queryset lookup for various models.
2013-03-23 15:34:16 -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
Michael DeHaan
85897049d9
misc cleanup
2013-03-22 18:16:40 -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
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
6b61381e32
Move base view code to seperate file, start of generalizing
2013-03-22 15:22:30 -04:00