summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2011-04-30HTML::Entities::encode_numeric is not exportedJoey Hess
2011-04-30tag: Avoid autocreating multiple tag pages that vary only in capitalization. ↵Joey Hess
The first capitalization seen of a tag will be used for the tag page. Arguably, the real bug is in the interface to add_autofile, but since that does take a filename, not a page name, it cannot really do case handling on its own. The only other users of add_autofile in ikiwiki proper is autoindex, and it always uses one case. Other third party plugins might also need to add similar workarounds though.
2011-04-21meta: Add FOAF support. Closes: #623156 (Jonas Smedegaard)Joey Hess
2011-04-20fix use of debug() without sprintf()Jon Dowland
Previous commit substituted a printf call (two arguments) for debug (accepts only one). Interleave an sprintf call to resolve.
2011-04-20use debug() for wrapper-generation print outsJon Dowland
Use the debug() subroutine for printing out when wrappers are generated. This has the effect of hiding the messages unless verbose mode is enabled.
2011-04-17Fix syntax of recently added JavaScript syntax in meta.pm (<script /> ↵Jonas Smedegaard
apparently does not work).
2011-04-12meta: Fix bug in loading of HTML::Entities that can break inline archive=yes ↵Joey Hess
(mostly masked by other plugins that load the module).
2011-03-30Merge remote-tracking branch 'levitte/master'Joey Hess
2011-03-30look up avatar at comment post timeJoey Hess
There is a tension between looking up the avatar at post time and build time. I have not yet decided which is better. Lookup at build time has the benefit that if a user changes their email address, or sets up their own federated libravatar server, on rebuild their new avatar will show up. It also allows getting a https version of the avatar easily if the site was using http but was changed to use https. And it can look up avatars for posts that have already been made. Which is a nice thing, especially as we roll this out, eh? But it has a drawback, that it depends on the sessiondb contents for emails and so rebuilding a site w/o that will lose info. And, it means dns lookups every time a comment is rendered. A page with a lot of comments on it would render them all whenever another is posted or the page is changed, and that could significantly slow things down. (This could be amelorated by caching the lookups.) Since I'm undecided, I have moved it into a function that could be called either way. Currently looking up only at post time.
2011-03-30check site url for httpsJoey Hess
HTTPS won't be set when rebuilding a site at the command line
2011-03-30* IkiWiki/Plugin/monotone.pm: monotone v0.48 has a small error thatRichard Levitte
affects rcs_getctime. A small adjustment takes care of that.
2011-03-30* IkiWiki/Plugin/monotone.pm: implement rcs_getmtimeRichard Levitte
2011-03-30robustness fixJoey Hess
Don't fail if libravatar fails for some reason. Reasons I can think of: * too old version to do openid lookups (fall back to email lookup) * network problem perhaps
2011-03-30indentationJoey Hess
2011-03-30comments: add OpenID-based avatars (libravatar.org)Francois Marier
This requires version 1.04 or later of Libravatar::URL.
2011-03-30comments: serve avatars over https in https wikisFrancois Marier
2011-03-30comments: add avatar picture of comment authorFrancois Marier
Use Libravatar::URL to pull the avatar picture for the comment author if we have an email address for him/her.
2011-03-28meta plugin: script supportGiuseppe Bilotta
(cherry picked from commit 44c5b27f88fdbfb4fdd061f600039e490eaeff92)
2011-03-28meta: Security fix; don't allow alternative stylesheets to be added on pages ↵Joey Hess
where the htmlscrubber is enabled.
2011-03-28comment: Better fix to avoid showing comments of subpages, while not ↵Joey Hess
breaking manual inlining of comments.
2011-03-28Revert "comment: Don't show comments of subpages on parent pages. (Fixes bug ↵Joey Hess
introduced in version 3.20100505.)" This reverts commit b34d31142b9fed28ec9cf77fe0c5d9f405d48c84. This was the wrong approach. It broke inlining of comment(*) on eg, a toplevel comment page.
2011-03-24fix targetpage replacement to support 3 argument formJoey Hess
Oddly, this hadn't caused any visible breakage. Possibly inline, which is the only thing to use targetpage, resolves the function to the "real" one before po gets loaded?
2011-03-24avoid stomping on inline's rootpage sub if it's not already presentJoey Hess
If the inline plugin is not being loaded, or is perhaps loaded after po (when IkiWiki::Setup::getsetup loads all the plugins, for example), po should not inject its custom rootpage sub, as that will lead to a redefinition error message when inline loads.
2011-03-21fix var nameJoey Hess
2011-03-21comment about lockingJoey Hess
2011-03-21call aggregate checkconfig lastJoey Hess
Since the plugin abuses the checkconfig hook to launch aggregation when in --aggregate mode, it should give other plugins that have checkconfig hooks a chance to run before they are possibly used in rendering the aggregated content.
2011-03-21Avoid escaping / characters in filenames when building the cgiurl, as this ↵Joey Hess
confuses eg, cvsweb.
2011-03-21aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the ↵Joey Hess
cookiejar configuration setting can be used by other plugins to provide a custom `cookie_jar` object for LWP::UserAgent. (Thanks, schmonz)
2011-03-02darcs: Fix multiple issues preventing rcs_diff from working.Joey Hess
2011-02-27comment: Don't show comments of subpages on parent pages. (Fixes bug ↵Joey Hess
introduced in version 3.20100505.)
2011-02-25avoid uninitialized value warning when running -dumpsetupJoey Hess
Here wikistatedir has not been configured.
2011-02-22inline: allow assigning an id to postform/feedlinkGiuseppe Bilotta
This allows per-form/feedlink group customization without having to resort to counting. (cherry picked from commit b134feb0dc2d9a8ff7ae447537fa8bc02811aabd)
2011-02-22inline: base feed urls on included page nameGiuseppe Bilotta
Second (forgotten) half of bb8f76a4a04686def8cc6f21bcca80cb2cc3b2c9. This ensures that the link URL and page title in the feed are the correct ones.
2011-02-21Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in ↵Joey Hess
3.20101231.
2011-02-09Merge remote branch 'smcv/ready/transient-recentchanges'Joey Hess
2011-02-09map: don't create useless </ul><ul> sequencesGiuseppe Bilotta
With the previous logic, same-level items would go down one level and then again up one level closing and re-opening UL tags each time. The resulting redundant lists caused whitespace layout issues in the rendered pages. Adjust the "moving up?" logic to check if the current item base is different from the previous item _base_. Adjust the "going down?" logic by moving it to an earlier phase and checking for (1) parent item not being what it should be and (2) remaining bits; the root is grown unconditionally as long as (2) is verified.
2011-02-09Merge remote branch 'smcv/ready/transient-tag'Joey Hess
Conflicts: t/tag.t
2011-02-09Merge remote branch 'smcv/ready/transient-autoindex'Joey Hess
2011-02-09minor optimisationJoey Hess
Assume the aggregated content is only going to be in one of the directories, and so stop if it's successfully removed from the transientdir.
2011-02-09Merge remote branch 'smcv/ready/transient-aggregate'Joey Hess
2011-02-09Merge remote branch 'smcv/transient-relative-api'Joey Hess
2011-02-09Merge remote branch 'smcv/ready/transient'Joey Hess
2011-02-03htmltidy: Avoid breaking the sidebar when websetup is running.Joey Hess
Problem was this: websetup loads all plugins, but does not checkconfig them. So, htmltidy's recently added configurable command setting was unset; this resulted in its sanitize hook failing; the sanitize hook is called when a sidebar was enabled, and this caused the sidebar to not display. I put in a fix, but the underlying problem is that websetup loads all plugins but leaves them in an unconfigured and possibly broken state while trying to display its forms. Probably the long-term fix is to have it cache the original hook states from before loading the plugins, and restore it after getting their configuration. Or, even to get the configuration using a subprocess, as plugins may do things outside the hook system.
2011-02-01editpage: Avoid inheriting internal page types.Joey Hess
2011-01-25run po checkconfig last so it can see underlays added in other checkconfig hooksJoey Hess
2011-01-24inline: Fix regression in feed titles. Closes: #610878 (Thanks, Paul Wise)Joey Hess
2011-01-24blogspam: Don't check modifications from admins for spam, and also allow the ↵Joey Hess
blogspam_pagespec to do other matches against who the user is.
2011-01-24bleaghJoey Hess
2011-01-23fix uninitilized value warning on bad page nameJoey Hess
properly this time
2011-01-23Revert "fix uninitilized value warning on bad page name"Joey Hess
This reverts commit 5d3998555ffbeb1c20b84dd4cdc46c825c07bec8. That broke posting via blog form.