summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
AgeCommit message (Collapse)Author
2008-11-17call decode_utf8 inside evalJoey Hess
holger reported that decode_utf8 was crashing with perl 5.8.8. Earlier, I thought that passing 0 to the function avoided this with old perls, but that was apparently not enough, it still crashes. So, put it inside the eval, so we can at least recover from it crashing.
2008-11-17use HTML::EntitiesJoey Hess
2008-11-17use perl modules up frontJoey Hess
The old code actually did the same thing, just obfuscated -- since the eval use wasn't quoted, it used the modules on load. Thus, the error (not to mentioned the return) was bypassed, and it just failed on load. But that seems like the right thing to do, really, so just made it clearer that's what happens.
2008-11-17htmlbalance: new plugin that balances tags by parsing and re-serializingSimon McVittie
2008-11-11bzr: Fix dates for recentchanges.Joey Hess
2008-11-10remove redundant link mungeJoey Hess
This is not needed now that tagpage returns a page name starting with a slash. (Also fixes a minor bug that the edit links started with double slashes due to the hack.)
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-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-05use error for two messagesJoey Hess
2008-11-02preprocess text before htmlizing itJoey 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-30don't rely on plugin load order when determining generated directivesJoey Hess
Instead, shortcuts will explicitly be marked as such when registered, and listdirectives can filter them out.
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
2008-10-24the pre-receive wrapper needs to be suid after allJoey Hess
It needs to write to the user db.
2008-10-24include temp file for attachment change tooJoey Hess
2008-10-24updatesJoey Hess
2008-10-23untrusted committers code seems to be fully workingJoey Hess
Still need to investigate possible races, and test some more.
2008-10-23check_canattach hooked upJoey Hess
2008-10-23more work on untrusted committersJoey Hess
Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
2008-10-22initial support for git repos with untrusted committersJoey Hess
Still need to wire up the calls to check_* , but it's cold out here and my hands are going numb, so enough for now.
2008-10-21function injection overhaulJoey Hess
Add an inject function, that can be used by plugins that want to replace one of ikiwiki's functions with their own version. (This is a scary thing that grubs through the symbol table, and replaces all exported occurances of a function with the injected version.) external: RPC functions can be injected to replace exported functions. Removed the stupid displaytime hook, and use injection instead.
2008-10-21disable warnings when redefining functionsJoey Hess
2008-10-20use relativedate as the css class for dates that should display relativeJoey Hess
2008-10-20tag: When tagpage is set, force the links created by tagging to point at the ↵Joey Hess
toplevel tagpage, and not closer subpages. The html links already went there, but internally the links were not recorded as absolute, which could cause confusing backlinks etc. For example, with tagbase=tags, if blog/tags/bar existed and blog/foo was tagged bar, it would link to /tags/bar. But, the link would be recorded simply as a link to tags/bar, and so later blog/tags/bar would appear to have the backlink.
2008-10-20inline: Only the last feed link was put on the page, fix this to include all ↵Joey Hess
feed links. So rss will be included along with atom, and pages with multiple feeds will get links added for all feeds.
2008-10-19add displaytime hookJoey Hess
Need to use a hook because an exported function cannot be reliably overridden. The replacement verstion was actually only affecting plugins loaded after it. formattime doesn't need a hook, since there's no reason to export it.
2008-10-19need to use localtime, fix widthJoey Hess
2008-10-19fix relativedate timezone inclusionJoey Hess
The machine parseable date needs to include a timezone. Also, simplified the interface for date display.
2008-10-19mark up date so relativedate will workJoey Hess
2008-10-17fix urlJoey Hess
2008-10-17tweak recentchanges permalink codeJoey Hess
Need to handle the case where url is not set.
2008-10-17Patch for anchor-based change permalinks in recent changes feedJoey Hess
from JasonBlevins
2008-10-17add missing getsetup hookJoey Hess
2008-10-17make relativedate work for the dates on the recentchanges pageJoey Hess
Having a always current relative date on recentchanges is very, very nice.
2008-10-17relativedate: New javascript-alicious plugin that makes all dates display ↵Joey Hess
relative, in a very nice way, if I say so myself.
2008-10-17Add an underlay for javascript, and add ikiwiki.js containing some utility code.Joey Hess
* Add an underlay for javascript, and add ikiwiki.js containing some utility code. * toggle: Stop embedding the full toggle code on each page using it, and move it to toggle.js in the javascript underlay.
2008-10-16aggregate: Avoid bug that caused immediate expiration of items with a date ↵Joey Hess
in the future.
2008-10-15inline: Use the feed's description in the rss and atom links. Closes: #502113Joey Hess
2008-10-14fix prototypeJoey Hess
2008-10-14inline: Allow MTIME to be used in inlinepage.tmpl.Joey Hess
2008-10-10optimise url parsing and add guard against failure to parseJoey Hess
2008-10-10google plugin: Use google.com to search the local site.Peter Simons
Google allows has a nice feature, sitesearch, that allows anyone to limit search results to a specific site. Obviously, this feature can be used to provide a search engine for the local ikiwiki site without the need to install any additional software. Just enable the 'google' plugin and make sure that --url uses the proper hostname. Thanks to Joey for helping to get the Perl implementation right.
2008-10-09orphans: Fix unquoted page name in regexp.Joey Hess
2008-10-08lockedit: Support specifying which users (and IP addresses) a page is locked ↵Joey Hess
for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.)
2008-10-06avoid $_ in a few other for loopsJoey Hess
These were probably not currently buggy, but let's avoid bugs being introduced by the functions called clobbering $_.
2008-10-06remove: Avoid $_ breakage. (Stupid, stupid perl.)Joey Hess
This avoids another one of those $_ scoping issues where a deep call to a function that changes $_ clobbers the array that is being looped over.