aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/search.pm
Commit message (Collapse)AuthorAge
* add plugin safe/rebuild info (part 2 of 3)Joey Hess2008-08-03
| | | | (brain.. melting..)
* fixupsJoey Hess2008-07-26
|
* remove default values in getsetupJoey Hess2008-07-26
| | | | | They were a bit confusing, since they did not actually set the default, and example values are sufficient.
* finish adding getsetup hooks to pluginsJoey Hess2008-07-26
|
* Use correct term prefixes when searching.Gabriel McManus2008-07-19
| | | | | The Z term prefix is for stemming and shouldn't be used here. X is for custom fields.
* Add a postscan hook.Joey Hess2008-07-17
| | | | | * Add a postscan hook. * search: Use postscan hook, avoid updating index when previewing.
* minor improvementsJoey Hess2008-07-07
|
* search: generate configuration files once only when rebuildingGabriel McManus2008-07-07
|
* fix two build bugsJoey Hess2008-06-13
| | | | | | * ikiwiki-mass-rebuild: Make group list comparison more robust. * search: Work around xapian bug #486138 by only stemming locales in a whitelist.
* finishing touches on the new search pluginJoey Hess2008-06-04
| | | | | - Add a Help link. - If the pageterm is too long, hash it.
* The search interface now allows searching for a page by title ("title:foo"), ↵Joey Hess2008-06-04
| | | | as well as for pages that contain a given link ("link:bar").
* don't use meta titleJoey Hess2008-06-04
| | | | | | 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.
* have the xapian stemmer use a language based on LANGJoey Hess2008-06-04
|
* also decode html entities in the titleJoey Hess2008-06-04
|
* decode html entitiesJoey Hess2008-06-04
|
* fix clearing index on page deletionJoey Hess2008-06-04
|
* Pass a destpage parameter to the sanitize hook.Joey Hess2008-06-04
| | | | | | | | 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.)
* move indexing to sanitize hookJoey Hess2008-06-04
| | | | | | | I think this will give better results overall. I made %IkiWiki::preprocessing accessible and used it to avoid indexing at unnecessary points.
* more search improvementsJoey Hess2008-06-04
|
* more substr fixesJoey Hess2008-06-04
|
* add a colon to disambiguateJoey Hess2008-06-03
| | | | | The omega docs suggest doing this if the term may contain upper case, which it could here.
* avoid warningJoey Hess2008-06-03
| | | | "substr outside of string"
* use "U" termJoey Hess2008-06-03
| | | | this seems to be the thing to use for a unique id
* don't loop foreverJoey Hess2008-06-03
|
* fixed most of the xapian todosJoey Hess2008-06-03
|
* prettify page names, and drop the redunadant url displayJoey Hess2008-06-03
|
* fix toindexJoey Hess2008-06-03
|
* first pass at doing xapian indexingJoey Hess2008-06-03
| | | | Still some TODOs to fill in.
* search: Converted to use xapian-omega.Joey Hess2008-06-03
| | | | | Everything is done except for the actual indexing. I plan to do incremental indexing as pages change.
* * The search plugin needs to override <base> to point to the directoryJoey Hess2008-02-14
| | | | | | 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.
* * 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.
* * Patch from HenrikBrixAndersen to fix a broken use of foreach in thejoey2007-02-23
| | | | search plugin.
* * Don't error out if estcmd fails, just print a warning message. estcmd isjoey2007-02-20
| | | | to fragile to let it kill ikiwiki.
* * Many changes to make ikiwiki very resistant to write failuresjoey2007-02-15
| | | | | | | | 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.
* * Initial work on internationalization of the program code. po/ikiwiki.potjoey2006-12-29
| | | | | is available for translation. * Export gettext() from IkiWiki module.
* * Fix various links on the hyperestradier pages.joey2006-12-04
|
* * Make sure to check for errors from every eval.joey2006-11-08
|
* * Change %renderedfiles to store an array of files rendered from a givenjoey2006-10-08
| | | | | | | | | | | 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.
* estseek patch (slightly altered) and other repliesjoey2006-09-18
|
* * Patch from Recai to fix a wide character warning from the search pluginjoey2006-09-15
| | | | during setup if the wikiname contains utf8.
* * Fix a baseurl problem in hyperestradier search results.joey2006-09-15
|
* oops..joey2006-09-14
|
* * Work on firming up the plugin interface:joey2006-09-09
| | | | | | | | | | | | | | | | | | | - 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.
* * Patch from James Westby to add a template for the search form.joey2006-08-26
| | | | * Cache search form for speedup.
* * Fix issue with unicode filenames and updating the hyper estradier searchjoey2006-07-31
| | | | index. (Aka Please Please Please, let that be the last one.)
* * Switch pagetemplate hooks to using named parameters.joey2006-07-27
| | | | | | | | | * 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.
* - Adds a tag plugin that allows more easily tagging pages.joey2006-07-27
| | | | | | | | | | | | | 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.
* * Centralised all calls to HTML::Template and force all the templatesjoey2006-07-02
| | | | to be read as utf8.
* * The page name and parent links has switched from using a <h1> to a styledjoey2006-05-26
| | | | | | | | | | <span>, so pages can use <h1> internally instead of needing to use <h2>. * Updated all of ikiwiki's own wiki pages for that. * Add pagetemplate hook, which can be used by plugins that want to mess around with adding new stuff to the page template. * Remove headercontent; the search plugin now adds the search box to the header by registering a pagetemplate hook, and other plugins should do similarly.
* rename the "render" hook to "change", which is clearerjoey2006-05-05
|