Commit Graph

20 Commits

Author SHA1 Message Date
Tom Christie
c28b719333 Refactored throttling 2012-09-04 21:58:35 +01:00
Tom Christie
a092a72844 View -> APIView 2012-09-03 16:54:17 +01:00
Tom Christie
73cc77553e Drop ImmediateResponse 2012-08-26 23:06:52 +01:00
Tom Christie
aed26b218e Drop out resources & mixins 2012-08-24 22:11:00 +01:00
Tom Christie
87b363f7bc Remove PermissionsMixin 2012-08-24 20:57:10 +01:00
Sébastien Piquemal
afd490238a authentication refactor : request.user + tests pass 2012-02-23 22:47:45 +02:00
Sébastien Piquemal
5bb6301b7f Response as a subclass of HttpResponse - first draft, not quite there yet. 2012-02-02 18:19:44 +02:00
Tom Christie
07349597ab whitespace fixes 2011-12-29 13:31:12 +00:00
Tom Christie
1cb84cd4e8 Merge throttling and fix up a coupla things 2011-06-15 14:41:09 +01:00
Tom Christie
323d52e7c4 Bits of cleaning up for the throttling 2011-06-14 11:08:29 +01:00
markotibold
437a062b6c implemeneted #28 2011-06-13 20:42:37 +02:00
markotibold
f0b3b9d7ea small fix 2011-06-11 20:29:01 +02:00
markotibold
7bed352e97 refactored and added new tests for per-user, per-view, and per-resource htrottling 2011-06-11 20:21:24 +02:00
markotibold
f854bc9065 * fixed test_request_throttling_is_per_user - it didn't make a request for the 2nd user
* implemented per_resource_throttling  + test

needs refactoring
2011-06-11 03:16:35 +02:00
markotibold
87db5fbda5 implemented per user throttling
(commit to permissions.py fixes a bug that came out of the unittest)
2011-06-11 01:49:22 +02:00
markotibold
63d086ea11 added some throttling tetst. Can't get per-user-throttling testing to work though. :( any help? 2011-06-10 23:53:32 +02:00
Tom Christie
370274f564 Allow views to return HttpResponses. Add initial() hook method 2011-05-24 10:27:24 +01:00
Tom Christie
8f58ee489d Getting the API into shape 2011-05-10 10:49:28 +01:00
Tom Christie
d373b3a067 Decouple views and resources 2011-05-04 09:21:17 +01:00
Tom Christie
659898ffaf Inital pass at generic permissions, throttling etc. 2011-04-27 18:08:32 +01:00