summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/search.pm
AgeCommit message (Collapse)Author
2010-05-14allow misctemplate callers to pass params to suppress actions etcJoey Hess
Suppress disiplay of small search for on search results page, and of Prefrences link on prefs page.
2010-05-14avoid showing redundant search box on search results pageJoey Hess
2010-05-06respect permalinksJoey Hess
2010-05-06inline: Call indexhtml when inlining internal pages, so their text can be ↵Joey Hess
indexed for searching.
2010-05-06Renamed postscan hook to indexhtml, to reflect its changed position.Joey Hess
Probably only the search plugin uses it, so this seemed safe.
2010-05-02Add placeholder text in search form (in html5 mode only).Joey Hess
2010-04-24bugfixesJoey Hess
2010-04-24add support for mass dependenciesJoey Hess
Registered by passing "" as page name to add_depends.
2010-04-22look for templates in srcdir and underlays, firstJoey Hess
This entailed changing template_params; it no longer takes the template filename as its first parameter. Add template_depends to api and replace calls to template() with template_depends() in appropriate places, where a dependency should be added on the template. Other plugins don't use template(), so will need further work. Also, includes are disabled for security. Enabling includes only when using templates from the templatedir would be nice, but would add a lot of complexity to the implementation.
2010-04-20no need to return content from postscan hookJoey Hess
2010-03-11search: Avoid '$' in the wikiname appearing unescaped on omega's query ↵Joey Hess
template, where it might crash omega. Really, a more general fix, this deals with any $ that might appear on the misctemplate.
2010-02-12add section informationJoey Hess
2009-01-02po: gettext-ize error messagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-23finalise version 3.00 of the plugin apiJoey Hess
2008-12-17Coding style change: Remove explcit vim folding markers.Joey Hess
2008-09-27Export pagetitle, titlepage, linkpage.Joey Hess
2008-08-03add plugin safe/rebuild info (part 2 of 3)Joey Hess
(brain.. melting..)
2008-07-26fixupsJoey Hess
2008-07-26remove default values in getsetupJoey Hess
They were a bit confusing, since they did not actually set the default, and example values are sufficient.
2008-07-26finish adding getsetup hooks to pluginsJoey Hess
2008-07-19Use correct term prefixes when searching.Gabriel McManus
The Z term prefix is for stemming and shouldn't be used here. X is for custom fields.
2008-07-17Add a postscan hook.Joey Hess
* Add a postscan hook. * search: Use postscan hook, avoid updating index when previewing.
2008-07-07minor improvementsJoey Hess
2008-07-07search: generate configuration files once only when rebuildingGabriel McManus
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-04finishing touches on the new search pluginJoey Hess
- Add a Help link. - If the pageterm is too long, hash it.
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-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-02-14* The search plugin needs to override <base> to point to the directoryJoey Hess
containing ikiwiki.cgi, but this should not change the urls to the style sheets etc. Add a new forcebareurl parameter to misctemplate to allow it to do that.
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-02-23* Patch from HenrikBrixAndersen to fix a broken use of foreach in thejoey
search plugin.
2007-02-20* Don't error out if estcmd fails, just print a warning message. estcmd isjoey
to fragile to let it kill ikiwiki.
2007-02-15* Many changes to make ikiwiki very resistant to write failuresjoey
including out of disk space situations. ikiwiki should never leave truncated files, and if the error occurs during a web-based file edit, the user will be given an opportunity to retry. Inspired by the many ways Moin Moin destroys itself when out of disk. :-) * Fix syslogging of errors.