Commit Graph

89 Commits

Author SHA1 Message Date
Tom Christie
1e04790d50 Fixing some of the last blocking issues 2011-05-16 14:11:36 +01:00
Tom Christie
e92002ddde nested resources now working 2011-05-16 09:14:01 +01:00
Tom Christie
47645319c9 Ensure there is always a resource attribute set 2011-05-13 17:46:31 +01:00
Tom Christie
c1b9af8453 Docs on resources 2011-05-13 17:39:52 +01:00
Tom Christie
325e63a3a7 Sorting out resources. Doing some crazy magic automatic url resolving stuff. Yum. 2011-05-13 17:19:12 +01:00
Tom Christie
8f6bcac7f3 cleanup 2011-05-13 09:59:36 +01:00
Tom Christie
44c8b89c60 _perform_form_overloading becomes transparent 2011-05-12 16:03:14 +01:00
Tom Christie
a31a68d6cb yet more API cleanup 2011-05-12 15:14:22 +01:00
Tom Christie
b5b231a874 yet more API cleanup 2011-05-12 15:11:14 +01:00
Tom Christie
15f9e7c566 refactoring resource specfic stuff into ResourceMixin - validators now defunct 2011-05-12 12:55:13 +01:00
Tom Christie
4d12679675 More tests, getting new serialization into resource 2011-05-10 16:01:58 +01:00
Tom Christie
a2575c1191 Bits of cleanup 2011-05-10 12:59:13 +01:00
Tom Christie
cc4c9a9518 Bits of cleanup 2011-05-10 12:51:49 +01:00
Tom Christie
144d52c7b3 Rename resource to view in few remaining places in renderers (because that's what it now is) 2011-05-10 12:28:11 +01:00
Tom Christie
527e4ffdf7 renderer API work 2011-05-10 12:21:48 +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
8756664e06 emitters -> renderers 2011-05-02 19:49:12 +01:00
Tom Christie
b358fbdbe9 More refactoring - move various less core stuff into utils etc 2011-04-29 14:32:56 +01:00
Tom Christie
93aa065fa9 emitters -> renderers 2011-04-28 19:54:30 +01:00
Tom Christie
5921e5c84e Fix up ModelResource issues 2011-04-27 18:53:54 +01:00
Tom Christie
5a59f339c1 Urg. Fixing broken merge 2011-04-27 18:44:21 +01:00
Tom Christie
b18302586c Urg. Fix broken merging. 2011-04-27 18:36:43 +01:00
Tom Christie
da60f68f50 Merge previous checkins 2011-04-27 18:20:29 +01:00
Tom Christie
659898ffaf Inital pass at generic permissions, throttling etc. 2011-04-27 18:08:32 +01:00
Tom Christie
028851bfa1 Fix up tests and examples after refactoring 2011-04-27 18:07:28 +01:00
tom christie tom@tomchristie.com
b508ca38d4 CSRF validation will only be applied to POST requests, so let's only load .RAW_CONTENT in those cases 2011-04-26 21:08:36 +01:00
tom christie tom@tomchristie.com
3d15adaeb1 Fixes #35 - Import json from django's built-in package (Does cleverness in determing best lib to use) 2011-04-26 20:20:31 +01:00
Tom Christie
762a52edde Fix some compat issues with json/simplejson 2011-04-25 04:50:28 +01:00
Tom Christie
84a4fd3ea1 tidy up 2011-04-25 04:48:55 +01:00
Tom Christie
4692374e0d Generic permissions added, allowed_methods and anon_allowed_methods now defunct, dispatch now mirrors View.dispatch more nicely 2011-04-25 01:03:23 +01:00
Tom Christie
cb4b4f6be6 Remove some temporary debugging stuff 2011-04-11 17:18:03 +01:00
Tom Christie
18bbda84b9 depercate auth and content arguments to the request handler methods - yea :) 2011-04-11 17:13:11 +01:00
Tom Christie
6096b50dbe request.py -> mixins.py 2011-04-11 16:54:02 +01:00
Tom Christie
349ffcaf5f Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 2011-04-11 16:38:00 +01:00
Tom Christie
a1ed565081 Cleanup 2011-04-11 15:09:52 +01:00
Tom Christie
29db0a60fb Even more validator tests passing after refactor 2011-04-11 15:06:29 +01:00
Tom Christie
a9df917d10 Lots of validator tests passing after refactor 2011-04-11 15:03:49 +01:00
Tom Christie
136c9b5271 Tweak 2011-04-11 13:52:16 +01:00
Tom Christie
cb9fb6ef2f Refactoring of authentication/permissions 2011-04-11 13:45:38 +01:00
Tom Christie
941742593c Remove last bits of ParserMixin 2011-04-11 13:22:54 +01:00
Tom Christie
92b5a455da Test cleanup 2011-04-11 13:14:51 +01:00
Tom Christie
dad1fa5798 method overloading tests passing 2011-04-11 13:13:25 +01:00
Tom Christie
0fe8d1a15d form overloading tests passing 2011-04-11 12:19:28 +01:00
Tom Christie
e29a3f4cf1 More tests passing 2011-04-11 11:56:07 +01:00
Tom Christie
d4ed178456 More tests passing 2011-04-11 11:54:26 +01:00
Tom Christie
338b5213fa More tests passing 2011-04-11 11:47:22 +01:00
Tom Christie
2fe0e58435 Start refactoring tests 2011-04-11 11:24:14 +01:00
Tom Christie
ec2a300a2b Start refactoring tests 2011-04-11 11:21:41 +01:00
Carmen Wick
bbab859ae1 Better error handling for Basic authentication. Catch exceptions that could be thrown due to malformed input 2011-04-04 18:40:18 -07:00