aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* HTML::Entities::encode_numeric is not exportedJoey Hess2011-04-30
|
* tag: Avoid autocreating multiple tag pages that vary only in capitalization. ↵Joey Hess2011-04-30
| | | | | | | | | | 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.
* meta: Add FOAF support. Closes: #623156 (Jonas Smedegaard)Joey Hess2011-04-21
|
* fix use of debug() without sprintf()Jon Dowland2011-04-20
| | | | | Previous commit substituted a printf call (two arguments) for debug (accepts only one). Interleave an sprintf call to resolve.
* use debug() for wrapper-generation print outsJon Dowland2011-04-20
| | | | | | Use the debug() subroutine for printing out when wrappers are generated. This has the effect of hiding the messages unless verbose mode is enabled.
* Fix syntax of recently added JavaScript syntax in meta.pm (<script /> ↵Jonas Smedegaard2011-04-17
| | | | apparently does not work).
* meta: Fix bug in loading of HTML::Entities that can break inline archive=yes ↵Joey Hess2011-04-12
| | | | (mostly masked by other plugins that load the module).
* Merge remote-tracking branch 'levitte/master'Joey Hess2011-03-30
|\
| * * IkiWiki/Plugin/monotone.pm: monotone v0.48 has a small error thatRichard Levitte2011-03-30
| | | | | | | | affects rcs_getctime. A small adjustment takes care of that.
| * * IkiWiki/Plugin/monotone.pm: implement rcs_getmtimeRichard Levitte2011-03-30
| |
* | look up avatar at comment post timeJoey Hess2011-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | check site url for httpsJoey Hess2011-03-30
| | | | | | | | HTTPS won't be set when rebuilding a site at the command line
* | robustness fixJoey Hess2011-03-30
| | | | | | | | | | | | | | | | 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
* | indentationJoey Hess2011-03-30
| |
* | comments: add OpenID-based avatars (libravatar.org)Francois Marier2011-03-30
| | | | | | | | This requires version 1.04 or later of Libravatar::URL.
* | comments: serve avatars over https in https wikisFrancois Marier2011-03-30
| |
* | comments: add avatar picture of comment authorFrancois Marier2011-03-30
|/ | | | | Use Libravatar::URL to pull the avatar picture for the comment author if we have an email address for him/her.
* meta plugin: script supportGiuseppe Bilotta2011-03-28
| | | | (cherry picked from commit 44c5b27f88fdbfb4fdd061f600039e490eaeff92)
* meta: Security fix; don't allow alternative stylesheets to be added on pages ↵Joey Hess2011-03-28
| | | | where the htmlscrubber is enabled.
* comment: Better fix to avoid showing comments of subpages, while not ↵Joey Hess2011-03-28
| | | | breaking manual inlining of comments.
* Revert "comment: Don't show comments of subpages on parent pages. (Fixes bug ↵Joey Hess2011-03-28
| | | | | | | | | 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.
* fix targetpage replacement to support 3 argument formJoey Hess2011-03-24
| | | | | | 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?
* avoid stomping on inline's rootpage sub if it's not already presentJoey Hess2011-03-24
| | | | | | | 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.
* fix var nameJoey Hess2011-03-21
|
* comment about lockingJoey Hess2011-03-21
|
* call aggregate checkconfig lastJoey Hess2011-03-21
| | | | | | | 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.
* Avoid escaping / characters in filenames when building the cgiurl, as this ↵Joey Hess2011-03-21
| | | | confuses eg, cvsweb.
* aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the ↵Joey Hess2011-03-21
| | | | cookiejar configuration setting can be used by other plugins to provide a custom `cookie_jar` object for LWP::UserAgent. (Thanks, schmonz)
* darcs: Fix multiple issues preventing rcs_diff from working.Joey Hess2011-03-02
|
* comment: Don't show comments of subpages on parent pages. (Fixes bug ↵Joey Hess2011-02-27
| | | | introduced in version 3.20100505.)
* avoid uninitialized value warning when running -dumpsetupJoey Hess2011-02-25
| | | | Here wikistatedir has not been configured.
* inline: allow assigning an id to postform/feedlinkGiuseppe Bilotta2011-02-22
| | | | | | This allows per-form/feedlink group customization without having to resort to counting. (cherry picked from commit b134feb0dc2d9a8ff7ae447537fa8bc02811aabd)
* inline: base feed urls on included page nameGiuseppe Bilotta2011-02-22
| | | | | | Second (forgotten) half of bb8f76a4a04686def8cc6f21bcca80cb2cc3b2c9. This ensures that the link URL and page title in the feed are the correct ones.
* Fix broken baseurl in cgi mode when usedirs is disabled. Bug introduced in ↵Joey Hess2011-02-21
| | | | 3.20101231.
* Merge remote branch 'smcv/ready/transient-recentchanges'Joey Hess2011-02-09
|\
| * Only unlink excess recentchanges from srcdir if not in transientdirSimon McVittie2011-01-07
| |
| * Put recent changes in the transient underlaySimon McVittie2011-01-07
| |
* | map: don't create useless </ul><ul> sequencesGiuseppe Bilotta2011-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote branch 'smcv/ready/transient-tag'Joey Hess2011-02-09
|\ \ | | | | | | | | | | | | Conflicts: t/tag.t
| * | tag: default to tag_autocreate_commit=1 as intendedSimon McVittie2011-01-07
| | |
| * | tag: optionally write autocreated tags to the transient underlaySimon McVittie2011-01-07
| |/ | | | | | | For the moment, have the tag test keep the old behaviour.
* | Merge remote branch 'smcv/ready/transient-autoindex'Joey Hess2011-02-09
|\ \
| * | autoindex: default to autoindex_commit=1 as intendedSimon McVittie2011-01-22
| | |
| * | Don't create autoindex pages just because of transient thingsSimon McVittie2011-01-22
| | |
| * | Allow autoindex files to be written into the transient underlaySimon McVittie2011-01-22
| | | | | | | | | | | | As with the tag plugin, for the moment keep the old behaviour in the test.
| * | Merge branch 'ready/autoindex-autofile' into HEADSimon McVittie2011-01-22
| |\ \ | | |/ | |/|
| | * autoindex: stop tracking deletions, use generic autofile tracking insteadSimon McVittie2011-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Migrate the set of deletions to the {autofile} set, since it has more or less the same effect. This affects the "deleted" case in the test. - If a page has just been deleted, add it as an autofile anyway: by the time gen_autofile is called, it'll be in the list of deleted files, so it'll just be added to {autofile}. This affects the "gone" case in the test. - Behaviour change: we don't forget that a page with no reason to be re-created was deleted. This affects the 'expunged' and 'reinstated' cases in the test.
| | * autoindex: use add_autofileSimon McVittie2011-01-22
| | | | | | | | | | | | | | | | | | | | | | | | This does cause a minor regression: index pages are now committed individually rather than being a single commit per rebuild. This also means the autoindex regression test needs to trigger the autofile generation pass.
* | | minor optimisationJoey Hess2011-02-09
| | | | | | | | | | | | | | | | | | 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.
* | | Merge remote branch 'smcv/ready/transient-aggregate'Joey Hess2011-02-09
|\ \ \