summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2007-08-21test suite fixesjoey
2007-07-09 get confused. So it's best for ikiwiki to follow the compatabilityjoey
* Support building on systems that lack asprintf. * mercurial getctime is currently broken, apparently by some change in mercurial version 0.9.4. Turn the failing test case into a TODO test case.
2007-06-26* Patch fixing various additional problems with test suite. Closes: #425891joey
once more.
2007-06-23* Allow svnpath config option to contain additional extra slashes anywherejoey
w/o confusing ikiwiki. * Rcs modules are now imported, so other modules that need similar normalisation of configs etc can do so.
2007-06-02couple morejoey
2007-06-02* Add test suite for preprocessor directive parsing.joey
2007-05-30* Apply a patch from Carl Worth adding support for using globs in link()joey
in a PageSpec.
2007-05-24* Fix FTBFS in test suite introduced in last version. Closes: #425891joey
2007-05-20build fixesjoey
2007-05-20* Add a test ensuring that the basewiki is self-contained and has no brokenjoey
links.
2007-04-29fixjoey
2007-04-29updates for usedirsjoey
2007-04-27the kind of perl code that can only be written at 4:30 amjoey
(Get a good message when a PageSpec fails due to a negated success by creating success objects with a reason string, which morph into failure objects when negated.)
2007-04-27* Make pagespec_match on failure return a value that is false, but in ajoey
scalar context, evaluates to a reason why the match failed. * Add testpagespec plugin, which might be useful to see why a pagespec isn't matching something.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2007-04-14support %destsourcesjoey
2007-03-21* Fix link() PageSpecs to not just look at the raw link text, but at wherejoey
that given link points based on the page doing the linking. Note that this could make such PageSpecs match different things than before, if you relied on the old behavior of them only matching the raw link text. * This required changing the match_* interface, adding a third parameter. * Allow link() PageSpecs to match relative, as is allowed with globs.a * Add postform option to inline plugin. * Add an bug tracker to the softwaresite example.
2007-03-07My fix to support encoded underscores in page titles broke links to pagesjoey
with underscores in their filenames, since the link code also used titlepage. Create a new linkpage function and have the link code use that instead.
2007-03-02* Allow for underscores to appear in page titles, if encoded appropriatelyjoey
(__95__) in filenames. Previously, all underscores were replaced with spaces. Thanks, Enrico Zini for noticing that bug.
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
2007-02-20add testjoey
2007-02-12* Allow plugins to add new types of tests that can be used in PageSpecs.joey
* Add a "conditional" plugin, which allows displaying text if a condition is true. It is enabled by default so conditional can be used in the basewiki. * Use conditionals in the template for plugins, so that plugin pages say if they're currently enabled or not, and in various other places in the wiki.
2007-02-07fixes and more testsjoey
2007-02-06* Patch based on a patch from Ethan to support relative matching injoey
PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
2007-01-06Add userdir testcases. This also fixes an undefined value.joey
2006-12-28cgiurl now needs to be set to get edit linksjoey
2006-11-26git test suitejoey
2006-11-26* Mercurial backend improvements, including --get-ctime support.joey
2006-11-26mercurial username setting patchjoey
2006-11-21* Add a test suite for the mercurial backend, contributed by Emanuele Aina.joey
* Add a test suite for the svn backend. * Daemonize before sending RPC pings, since that can take a while and/or hang. * Daemonize before sending commit mails, as that can also take a long time/hang if the mail server is unhappy. * Factor out commit mail sending code into new function.
2006-11-20* Rename ikiwiki.pl so MakeMaker doesn't see it, and install it.joey
* Add some code to the build system that tries to determine if the lib installation directory is in @INC. If it's not, munge ikiwiki to hardcode the path to the lib directory. This should allow installing ikiwiki in nonstandard locations, including home directories, by just setting PREFIX at build time. * Fix nested examples directory in deb.
2006-10-08* Change %renderedfiles to store an array of files rendered from a givenjoey
source file, to allow tracking of extra rendered files like rss feeds. * Note that plugins that accessed this variable will need to be updated! The plugin interface has been increased to version 1.01 for this change. * Add will_render function to the plugin interface, used to register that a page renders a destination file, and do some security checks. * Use will_render in the inline and linkmap plugins. * Previously but no longer rendered files will be cleaned up. * You will need to rebuild your wiki on upgrade to this version.
2006-09-25improve diagnosticsjoey
2006-09-11addjoey
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-08-28* Change htmlize, format, and sanitize hooks to use named parameters.joey
2006-08-28* Add toc (table of contents) plugin.joey
2006-08-18validate plugins/mapjoey
2006-08-13updatejoey
2006-08-13* The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.joey
* 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.
2006-08-08* Ship ikiwiki executable as ikiwiki.pl in source to avoid issues onjoey
case-sensative filesystems like OSX.
2006-08-03* Added created_before and created_after PageSpec limits.joey
2006-08-02* Fix stupid bug in date matching, patch from Roland Mas. Closes: #381132joey
* Added many unit tests for pagespec_match.
2006-08-02link and backlink pagespec testsjoey
2006-08-02complex testjoey
2006-08-02* Renamed GlobLists to PageSpecs.joey
* 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.
2006-07-28* Add exclude option in setup files, works same as --exclude.joey
2006-07-03* Support htmlize plugins and make mdwn one such plugin, which is enabled byjoey
default (of course!). Based on a patch by Faidon Liambotis.
2006-07-02* POSIX::strftime doesn't know about encodings and doesn't return a utf8joey
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)
2006-07-02FUCK UTF8 fuck fuck fuck!!!joey
(and perl)