1. 19 Sep, 2002 1 commit
  2. 18 Sep, 2002 2 commits
    • Shane Hathaway's avatar
      Finished fix for collector #558. restrictedTraverse() was not providing · 52193d9b
      Shane Hathaway authored
      adequate context for the security manager, resulting in excessive Unauthorized
      errors.  The previous fix corrected traversal using __bobo_traverse__();
      this fix corrects traversal using getattr().  The problem was solved by
      simply making use of AccessControl.ZopeGuards.guarded_getattr().
      52193d9b
    • Florent Guillaume's avatar
      Merge of the Zope-2_6-i18n-branch into HEAD. · f97d3008
      Florent Guillaume authored
      Impacted code:
      - TAL: merge of the 2.7 i18n stuff, unicode fixes, tests.
      - PageTemplates: addition of a global translation service and of its use
        by the TALES engine, unicode fixes, tests.
      - StructuredText: unicode fixes, tests.
      f97d3008
  3. 16 Sep, 2002 2 commits
  4. 14 Sep, 2002 1 commit
  5. 13 Sep, 2002 4 commits
  6. 12 Sep, 2002 8 commits
  7. 11 Sep, 2002 1 commit
  8. 09 Sep, 2002 2 commits
  9. 05 Sep, 2002 4 commits
  10. 04 Sep, 2002 1 commit
  11. 03 Sep, 2002 7 commits
  12. 30 Aug, 2002 4 commits
    • Casey Duncan's avatar
      Added an argument to pass error_log_url into raise_standardErrorMessage since... · 3ee88cbf
      Casey Duncan authored
      Added an argument to pass error_log_url into raise_standardErrorMessage since logging is now done above it.
      3ee88cbf
    • Casey Duncan's avatar
      After further investigation I found that my change to SimpleItem to sniff the... · 98d3e112
      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.
      98d3e112
    • Casey Duncan's avatar
      Refactored error message handling so that SimpleItem's... · 9a5d2b7c
      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^/
      9a5d2b7c
    • Casey Duncan's avatar
      Improved error output for xmlrpc faults · 452178ae
      Casey Duncan authored
       - Value is stripped of HTML tags and minimally formatted
      
       - In debug mode, a full traceback is included in the fault string
      452178ae
  13. 29 Aug, 2002 3 commits