Source

django-piston / piston / emitters.py

Author Commit Message Labels Comments Date
Joshua Ginsberg
Added FIXME note to remember why list_fields is broken - Refs #157
Joshua Ginsberg
Fixed security bug in YAML emitter; H/T db@d1b.org
Jesper Nøhr
breaking some behavior here, but need it for now
Thibaud Morel l'Horset
fixed an issue where property fields were getting dropped by the emitter if their value evaluated to False
Jesper Nøhr
fixing errors caused by 9ba4a23474c1
Jesper Nøhr
jiaaro
fixed a bug where callables which require zero arguments can be used on models - it is possible that it should be ' == 0' since I'm pretty sure the ONE argument is supposed to be 'self' which is apparently not counted. (or maybe this is a python 2.6 issue)
Ionel Cristian Mărieș
Merge with upstream changes.
Ionel Cristian Mărieș
Added support for extra_fields.
ion.scerbatiuc
Added fields filtering to the emitter.
ion.scerbatiuc
Refactored the Resource class to be able to specify custom exception handling logic.
Sever Banesiu
Added per request fields support.
Ionel Cristian Mărieș
Serialize virtual fields too.
Ionel Cristian Mărieș
Added handling for set types.
Jesper Nøhr
blinding patching emitters.py, fixes #104
garethr
added a module to validate a json callback function to prevent possible security issue
Jesper Nøhr
not loading unpickler by default, wrapping yaml unpacker with lambda-dict to not return crappy data, as it will otherwise, fixing a testcase with wrong content type
Jesper Nøhr
oauth 1.0a compat, outsourcing secret/verifier generation to django, updating a few oauth models
Jesper Nøhr
better resource method detection, getting the default oauth store up to speed with 1.0a
Jesper Nøhr
configurable reverser for resource_uri, passing the object to the method
Jesper Nøhr
error handling on reversal of resources
dfde...@gmail.com
dfde...@gmail.com
remove print statement; verify that all tests pass
dfde...@gmail.com
make handler process models that have a "read", "update", or "create"a attribute
Benjamin Pollack
Benjamin Pollack
we're already using inspect; remove use of types and isinstance
Benjamin Pollack
check objects for an __emittable__ property
Jesper Nøhr
applying patch from #45, thanks bmcmurray
Jesper Nøhr
importing patches from bmcmurray, fixes #42 and #43, adjusting testcases to expect indented json
Jesper Nøhr
any() fallback for <2.5, checking both f.attname and f.name for method overwrites
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next