aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* test suite fixesjoey2007-08-21
|
* get confused. So it's best for ikiwiki to follow the compatabilityjoey2007-07-09
| | | | | | * 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.
* * Patch fixing various additional problems with test suite. Closes: #425891joey2007-06-26
| | | | once more.
* * Allow svnpath config option to contain additional extra slashes anywherejoey2007-06-23
| | | | | | w/o confusing ikiwiki. * Rcs modules are now imported, so other modules that need similar normalisation of configs etc can do so.
* couple morejoey2007-06-02
|
* * Add test suite for preprocessor directive parsing.joey2007-06-02
|
* * Apply a patch from Carl Worth adding support for using globs in link()joey2007-05-30
| | | | in a PageSpec.
* * Fix FTBFS in test suite introduced in last version. Closes: #425891joey2007-05-24
|
* build fixesjoey2007-05-20
|
* * Add a test ensuring that the basewiki is self-contained and has no brokenjoey2007-05-20
| | | | links.
* fixjoey2007-04-29
|
* updates for usedirsjoey2007-04-29
|
* the kind of perl code that can only be written at 4:30 amjoey2007-04-27
| | | | | | | (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.)
* * Make pagespec_match on failure return a value that is false, but in ajoey2007-04-27
| | | | | | 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.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | 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.
* support %destsourcesjoey2007-04-14
|
* * Fix link() PageSpecs to not just look at the raw link text, but at wherejoey2007-03-21
| | | | | | | | | | 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.
* My fix to support encoded underscores in page titles broke links to pagesjoey2007-03-07
| | | | | | | 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.
* * Allow for underscores to appear in page titles, if encoded appropriatelyjoey2007-03-02
| | | | | (__95__) in filenames. Previously, all underscores were replaced with spaces. Thanks, Enrico Zini for noticing that bug.
* * Changed calling convention for httmllink slightly. The first threejoey2007-02-20
| | | | | | | | | | 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.
* add testjoey2007-02-20
|
* * Allow plugins to add new types of tests that can be used in PageSpecs.joey2007-02-12
| | | | | | | | | * 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.
* fixes and more testsjoey2007-02-07
|
* * Patch based on a patch from Ethan to support relative matching injoey2007-02-06
| | | | | PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
* Add userdir testcases. This also fixes an undefined value.joey2007-01-06
|
* cgiurl now needs to be set to get edit linksjoey2006-12-28
|
* git test suitejoey2006-11-26
|
* * Mercurial backend improvements, including --get-ctime support.joey2006-11-26
|
* mercurial username setting patchjoey2006-11-26
|
* * Add a test suite for the mercurial backend, contributed by Emanuele Aina.joey2006-11-21
| | | | | | | | | * 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.
* * Rename ikiwiki.pl so MakeMaker doesn't see it, and install it.joey2006-11-20
| | | | | | | | | * 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.
* * Change %renderedfiles to store an array of files rendered from a givenjoey2006-10-08
| | | | | | | | | | | 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.
* improve diagnosticsjoey2006-09-25
|
* addjoey2006-09-11
|
* * Work on firming up the plugin interface:joey2006-09-09
| | | | | | | | | | | | | | | | | | | - 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.
* * Change htmlize, format, and sanitize hooks to use named parameters.joey2006-08-28
|
* * Add toc (table of contents) plugin.joey2006-08-28
|
* validate plugins/mapjoey2006-08-18
|
* 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)