Permalink
Commits on Feb 17, 2015
  1. New file upload (draft)

    AlexDaniel committed Feb 17, 2015
Commits on Feb 5, 2015
Commits on Feb 4, 2015
  1. logout.pl: link back to the last page after logout

    Matt Adams authored and kensanata committed Feb 4, 2015
    Users who currently use the back button to return to the previous page
    after logging in or logging out need to select it more than once and are
    often return to a cached version of the page they were previously
    viewing instead of one that reflects an updated cookie state. The only
    other option currently available to the user is to re-navigate to the
    page which they wish to view (likely the previous page).
    
    This change improves the usability of the logout functions by providing
    a link to return to the previous pages after logging in or logging out.
    Previous pages are returned without cache.
  2. Password action (login) has link back to last page.

    Matt Adams authored and kensanata committed Feb 4, 2015
Commits on Feb 3, 2015
Commits on Jan 31, 2015
  1. Fix summary for uploaded files.

    kensanata committed Jan 31, 2015
    The summary for uploaded files had nested p elements; this was
    removed. When no summary is provided, we now remove the "#FILE..."
    stuff. In this case, no summary is better.
  2. logout.pl: Provide login link if not logged in.

    Matt Adams authored and kensanata committed Jan 31, 2015
  3. Show latest summary when displaying uploaded files

    Matt Adams authored and kensanata committed Jan 31, 2015
Commits on Jan 30, 2015
  1. hiddenpages.pl: stop breaking search & recent changes

    Matt Adams authored and kensanata committed Jan 30, 2015
Commits on Jan 25, 2015
  1. replacements: fixed recently introduced bug

    kensanata committed Jan 25, 2015
    The recently introduced code to prevent Perl injection broke repeated
    replacements with backreferences.
  2. search: fixed handling of missing grep

    kensanata committed Jan 25, 2015
    When closing the pipe to grep, check the status returned by the child
    process in $? and return all pages if there was an error (which means
    that grep did not filter any pages).
  3. div-foo.pl: syntax for setting the "title" attribute; /x in regexes

    AlexDaniel committed Jan 25, 2015
    The syntax is <class1 class2?My title stuff> ... </>
Commits on Jan 19, 2015
  1. long-tables.pl: $rownum replaces $first and $odd

    kensanata committed Jan 19, 2015
    Updated tests, too.
  2. tables-long.pl: add a class for even and odd rows

    Matt Adams authored and kensanata committed Jan 19, 2015
  3. big-brother.pl: Remove password parameters.

    kensanata committed Jan 19, 2015
    Make sure admins and editors don't accidentally leave their passwords on
    the Recent Visitors page.
Commits on Jan 13, 2015
  1. ParseData: Reverting to the code from 2006.

    kensanata committed Jan 13, 2015
    As explained on my blog
    <https://alexschroeder.ch/wiki/2015-01-13_Handwritten_Optimization>,
    the current implementation is "suddenly" very slow. This is specially
    noticeable when loading large pages. Without quite understanding how
    this is possible, I'm reverting to the old implementation.
Commits on Jan 9, 2015
  1. Summary: tags.pl delete unnecessary calls to write hash

    kensanata committed Jan 9, 2015
    When running TagFind and TagCloud, writing the tag file is not
    necessary. This is the result of a search and replace operation that
    assumed every DB_File untie is equivalent to a write operation. This
    is not true.
Commits on Jan 8, 2015
  1. tags.pl: Use real lists instead of strings

    kensanata committed Jan 8, 2015
    The strings used to be concatenated elements using $FS as the
    separator. Now they are references to lists.
Commits on Jan 7, 2015
  1. tags.pl: Switch from DB_File to Storable

    kensanata committed Jan 7, 2015
    The drawback will be that the entire tag database including all the
    backlinks will be stored in a hash. On my wiki with 5799 pages the
    tag.db file is just 333K so it’s not too bad.
  2. namespaces.pl: add match to @NamespaceParameters

    kensanata committed Jan 7, 2015
    When using $MatchingPages = 1, the following URL would is a
    possiblity:
    https://campaignwiki.org/wiki/Adventures?search=&match=dung&dosearch=Go%21
    
    In this situation, "Adventures" needs to be the namespace. The
    'search' parameter is ignored and the script needs to react to
    'match'.
Commits on Jan 5, 2015
  1. add-link.pl: use https

    kensanata committed Jan 5, 2015
  2. add-link.pl: How to add entries to wikis.

    kensanata committed Jan 5, 2015
    These two wikis work as public bookmarking sites. This script allows
    easy addition of links.
    
    https://campaignwiki.org/wiki/LinksToWisdom/
    https://campaignwiki.org/wiki/Adventures/
Commits on Jan 4, 2015