Commit Graph
10120 Commits
Author SHA1 Message Date
Michael DeHaan 0fa9255ab1 Add support for related resources, and all present related resources on the organization object.
Implementation of sub services still on deck.
2013-03-21 15:11:47 -04:00
Michael DeHaan f8e57ddd3b Deleted objects are not really deleted but now appear to be via REST. 2013-03-21 14:20:59 -04:00
Michael DeHaan c189cfcddb Deletes are operational plus access control hooks for deletes. 2013-03-21 11:06:47 -04:00
Michael DeHaan 843164ba04 PUT is operational. 2013-03-21 10:44:01 -04:00
Michael DeHaan 9237cd6176 Streamlining RBAC layer code, adding tests for PUT operations. 2013-03-21 10:25:49 -04:00
Michael DeHaan 8cae93c55f Move RBAC code to seperate file. 2013-03-21 00:34:59 -04:00
Michael DeHaan 060d7c307f Only list active organizations 2013-03-21 00:31:07 -04:00
Michael DeHaan c7328703fa Added baseline for object GET tests, with one failing test to correct. 2013-03-21 00:27:04 -04:00
Michael DeHaan b5fcf6b469 Test that if no users are in the org they get an empty list when listing orgs 2013-03-21 00:16:47 -04:00
Michael DeHaan f8d10e2204 Make a note we are not using tastypie, Django REST framework is much cleaner. 2013-03-21 00:14:16 -04:00
Michael DeHaan 6422214b5e Get resource URLs installed in REST API returns. 2013-03-21 00:12:03 -04:00
Michael DeHaan 27c515f281 Basic API RBAC filtering operational! 2013-03-20 23:14:09 -04:00
Michael DeHaan 7722e414e2 Add functions for checking size of paginated results 2013-03-20 22:47:51 -04:00
Michael DeHaan 3bc3b1f767 Convert from tastypie tests to pure Django unit tests. 2013-03-20 22:21:17 -04:00
Michael DeHaan d6aea8edcb Switch over to django-rest-framework from tastypie. Less black magic, seems to just work :) 2013-03-19 22:26:35 -04:00
Michael DeHaan b95f4e0e13 Basic test structure in place, some authorization tests. 2013-03-19 18:33:01 -04:00
Michael DeHaan 23e685bba8 make test database use sqlite 2013-03-19 10:27:14 -04:00
Michael DeHaan cf995c302e This library is now vendored since we had to hack it some. 2013-03-19 00:04:26 -04:00
Michael DeHaan 3f4842d9e7 Get nested resources in tastypie largely operational. 2013-03-19 00:02:52 -04:00
Michael DeHaan 728f9961b4 HTTP delete operational, though we'll soon override this anyway 2013-03-18 19:43:34 -04:00
Michael DeHaan 0758a28c08 Get tastypie relationships operational, consolidate resources into one file for easier sharing 2013-03-18 19:32:03 -04:00
Michael DeHaan b7133ca35a Some initial hammering of the python API client layer into shape. 2013-03-18 17:31:14 -04:00
Michael DeHaan 0bb36d41d7 Clean up CLI boilerplate assertion handling somewhat. 2013-03-18 15:56:53 -04:00
Michael DeHaan 03204e1027 show exceptions in plain text, not HTML 2013-03-18 15:53:55 -04:00
Michael DeHaan 690af95a50 Start adding tastypie subresources 2013-03-18 15:49:40 -04:00
Michael DeHaan 1d6c035df1 Remove unused web template 2013-03-15 23:16:29 -04:00
Michael DeHaan c0a8f72b3b Remove previous webapp start. 2013-03-15 23:15:34 -04:00
Michael DeHaan b2771b5c12 Add comments on planning docs 2013-03-15 23:12:17 -04:00
Michael DeHaan b06c14e220 Remove UI from effort from before, this will be redone. 2013-03-15 22:59:16 -04:00
Michael DeHaan 86f9d859b9 Cleanup TODO 2013-03-15 22:43:08 -04:00
Michael DeHaan bc69076f69 Operational authorization via tastypie. 2013-03-15 22:35:50 -04:00
Michael DeHaan 91c8d122be Basic API object creation. Auth still stubbed out. 2013-03-15 17:53:44 -04:00
Michael DeHaan 366fefe419 add very early start to cli, add hammock to requirements.txt 2013-03-15 14:59:46 -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
Michael DeHaan 159dd542df Add Django admin stubs for all existing model objects 2013-03-15 10:22:16 -04:00
Chris Church a1fb81c4f4 Added basic celery support and configuration. 2013-03-14 16:11:14 -04:00
Chris Church da9a31b599 Added sample angularjs page to be served by Django, updated admin styles. 2013-03-14 15:52:35 -04:00
Michael DeHaan 1117fb0656 Add organizations resource file, update TODO & gitignore 2013-03-13 18:49:09 -04:00
Michael DeHaan 2cea592c6c get organizations API working, hello REST world! 2013-03-13 17:58:51 -04:00
Chris Church 8b0401b924 Added inventory to admin. 2013-03-13 17:57:25 -04:00
Chris Church 22a9aad102 Added sample admin.py. 2013-03-13 17:44:54 -04:00
Michael DeHaan 6ff6769a06 Tastypie URLs go here 2013-03-13 17:29:20 -04:00
Michael DeHaan b7b737e38d Add migration file 2013-03-13 17:21:16 -04:00
Michael DeHaan 273b447250 Change the way we sync, add notes about superuser setup. 2013-03-13 17:20:50 -04:00
Michael DeHaan ee4160af93 add TODO file 2013-03-13 17:15:23 -04:00
Chris Church ffcc869de2 Updates to enable admin. 2013-03-13 17:15:00 -04:00
Chris Church df6bb82c33 Added wsgi application. 2013-03-13 16:55:44 -04:00
Michael DeHaan 0a3c59daf8 Don't use devserver 2013-03-13 16:54:01 -04:00