Michael DeHaan
f1fda9b5de
More view->model cleanup
2013-03-22 15:53:08 -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
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
Michael DeHaan
5a03fdf841
Simplify user model by just using the Django user object.
2013-03-22 11:35:26 -04:00
Chris Church
ea536ae903
Minor test/view fixes.
2013-03-22 11:22:04 -04:00
Michael DeHaan
7f0935ba66
Handle post to corrections by overriding post to not save the object. Work in progress.
2013-03-22 09:50:42 -04:00
Michael DeHaan
2dbb77833e
Implementation and testing of the organizations projects subresource.
2013-03-21 17:38:53 -04:00
Michael DeHaan
5c79112c82
Various stub view logic (tests pending) for subresources under the organization.
2013-03-21 15:43:35 -04:00
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
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
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
14b0a1ed27
Rename acom to lib to avoid confusion with repo name.
2013-03-13 15:32:22 -04:00