Commits

Author Commit Message Labels Comments Date
osimons
[svn r7194] XmlRpcPlugin: 0.12dev compat code revisited - use `empty` (constant) instead of `Empty` (class) according to Christian. Closes #6054 again.
osimons
[svn r7167] XmlRpcPlugin: Compat code to handle Trac 0.12 `Empty` objects as `None` type. Closes #6054.
osimons
[svn r6598] XmlRpcPlugin: Warnings added in wrong (non-functional) way. Closes #5843.
osimons
[svn r6486] XmlRpcPlugin: Adding additional check for actually locating the correct JSON library. Closes #5745.
osimons
[svn r6404] XmlRpcPlugin: Fix for wiki formatting in methods and namespaces when rendering the API overview page. Closes #5586.
osimons
[svn r6141] XmlRpcPlugin: Consume generators before sending result to json-encoding. Also bumped version to 1.0.6.
osimons
[svn r6106] XmlRpcPlugin: Removing use of `posixpath` and replacing with `os.path`. Also added tests for wiki attachments where this code was used. Closes #2818.
osimons
[svn r6096] XmlRpcPlugin: Improvement to Trac infrastructure has been added in trac:changeset:8303, so just updating the error message. Closes #5382, and futher tests will just have to be added in time as the various parts of the code is touched.
osimons
[svn r6080] XmlRpcPlugin: Redo [6059] as controllers returns `(weight, action)` tuples and not just action list - so no label, hints or additional input fields would have been found last week. Added a test for default result to detect such mistakes (or other changes in action rendering).
osimons
[svn r6078] XmlRpcPlugin: Fix for use of a Trac method only available on 0.11.3 or higher. Made a compat-workaround for now. Closes #5415.
osimons
[svn r6070] XmlRpcPlugin: Fix encoding issue + tests (recently introduced bug).
osimons
[svn r6069] XmlRpcPlugin: Improved error handling. * Moved `XML_RPC` permission check into each protocol handler in order to return valid responses. * General improvements to error reporting and handling. * Tests cases for general errors for both protocols ('not allowed', 'no such method' and 'wrong args'.
osimons
[svn r6068] XmlRpcPlugin: Minor follow-up to [6067] about authors and maintainer.
osimons
[svn r6067] XmlRpcPlugin: Adding formalities following change in maintainership, and also some more license information as requested by various.
osimons
[svn r6065] XmlRpcPlugin: JSON-RPC support. It requires either Python 2.6 (part of standard lib, but untested by me), or `easy_install simplejson` for 2.4/2.5 (tested). Building on recent changes with types, all methods are already protocol and type agnostic and work unchanged. Summary of important changes: * With a lot of recent changes to the core of the plugin, I wanted this change to be as unobtrusive as possible. Therefore it just switches on `Content-Type` header in main handler, leaving XML-RPC and JSON-RPC to doing their own things. At some stage the pro…
osimons
[svn r6064] XmlRpcPlugin: Implemented a test subsystem, and the start of functional unittests - #5382. Test subsystem depends on a patch for Trac 0.11-stable (not yet committed - see trac:ticket:8388), and Trac needs to be running from source (either installing Trac using `python setup.py develop`, or adding Trac source to `PYTHONPATH` when running tests - it reuses Trac functional test infrastructure to create a test project and start a standalone server that answer requests for the duration of th…
osimons
[svn r6063] XmlRpcPlugin: Implemented full support for Trac 0.11 fine-grained permissions and security policies. Closes #5380. This change makes some changes in the displayed set of methods, as the new answer to permissions is "it depends"... It depends on whatever security policies are running on the specific Trac installation. There is therefore new support for specifying `None` as method permission, but then each method is responsible for checking permissions per resource. Most important/useful methods now use resourc…
osimons
[svn r6059] XmlRpcPlugin: Problem with `ticket.getAction()` accessing an attribute not all plugins may have - in this case triggered by `DeleteTicket.py` sample plugin. Closes #5387.
osimons
[svn r6057] XmlRpcPlugin: Followup to [6054]. Some parts of Trac may also return various genshi instances (`Fragment` or `Markup`), so adding conversion for these to unicode.
osimons
[svn r6055] XmlRpcPlugin: Fix for possible ticket update race condition. Closes #3772. Thanks to mstone for report and patch.
osimons
[svn r6054] XmlRpcPlugin: Reworked to normalize output, so that any method can just return regular Python types as used in Trac - typically unicode, datetime, None. It simplifies many method implementations by not having to convert timestamps, check for stray `None` objects and similar. Bumped version as these internal changes may require changes to other plugins that provide xmlrpc methods. Among other things, it closes #1245. Thanks for report and testing.
osimons
[svn r6053] XmlRpcPlugin: Standardize all string inputs with line-ending `\r\n` to match what is received through a web client. This avoids phantom-changes to multi-line inputs on subsequent update via web. Closes #2482.
osimons
[svn r6052] XmlRpcPlugin: Typo in `StatusRPC` docs.
osimons
[svn r6050] XmlRpcPlugin: Oops. Forgot to change `ticket.getAvailableActions()` to account for receving label and hints as well. Closes #5377. Thanks, stp.
osimons
[svn r6047] XmlRpcPlugin: Adding RPC to systeminfo dictionary, so that the plugin version information will show up under 'About' (for administrators at least). Please include the table of software versions when reporting issues.
osimons
[svn r6046] XmlRpcPlugin: Changes to datetime handling, by converting any timestamps to Python datetime before arguments are passed to methods. Like Trac 0.11, all code should use and expect regular `datetime.datetime` objects. The rework of code to transform input, should also make it easier to solve other issues related to input. Closes #3011.
osimons
[svn r6045] XmlRpcPlugin: Workflow support - finally! * Adds workflow support and improved ticket creation and update to be aligned with recent Trac 0.11.x features. See #1075 for all details. * As workflow controls permissions for actions, `update()` permission is changed to `TICKET_VIEW`, closing #3642. * With workflow and 'action' support, users are also available for reassignment if the project is configured to restrict ticket owners. This should close #1010. * As 'status' is now the domain of workflow, these status-manipulation methods are now deprecated and replaced with no-op versions for compatibility. That should take care of #5268. Version bumped to 1.0.1.
athomas
[svn r3074] Nuked ctxtnav.
athomas
[svn r2857] Fixed #2269, thanks mayer.
athomas
[svn r2626] More pydoc removal.
  1. Prev
  2. Next