aboutsummaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAge
* svn: Fix rcs_rename to properly scope call to dirname.Joey Hess2009-07-08
|
* highlight: Fix utf-8 encoding bug. Closes: #535028Joey Hess2009-07-07
|
* Update IkiWiki::openiduser to work with Net::OpenID 2.xSimon McVittie2009-07-07
| | | | | | | 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)
* Updated French debconf templates translation. Closes: #535103Joey Hess2009-06-29
|
* img: Fix extra double quote with alt text. (smcv)Joey Hess2009-06-16
|
* releasing version 3.141Joey Hess2009-06-13
|
* aggregate: Avoid resetting ctime when an item md5 changes.Joey Hess2009-06-12
| | | | | | | | | | | 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.)
* aggregate: Fix storing of changed md5.Joey Hess2009-06-12
| | | | | | | 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.
* Updated French translation. Closes: #532654Joey Hess2009-06-10
|
* Disable the Preferences link if no plugin with an auth hook is enabled.Joey Hess2009-06-09
|
* meta: Add openid delegate parameter to allow delegating only openid or openid2.Joey Hess2009-06-08
|
* Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not ↵Joey Hess2009-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* goto: Support being passed a page title that is not a valid page name, to ↵Joey Hess2009-06-06
| | | | support several cases including mercurial's long user names on the RecentChanges page, and urls with spaces being handled by the 404 plugin.
* pagecount: Fix broken optimisation for * pagespec.Joey Hess2009-06-05
|
* Setup automator: Check that each plugin added to the generated setup file ↵Joey Hess2009-06-05
| | | | can be loaded and that its config is ok. If a plugin fails for any reason, disable it in the generated file. Closes: 532001
* Tighten up matching of bare words inside directivesJoey Hess2009-06-05
| | | | | | | 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.)
* Avoid relying on translators preserving the case when translating ↵Joey Hess2009-06-04
| | | | "discussion", which caused Discussion pages to get unwanted Discussion links.
* comment: Make comment directives no longer use the internal "_comment" form, ↵Joey Hess2009-06-02
| | | | | | | | | 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.
* releasing version 3.14Joey Hess2009-06-01
|
* Danish translation update. Closes: #530877Joey Hess2009-05-28
|
* Fix test suite to not rely on an installed copy of ikiwiki after underlaydir ↵Joey Hess2009-05-25
| | | | change. Closes: #530502
* allow format to use any language supported by highlightJoey Hess2009-05-23
| | | | | | | | | | | 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.
* highlight: New plugin supporting syntax highlighting of pretty much anything.Joey Hess2009-05-22
| | | | | | * debian/control: Add suggests for libhighlight-perl, although that package is not yet created by Debian's highlight source package. (See #529869)
* listdirectives: Avoid listing _comment directives and generally assume any ↵Joey Hess2009-05-22
| | | | directive starting with _ is likewise internal.
* ikiwiki-transition: deduplinks was broken and threw away all metadata stored ↵Joey Hess2009-05-22
| | | | by plugins in the index. Fix this bug.
* ikiwiki-transition: Allow setup files to be passed to all subcommands that ↵Joey Hess2009-05-20
| | | | need a srcdir.
* 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.
* More friendly display of markdown, textile in edit form selector (jmtd)Joey Hess2009-05-16
|
* Allow underlaydir to be overridden without messing up inclusion of other ↵Joey Hess2009-05-07
| | | | underlays via add_underlay.
* ikiwiki-transition: If passed a nonexistant srcdir, or one not containing ↵Joey Hess2009-05-06
| | | | .ikiwiki, abort with an error rather than creating it.
* external: Fix pagespec_match and pagespec_match_list. Closes: #527281Joey Hess2009-05-06
|
* Avoid %links accumulating duplicates. (For TOVA)Joey Hess2009-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* inline: Minor optimisation.Joey Hess2009-05-05
| | | | | | | | | | 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.
* ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on ↵Joey Hess2009-05-05
| | | | nonexistant directories with some broken perl versions.
* turn python-support back onJoey Hess2009-05-04
| | | | Should wait to upload until ikiwiki is fixed in testing.
* releasing version 3.11Joey Hess2009-05-04
|
* Avoid using python-support. Closes: #525086Joey Hess2009-05-04
| | | | | | | Uses new debhelper feature to turn off python-support. The tiny python module included herein certianly doesn't need all the python-support nonsense.
* translation.mdwn: Typo fixes. Closes: #525753Joey Hess2009-04-27
|
* Updated Danish translation from Jonas Smedegaard. Closes: #525751Joey Hess2009-04-27
|
* pagespec_match_list added and used in most appropriate placesJoey Hess2009-04-23
| | | | | | | | * 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.
* comments: Add link to comment post form to allow user to sign in if they ↵Joey Hess2009-04-23
| | | | wish to, if the configuration makes signin optional for commenting.
* pagespec error/failure distinction and error display by inlineJoey Hess2009-04-23
| | | | | | | | | | | | | * 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.
* relativedate: Deal with clock skew.Joey Hess2009-04-23
| | | | | | | | | | | 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.
* websetup: If setup fails, restore old setup file.Joey Hess2009-04-22
|
* blogspam: Load RPC::XML library in checkconfig, so that an error can be ↵Joey Hess2009-04-22
| | | | printed at that point if it's not available, allowing the admin to see it during wiki setup. Closes: #520015
* websetup: Display stderr in browser if ikiwiki setup fails.Joey Hess2009-04-22
|
* Add python:Depends to control file. Closes: #525086Joey Hess2009-04-21
|
* releasing version 3.10Joey Hess2009-04-18
|
* Add a microblog template that is useful for inlining microblogging posts.Joey Hess2009-04-11
|
* inline: Add author info to archive display.Joey Hess2009-04-10
| | | | | This won't change it normally, and is useful if using archive format to display some aggregated feed titles.