summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
AgeCommit message (Collapse)Author
2008-06-28call format hooks when generating page previewsJoey Hess
* 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.
2008-06-28smiley: Generate links relative to the destpage. (Fixes a reversion from 2.41.)Joey Hess
2008-06-24pagesources might not be populatedJoey Hess
2008-06-24only convert urls if the module is installedJoey Hess
2008-06-24formattingJoey Hess
2008-06-24rename to txtJoey Hess
2008-06-24initial versionJoey Hess
2008-06-24Disable handling of "bare" links by the creole plugin.Bernd Zeimetz
This change needs libtext-wikicreole-perl (>= 0.05-2). Also removing custom link function, there's no need for it - if it is not defined, the unmodified markup will be returned.
2008-06-21`template` option for aggregate.pm.Bernd Zeimetz
Allows to specify the template file which is used to create the html pages.
2008-06-19avoid creole parsing wikilinksJoey Hess
ikiwiki already does, and escaped links should not be processed by creole after ikiwiki de-escapes them
2008-06-19creole: New plugin from Bernd Zeimetz. Closes: #486930Joey Hess
2008-06-16textile: The Text::Textile perl module has some regexps that fail if input ↵Joey Hess
is flagged as utf-8, but contains invalid characters such as 0x92. To prevent it from crashing, re-encode the content before calling it, which will ensure that it's really utf-8.
2008-06-15meta: Store "description" in pagestate for use by other plugins.Joey Hess
map: Support show=description.
2008-06-15bugfixes for show=titleJoey Hess
Can't sort by titles; the tree building logic requires that the list be sorted by page name. Setting linktext => $page is not the same as omitting it entirely. So some contortions to only set linktext when the page name is not being shown.
2008-06-15check that parent hash exists, to avoid creating itJoey Hess
2008-06-15note about titles and dependenciesJoey Hess
2008-06-15style changesJoey Hess
Reindented, moved a TODO from page to code, trimmed some unnecessary comments, and simplified the use of mkstemp.
2008-06-15initial addJoey Hess
2008-06-15map: Add a "show" parameter. "show=title" can be used to display page ↵Joey Hess
titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510
2008-06-13fix two build bugsJoey Hess
* ikiwiki-mass-rebuild: Make group list comparison more robust. * search: Work around xapian bug #486138 by only stemming locales in a whitelist.
2008-06-08Don't generate empty title attributes, etc, and allow setting defaults for ↵Joey Hess
class and id too.
2008-06-07img: Support captions.Joey Hess
2008-06-04finishing touches on the new search pluginJoey Hess
- Add a Help link. - If the pageterm is too long, hash it.
2008-06-04fix uninitialized value problemJoey Hess
This occurred when a plugin, loaded earlier, filled out a template in its checkconfig, before recentchanges's checkconfig had run. Since such a template won't be a recentchanges template, just test for the value being uninitialized and skip processing.
2008-06-04The search interface now allows searching for a page by title ("title:foo"), ↵Joey Hess
as well as for pages that contain a given link ("link:bar").
2008-06-04it's not $title, try the other variableJoey Hess
2008-06-04don't use meta titleJoey Hess
Using the title obscured path info, and made search results look inconsistent. Since nothing else uses the title like that, it didn't make sense for search to.
2008-06-04have the xapian stemmer use a language based on LANGJoey Hess
2008-06-04also decode html entities in the titleJoey Hess
2008-06-04decode html entitiesJoey Hess
2008-06-04fix clearing index on page deletionJoey Hess
2008-06-04Pass a destpage parameter to the sanitize hook.Joey Hess
Because the search plugin needed it, also because it's one of the few plugins that didn't already have it. I also considered adding it to htmlize, but I really cannot imagine caring what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04move indexing to sanitize hookJoey Hess
I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
2008-06-04more search improvementsJoey Hess
2008-06-04more substr fixesJoey Hess
2008-06-03add a colon to disambiguateJoey Hess
The omega docs suggest doing this if the term may contain upper case, which it could here.
2008-06-03avoid warningJoey Hess
"substr outside of string"
2008-06-03use "U" termJoey Hess
this seems to be the thing to use for a unique id
2008-06-03don't loop foreverJoey Hess
2008-06-03fixed most of the xapian todosJoey Hess
2008-06-03prettify page names, and drop the redunadant url displayJoey Hess
2008-06-03fix toindexJoey Hess
2008-06-03first pass at doing xapian indexingJoey Hess
Still some TODOs to fill in.
2008-06-03search: Converted to use xapian-omega.Joey Hess
Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
2008-05-31inline: The optimisation in 2.41 broke nested inlines. Detect those and ↵Joey Hess
avoid overoptimising.
2008-05-30haiku: Generate valid xhtml.Joey Hess
2008-05-30hashed password support, and empty password security fixJoey Hess
This implements the previously documented hashed password support. While implementing that, I noticed a security hole, which this commit also fixes..
2008-05-29teximg: If the log isn't written, avoid ugly error messages.Joey Hess
2008-05-29teximg: Fix logurl.Joey Hess
2008-05-28When calling decode_utf8 on known-problimatic content in aggregate, ↵Joey Hess
explicitly pass 0 (FB_DEFAULT) as the second parameter. Apparently perl 5.8 needs this to avoid crashing on malformed utf-8, despite its docs saying it is the default.