Commit Graph

13 Commits

Author SHA1 Message Date
Tom Christie
323d52e7c4 Bits of cleaning up for the throttling 2011-06-14 11:08:29 +01:00
Tom Christie
fb26b11a75 Add PerViewThrottling and PerResourceThrottling to __all__ 2011-06-14 10:31:18 +01:00
Tom Christie
612d335c4c Add PerViewThrottling and PerResourceThrottling to __all__ 2011-06-14 10:30:29 +01:00
markotibold
5be359fb29 * implemented Tom's nice config string for the trotlle rate e.g. '3/sec'
* We now have per-user, per-view and per-resource throttling

* Added a new exxception class as a convenience to detect pointless throttles

* refactored
2011-06-11 20:34:54 +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
8ef333a29f implemented testing of per user throttling 2011-06-11 01:48:10 +02:00
markotibold
82c4ca9612 The core is now documented from the docstrings in the source. 2011-05-19 19:36:30 +02:00
Tom Christie
e7f8c06dbb Merge in marko's doc markup 2011-05-19 08:49:57 +01:00
Tom Christie
8c3280f9c0 data flattening needs to go into resource 2011-05-19 08:36:55 +01:00
markotibold
92c015e049 Most of the actual work so far has been markup really. 2011-05-18 22:13:48 +02: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