Horst Gutmann
|
de2a52b7db
|
The test-environment has now two testrunners: test-1.0 and test-1.1
|
2009-05-13 15:13:15 +02:00 |
Jesper Noehr
|
bc16706ca9
|
fixing Alberto Donato's name
|
2009-05-13 15:01:37 +02:00 |
johnnoonr
|
634bb18e7f
|
added 2 methods into HandlerDocumentation: get_doc returns the __doc__ of the current handler, and get_resource_uri_template converts resource_uri to a URI template (http://bitworking.org/projects/URI-Templates/)
|
2009-05-13 14:43:12 +02:00 |
Jesper Noehr
|
32f9c08a90
|
updating tests to comply with #38
|
2009-05-13 13:32:03 +02:00 |
Jesper Noehr
|
ee538ae5d0
|
Use get() instead of filter() for GET request in model-based Handerl if primary key is used in request, fixes #38, thanks ack
|
2009-05-13 13:31:54 +02:00 |
Jesper Noehr
|
66bd99fba3
|
rc_factory doesn't set correct HTTP code on response, fixes #37, thanks ack
|
2009-05-13 13:26:47 +02:00 |
Jesper Noehr
|
2722f55b19
|
Allow callable defined in models to be used as fields for model-based Handler, fixes #35, thanks ack
|
2009-05-13 13:25:29 +02:00 |
johnnoonr
|
0b2f406ced
|
docstring for _qs
|
2009-05-13 11:03:18 +02:00 |
Jesper Noehr
|
85554acee7
|
adding streaming, requires some middleware, adding that too
|
2009-05-12 12:21:08 +02:00 |
xavierbarbosa@ptit-mec.local
|
953a1a3e43
|
querysets can use fields
|
2009-05-12 09:47:07 +02:00 |
Jesper Noehr
|
ee4110721f
|
checking for handler.anonymous in a safe way
|
2009-05-12 08:52:17 +02:00 |
Jesper Noehr
|
1d62dcdbd0
|
bit of tweaking to content-type detection and default create method
|
2009-05-10 18:45:02 +02:00 |
Jesper Noehr
|
d4ceeef224
|
adding test for incoming json/yaml in tests/
|
2009-05-10 18:44:42 +02:00 |
Jesper Noehr
|
232edb56f0
|
popping with None as fallback, otherwise we get KeyError
|
2009-05-10 17:59:13 +02:00 |
Jesper Noehr
|
1a82c93972
|
adding format as a kwarg to DjangoEmitter.render to allow for easy subclassing
|
2009-05-10 17:01:00 +02:00 |
Jesper Noehr
|
3450498ef3
|
moving emitter detection to 'determine_emitter'
|
2009-05-10 16:33:05 +02:00 |
Jesper Noehr
|
35acfd08db
|
applying _any() to resource methods
|
2009-05-10 16:00:28 +02:00 |
Jesper Noehr
|
00339e2425
|
utils.rc.RESPONSE returns a fresh HttpResponse every time now
|
2009-05-10 13:03:01 +02:00 |
Jesper Noehr
|
e5f18debc5
|
allowing override of normal fields as resource methods
|
2009-05-10 12:38:08 +02:00 |
Jesper Noehr
|
14121d08ae
|
adding 'django' emitter, need a deserializer for that too, fixing up the resource methods
|
2009-05-10 12:03:01 +02:00 |
Jesper Noehr
|
fd7636c4f8
|
using in_typemapper instead of self.typemapper.keys for looking up resource_uri's now
|
2009-05-08 13:45:54 +02:00 |
Jesper Noehr
|
e7bf79aa6a
|
when explicitly specifying fields in fields=, don't exclude them
|
2009-05-08 13:42:09 +02:00 |
Jesper Noehr
|
6e09dc26d6
|
adding David Larlet to AUTHORS.txt
|
2009-05-08 13:32:47 +02:00 |
Jesper Noehr
|
ce52332b8b
|
moving NoAuthentication to authentication.py, thanks david, fixes #21
|
2009-05-08 13:31:59 +02:00 |
Jesper Noehr
|
339ddd43d3
|
Automated merge with http://bitbucket.org/zerok/django-piston-buildout-tests/
|
2009-05-08 13:15:59 +02:00 |
Jesper Noehr
|
b89c0b4d05
|
adding seph to authors, anonymousbasehandler now being found by in_typemapper even if not explicitly ref'ed by metaclass
|
2009-05-08 13:14:03 +02:00 |
Horst Gutmann
|
1dd6c71038
|
Moved the whole test environment into tests/
--HG--
rename : bootstrap.py => tests/bootstrap.py
rename : buildout.cfg => tests/buildout.cfg
rename : test_project/__init__.py => tests/test_project/__init__.py
rename : test_project/apps/__init__.py => tests/test_project/apps/__init__.py
rename : test_project/apps/testapp/__init__.py => tests/test_project/apps/testapp/__init__.py
rename : test_project/apps/testapp/handlers.py => tests/test_project/apps/testapp/handlers.py
rename : test_project/apps/testapp/models.py => tests/test_project/apps/testapp/models.py
rename : test_project/apps/testapp/tests.py => tests/test_project/apps/testapp/tests.py
rename : test_project/apps/testapp/urls.py => tests/test_project/apps/testapp/urls.py
rename : test_project/settings.py => tests/test_project/settings.py
rename : test_project/templates/404.html => tests/test_project/templates/404.html
rename : test_project/templates/500.html => tests/test_project/templates/500.html
rename : test_project/templates/admin/login.html => tests/test_project/templates/admin/login.html
rename : test_project/urls.py => tests/test_project/urls.py
|
2009-05-08 13:02:17 +02:00 |
Horst Gutmann
|
c9c8ee3ba1
|
Fail. Somehow the repo didn't want one of the __init__.pys
|
2009-05-08 12:31:38 +02:00 |
Horst Gutmann
|
d191fc6ba2
|
... and removed simplejson as well
|
2009-05-08 12:20:21 +02:00 |
Horst Gutmann
|
f496eafc07
|
Removed the pyyaml dependency for the buildout environment
... since we don't need it right now anyway.
|
2009-05-08 12:17:23 +02:00 |
Horst Gutmann
|
4ef895dec2
|
Removed some new-style imports ;-)
|
2009-05-08 12:05:34 +02:00 |
Horst Gutmann
|
e04a3f7e65
|
Added a small buildout test_project
|
2009-05-08 11:56:56 +02:00 |
Jesper Noehr
|
0291d4b445
|
xmlemitter encapsulates each list item in a 'resource' block
|
2009-05-08 11:46:24 +02:00 |
Jesper Noehr
|
653449b057
|
Automated merge with http://bitbucket.org/bpollack/django-piston/overview/
|
2009-05-08 11:38:10 +02:00 |
Jesper Noehr
|
4e89f5db65
|
adding more people to AUTHORS.txt
|
2009-05-08 11:38:07 +02:00 |
Adam Lowry
|
752601f4f3
|
Change reference to callmap from class reference (Resource.callmap) to object (self.callmap)
|
2009-05-07 20:52:09 -07:00 |
Benjamin Pollack
|
86c92c0203
|
ignores
|
2009-05-07 14:38:53 -04:00 |
Benjamin Pollack
|
032289584e
|
add ez_setup bootstrap script
|
2009-05-07 14:37:49 -04:00 |
Mehmet S. Catalbas
|
7b2f1c024b
|
added simple js interface for the blog on /js
|
2009-05-07 18:40:00 +02:00 |
Jesper Noehr
|
5e49b0cf19
|
removing unnused (python 2.4 incompat) functools.wraps import
|
2009-05-07 18:33:49 +02:00 |
Jesper Noehr
|
7e0c5fbee5
|
replace distutils by setuptools
|
2009-05-07 18:17:51 +02:00 |
Jesper Noehr
|
d9e7042f1a
|
adding @require_mime decorator and @require_extended as well
|
2009-05-07 16:49:04 +02:00 |
Jesper Noehr
|
e623fe3e5a
|
mimer added, will decode json/yaml etc., not ready for any action
|
2009-05-07 16:05:35 +02:00 |
Jesper Noehr
|
44bc9bb28c
|
bumping version to 0.2
|
2009-05-07 13:09:40 +02:00 |
Jesper Noehr
|
c9acf8feb5
|
adding AUTHORS.txt file
|
2009-05-07 13:05:50 +02:00 |
Jesper Noehr
|
c203237958
|
fixes 2.6 exception compat in oauth.py, fixes #22, thanks softwaremaven
|
2009-05-07 13:02:57 +02:00 |
Jesper Noehr
|
a3253c4769
|
changing model attribute on HandlerDocumentation to get_model, backwards incompat, but fixes recursion bug. fixes #20
|
2009-05-07 12:57:49 +02:00 |
Jesper Noehr
|
add6e52cdb
|
yaml emitter is now optional (pyYAML is not in stdlib), so only registering emitter if yaml import was ok, fixes #24, thanks mmarshall
|
2009-05-07 12:53:40 +02:00 |
Jesper Noehr
|
80b5f406e1
|
xmlemitter no longer treats False/[]/() as None, fixes #26, thanks ack
|
2009-05-07 12:51:48 +02:00 |
Jesper Noehr
|
5dcf640ff8
|
kw expanding args to self.model in default create, fixes #25, thanks mmarshall
|
2009-05-07 12:50:29 +02:00 |