Permalink
Commits on Mar 4, 2010
  1. Automatic redirect to a default web HomePage (/DEFAULT_WEB/show/HomeP…

    …age) on navigating to the web root in a browser, if DEFAULT_WEB is set
    
    Signed-off-by: Jeffrey Warren <warren@dhcp-58-47.media.mit.edu>
    Jeffrey Warren committed Mar 4, 2010
  2. Sync with latext SVG-Edit

    Subpath tool.
    
    Also make the itex tool a little more selective
    (only applies to <foreignObject>s with a <math> firstChild.
    distler committed Mar 4, 2010
Commits on Mar 2, 2010
  1. More itex Metal Refactoring

    distler committed Mar 2, 2010
  2. Efficiency improvements to itex endpoint

    Benchmarks at up to twice as fast.
    distler committed Mar 2, 2010
Commits on Mar 1, 2010
  1. Ensure that itex endpoint returns well-formed XML

    Since itex's \begin{svg}...\end{svg} syntax allows
    the client to pass arbitrary junk through the document,
    we need to check that the result is well-formed.
    
    Use a pluggable XML parser: nokogiri, if installed,
    REXML otherwise.
    distler committed Mar 1, 2010
  2. Fix Revision 601

    With tests, this time.
    distler committed Mar 1, 2010
  3. Make dnsbl_check respond more intelligently

    Thanks to Toby Bartels for pointing out
    the deficiencies of the previous version.
    distler committed Mar 1, 2010
Commits on Feb 27, 2010
  1. Fix foreignObject

    Fix SVG-Edit Issue 503.
    Selecting a foreignObject was
    mistakenly setting the stroke to 'none'.
    distler committed Feb 27, 2010
  2. Try to make Jeff happy

    Make use of a nonce for setting SVG-Edit IDs
    option. By default, SVG-Edit behaves as before.
    Calling svgCanvas.randomizeIds(true) gives our
    behaviour, instead.
    
    Also, sync with latest SVG-Edit (but disable,
    for now, manual editing of IDs).
    distler committed Feb 27, 2010
Commits on Feb 26, 2010
  1. Sync with latest SVG-Edit

    Fixes Issue 502 (Connector
    lines are not re-editable).
    distler committed Feb 26, 2010
Commits on Feb 25, 2010
  1. Uniquify IDs in SVG-Edit

    Since we can have several SVG-Edit graphics
    on a page, SVG-Edit should assign unique IDs
    to elements, and do so in a fashion that survives
    re-editing.
    
    To do this, we use a nonce, and record its value in
    a custom se:nonce attribute on the <svg> element.
    (Is there a better way?). 
    
    Also, preserve the custom se:connector attribute for
    later editing purposes.
    distler committed Feb 25, 2010
Commits on Feb 24, 2010
  1. Support SVG-Edit Custom Attribute(s)

    Add support for se:connector attribute in
    Instiki's Sanitizer.
    distler committed Feb 24, 2010
Commits on Feb 23, 2010
  1. Cleanup itex extension

    Most of the DOM manipulations can be done
    before doing the AJAX call. This leaves
    just the insertion of the MathML nodes in the
    mrow for the AJAX callback function.
    
    Also, make the stroke-width for the connector tool 
    default to 2.
    distler committed Feb 23, 2010
  2. No Need to Double-Escape

    Apparently, JQuery takes care of all of the
    escaping we need. So ditch our own escaping
    (which effectively double-escaped everything).
    distler committed Feb 23, 2010
  3. More ext-itex.js Fixes

    Ajax is asynchronous. Need to 
    sanitize in the callback function,
    NOT when adding <math> to the DOM.
    
    Need to unescape text for itex editor
    window (since JQuery seems to take care
    an 'extra' round of escaping).
    distler committed Feb 23, 2010
  4. More tweaks

    Make the AJAX endpoint configurable (this could still be
    done better).
    Use POST, rather than GET for the AJAX request, so that
    we don't have to worry about overly-long equations.
    distler committed Feb 23, 2010
  5. Don't need an xmlns:xlink on the math element

    itex2MML puts one on the mrows that are hyperlinks.
    distler committed Feb 23, 2010
  6. Small tweak to itex metal

    distler committed Feb 23, 2010