Граф коммитов

154 Коммитов

Автор SHA1 Сообщение Дата
Jesper Noehr 532c81bf63 Added tag 0.2.2 for changeset 6b0364d98837 2009-06-14 12:04:36 +02:00
Jesper Noehr 5c73caab8c bumping version to 0.2.2 2009-06-14 12:04:30 +02:00
Jesper Noehr 35191f0735 cleaning up cset from RobotAdam a bit to be consistent with our style 2009-06-14 12:02:53 +02:00
Adam Lowry df563fae23 POSTs and PUTs with invalid data for the content-type return 400 Bad Request 2009-06-09 17:16:41 -07:00
Matthew Marshall 203912bef9 Fixed a problem with using authentication with the django test client on PUT requests. 2009-06-08 23:17:07 -05:00
Jesper Noehr 1666319ef1 adding theatilla to authors.txt 2009-06-04 11:55:29 +02:00
Anton (Atilla) Tsigularov 075ccc8757 Fixing the Mimer behavior for identifying whether the content should be processed and placed in request.data or kept in the request.POST/PUT.
Most systems do send  a content-type for form-encoded data and that is "application/x-www-form-urlencoded". This resulted in request.content_type to always have a value and not be usable in the handlers.

The request.content_type is now always set to None for normal form-encoded POST submissions, to match the documentation
2009-06-04 11:17:10 +02:00
Jesper Noehr bafa174c05 adding ephelon to authors.txt 2009-06-03 16:50:04 +02:00
Jesper Noehr c6e67c30cd no such thing as import_module in django <1.1 2009-06-03 16:40:54 +02:00
Jesper Noehr db633551f3 importing ephelon's fork, resolving a few conflicts and refactoring oauth datastore caching 2009-06-03 16:37:32 +02:00
Jesper Noehr 042969176e Automated merge with http://bitbucket.org/mtrichardson/django-piston/ 2009-06-03 16:25:52 +02:00
Michael Richardson f5cf7981b5 On display errors, go upstream with a 500 status code. 2009-06-02 15:44:09 -07:00
Michael Richardson 31972a609b Fixed a small bug in exception handling. 2009-06-02 15:11:00 -07:00
James Emerton 292a6f15e9 Moved imports where they should be 2009-06-02 11:42:02 -07:00
James Emerton 79c929cff5 Breaking PEP8 for Jesper =) 2009-06-02 11:33:48 -07:00
Benjamin Pollack c272216fd7 merge with jespern/django-piston 2009-06-02 13:17:41 -04:00
Benjamin Pollack fb4d2be427 add tests for plain object serialization 2009-06-02 13:06:30 -04:00
Jesper Noehr f24d5866d4 applying patch from #45, thanks bmcmurray 2009-06-02 10:19:09 +02:00
James Emerton 96865c3da8 Added CSRF protection to OAuth authorization 2009-06-01 14:55:12 -07:00
Jesper Noehr aa9384664a importing patches from bmcmurray, fixes #42 and #43, adjusting testcases to expect indented json 2009-06-01 12:34:38 +02:00
Jesper Noehr a5b4079d68 any() fallback for <2.5, checking both f.attname and f.name for method overwrites 2009-06-01 12:19:40 +02:00
James Emerton 989d39b968 Created OAuth handshake tests 2009-05-29 17:12:28 -07:00
Benjamin Pollack 603263c676 we're already using inspect; remove use of types and isinstance 2009-05-27 11:31:21 -04:00
Benjamin Pollack 041944c1e1 check objects for an __emittable__ property 2009-05-27 11:21:36 -04:00
Jesper Noehr 76b7d0e291 adding Brian McMurray to AUTHORS.txt 2009-05-27 15:19:27 +02:00
Michael Richardson ef01d261bf Return authentication.HttpBasicAuthentication to its former pluggable state. 2009-05-25 15:42:44 -07:00
Jesper Noehr 2e6dbc9c27 missing space 2009-05-25 16:14:03 +02:00
Jesper Noehr 43afb17b35 using contrib.auth.authenticate rather than our own authentication for django stuff. fixes #41. thanks bmcmurray 2009-05-25 16:12:08 +02:00
Jesper Noehr 1b5df5c116 only dispatching to anonymous handler is it wants the method. using AnonymousUser instead of False for failed auth 2009-05-20 13:32:33 +02:00
Jesper Noehr 6d944a8f70 bumping version to 0.2.1 2009-05-20 11:47:06 +02:00
Jesper Noehr 4cb5c93bab corrected import of utils 2009-05-20 11:41:39 +02:00
Jesper Noehr b500292e72 adding documentation template for generating documentation for the handlers you've defined, activated it in the blogserver example 2009-05-20 11:29:32 +02:00
Jesper Noehr e8a35b8810 Added tag 0.2.1 for changeset a14b7b6ffa03 2009-05-19 11:55:25 +02:00
Jesper Noehr e82de17982 coerce_put_post is now mod_python compatible, fixes #39 2009-05-19 11:55:13 +02:00
Horst Gutmann cc3f1fe508 Made a minimal change to utils.coerce_put_post to support file-uploads
Previously request.FILES got not populated.
2009-05-19 11:20:33 +02:00
Horst Gutmann 0e43258e2b utils.Mixer.is_multipart now only checks the request header.
This should fix some issues with testing multipart requests.
2009-05-19 11:14:11 +02:00
James Emerton 8c9ac13a33 Now caching the configured DataStore class object 2009-05-17 22:57:05 -07:00
Adam Lowry f81b2812fe Changed message to msg in HttpStatusCode to avoid 2.6 DeprecationWarnings. 2009-05-17 14:19:14 -07:00
James Emerton d4a5b57971 Now using OAuth DataStore from settings.OAUTH_DATA_STORE 2009-05-16 17:54:24 -07:00
James Emerton 3aa6d7a460 Added .svn to .hgignore 2009-05-16 17:06:20 -07:00
Jesper Noehr b080992c05 not including absolute_uri unless asked for 2009-05-15 17:06:56 +02:00
Jesper Noehr 41c6b17b9e can exclude absolute_uri now 2009-05-15 16:56:14 +02:00
Jesper Noehr a5351a15de adding Michael Richardson to authors 2009-05-15 11:04:10 +02:00
Michael Richardson 2d7ce87be3 Add a basic EchoHandler and tests to show that the validation decorator is now working. 2009-05-15 01:40:38 -07:00
Michael Richardson 10730cf120 Catch the FormValidationError exception and then access its form attribute. 2009-05-15 01:26:03 -07:00
Jesper Noehr 09280be3ce adding 2 tests with abstract base models 2009-05-15 09:51:33 +02:00
Jesper Noehr 1ff47d9bea adding Xavier Barbosa to authors 2009-05-14 11:55:09 +02:00
Jesper Noehr c97f57ba1a cleaning up some code from johnnoonr, accepting his qs fork 2009-05-14 11:50:39 +02:00
Jesper Noehr c855684e85 Automated merge with http://bitbucket.org/johnnoonr/django-piston-qs/ 2009-05-14 11:47:36 +02:00
Jesper Noehr e0d7c01a20 Automated merge with http://bitbucket.org/zerok/django-piston-multiversion-tests/ 2009-05-13 15:15:16 +02:00