-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added CGIXMLRPCRequestHandler as a super class. #26
base: master
Are you sure you want to change the base?
Commits on May 22, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 22bd092 - Browse repository at this point
Copy the full SHA 22bd092View commit details -
SimpleJSONRPCDispatcher accepts a custom dispatch_method
The dispatch_method given to _marshaled_dispatch and _marshaled_single_dispatch is now used instead of _dispatch, if given.
Configuration menu - View commit details
-
Copy full SHA for 6092d1c - Browse repository at this point
Copy the full SHA 6092d1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d0762 - Browse repository at this point
Copy the full SHA e8d0762View commit details -
Configuration menu - View commit details
-
Copy full SHA for db7a7dc - Browse repository at this point
Copy the full SHA db7a7dcView commit details -
Removed UNIX sockets code + type correction
- No more reference to Unix sockets (maybe they'll come back later) - Fixed a typo in jsonclass, in the Python version comparison
Configuration menu - View commit details
-
Copy full SHA for 6ce7a4a - Browse repository at this point
Copy the full SHA 6ce7a4aView commit details -
- Removed tests about Unix sockets - Corrected a test using bad parameters
Configuration menu - View commit details
-
Copy full SHA for 1d51040 - Browse repository at this point
Copy the full SHA 1d51040View commit details -
Python 3 compatibility - Second pass
Passes all the tests from tests.py in both Python 2 and 3
Configuration menu - View commit details
-
Copy full SHA for d34d523 - Browse repository at this point
Copy the full SHA d34d523View commit details -
Request IDs generated by UUID + code enhancement
- random_id() method replaced by str(uuid.uuid4()) => ensures ID uniqueness - JSON utility methods (jdumps, jloads) are defined according to what can be imported, instead of doing a test inside a single definition
Configuration menu - View commit details
-
Copy full SHA for 3ddaca6 - Browse repository at this point
Copy the full SHA 3ddaca6View commit details -
- New project name: jsonrpclib-pelix (not yet registered)
Configuration menu - View commit details
-
Copy full SHA for 653a1f8 - Browse repository at this point
Copy the full SHA 653a1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a799329 - Browse repository at this point
Copy the full SHA a799329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45a10c2 - Browse repository at this point
Copy the full SHA 45a10c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d075d88 - Browse repository at this point
Copy the full SHA d075d88View commit details
Commits on May 24, 2013
-
jsonclass: Replace "type() is" by isinstance()
Allows to use custom dictionaries, ...
Configuration menu - View commit details
-
Copy full SHA for ad83b6d - Browse repository at this point
Copy the full SHA ad83b6dView commit details -
New methods: dump(), load(), Fault.dump()
- dump() returns the JSON-RPC dictionary instead of its string representation - dumps() calls dump() - same thing with load() and loads() - Fault.dump() is the dictionary equivalent of response()
Configuration menu - View commit details
-
Copy full SHA for eacf435 - Browse repository at this point
Copy the full SHA eacf435View commit details -
New method: SimpleJSONRPCDispatcher._unmarshaled_dispatch
- Takes a loaded dictionary as a parameter (jsonrpclib.load/s) - Returns a JSON-RPC dictionary (jsonrpclib.dump) - _marshaled_dispatch wraps _unmarshaled_dispatch (keeps its behaviour)
Configuration menu - View commit details
-
Copy full SHA for 2b5941f - Browse repository at this point
Copy the full SHA 2b5941fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b0a04 - Browse repository at this point
Copy the full SHA 77b0a04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31253a5 - Browse repository at this point
Copy the full SHA 31253a5View commit details -
Requests with ID 0 (int) are not notifications
- Replaced a 'not id' by 'id not in (None, "")' - _unmarshaled_dispatch now throws a NoMulticallResult exception instead of returning ''
Configuration menu - View commit details
-
Copy full SHA for 8a28b9b - Browse repository at this point
Copy the full SHA 8a28b9bView commit details
Commits on May 30, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 155aaa4 - Browse repository at this point
Copy the full SHA 155aaa4View commit details
Commits on Jun 4, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 0ac1d70 - Browse repository at this point
Copy the full SHA 0ac1d70View commit details -
JSONTarget: raw data is stored in the feeding list, the conversion to string (if required) is done only once all data has been received. This avoids errors decoding splitted wide-characters.
Configuration menu - View commit details
-
Copy full SHA for 65becf8 - Browse repository at this point
Copy the full SHA 65becf8View commit details -
History becomes an optional parameter of ServerProxy
* Removes the potential memory hog (history was never cleared) * Allows to have different instances of History for each ServerProxy * Tests updated
Configuration menu - View commit details
-
Copy full SHA for 0ed2bb8 - Browse repository at this point
Copy the full SHA 0ed2bb8View commit details
Commits on Jun 19, 2013
-
Applied: Improved 1.0 protocol compliance (error handling and require…
…d params) Commit 0327b55 from https://github.com/drdaeman/jsonrpclib
Configuration menu - View commit details
-
Copy full SHA for 2f857f5 - Browse repository at this point
Copy the full SHA 2f857f5View commit details -
Less strict error response handling.
This should support any types of error responses, including: - `{..., "error": {"code": -42, "message": "spam"}}`, - `{..., "error": {"reason": "spam"}}`, - `{..., "error": {"what_happened": "spam"}}`, - or even `{..., "error": "spam"}}` Conflicts: jsonrpclib/jsonrpc.py
Configuration menu - View commit details
-
Copy full SHA for 4e6cd15 - Browse repository at this point
Copy the full SHA 4e6cd15View commit details -
In case of a non-pre-defined error, raise an AppError and give access…
… to error.data Conflicts: jsonrpclib/__init__.py jsonrpclib/jsonrpc.py
Configuration menu - View commit details
-
Copy full SHA for fd0468d - Browse repository at this point
Copy the full SHA fd0468dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c02bf57 - Browse repository at this point
Copy the full SHA c02bf57View commit details -
Content-Type can now be configured
Modifying jsonrpclib.config.content_type (string) By default, it stays to "application/json-rpc", as the JSON-RPC specification indicates.
Configuration menu - View commit details
-
Copy full SHA for f9920b5 - Browse repository at this point
Copy the full SHA f9920b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d8d81 - Browse repository at this point
Copy the full SHA 28d8d81View commit details
Commits on Jun 20, 2013
-
Applied "Custom headers can be sent with request."
Commit 3dd69f9 from https://github.com/dejw/jsonrpclib
Configuration menu - View commit details
-
Copy full SHA for c077855 - Browse repository at this point
Copy the full SHA c077855View commit details -
Added tests for the additional headers
Applied commits from https://github.com/dejw/jsonrpclib: - 53d38c3: Added tests for additional request headers feature. - 9e63239: Added test for notifications. - 0a3bbe6: Added test for nesting _additional_headers context. Tests have been modified to handle Python 2 / Python 3 compatibility
Configuration menu - View commit details
-
Copy full SHA for 20f5be4 - Browse repository at this point
Copy the full SHA 20f5be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 589c387 - Browse repository at this point
Copy the full SHA 589c387View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81da309 - Browse repository at this point
Copy the full SHA 81da309View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d89019 - Browse repository at this point
Copy the full SHA 6d89019View commit details
Commits on Jul 22, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 3406fe2 - Browse repository at this point
Copy the full SHA 3406fe2View commit details
Commits on Aug 1, 2013
-
Configuration menu - View commit details
-
Copy full SHA for acc14f2 - Browse repository at this point
Copy the full SHA acc14f2View commit details
Commits on Oct 14, 2013
-
Configuration menu - View commit details
-
Copy full SHA for 7f00bb1 - Browse repository at this point
Copy the full SHA 7f00bb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b3d6b - Browse repository at this point
Copy the full SHA a5b3d6bView commit details -
Small improvement in bean reconstruction
Instead of filtering the __jsonclass__ entry, it is removed before the setattr() loop.
Configuration menu - View commit details
-
Copy full SHA for 2afbfc3 - Browse repository at this point
Copy the full SHA 2afbfc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa542fb - Browse repository at this point
Copy the full SHA fa542fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8b1c1 - Browse repository at this point
Copy the full SHA bb8b1c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe6b2c - Browse repository at this point
Copy the full SHA 3fe6b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d37bb8 - Browse repository at this point
Copy the full SHA 2d37bb8View commit details -
Python 2 has an io module, messing with StringIO
Configuration menu - View commit details
-
Copy full SHA for fc13454 - Browse repository at this point
Copy the full SHA fc13454View commit details -
Configuration menu - View commit details
-
Copy full SHA for e00eae4 - Browse repository at this point
Copy the full SHA e00eae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e48938d - Browse repository at this point
Copy the full SHA e48938dView commit details -
Configuration menu - View commit details
-
Copy full SHA for da75a40 - Browse repository at this point
Copy the full SHA da75a40View commit details -
Config is not a singleton anymore
- Multiple clients/servers can have different configurations - Still a (shared) default configuration object: jsonrpclib.config.DEFAULT - Previous API should still work as-is: the new parameters have always been added in last position, with the DEFAULT instance by default. - The version all modified modules has been increased to 0.1.6
Configuration menu - View commit details
-
Copy full SHA for 5b00e43 - Browse repository at this point
Copy the full SHA 5b00e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fba687 - Browse repository at this point
Copy the full SHA 4fba687View commit details
Commits on Oct 22, 2013
-
Recursive loading of bean fields
Fields of a bean loaded by jsonclass are also loaded through the same method. This allows to have beans containing beans.
Configuration menu - View commit details
-
Copy full SHA for e9902ae - Browse repository at this point
Copy the full SHA e9902aeView commit details
Commits on Oct 25, 2013
-
Added Travis-CI configuration file
Based on Tox, same as the iPOPO Travis configuration file.
Configuration menu - View commit details
-
Copy full SHA for ad0ed6e - Browse repository at this point
Copy the full SHA ad0ed6eView commit details -
Added __call__ and __close methods to ServerProxy
- Allows to use the 'client("close")()' method to close the transport layer of a ServerProxy, even on Python 2.6 => Fixes joshmarshall#2 - Updated tests to _really_ close the transport layer (and not just to retrieve the closing method)
Configuration menu - View commit details
-
Copy full SHA for c1508c9 - Browse repository at this point
Copy the full SHA c1508c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d221c56 - Browse repository at this point
Copy the full SHA d221c56View commit details -
Version increment, related to issue joshmarshall#2
Also added supported Python versions to setup.py
Configuration menu - View commit details
-
Copy full SHA for 7ba842c - Browse repository at this point
Copy the full SHA 7ba842cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdb8f91 - Browse repository at this point
Copy the full SHA cdb8f91View commit details -
WSGI should decode incoming JSON
Note that it seems that people don't declare the encoding in Content-Type so I'll just assume people want to use the encoding that the server uses internally :)
Configuration menu - View commit details
-
Copy full SHA for 675d737 - Browse repository at this point
Copy the full SHA 675d737View commit details
Commits on Feb 6, 2014
-
Added CGIXMLRPCRequestHandler as a super class.
I couldn't get CGI to work without this super class.
Configuration menu - View commit details
-
Copy full SHA for 4626d80 - Browse repository at this point
Copy the full SHA 4626d80View commit details
Commits on Feb 11, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 25f1db6 - Browse repository at this point
Copy the full SHA 25f1db6View commit details
Commits on Feb 12, 2014
-
mime-type application/json for Accept/Content-Type
I like Roland's answer "reason: transport and contents are independent. so all the transport here needs to know is the format of the contents, and that's just json." https://groups.google.com/forum/#!topic/json-rpc/6OXOOm4fcC8
Configuration menu - View commit details
-
Copy full SHA for 3a54c36 - Browse repository at this point
Copy the full SHA 3a54c36View commit details
Commits on Feb 23, 2014
-
Conflicts: jsonrpclib/SimpleJSONRPCServer.py jsonrpclib/jsonclass.py jsonrpclib/jsonrpc.py
Configuration menu - View commit details
-
Copy full SHA for 1dbeb07 - Browse repository at this point
Copy the full SHA 1dbeb07View commit details