Commit Graph

  • 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
  • b38cb80efa Finished acom_inventory commnand tests. Chris Church 2013-03-31 11:40:13 -04:00
  • cece190c54 Reapplied migrations since change, work on tests for inventory script. Chris Church 2013-03-29 02:36:11 -04:00
  • a61a353829 Start on tests for inventory command and celery task, stub for playbook callback module. Chris Church 2013-03-29 01:02:07 -04:00
  • bbbe1b5a93 update TODO.md Michael DeHaan 2013-03-27 19:09:57 -04:00
  • 00d4f67f22 When disassociating objects that are foreign key relationships this implies a delete, so also move the name aside to allow for reuse. Michael DeHaan 2013-03-27 18:55:49 -04:00
  • b8ee694d82 Ability to remove hosts and inventory from groups. Michael DeHaan 2013-03-27 18:54:30 -04:00
  • 6e15d7a913 Ability to add child groups to groups. Michael DeHaan 2013-03-27 18:17:21 -04:00
  • 4a2673482b Update the inventory script to follow the new variabledata schema. This is untested and may need revisions. Michael DeHaan 2013-03-26 22:28:35 -04:00
  • 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. Michael DeHaan 2013-03-26 22:24:03 -04:00
  • c2bffe47d4 Fixup attach logic for inventory hosts/groups on subcollections. Pass serializer errors through on conflict scenarios. Michael DeHaan 2013-03-26 19:21:18 -04:00
  • 88b171bd5b Add tests for posting new hosts via subcollection. Michael DeHaan 2013-03-26 18:53:39 -04:00
  • 5ac7cb9a93 Update the API doc to indicate usage of posts of new objects to convience endpoints. Michael DeHaan 2013-03-26 18:50:28 -04:00
  • 4aed4f6405 Add more 'auto-associate by posting new object' end points. Michael DeHaan 2013-03-26 18:26:40 -04:00
  • fa54f7ad66 This allows for creation of subresources when posting new objects to a subcollection. Michael DeHaan 2013-03-26 18:18:05 -04:00
  • 3625039d47 Start of group support. Michael DeHaan 2013-03-26 16:57:08 -04:00
  • 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. Michael DeHaan 2013-03-26 14:51:14 -04:00
  • 5e91e0a43c Working on Hosts and Groups Michael DeHaan 2013-03-26 14:44:12 -04:00
  • a4ae1012bc Update license headers on test code. Michael DeHaan 2013-03-25 19:02:52 -04:00
  • dbfd764acd Improve the can_user_add model hook to allow it to pre-examine data for context. Michael DeHaan 2013-03-25 19:00:07 -04:00
  • be1bd56ca2 Explain the RBAC model around inventory usage and adapt a view to match. Michael DeHaan 2013-03-25 17:36:51 -04:00
  • 681b82d378 Start of basic RBAC access control around inventory. Michael DeHaan 2013-03-25 17:21:17 -04:00
  • dd02a79cc1 Fixing up existing inventory tests (all clear) Michael DeHaan 2013-03-25 16:43:42 -04:00
  • 77695bd959 Working on surfacing inventory objects. Michael DeHaan 2013-03-25 16:41:21 -04:00
  • 036458b823 Added stub inventory test cases we want to cover. Michael DeHaan 2013-03-25 14:50:45 -04:00
  • 9e60552a81 Expand API guide. Michael DeHaan 2013-03-24 16:15:57 -04:00
  • 44372ed191 Start of API guide + some whitespace removal. Michael DeHaan 2013-03-24 15:54:57 -04:00
  • 175f3c23da Update admin code to recent model field renames Michael DeHaan 2013-03-24 15:14:47 -04:00
  • de306b97ef Add migration Michael DeHaan 2013-03-24 15:06:33 -04:00
  • 2eaa661ce6 Audit trail model has changed so disable the admin for now. Michael DeHaan 2013-03-24 15:05:34 -04:00
  • 18eaec143c Add related resources from a user object, as a rapid way to list what organizations or projects they belong to. Michael DeHaan 2013-03-24 15:00:01 -04:00
  • 1ae2e69e8a Update TODO. Michael DeHaan 2013-03-24 14:26:38 -04:00
  • fa157a3368 Add a /api/v1/me URL, which is a quick way to find your user record. Michael DeHaan 2013-03-24 14:23:37 -04:00
  • f02aad42c0 User deletion modification, and overriding the URL for the user objects. Michael DeHaan 2013-03-24 14:14:59 -04:00
  • 129380e119 A post hook that allows user creation with passwords being set appropriately, and associated tests. Michael DeHaan 2013-03-24 13:31:46 -04:00
  • aa2915a151 Create a mechanism for filtering put details, and now users can change their own passwords but not rename themselves, etc. Michael DeHaan 2013-03-24 12:36:42 -04:00
  • a071ff65e4 Add copyright headers. Michael DeHaan 2013-03-23 18:43:11 -04:00
  • 82af679128 Add stub tests for everything to do with users. Michael DeHaan 2013-03-23 18:36:28 -04:00
  • 207c883a7d Organize test files into subdirectories Michael DeHaan 2013-03-23 18:28:38 -04:00
  • 519b5ab77c Add part of list to show audit trail by organization, still need to hook create to auto-establish the audit trail records. Michael DeHaan 2013-03-23 17:07:24 -04:00
  • cd0fee5406 Added tests for disassociation of other object types. Michael DeHaan 2013-03-23 17:01:42 -04:00
  • 1213f2a981 Test that you can't post to an audit trail collection (ever), and a switch to control postability to sub lists. Michael DeHaan 2013-03-23 16:50:25 -04:00
  • cd214bc95d Ability to add tags to an organization. Michael DeHaan 2013-03-23 16:34:52 -04:00
  • f1bfe780e3 Ability to add a user to an organization Michael DeHaan 2013-03-23 16:21:23 -04:00
  • b68ab024ec Listing tags attached to an organization, and basic model/view things around tag details Michael DeHaan 2013-03-23 16:03:17 -04:00
  • 2484f7eb4a Listing the admins of an organization. Michael DeHaan 2013-03-23 15:43:59 -04:00
  • 6a45aa2823 Added ability to list users under an organization, model additions to support. Simplified queryset lookup for various models. Michael DeHaan 2013-03-23 15:34:16 -04:00
  • 284c495c11 Added remaining sec tests for adding subobjects to collection. Michael DeHaan 2013-03-23 15:08:02 -04:00
  • a1c614500c Adding tests for remaining cases around adding subobjects to collections Michael DeHaan 2013-03-23 14:38:54 -04:00
  • 0c9aa1a498 Testing to whether a user can attach/unattach is now deferred to the model. Michael DeHaan 2013-03-23 14:31:36 -04:00
  • 4e7827829f Work on executing launch job via celery to run ansible playbook. Chris Church 2013-03-22 18:55:10 -04:00
  • 43e6927a1f update TODO.md Michael DeHaan 2013-03-22 18:30:45 -04:00
  • 85897049d9 misc cleanup Michael DeHaan 2013-03-22 18:16:40 -04:00
  • e405c9b746 Simplify some auth code, add a FIXME Michael DeHaan 2013-03-22 18:07:06 -04:00
  • 8b698d13d0 This makes subobject attachment and detachment generic, making the views much easier to code up. Michael DeHaan 2013-03-22 16:52:44 -04:00
  • dc071d1914 More view/model cleanup Michael DeHaan 2013-03-22 15:57:24 -04:00
  • f1fda9b5de More view->model cleanup Michael DeHaan 2013-03-22 15:53:08 -04:00
  • 2c02dc73a0 Moving more logic into the models, more view cleanup Michael DeHaan 2013-03-22 15:44:32 -04:00
  • d338794ec2 Starting to defer some business logic to the model classes and out of the views. Michael DeHaan 2013-03-22 15:36:59 -04:00
  • 6b61381e32 Move base view code to seperate file, start of generalizing Michael DeHaan 2013-03-22 15:22:30 -04:00
  • 71cc409735 Clarify remaining org tests to add. Michael DeHaan 2013-03-22 14:58:55 -04:00
  • 580c6335bd Clarify purpose of test in comments. Michael DeHaan 2013-03-22 14:57:01 -04:00
  • f0aabcca43 Add a test to show you cannot put to a subresource collection URL Michael DeHaan 2013-03-22 14:55:55 -04:00
  • ed6096216f Example of how to disassociate an object from a collection, to be generalized later! Michael DeHaan 2013-03-22 14:48:18 -04:00
  • d179c91537 Test code for posting an object to a subcollection, and accompanying view code. (In this case organizations/n/projects) Michael DeHaan 2013-03-22 14:23:50 -04:00
  • a59d26f42b Add migration Michael DeHaan 2013-03-22 13:50:50 -04:00
  • 7a9cd89d80 Merge conflict Michael DeHaan 2013-03-22 13:49:26 -04:00
  • 935463e3ec Updated description to be optional, added migration for description change and removal of application user model. Chris Church 2013-03-22 13:41:35 -04:00
  • c592c3c392 Hide fields not needed for the user admin. Chris Church 2013-03-22 12:01:31 -04:00
  • 92509d34b3 More launch job notes. Michael DeHaan 2013-03-22 12:00:11 -04:00
  • d336433634 Take notes on launch job features Michael DeHaan 2013-03-22 11:49:04 -04:00
  • bd3e4ba943 Use request.user.is_anonymous versus doing type check. Michael DeHaan 2013-03-22 11:37:15 -04:00
  • 5a03fdf841 Simplify user model by just using the Django user object. Michael DeHaan 2013-03-22 11:35:26 -04:00
  • ea536ae903 Minor test/view fixes. Chris Church 2013-03-22 11:22:04 -04:00
  • 7f0935ba66 Handle post to corrections by overriding post to not save the object. Work in progress. Michael DeHaan 2013-03-22 09:50:42 -04:00
  • cb381849f3 Updated requirements/settings to use new version of devserver. Chris Church 2013-03-21 11:15:24 -04:00
  • 2dbb77833e Implementation and testing of the organizations projects subresource. Michael DeHaan 2013-03-21 17:38:53 -04:00
  • 5c79112c82 Various stub view logic (tests pending) for subresources under the organization. Michael DeHaan 2013-03-21 15:43:35 -04:00
  • eeb0dfd9ba Add a lot of basic serializers for some of the other object types. These may evolve. Michael DeHaan 2013-03-21 15:28:40 -04:00
  • 0fa9255ab1 Add support for related resources, and all present related resources on the organization object. Michael DeHaan 2013-03-21 15:11:47 -04:00
  • f8e57ddd3b Deleted objects are not really deleted but now appear to be via REST. Michael DeHaan 2013-03-21 14:20:59 -04:00
  • c189cfcddb Deletes are operational plus access control hooks for deletes. Michael DeHaan 2013-03-21 11:06:47 -04:00
  • 843164ba04 PUT is operational. Michael DeHaan 2013-03-21 10:44:01 -04:00
  • 9237cd6176 Streamlining RBAC layer code, adding tests for PUT operations. Michael DeHaan 2013-03-21 10:25:49 -04:00