- 13 Sep, 2002 3 commits
-
-
Casey Duncan authored
-
Casey Duncan authored
-
Chris Withers authored
Fixed bug in manage_editProperties which used an incorrect default for several types of property when they were not found in the REQUEST.
-
- 12 Sep, 2002 8 commits
-
-
Shane Hathaway authored
access in certain situations when using a __bobo_traverse__ hook.
-
Shane Hathaway authored
__bobo_traverse__ hook, and the hook returns an object that comes from some other container, the security policy may incorrectly deny access. This fix determines the container of the object based on its aquisition wrappers, if available, and passes it to validate(). Also added a corresponding unit test.
-
Guido van Rossum authored
should fix the problem that messages from different processes or threads could be intermingled. The code was rewritten to build up the lines of the error message in a list which is joined by "\n" characters at the end.
-
Shane Hathaway authored
- Used a MappingStorage instead of a FileStorage, to avoid writing to disk. - Removed unnecessary docstrings and converted useful docstrings to comments to clean up the unit test output. - Updated to use unittest.main().
-
Shane Hathaway authored
-
Shane Hathaway authored
throw either AttributeError or KeyError; catch either.
-
Andreas Jung authored
-
Andreas Jung authored
-
- 11 Sep, 2002 1 commit
-
-
Barry Warsaw authored
loadmail() when deciding on the print format.
-
- 09 Sep, 2002 2 commits
-
-
Florent Guillaume authored
-
Florent Guillaume authored
Unicode-aware StringIO by monkey-patching two appropriate methods until one is completely integrated into Zope.
-
- 05 Sep, 2002 4 commits
-
-
Shane Hathaway authored
- You can pass the list of indexes to update to catalog_object(). - uids can be relative rather than absolute.
-
Shane Hathaway authored
lexicon. Before this, it was not safe to move, rename, or mount in a different location a ZCatalog containing a ZCTextIndex. In general, we need to avoid physical paths when a simple ID will suffice.
-
Casey Duncan authored
-
Florent Guillaume authored
response. (Same change as ChrisM's in ZopePageTemplate.py)
-
- 04 Sep, 2002 1 commit
-
-
Evan Simpson authored
-
- 03 Sep, 2002 7 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
directory.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Andreas Jung authored
any suitable tests produced an ugly traceback. Instead the testrunner now prints a warning to stderr.
-
Shane Hathaway authored
-
Chris McDonough authored
-
- 30 Aug, 2002 4 commits
-
-
Casey Duncan authored
Added an argument to pass error_log_url into raise_standardErrorMessage since logging is now done above it.
-
Casey Duncan authored
After further investigation I found that my change to SimpleItem to sniff the response._error_format was unnecessary (although harmless) since Zope/__init__.py already does this. This check has been removed. And since error logging was being done in SimpleItem, my previous change prevented xml-rpc exceptions from being logged. The logging code has now been moved into the Zope/__init__ top-level exception handler to correct this problem. This also seems generally more correct since we no longer rely on SimpleItem to do-the-right-thing.
-
Casey Duncan authored
Refactored error message handling so that SimpleItem's raise_standardErrorMessage sniffs the response to see if it wants an html encoded error message or not. If so, then standard_error_message is rendered as usual as the error value. Otherwise the error value text is passed through unchanged. XML-RPC responses now request text/plain error format so that standard_error_message is not envoked to render the fault string. Because of this, the previous formatting code could be removed, although html tags are still stripped because error values themselves sometimes contain tags 8^/
-
Casey Duncan authored
- Value is stripped of HTML tags and minimally formatted - In debug mode, a full traceback is included in the fault string
-
- 29 Aug, 2002 10 commits
-
-
Barry Warsaw authored
occurs. First, inherit from BerkeleyTestBase which has proper setUp and tearDown methods, and second, wrap the .abort() and ._close() call in tearDown() in a try/finally so we're guaranteed that the base class's tearDown gets run.
-
Barry Warsaw authored
likely to actually remove the test-db directory every time.
-
Martijn Pieters authored
for 'index_html' default views. This breaks things like Cookie Crumbler. And yes, when you use a JavaScript XML-RPC library, the browser could include an authentication cookie for CookieCrumbler. Instead, do not clear REQUEST_METHOD but check for a xmlrpc.Response object when initiating the variable that will cause 'index_html' views to be used. This fixes Zope Collector issue #528.
-
Martijn Pieters authored
-
Martijn Pieters authored
-
Martijn Pieters authored
patch from Brad Clements (fixes Zope Collector issue #525).
-
Martijn Pieters authored
specific addition of marshalling None to <boolean>0</boolean>. Benefits gained: - Uses Expat when available (like in Zope), which makes unmarshalling (receiving XML-RPC calls) much,much faster. - New library imports other python modules lazily, which helps speed up Zope startup time. - Faster escape method for outgoing calls. - Fixes for doubles and larger integers. - Allow XML-RPC calls without an empty <params /> (fixes Zope Collector #465) Additional fix: - Fix SlowParser to handle CDATA sections as well. With the ExpatParser this is less of a problem (fixes Zope Collector #547). Also see Python SF issue #601534.
-
Andreas Jung authored
-
Andreas Jung authored
missing when locking objects)
-
Shane Hathaway authored
-