summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/search.pm
AgeCommit message (Collapse)Author
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.
2006-12-29* Initial work on internationalization of the program code. po/ikiwiki.potjoey
is available for translation. * Export gettext() from IkiWiki module.
2006-12-04* Fix various links on the hyperestradier pages.joey
2006-11-08* Make sure to check for errors from every eval.joey
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-18estseek patch (slightly altered) and other repliesjoey
2006-09-15* Patch from Recai to fix a wide character warning from the search pluginjoey
during setup if the wikiname contains utf8.
2006-09-15* Fix a baseurl problem in hyperestradier search results.joey
2006-09-14oops..joey
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-08-26* Patch from James Westby to add a template for the search form.joey
* Cache search form for speedup.
2006-07-31* Fix issue with unicode filenames and updating the hyper estradier searchjoey
index. (Aka Please Please Please, let that be the last one.)
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.