summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
AgeCommit message (Collapse)Author
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.
2006-05-29* Add --timeformat config option to allow changing how dates are displayed.joey
Note that as a side effect, dates will now be displayed using the local timezone, not as GMT.
2006-05-26* --getctime had bitrotted (well I only ever used it the once so far..),joey
* When inlining a page in another one, links from the inlined page are now expanded the same as they are when rendering the inlined page as a standalone page. So rather than being expanded from the POV of the inlining page, they are expanded from the POV of the inlined page. For example, a link from blog/foo to "bar" will now link to blog/bar if it exists. Previously this needed to be a link explicitly to "blog/bar"; such links will also continue to work. (This was slightly complex to do as the link still has to be constructed relative to the inlining page.)
2006-05-26* Rebuilding on upgrade to this version is recommended.joey
* Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
2006-05-03change plugin interface to use named parameters for flexabilityjoey
2006-05-02* Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey
it, this will allow for adding a unit test suite.
2006-05-02* Added plugin system, currently only supporting for PreProcessorDirectives.joey
* Added a pagecount plugin, enabled by default. * Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]". * Fixed/optimised backlinks code, to avoid rebuilding pages to update backlinks when the backlinks hadn't really changed. * Moved inline page support, rss generation etc into the inline plugin, enabled by default. * Added brokenlinks plugin, not enabled by default, but rather handy. * Fix several broken links in the doc wiki.