aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/toggle.pm
Commit message (Collapse)AuthorAge
* correct comment; javascript is put after <body>Joey Hess2010-08-12
|
* remove unnecessary and troublesome filter callsJoey Hess2010-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This better defines what the filter hook is passed, to only be the raw, complete text of a page. Not some snippet, or data read in from an unrelated template. Several plugins that filtered text that originates from an (already filtered) page were modified not to do that. Note that this was not done very consistently before; other plugins that receive text from a page called preprocess on it w/o first calling filter. The template plugin gets text from elsewhere, and was also changed not to filter it. That leads to one known regression -- the embed plugin cannot be used to embed stuff in templates now. But that plugin is deprecated anyway. Later we may want to increase the coverage of what is filtered. Perhaps a good goal would be to allow writing a filter plugin that filters out unwanted words, from any input. We're not there yet; not only does the template plugin load unfiltered text from its templates now, but so can the table plugin, and other plugins that use templates (like inline!). I think we can cross that bridge when we come to it. If I wanted such a censoring plugin, I'd probably make it use a sanitize hook instead, for the better coverage. For now I am concentrating on the needs of the two non-deprecated users of filter. This should fix bugs/po_vs_templates, and it probably fixes an obscure bug around txt's use of filter for robots.txt.
* Moved javascript files under the ikiwiki/ directory, to avoid cluttering the ↵Joey Hess2010-04-24
| | | | top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
* setup file orderingJoey Hess2010-02-12
|
* toggle, relativedate: Support templates that add attributes to the body tag.Joey Hess2009-09-28
|
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
|
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* Add an underlay for javascript, and add ikiwiki.js containing some utility code.Joey Hess2008-10-17
| | | | | | | * 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.
* add plugin safe/rebuild info (part 3 of 3)Joey Hess2008-08-03
|
* Handle the case when HTML got tidied.Enrico Zini2008-07-26
| | | | This fixes debian bug #492529.
* improved, possibly faster getelementsbyclass by willuJoey Hess2008-07-25
|
* toggle: Fix incompatability between javascript and webkit.Joey Hess2008-07-25
|
* toggle: Add javascript to top of page, not to end. This avoids flicker since ↵Joey Hess2008-07-02
| | | | closed toggles will not be displayed as the page is loading.
* toggle: Add support for toggles that are open by default.Joey Hess2008-07-02
| | | | Also fix to work in preview mode.
* export javascript, and support default-open togglesJoey Hess2008-07-02
|
* call format hooks when generating page previewsJoey Hess2008-06-28
| | | | | | | | | | | | * toc: Revert change in 2.45 that made it run at sanitize time. This breaks use of toc in a sidebar. * Call format hooks when generating page previews, thus fixing toc display there, as well as fixing inlins to again display in page previews, since it's started using format hooks. This also allows several other things, like embed, that use format hooks, to work during page preview time. * Format hooks should not rely on getting an entire html document, as they will only get the body during page preview. * toggle: Deal with preview mode when adding javascript.
* * Fix some issues with toggles in preview mode.Joey Hess2007-10-29
|
* * Add a destpage parameter to the filter hook.joey2007-05-17
| | | | | * Fix links to smilies generated by the smiley plugin for inlined pages. The old links were often wrong, but often still worked by accident.
* * pagespec_match() has changed to take named parameters, to better allowjoey2007-04-27
| | | | | | | | | 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.
* * Fix the template, toggle, and conditional plugins to filter text beforejoey2007-02-14
| | | | | | preprocessing it. * Fix smiley plugin to support smileys at the very beginning or end of the content.
* don't need to scan after all; links inside blocks of text should be foundjoey2006-11-26
| | | | | normally
* updatesjoey2006-11-22
|
* bugfixenjoey2006-11-22
|
* * Add toggle plugin.joey2006-11-22
* 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.