aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* Merge branch 'master' into poJoey Hess2009-05-19
|\ | | | | | | | | Conflicts: debian/changelog
| * Allow curly braces to be used in pagespecsJoey Hess2009-05-18
| | | | | | | | | | | | | | And avoid a whole class of potential security problems (though none that I know of actually existing..), by avoiding performing any string interpolation on user-supplied data when translating pagespecs.
* | Merge commit 'upstream/master' into pub/pointrigeri2009-04-20
|\| | | | | | | | | | | | | Conflicts: debian/changelog debian/control
| * Fix git test suite to use a bare repo.Joey Hess2009-04-04
| | | | | | | | | | | | | | | | This works around an enormous (and, in this context, enormously confusing) message that git has begun to print when one attempts to push changes into a non-bare repo. As a bonus, it now tests whether ikiwiki-makerepo works.
* | Merge commit 'upstream/master' into prv/pointrigeri2009-03-08
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: IkiWiki/Plugin/editpage.pm debian/control debian/copyright doc/todo/need_global_renamepage_hook.mdwn Signed-off-by: intrigeri <intrigeri@boum.org>
| * Add noextension parameter to htmlize hooks to support, eg, Makefile.Joey Hess2009-02-19
| |
| * add keepextension testsJoey Hess2009-02-19
| |
| * fix pagename, pagetype testsJoey Hess2009-02-19
| | | | | | | | | | | | Put tests in right file. Set internal variable to hash, the functions expect that.
| * fix pagetype testJoey Hess2009-02-19
| | | | | | | | | | File had wrong name, and made wrong assumption about what pagetype does for bare files.
| * rename apache404 -> 404Joey Hess2009-01-31
| | | | | | | | | | | | This may already work with other web servers that have copied apache's interface, and it should be easy to add support to it for web servers that use some other interface. So, make the name more general.
| * Split apache404 into an independent pluginSimon McVittie2009-01-31
| | | | | | | | | | Also make it ignore the 'do' parameter at Joey's suggestion, to have one less thing to remember when configuring.
| * CGI: add cgi_page_from_404(), which remaps a path like $REDIRECT_URL to an ↵Simon McVittie2009-01-31
| | | | | | | | | | | | IkiWiki page name Also add a regression test
* | revert renamepage's hook original nameintrigeri2009-01-27
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge commit 'upstream/master' into prv/pointrigeri2009-01-18
|\| | | | | | | | | | | Conflicts: t/syntax.t
| * load rpc xml lib on the flyJoey Hess2009-01-17
| | | | | | | | | | This way, enabling the plugin via websetup is safe, it can't leave ikiwiki in a broken state.
* | Merge commit 'upstream/master' into prv/pointrigeri2009-01-17
|\| | | | | | | | | | | | | | | | | Conflicts: IkiWiki/Plugin/editpage.pm IkiWiki/Plugin/skeleton.pm.example doc/plugins/write.mdwn t/syntax.t
| * blogspam: New plugin, adding spam filtering for page editing / comment ↵Joey Hess2009-01-16
| | | | | | | | posting using the BlogSpam.net API.
* | po.t: fix test suiteintrigeri2009-01-15
| | | | | | | | | | | | (translatable files now have to exist in srcdir) ) Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge commit 'upstream/master' into prv/pointrigeri2009-01-13
|\|
| * yesno: Always accept English even when localised.Joey Hess2009-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems to be a failing of i18n in unix that the translation stops at the commands and the parameters to them, and ikiwiki is no exception with its currently untranslated directives. So the little bit that's translated sticks out like a sore thumb. It also breaks building of wikis if a different locale happens to be set. I suppose the best thing to do is either give up on the localisation of this part completly, or make it recognise English in addition to the locale. I've tenatively chosen the latter. (Also accept 1 and 0 as input.)
* | Merge commit 'upstream/master' into prv/pointrigeri2009-01-01
|\|
| * remove globlist supportJoey Hess2008-12-23
| | | | | | | | | | No transition code implemented, but I will probably make a 2.x release that warns about found globlists.
| * fix to use prefix directivesJoey Hess2008-12-23
| |
| * fix to use prefix directivesJoey Hess2008-12-23
| |
* | renamed the renamepage hook to renamelink, added rename hookintrigeri2008-12-30
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po.t: adapted a few tests to match the current ikiwiki behaviourintrigeri2008-12-30
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge commit 'upstream/master' into prv/pointrigeri2008-12-30
|\| | | | | | | | | | | | | | | | | | | Conflicts: debian/control debian/copyright doc/ikiwiki/pagespec.mdwn Signed-off-by: intrigeri <intrigeri@boum.org>
| * avoid an uninitialized value warningJoey Hess2008-12-21
| |
| * Merge commit 'smcv/openid'Joey Hess2008-12-21
| |\
| | * Add a regression test for &openiduserSimon McVittie2008-12-21
| | |
| * | add another testJoey Hess2008-12-21
| | |
| * | beautify_urlpath: add a regression testSimon McVittie2008-12-21
| |/
| * use HTML::EntitiesJoey Hess2008-11-17
| |
| * modify to skip tests if the neccessary perl modules are not availableJoey Hess2008-11-17
| |
| * htmlbalance: new plugin that balances tags by parsing and re-serializingSimon McVittie2008-11-17
| |
* | po.t: cleanupintrigeri2008-11-13
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: fix istranslation/istranslatable for pages starting with /intrigeri2008-11-12
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: change a bit the way links are generatedintrigeri2008-11-11
| | | | | | | | | | | | This will soon enable usage of translated page titles in link. Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: fixed link to home page when po_link_to=negotiated, added testcaseintrigeri2008-11-11
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: fixed link to homepage from non-translation pageintrigeri2008-11-11
| | | | | | | | | | | | | | Added testcases for this bug. It remains broken when generated from <TMPL_VAR BASEURL>, though. Signed-off-by: intrigeri <intrigeri@boum.org>
* | t/po.t: removed debug linesintrigeri2008-11-10
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | Merge commit 'upstream/master' into prv/pointrigeri2008-11-10
|\|
| * Fix the link() pagespec to match links that are internally recorded as absolute.Joey Hess2008-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | po: finished backlinks implementationintrigeri2008-11-07
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: oops, removed debug output from testsuitintrigeri2008-11-07
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po: implemented linking specification in testcaseintrigeri2008-11-07
| | | | | | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* | po plugin: added test cases for index.*intrigeri2008-11-02
| | | | | | | | | | | | (Translatable index is currently buggy, let's fix this.) Signed-off-by: intrigeri <intrigeri@boum.org>
* | po plugin: added testsuiteintrigeri2008-11-02
| | | | | | | | | | | | | | | | | | 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>
* | syntax.t: skip po since it uses a perl module not in build depsintrigeri2008-10-18
|/ | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* add test for empty, and for entirely negated pagespecsJoey Hess2008-09-30
|