summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
AgeCommit message (Collapse)Author
2007-05-28* More consistent encoding of titles in rss and atom feeds. Don't usejoey
ESCAPE=HTML for titles in the templates for these feeds, and instead escape the title going in to the template. Previously, the title was sometimes double-escaped in a feed (if set via meta title), and sometimes not (if set from the page filename). * In the meta plugin, when a title is set, encode the html entities in it numerically. This works better in the current landscape of a rss spec that doesn't specify encoding, and variously broken feed consumers, according to <http://www.rssboard.org/rss-profile#data-types-characterdata>.
2007-05-17* Add a destpage parameter to the filter hook.joey
* Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident.
2007-04-27* pagespec_match() has changed to take named parameters, to better allowjoey
for extended pagespecs. The old calling convention will still work for back-compat for now. * The calling convention for functions in the IkiWiki::PageSpec namespace has changed so they are passed named parameters. * Plugin interface version increased to 2.00 since I don't anticipate any more interface changes before 2.0.
2007-04-14* Add feedshow parameter to inline, which can be useful for eg, removingjoey
old posts from feeds when permalinks change.
2007-04-14* Patch from Tuomov to link to the directory in feeds when usedirs is injoey
effect. Note that this changes permalinks, so if you are already using usedirs you'll have to deal with that on upgrade to this version.
2007-04-12* Add postformtext parameter to inline.joey
2007-04-10* Optimise displaytime, trimming maybe 6% off the build time.joey
2007-04-01* Finally apply the index.html patch, with thanks to everyone who workedjoey
on and supported creating it (especially Tumov). This adds a "usedirs" option that makes ikiwiki use foo/index.html instead of foo.html as output page names. It is not yet enabled by default.
2007-03-24* Finally fixed the longstanding inline removal bug.joey
* Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to actually store pages' mtimes. * Add "mtime" sort parameter to inline plugin.
2007-03-21* Fix link() PageSpecs to not just look at the raw link text, but at wherejoey
that given link points based on the page doing the linking. Note that this could make such PageSpecs match different things than before, if you relied on the old behavior of them only matching the raw link text. * This required changing the match_* interface, adding a third parameter. * Allow link() PageSpecs to match relative, as is allowed with globs.a * Add postform option to inline plugin. * Add an bug tracker to the softwaresite example.
2007-03-08* The underscore escaping support exposed a bug in edit links: Such linksjoey
were titlepage escaped in the urls, and then doubly escaped by the CGI when editing. To fix this, I removed the titlepage escaping in the edit urls. * That means that *every edit link* on the wiki is potentially changed. Rebuilding wikis on upgrade to this version therefore necessary; enabled that in postinst.
2007-03-06* Add preview parameter to preprocesser calls, use this rather than thejoey
previous ugly hack used to avoid writing rss feeds in previews. * Fix the img plugin to avoid overwriting images in previews. Instead it does all the work to make sure the resizing works, and dummys up a resized image using width and height attributes. * Also fixes img preview display, the links were wrong in preview before.
2007-03-03remove debugging codejoey
2007-03-02* Add "template" option to inline plugin to allow for use of customisedjoey
templates.
2007-02-20* Changed calling convention for httmllink slightly. The first threejoey
parameters remain the same, but additional options are now passed in using named parameters. * Change plugin interface version to 1.02 to reflect this change. * Add a new anchor option to htmllink. Thanks Ben for the idea. * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs.
2007-02-08* Add "reverse" option to inline to invert sort orders.joey
2007-02-06* Patch based on a patch from Ethan to support relative matching injoey
PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this.
2007-02-05* Add feedshow option to allow reducing the number of items included injoey
an rss or atom feed.
2007-01-31* Fix one more missing translation of Discussion.joey
2007-01-18* Fix handling of discussion links on discussion pages when l10n is used.joey
2007-01-14fix broken format string, manual unfuzzyjoey
2007-01-10* Fix --locale to control LC_ALL now.joey
2006-12-29* Don't put discussion links on discussion pages.joey
2006-12-29use same logic as for regular discussion linksjoey
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-12-21* Add support for links of the form [[../foo]], this links to the pagejoey
* Fix code to make absolute urls for rss feeds, was missing some urls. * Fix double-escaping of html entities in titles etc in rss feeds that occured if escaped characters were present in the page filename.
2006-12-21* Turn $config{wiki_file_prune_regexps} into an array that is easier tojoey
manipulate. * Only exclude rss and atom files from processing if the inline plugin is enabled and that feed type is enabled. Else it's just a copyable file type. * Move rss and atom option handling code into the inline plugin. * Applied a rather old patch from Recai to fix the "pruning is too strict" issue. Now you can have wiki source directories inside dotdirs and the like, if you want.
2006-12-21* Fix an issue with inlining a page with a rss feed inside anotherjoey
page with an rss feed.
2006-12-14* Fix sometimes broken links to Discussion pages from blog pages.joey
2006-12-02* Fix daemonisation code to only do daemon setup things after forking thejoey
child process.
2006-11-28* Allow /etc/ikiwiki/wikilist to list just the names of users, if so thenjoey
* Fix url absolution code in inline plugin to support class and id fields in links and imgs, and to support anchor urls.
2006-11-26bugsjoey
2006-11-26add quick mode for speeding up generation of big archive pagesjoey
2006-11-22* Add toggle plugin.joey
* Introduce the nicebundle. This is a kind of plugin, that just enables many other plugins. It's an easy way to boost ikiwiki from its default, basic wiki, to a full-featured wiki, without manually picking the right set of plugins. New plugins will be added to the nicebundle from time to time.
2006-11-21* Add a test suite for the mercurial backend, contributed by Emanuele Aina.joey
* Add a test suite for the svn backend. * Daemonize before sending RPC pings, since that can take a while and/or hang. * Daemonize before sending commit mails, as that can also take a long time/hang if the mail server is unhappy. * Factor out commit mail sending code into new function.
2006-11-08* Make sure to check for errors from every eval.joey
2006-11-08* Patch from Ethan Glasser Camp to add a skip option to the inline plugin.joey
2006-11-01* Patch from James Westby to support podcasting, photoblogging, vidcasting,joey
or what have you, by creating enclosures for non-page items that are included in feeds.
2006-10-22* Change the rss feed title from the wikiname to the page title, withjoey
an exception for the wiki's toplevel index page, which will still use the wikiname as the feed title. * Sanitize possibly problimatic characters out of the polygen grammar names, just in case. Should not be exploitable anyway, since it only tries to run polygen after finding the specified grammar file.
2006-10-20* Change the rss feed title from the wikiname to the page title.joey
Overriding the page title with meta title already overrode the rss feed tittle.
2006-10-16todojoey
2006-10-16* Wrap entire technortati ping operation in an eval to catch all possiblejoey
failure modes, after I observed a simple ->value crashing ikiwiki when a ping failed.
2006-10-08* Atom feed support based on a patch by Clint Adams.joey
* Add feeds=no option to inline preprocessor directive to turn off all types of feeds. feeds=rss will still work, and feeds=atom was also added, for fine control. * $IkiWiki::version now holds the program version, and is accessible to plugins.
2006-10-08* Change %renderedfiles to store an array of files rendered from a givenjoey
source file, to allow tracking of extra rendered files like rss feeds. * Note that plugins that accessed this variable will need to be updated! The plugin interface has been increased to version 1.01 for this change. * Add will_render function to the plugin interface, used to register that a page renders a destination file, and do some security checks. * Use will_render in the inline and linkmap plugins. * Previously but no longer rendered files will be cleaned up. * You will need to rebuild your wiki on upgrade to this version.
2006-09-25 * inline: Add ability to sort by page name, based on a patch fromjoey
Benjamin A'Lee.
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-06* Include <link rel> tag for RSS feeds, used by some aggregators andjoey
firefox to find the feed.
2006-09-03* Fix another destpage issue in the inline directive. Closes: #385512joey
again.
2006-09-03releasing version 1.23joey
2006-08-28don't add actions if all emptyjoey