summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2008-12-30po.t: adapted a few tests to match the current ikiwiki behaviourintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30Merge commit 'upstream/master' into prv/pointrigeri
Conflicts: debian/control debian/copyright doc/ikiwiki/pagespec.mdwn Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-21avoid an uninitialized value warningJoey Hess
2008-12-21Merge commit 'smcv/openid'Joey Hess
2008-12-21add another testJoey Hess
2008-12-21Add a regression test for &openiduserSimon McVittie
2008-12-21beautify_urlpath: add a regression testSimon McVittie
2008-11-13po.t: cleanupintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12po: fix istranslation/istranslatable for pages starting with /intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: change a bit the way links are generatedintrigeri
This will soon enable usage of translated page titles in link. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: fixed link to home page when po_link_to=negotiated, added testcaseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11po: fixed link to homepage from non-translation pageintrigeri
Added testcases for this bug. It remains broken when generated from <TMPL_VAR BASEURL>, though. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10t/po.t: removed debug linesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10Merge commit 'upstream/master' into prv/pointrigeri
2008-11-09Fix the link() pagespec to match links that are internally recorded as absolute.Joey Hess
This fixes a problem exposed by the recent change to tags (a2839de9362187b67b0e3a564461e272e64fd9b4). That recorded tag links as absolute by including a leading slash in the link. The same could also be done with an absolute wikilink. In either case, link() would not match such links, unless the leading slash was included in the link to match. But that's not right, because pagespecs match absolute by default. So strip the leading slash. Note that to keep any existing `link(/foo)` pagespecs working after this change, the leading slash is removed from there, too.
2008-11-07po: finished backlinks implementationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: oops, removed debug output from testsuitintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07po: implemented linking specification in testcaseintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: added test cases for index.*intrigeri
(Translatable index is currently buggy, let's fix this.) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02po plugin: added testsuiteintrigeri
I want to have an easy way to know if I break something when I'll convert custom added hooks to the new "inject" feature. It will also be useful after this conversion, to trigger an alert when IkiWiki's internals change enough to break my wrapper functions. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18syntax.t: skip po since it uses a perl module not in build depsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-09-30add test for empty, and for entirely negated pagespecsJoey Hess
2008-09-27Export pagetitle, titlepage, linkpage.Joey Hess
2008-09-23Add keepextension parameter to htmlize hook. (Willu)Joey Hess
2008-09-11test for brokenlinks when listdirectives is enabled, tooJoey Hess
2008-09-11display broken links on failureJoey Hess
2008-08-03test skeleton.pm.exampleJoey Hess
2008-08-01update rcs tests for new rcs plugin load methodJoey Hess
As a side effect, since loadplugins is called, mdwn is loaded, so rcs_recentchanges will return page names, not filenames, for mdwn files.
2008-07-26finish with rcs plugin conversionJoey Hess
2008-07-26Version control backends promoted to first-class pluginsJoey Hess
2008-07-26add a test caseJoey Hess
2008-07-25add test dataJoey Hess
2008-07-25add a regression test to ensure that permalinks never changeJoey Hess
2008-07-252 was apparently correctJoey Hess
I don't think it really matters whether directories are returned or not.
2008-07-25bring git test to parity with bazaar testJoey Hess
Also, fixed bug I introduced in bazaar test.
2008-07-25expose a bug in bzr renameing codeJoey Hess
2008-07-25add missing --quietJoey Hess
2008-07-25Merge commit 'jelmer/master'Joey Hess
2008-07-24Support staging commands in bzr backend.Jelmer Vernooij
2008-07-24fix encoding issues with link conversionJoey Hess
Have to convert link text to page name going in. And on the way out, need to replace spaces with underscores in the link text, which is not normally done with titles.
2008-07-23test suite and partial fix for encoding issues in link renamingJoey Hess
2008-07-23preserve case of subpageJoey Hess
2008-07-23case preservationJoey Hess
2008-07-23add renamepage hooksJoey Hess
Implemented for regular wikilinks, with a test suite.
2008-07-16Merge commit 'intrigeri/pedigree'Joey Hess
2008-07-15pedigree rename to parentlinks: rename/adapt everythingintrigeri
* Renamed to parentlinks every single variable or function called pedigree * Removed the parentlinks function from Render.pm * Enabled the new parentlinks plugin by default * Adapted testsuite and documentation to reflate the above facts Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-15pedigree rename to parentlinks: renamed files, to start withintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-15pedigree: rewrote with different designintrigeri
(and updated testsuite + docs accordingly) Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-14todo is not built, so don't try to check itJoey Hess
2008-07-14added testsuite for the pedigree pluginintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>