summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2008-12-28releasing version 2.72Joey Hess
2008-12-26inline: Run format hook firstJoey Hess
inline has a format hook that is an optimisation hack. Until this hook runs, the inlined content is not present on the page. This can prevent other format hooks, that process that content, from acting on inlined content. In bug ##509710, we discovered this happened commonly for the embed plugin, but it could in theory happen for many other plugins (color, cutpaste, etc) that use format to fill in special html after sanitization. The ordering was essentially random (hash key order). That's kinda a good thing, because hooks should be independent of other hooks and able to run in any order. But for things like inline, that just doesn't work. To fix the immediate problem, let's make hooks able to be registered as running "first". There was already the ability to make them run "last". Now, this simple first/middle/last ordering is obviously not going to work if a lot of things need to run first, or last, since then we'll be back to being unable to specify ordering inside those sets. But before worrying about that too much, and considering dependency ordering, etc, observe how few plugins use last ordering: Exactly one needs it. And, so far, exactly one needs first ordering. So for now, KISS. Another implementation note: I could have sorted the plugins with first/last/middle as the primary key, and plugin name secondary, to get a guaranteed stable order. Instead, I chose to preserve hash order. Two opposing things pulled me toward that decision: 1. Since has order is randomish, it will ensure that no accidental ordering assumptions are made. 2. Assume for a minute that ordering matters a lot more than expected. Drastically changing the order a particular configuration uses could result in a lot of subtle bugs cropping up. (I hope this assumption is false, partly due to #1, but can't rule it out.)
2008-12-26comments: Deal with users entering unqualified or partial urls.Joey Hess
People seem to be able to expect to enter www.foo.com and get away with it. The resulting my.wiki/www.foo.com link was not ideal. To fix it, use URI::Heuristic to expand such things into a real url. It even looks up hostnames in the DNS if necessary.
2008-12-25googlecalendar: Add runtime deprecation warning.Joey Hess
2008-12-23camelcase: Add camelcase_ignore setting.Joey Hess
2008-12-23Add deprecation warning for GlobLists, which will stop working in 3.0.Joey Hess
2008-12-22merge recentchanges comments fixJoey Hess
2008-12-21formattingJoey Hess
2008-12-21openid branch mergedJoey Hess
2008-12-21meta: Process meta date during scan pass so that the date will always affect ↵Joey Hess
sorting in inlines.
2008-12-17aggregate: If a feed fails to be downloaded, try again immediatly next time ↵Joey Hess
aggregation is run, even if the usual time has not passed. Closes: #508622 (Michael Gold)
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-12-17Merge branch 'master' into commentsJoey Hess
2008-12-17monotone: When getting the log, tell monotone how many entries we want, ↵Joey Hess
rather than closing the pipe, which it dislikes. (thm)
2008-12-17rename: Fix double-escaping of page name in edit box.Joey Hess
titlepage normally escapes, but so does formbuilder.
2008-12-12update changelogJoey Hess
2008-12-12update copyrightJoey Hess
2008-12-12add log entryJoey Hess
2008-12-12meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect.Joey Hess
2008-12-11inline: Support feedfile option to change the filename of the feed generated.Joey Hess
2008-12-11inline: Support emptyfeeds=no option to skip generating empty feeds.Joey Hess
2008-11-28German translation update from Kai Wasserbäch. Closes: #507056Joey Hess
1997-08-14Correct --dumpsetup to include the srcdir in the setup file.Joey Hess
2008-11-26fix handling of wrappergroup optionJoey Hess
Had forgot to include it in the option list.
1997-08-14Spanish translation update from Victor Moral.Joey Hess
2008-11-19French translation update from Philippe Batailler. Closes: #506250Joey Hess
2008-11-18improve escaping of wikilinks and preprocessor directivesJoey Hess
The old method failed for '[' x 3.
2008-11-17Change deb dependencies to list Text::Markdown before markdown (really this ↵Joey Hess
time).
2008-11-17don't need libxml-atom-perl nowJoey Hess
2008-11-17adding htmlbalance; housekeepingJoey Hess
Used the contrib version of the plugin page since it seemed better than the other one.
2008-11-12releasing version 2.70Joey Hess
2008-11-12check for invalid utf-8, and toss it back to avoid crashesJoey Hess
Since ikiwiki uses open :utf8, perl assumes that files contain valid utf-8. If it turns out to be malformed it may later crash while processing strings read from them, with 'Malformed UTF-8 character (fatal)'. As at least a quick fix, use utf8::valid as soon as data is read, and if it's not valid, call encode_utf8 on the string, thus clearing the utf-8 flag. This may cause follow-on encoding problems, but will avoid this crash, and the input file was broken anyway, so GIGO is a reasonable response. (I looked at calling decode_utf8 after, but it seemed to cause more trouble than it was worth. BTW, use open ':encoding(utf8)' avaoids this problem, but the corrupted data later causes Storable to crash when writing the index.) This is a quick fix, clearly imperfect: - It might be better to explicitly call decode_utf8 when reading files, rather than using the IO layer. - Data read other than by readfile() can still sneak in bad utf-8. While ikiwiki does very little file input not using it, stdin for the CGI would be one way.
2008-11-11make unlockwiki drop the cgilockJoey Hess
This is necessary so that things that fork to the background, like pinger, and inline ping, don't block other cgis from running. Note that websetup also calls unlockwiki, before refreshing / rebuilding the wiki. It makes perfect sense for that not to block other cgis.
2008-11-11lockwiki changesJoey Hess
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up for up to one second. The bailout code is no longer needed. * Remove support for unused optional wait parameter from lockwiki.
2008-11-11bzr: Fix dates for recentchanges.Joey Hess
2008-11-10typoJoey Hess
2008-11-10tag: Normalize tagbase so leading/trailing slashes in it don't break things.Joey Hess
2008-11-10Add rel=nofollow to recentchanges_links for the same (weak) reasons it was ↵Joey Hess
earlier added to edit links.
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-06txt: Do not encode quotes when filtering the txt, as that broke later ↵Joey Hess
parsing of any directives on the page.
2008-11-06meta: Plugin is now enabled by default since the basewiki uses it.Joey Hess
2008-11-06aggregate: Try to query XML::Feed for the base url when derelevatising ↵Joey Hess
links. Since this needs the just released XML::Feed 0.3, as well as a not yet released XML::RSS, it will fall back to the old method if no xml:base info is available.
2008-11-03releasing version 2.68Joey Hess
2008-10-31reorgJoey Hess
2008-10-31typoJoey Hess
2008-10-31format: New plugin, allows embedding differntly formatted text inside a page ↵Joey Hess
(ie, otl inside a mdwn page, or syntax highlighted code inside a page).
2008-10-30fix --setup --renderJoey Hess
In this mode, rebuild mode should not be on
2008-10-29Preserve syslog setting when doing `ikiwiki -setup foo -dumpsetup bar`Joey Hess
The syslog value from the setup file is purposfully ignored when doing ikiwiki -setup, so that it will output to stdout (while generating wrappers that do use the syslog). But that caused -dumpsetup to not preserve the syslog value from the setup file.
2008-10-29fix preview of shortcutsJoey Hess
Move shortcut processing back to checkconfig, and avoid it failing if the srcdir is not defined.
2008-10-27git: Allow [[sha1_commit]] to be used in the diffurl, to support cgit.Joey Hess