Commit Graph

  • 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
  • 8cae93c55f Move RBAC code to seperate file. Michael DeHaan 2013-03-21 00:34:59 -04:00
  • 060d7c307f Only list active organizations Michael DeHaan 2013-03-21 00:31:07 -04:00
  • c7328703fa Added baseline for object GET tests, with one failing test to correct. Michael DeHaan 2013-03-21 00:27:04 -04:00
  • b5fcf6b469 Test that if no users are in the org they get an empty list when listing orgs Michael DeHaan 2013-03-21 00:16:47 -04:00
  • f8d10e2204 Make a note we are not using tastypie, Django REST framework is much cleaner. Michael DeHaan 2013-03-21 00:14:16 -04:00
  • 6422214b5e Get resource URLs installed in REST API returns. Michael DeHaan 2013-03-21 00:12:03 -04:00
  • 27c515f281 Basic API RBAC filtering operational! Michael DeHaan 2013-03-20 23:14:09 -04:00
  • 7722e414e2 Add functions for checking size of paginated results Michael DeHaan 2013-03-20 22:47:51 -04:00
  • 3bc3b1f767 Convert from tastypie tests to pure Django unit tests. Michael DeHaan 2013-03-20 22:21:17 -04:00
  • d6aea8edcb Switch over to django-rest-framework from tastypie. Less black magic, seems to just work :) Michael DeHaan 2013-03-19 22:26:35 -04:00
  • b95f4e0e13 Basic test structure in place, some authorization tests. Michael DeHaan 2013-03-19 18:33:01 -04:00
  • 23e685bba8 make test database use sqlite Michael DeHaan 2013-03-19 10:27:14 -04:00
  • cf995c302e This library is now vendored since we had to hack it some. Michael DeHaan 2013-03-19 00:04:26 -04:00
  • 3f4842d9e7 Get nested resources in tastypie largely operational. Michael DeHaan 2013-03-19 00:02:52 -04:00
  • 728f9961b4 HTTP delete operational, though we'll soon override this anyway Michael DeHaan 2013-03-18 19:43:34 -04:00
  • 0758a28c08 Get tastypie relationships operational, consolidate resources into one file for easier sharing Michael DeHaan 2013-03-18 19:32:03 -04:00
  • b7133ca35a Some initial hammering of the python API client layer into shape. Michael DeHaan 2013-03-18 17:31:14 -04:00
  • 0bb36d41d7 Clean up CLI boilerplate assertion handling somewhat. Michael DeHaan 2013-03-18 15:56:53 -04:00
  • 03204e1027 show exceptions in plain text, not HTML Michael DeHaan 2013-03-18 15:53:55 -04:00
  • 690af95a50 Start adding tastypie subresources Michael DeHaan 2013-03-18 15:49:40 -04:00
  • 1d6c035df1 Remove unused web template Michael DeHaan 2013-03-15 23:16:29 -04:00
  • c0a8f72b3b Remove previous webapp start. Michael DeHaan 2013-03-15 23:15:34 -04:00
  • b2771b5c12 Add comments on planning docs Michael DeHaan 2013-03-15 23:12:17 -04:00
  • b06c14e220 Remove UI from effort from before, this will be redone. Michael DeHaan 2013-03-15 22:59:16 -04:00
  • 86f9d859b9 Cleanup TODO Michael DeHaan 2013-03-15 22:43:08 -04:00
  • bc69076f69 Operational authorization via tastypie. Michael DeHaan 2013-03-15 22:35:50 -04:00
  • 91c8d122be Basic API object creation. Auth still stubbed out. Michael DeHaan 2013-03-15 17:53:44 -04:00
  • 366fefe419 add very early start to cli, add hammock to requirements.txt Michael DeHaan 2013-03-15 14:59:46 -04:00
  • 4259f2a94e Show tags correctly in Django admin, use limited CharFields for fields without newlines to render admin appropriately. Michael DeHaan 2013-03-15 11:45:14 -04:00
  • b3c21db999 Hosts have groups. Michael DeHaan 2013-03-15 11:26:32 -04:00
  • 4d20258a7c Add blank=True for optional fields in admin, display objects in admin views according to name. Michael DeHaan 2013-03-15 11:18:18 -04:00
  • 159dd542df Add Django admin stubs for all existing model objects Michael DeHaan 2013-03-15 10:21:56 -04:00
  • a1fb81c4f4 Added basic celery support and configuration. Chris Church 2013-03-14 16:11:14 -04:00
  • da9a31b599 Added sample angularjs page to be served by Django, updated admin styles. Chris Church 2013-03-14 15:52:35 -04:00
  • 1117fb0656 Add organizations resource file, update TODO & gitignore Michael DeHaan 2013-03-13 18:49:09 -04:00
  • 2cea592c6c get organizations API working, hello REST world! Michael DeHaan 2013-03-13 17:58:06 -04:00
  • 8b0401b924 Added inventory to admin. Chris Church 2013-03-13 17:57:25 -04:00
  • 22a9aad102 Added sample admin.py. Chris Church 2013-03-13 17:44:54 -04:00
  • 6ff6769a06 Tastypie URLs go here Michael DeHaan 2013-03-13 17:29:20 -04:00
  • b7b737e38d Add migration file Michael DeHaan 2013-03-13 17:21:16 -04:00
  • 273b447250 Change the way we sync, add notes about superuser setup. Michael DeHaan 2013-03-13 17:20:50 -04:00
  • ee4160af93 add TODO file Michael DeHaan 2013-03-13 17:07:38 -04:00
  • ffcc869de2 Updates to enable admin. Chris Church 2013-03-13 17:15:00 -04:00
  • df6bb82c33 Added wsgi application. Chris Church 2013-03-13 16:55:34 -04:00
  • 0a3c59daf8 Don't use devserver Michael DeHaan 2013-03-13 16:54:01 -04:00
  • 2714e36268 Rearranged settings. Chris Church 2013-03-13 16:47:58 -04:00
  • 9491453887 Working on migrations Michael DeHaan 2013-03-13 16:29:51 -04:00
  • 6c8b4de4c1 Change SQL backend in settings template, tweak playbook Michael DeHaan 2013-03-13 16:13:06 -04:00
  • b97193e6a0 Pull requirements from pip so we get later things on CentOS 6, etc Michael DeHaan 2013-03-13 16:06:19 -04:00