summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2009-07-19renameJoey Hess
2009-07-19Merge branch 'master' into poJoey Hess
Conflicts: debian/changelog
2009-07-16releasing version 3.14159Joey Hess
2009-07-11Move OpenID pretty-printing from openid plugin to core (smcv)Joey Hess
2009-07-11img: Pass the align parameter through to the generated img tag.Joey Hess
2009-07-08svn: Fix rcs_rename to properly scope call to dirname.Joey Hess
2009-07-07highlight: Fix utf-8 encoding bug. Closes: #535028Joey Hess
2009-07-07Update IkiWiki::openiduser to work with Net::OpenID 2.xSimon McVittie
openiduser previously used a constructor that no longer works in 2.x. However, all we actually want is the (undocumented) DisplayOfURL function that is invoked by the display method, so try to use that. (cherry picked from commit c3dd0ff5c7c10743107f203a5b456fdcd1b171df)
2009-06-29Updated French debconf templates translation. Closes: #535103Joey Hess
2009-06-16img: Fix extra double quote with alt text. (smcv)Joey Hess
2009-06-13releasing version 3.141Joey Hess
2009-06-12aggregate: Avoid resetting ctime when an item md5 changes.Joey Hess
Besides being wrong to do, this could lead to the wrong item being expired, as follows: If B is added and at the same time A is changed, then A's ctime may be set to the current time, while B's is set to its creation time. Thus the new item, A, is incorrectly removed as older. (This interacted especially badly with the bug fixed by 90b4d079605b72bb50d1da41402d994960e10937.)
2009-06-12aggregate: Fix storing of changed md5.Joey Hess
The aggregate state merge code neglected to merge changes to the md5 field of an item. Therefore, if an item's md5 changed after initial aggregation, it would be updated, and rewritten, each time thereafter. This was wasteful and indirectly led to some expire problems.
2009-06-10Updated French translation. Closes: #532654Joey Hess
2009-06-09Disable the Preferences link if no plugin with an auth hook is enabled.Joey Hess
2009-06-08meta: Add openid delegate parameter to allow delegating only openid or openid2.Joey Hess
2009-06-08Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not ↵Joey Hess
available. The test suite was emitting a lot of ugly gettext warnings; setting LC_ALL didn't solve the problem for all locale setups (since ikiwiki remaps it to LANG, and ikiwiki didn't know about the C locale). People also seem generally annoyed by the messages when Locale::Gettext is not installed, and I suspect will be generally happier if it just silently doesn't localize. The optimisation came about when I noticed that the gettext sub was doing rather a lot of work each call just to see if localisation is needed. We can avoid that work by caching, and the best thing to cache is a version of the gettext sub that does exactly the right thing. This was slightly complicated by the locale setting, which might need to override the original locale (or lack thereof) after gettext has been called. So it needs to invalidate the cache in that case. It used to do it via a global variable, which I am happy to have also gotten rid of.
2009-06-06Merge commit 'upstream/master' into pub/pointrigeri
Conflicts: debian/changelog debian/control Signed-off-by: intrigeri <intrigeri@boum.org>
2009-06-06goto: Support being passed a page title that is not a valid page name, to ↵Joey Hess
support several cases including mercurial's long user names on the RecentChanges page, and urls with spaces being handled by the 404 plugin.
2009-06-05pagecount: Fix broken optimisation for * pagespec.Joey Hess
2009-06-05Setup automator: Check that each plugin added to the generated setup file ↵Joey Hess
can be loaded and that its config is ok. If a plugin fails for any reason, disable it in the generated file. Closes: 532001
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-21Merge commit 'upstream/master' into pub/pointrigeri
2009-05-20ikiwiki-transition: Allow setup files to be passed to all subcommands that ↵Joey Hess
need a srcdir.
2009-05-19Merge branch 'master' into poJoey Hess
Conflicts: debian/changelog
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.