summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2009-06-05Tighten up matching of bare words inside directivesJoey Hess
Do not allow an unterminated """ string to be treated as a series of bare words. Fixes runaway regexp recursion/backtracking in strange situations. (See 1d57a21c987a5e970df01efe10acdf69982c2d61 for test case.)
2009-06-04Avoid relying on translators preserving the case when translating ↵Joey Hess
"discussion", which caused Discussion pages to get unwanted Discussion links.
2009-06-02comment: Make comment directives no longer use the internal "_comment" form, ↵Joey Hess
and document the comment directive syntax. Rationalle: Comments need to be user-editable so that they can be posted via git commit etc. The _comment directive is still supported, for back-compat.
2009-06-01releasing version 3.14Joey Hess
2009-05-28Danish translation update. Closes: #530877Joey Hess
2009-05-25Fix test suite to not rely on an installed copy of ikiwiki after underlaydir ↵Joey Hess
change. Closes: #530502
2009-05-23allow format to use any language supported by highlightJoey Hess
format: Provide a htmlizefallback hook that other plugins can use to handle formats that are not suitable for general-purpose htmlize hooks. highlight: Use the hook to allow formatting of any language/extension, without it needing to be enabled for standalone source files. highlight: If the highlight perl binding is not available, fallback safely to a passthrough mode.
2009-05-22highlight: New plugin supporting syntax highlighting of pretty much anything.Joey Hess
* debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869)
2009-05-22listdirectives: Avoid listing _comment directives and generally assume any ↵Joey Hess
directive starting with _ is likewise internal.
2009-05-22ikiwiki-transition: deduplinks was broken and threw away all metadata stored ↵Joey Hess
by plugins in the index. Fix this bug.
2009-05-20ikiwiki-transition: Allow setup files to be passed to all subcommands that ↵Joey Hess
need a srcdir.
2009-05-18Allow curly braces to be used in pagespecsJoey Hess
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.
2009-05-16More friendly display of markdown, textile in edit form selector (jmtd)Joey Hess
2009-05-07Allow underlaydir to be overridden without messing up inclusion of other ↵Joey Hess
underlays via add_underlay.
2009-05-06ikiwiki-transition: If passed a nonexistant srcdir, or one not containing ↵Joey Hess
.ikiwiki, abort with an error rather than creating it.
2009-05-06external: Fix pagespec_match and pagespec_match_list. Closes: #527281Joey Hess
2009-05-06Avoid %links accumulating duplicates. (For TOVA)Joey Hess
This is sorta an optimisation, and sorta a bug fix. In one test case I have available, it can speed a page build up from 3 minutes to 3 seconds. The root of the problem is that $links{$page} contains arrays of links, rather than hashes of links. And when a link is found, it is just pushed onto the array, without checking for dups. Now, the array is emptied before scanning a page, so there should not be a lot of opportunity for lots of duplicate links to pile up in it. But, in some cases, they can, and if there are hundreds of duplicate links in the array, then scanning it for matching links, as match_link and some other code does, becomes much more expensive than it needs to be. Perhaps the real right fix would be to change the data structure to a hash. But, the list of links is never accessed like that, you always want to iterate through it. I also looked at deduping the list in saveindex, but that does a lot of unnecessary work, and doesn't completly solve the problem. So, finally, I decided to add an add_link function that handles deduping, and make ikiwiki-transition remove the old dup links.
2009-05-05inline: Minor optimisation.Joey Hess
When finding the pageurl, it was calling bestlink unnecessarily. Since at this point $page contains the full name of the page that is being inlined, there is no need to do bestlink's scan for it. This is only a minor optimisation, since bestlink is only called once per displayed, inlined page.
2009-05-05ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on ↵Joey Hess
nonexistant directories with some broken perl versions.
2009-05-04turn python-support back onJoey Hess
Should wait to upload until ikiwiki is fixed in testing.
2009-05-04releasing version 3.11Joey Hess
2009-05-04Avoid using python-support. Closes: #525086Joey Hess
Uses new debhelper feature to turn off python-support. The tiny python module included herein certianly doesn't need all the python-support nonsense.
2009-04-27translation.mdwn: Typo fixes. Closes: #525753Joey Hess
2009-04-27Updated Danish translation from Jonas Smedegaard. Closes: #525751Joey Hess
2009-04-23pagespec_match_list added and used in most appropriate placesJoey Hess
* pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
2009-04-23comments: Add link to comment post form to allow user to sign in if they ↵Joey Hess
wish to, if the configuration makes signin optional for commenting.
2009-04-23pagespec error/failure distinction and error display by inlineJoey Hess
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return them in cases where they fail to match due to a configuration or syntax error. * inline: Display a handy error message if the inline cannot display any pages due to such an error. This is perhaps somewhat incomplete, as other users of pagespecs do not display the error, and will eventually need similar modifications to inline. I should probably factor out a pagespec_match_all function and make it throw ErrorReasons.
2009-04-23relativedate: Deal with clock skew.Joey Hess
If the server has a clock running a bit ahead of the web browsing client, relativedate could cause somewhat confusing displays like "3 seconds from now" for just posted things. As a hack, avoid displaying times in the future if they're less than a small slip forward. I chose 30 minutes because both client and server could be wrong in different directions, while it's still close enough that "just now" is not horribly wrong.
2009-04-22websetup: If setup fails, restore old setup file.Joey Hess
2009-04-22blogspam: Load RPC::XML library in checkconfig, so that an error can be ↵Joey Hess
printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015
2009-04-22websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess
2009-04-21Add python:Depends to control file. Closes: #525086Joey Hess
2009-04-18releasing version 3.10Joey Hess
2009-04-11Add a microblog template that is useful for inlining microblogging posts.Joey Hess
2009-04-10inline: Add author info to archive display.Joey Hess
This won't change it normally, and is useful if using archive format to display some aggregated feed titles.
2009-04-10debian/control: Wrap fields.Joey Hess
2009-04-10Add missing permalink support to archivepage and titlepage templates.Joey Hess
2009-04-04Merge branch 'darcs'Joey Hess
Conflicts: debian/changelog
2009-04-04Add missing newline to Confirm Password prompt.Joey Hess
2009-04-04move comments to copyright and changelogJoey Hess
2009-04-04Fix git test suite to use a bare repo.Joey Hess
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.
2009-04-01clarifyJoey Hess
2009-04-01recentchanges: change to using do=goto links.Joey Hess
2009-03-31Add missing suggests on libtext-textile-perl. Closes: #522039Joey Hess
2009-03-30Fix documentation of anonok_pagespec. Closes: #521793Joey Hess
2009-03-26comments: Fix anchor ids to be legal xhtml. Closes: #521339Joey Hess
Well, that was a PITA. Luckily, this doesn't break guids to comments in rss feeds, though it does change the links. I haven't put in a warning about needing to rebuild to get this fix. It's probably good enough for new comments to get the fix, without a lot of mass rebuilding.
2009-03-26comments: Fix too loose test for comments pages that matched normal pages ↵Joey Hess
with "comment_" in their name. Closes: #521322
2009-03-25css: Add clear: both to inlinefooter.Joey Hess
If an inlined page contains a floating element, this ensures that the footer appears beneath it, and prevents the floating element from possibly leaking down to the next inlined page.
2009-03-24Updated French translation (Jean-Luc Coulon). Closes: #521072Joey Hess
2009-03-20git, mercurial: Fix --getctime to return file creation time, not last commit ↵Joey Hess
time.