aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* updatejoey2006-08-13
|
* * The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey2006-08-13
| | | | | | | | | | | | | | * Add --version. * Man page format fixups. * Add a %pagecase which maps lower-case page names to the actual case used in the filename. Use this in bestlinks calculation instead of forcing the link to lowercase. * Also use %pagecase in various other places that want to check if a page with a given name exists. * This means that links to pages with mixed case names will now work, even if the link is in some other case mixture, and mixed case pages should be fully supported throughout ikiwiki. * Recommend rebuilding wikis on upgrade to this version.
* * Ship ikiwiki executable as ikiwiki.pl in source to avoid issues onjoey2006-08-08
| | | | case-sensative filesystems like OSX.
* * Added created_before and created_after PageSpec limits.joey2006-08-03
|
* * Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132joey2006-08-02
| | | | * Added many unit tests for pagespec_match.
* link and backlink pagespec testsjoey2006-08-02
|
* complex testjoey2006-08-02
|
* * Renamed GlobLists to PageSpecs.joey2006-08-02
| | | | | | | | | | | | | | * PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.
* * Add exclude option in setup files, works same as --exclude.joey2006-07-28
|
* * Support htmlize plugins and make mdwn one such plugin, which is enabled byjoey2006-07-03
| | | | default (of course!). Based on a patch by Faidon Liambotis.
* * POSIX::strftime doesn't know about encodings and doesn't return a utf8joey2006-07-02
| | | | | | | | | | | | | | flagged string even if the locale causes it to generate utf8 output, so make sure to let perl know it should be handled as utf8. Also, the optimised version used for standard time formats won't work if the user has changed locale, so drop it. Thanks, Faidon Liambotis. * Fix re-encoding of the comments field to utf8 if a commit fails due to a conflict. Thanks, Faidon Liambotis. * Let svn know that commits have utf8 commit messages. Thanks, Faidon Liambotis. * Add insane double encode/decode to utf8 around call to markdown. This works around a truely strange bug, which is apparently a bug in perl, which I lack space to describe here (see t/crazy-badass-perl-bug.t)
* FUCK UTF8 fuck fuck fuck!!!joey2006-07-02
| | | | | (and perl)
* add a testcase for the weird markdown utf-8 crasher to make sure thatjoey2006-06-16
| | | | | ikiwiki continues to work around it
* * -CSD does not affect modules, so readfile() was not using the utf-8 inputjoey2006-06-15
| | | | | | | | | | | layer, which led to lots of problems; make it force read files as utf-8. Closes: #373203 * writefile() likewise needs to use the utf8 output layer. * Remove the -CSD from ikiwiki's hashbang since it's useless to have it there. * Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary given the readfile fix. * Add utf-8 testcases for readfile and htmlize.
* * --getctime had bitrotted (well I only ever used it the once so far..),joey2006-05-26
| | | | | | | | | | | | * When inlining a page in another one, links from the inlined page are now expanded the same as they are when rendering the inlined page as a standalone page. So rather than being expanded from the POV of the inlining page, they are expanded from the POV of the inlined page. For example, a link from blog/foo to "bar" will now link to blog/bar if it exists. Previously this needed to be a link explicitly to "blog/bar"; such links will also continue to work. (This was slightly complex to do as the link still has to be constructed relative to the inlining page.)
* * Rebuilding on upgrade to this version is recommended.joey2006-05-26
| | | | | | | | * Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
* dirname, basename, bestlink, linkify, pagetitle, titlepage.joey2006-05-04
| | | | | * Allow links of the form [[some page|page]], with whitespace in the link text.
* add a syntax checkjoey2006-05-03
|
* addjoey2006-05-02
|
* * Add unit tests for several core functions, including globlist_match,joey2006-05-02
| | | | | dirname, basename, and bestlink. as plugins and work. (Well, in theory.)
* ah, the joys of test-based development..joey2006-05-02
| | | | | think I have smart glob list matching working ok
* * Add a unit test for globlist_match().joey2006-05-02