summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
AgeCommit message (Collapse)Author
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
2006-08-28* Patch from James Westby to add an actions option to inline; thisjoey
adds Edit and Discussion links at the end of blog entries.
2006-08-28* Change htmlize, format, and sanitize hooks to use named parameters.joey
2006-08-26* Patch from James Westby to allow a description to be set for rss feeds.joey
2006-08-25* Generalised preprocesser loop protection code.joey
2006-08-23* Change order of linkify and preprocess; first preprocess and then linkify.joey
This allows passing a wikilink inside a parameter to a preprocessor directive without it being expanded to html, and leaking out of the parameter, which had required some non-obvious use of triple-quoting to avoid. Note that any preprocessor plugins that output something that looks like a wikilink will now have it treated as such; AFAIK this doesn't change any behavior though except for the template plugin. * Enable preprocessor directives when previewing an edit.
2006-08-22* Fix a bug introduced last version to do with nested inlines.joey
2006-08-18* Support inlining pages raw, rather than creating a blog.joey
* Clean up yes/no parameter parsing in inline plugin. * Implemented better cycle detection in the inline plugin; nested inlines will now work.
2006-08-18* Call filter hooks on inlined page content.joey
2006-08-15avoid undefined value warning in some casejoey
2006-08-12releasing version 1.17joey
2006-08-12* Set die_on_bad_params => 0 for all templates, to allow users to modifyjoey
them without annoyances. * Suck in the page content when generating an inline archive page, to work around the meta plugin's lack of caching of title metadata across runs.
2006-08-05* Fix dates in rss feeds if running localised, so they're still rfc 822.joey
2006-08-04need to make it really utf8 or the url encode won't workjoey
2006-08-04fixjoey
2006-08-04* Encode link and guid urls in rss feeds to avoid illegal utf8 slipping in.joey
2006-08-04* Make aggregator save permalinks and author name to pages as metadata.joey
* Add permalink and author support to meta plugin, affecting RSS feeds and blog pages. * Change titlepage() to encode utf-8 alnum characters. This is necessary to avoid UTF-8 creeping into filenames in urls. (There are still some other ways that it can get in.)
2006-08-02* Renamed GlobLists to PageSpecs.joey
* PageSpecs can now include nested parens, "and", and "or". This remains backwards compatible to the old GlobList format. It's implemented by treating the GlobList as a very limited microlanguage that is transformed to perl code that does the matching. * The old GlobList format is deprecated, and I encourage users to switch to using the new PageSpec format. Compatability with the old format will be removed at some point, possibly by 2.0. * Wiki rebuild needed on upgrade to this version due to PageSpec change. * Add support for creation_month and creation_year to PageSpec. Closes: #380680 * Changes to index file encoding.
2006-08-01typojoey
2006-08-01* Patch from Roland Mas to support an rss=no parameter to inline directives.joey
Closes: #380743
2006-07-31fix title metadata on blogs, reorg needed to do it, simplified tag somejoey
2006-07-30* Title metadata of inlined pages now shows up in blogs, although not yetjoey
in their rss feeds.
2006-07-30* Add a run_hooks function for the common task of running all hooks of ajoey
given type. * Add a savestate hook. * Don't put blog post forms on pages if there's no cgiurl set. * Reformat front page.
2006-07-29* Allow preprocessor directives to be expanded in inlined blog pages.joey
However, to avoid inlining loops etc, don't expand inline directives in inlined pages.
2006-07-29* Put categories in rss feeds for tagged items.joey
2006-07-27* Switch pagetemplate hooks to using named parameters.joey
* Pass a "destpage" parameter to preprocessor and pagetemplate hooks. This will be the page that a source page will be part of, which is different than the source page for inlined pages. * Audited all plugins to endure they pass page, destpage to htmllink appropriatly. This means inlining of various plugins will not work properly, with correct links generated.
2006-07-27 - Adds a tag plugin that allows more easily tagging pages.joey
The meta plugin can also still be used for that, but the tag plugin also lists a page's tags at the bottom of the page. - Allows preprocessor directives to have parameters with no specified value. - Fixes preprocessor directive parameter parsing so that foo=bar baz now means "foo=bar" and a "baz" with no value. * Run pagetemplate hooks when inlining pages so that inlines pages also list their tags. * Make all plugins with pagetemplate hooks check that variables exist on the template before setting them.
2006-07-04* Don't sent pings if the wiki is being rebuilt.joey
2006-07-03use "use open" pragma to avoid manually needing to specify utf8 everywherejoey
and also to set default stdio mode change filetype to return undef, not "unknown"
2006-07-02remove the blog_list sub, only used one place and simplifies code to dojoey
away with it
2006-07-02* Centralised all calls to HTML::Template and force all the templatesjoey
to be read as utf8.
2006-06-27don't die fatally herejoey
2006-06-27* Support pinging services such as Technorati using XML-RPC to notify themjoey
about changes to rss feeds.
2006-06-08* Fix absolute url munging in rss generation to support https, ftp, etc urlsjoey
not just http urls.
2006-06-02* Reorganised the doc wiki's todo/* pages, using a link/tag to flagjoey
* Allow pagetemplate plugins to override *anything* in the template. * Add a meta plugin, which allows specifying various metadata about pages, like license and author. It also allows for inserting html link and meta tags into html, overriding the title, and adding hidden WikiLinks, which can be useful when using link-based globbing for page categorisation. * Remove preprocessor directives from inlined pages. * Allow simple preprocessor directive values to be specified w/o quotes.