Commit Graph

6275 Commits (2fc11033f5768b8d2ada4ed3137d8a71c726059f)

Author SHA1 Message Date
Joey Hess 2fc11033f5 web commit by buo: Possible workaround 2008-06-10 09:11:42 -04:00
Joey Hess 3c4ac2727b web commit by http://telemachos.myopenid.com/ 2008-06-10 07:44:26 -04:00
Joey Hess 2db1e61450 web commit by http://kaizer.se/: moved my personal space to web host + domain name, probably last move! Slowly growing and trying everything ikiwiki has, blogs, tags etc. no cgi yet. 2008-06-09 17:09:48 -04:00
Joey Hess 71840222c4 web commit by http://shortbus.org/ 2008-06-08 21:24:09 -04:00
Joey Hess ecfb14f7d1 Don't generate empty title attributes, etc, and allow setting defaults for class and id too. 2008-06-08 00:02:33 -04:00
Joey Hess f6b47b0d1c img: Support captions. 2008-06-07 23:45:40 -04:00
Joey Hess d258793c3f a bit more about upgrades 2008-06-07 15:41:29 -04:00
Joey Hess 1a25309f2a add news item for ikiwiki 2.49 2008-06-07 15:27:11 -04:00
Joey Hess 77edb81bee releasing version 2.49 2008-06-07 15:26:43 -04:00
Joey Hess 970e1a571e not reproducible on unstable 2008-06-04 21:00:24 -04:00
Joey Hess 3215b5a982 finishing touches on the new search plugin
- Add a Help link.
- If the pageterm is too long, hash it.
2008-06-04 15:24:28 -04:00
Joey Hess a3d8f4904e set rebuild before loading plugins
This fixes a recent minor reversion caused by loading plugins earlier than
the messages are printed. Some plugins might check if rebuild is set.
2008-06-04 15:22:41 -04:00
Joey Hess 1933e3732c some plugins that need SHA1 2008-06-04 15:19:13 -04:00
Joey Hess ea5da19189 fix uninitialized value problem
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-04 15:00:24 -04:00
Joey Hess e4119f048c The search interface now allows searching for a page by title ("title:foo"), as well as for pages that contain a given link ("link:bar"). 2008-06-04 14:13:21 -04:00
Joey Hess 319e2c94de it's not $title, try the other variable 2008-06-04 13:41:15 -04:00
Joey Hess 295e958da5 don't use meta title
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-04 13:12:10 -04:00
Joey Hess a0970423a7 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-06-04 11:30:59 -04:00
Joey Hess 325fc9d8d0 done 2008-06-04 11:29:07 -04:00
Joey Hess d52dad50d2 web commit by http://edward.myopenid.com/: add links 2008-06-04 09:12:52 -04:00
Joey Hess 499a17a55a web commit by http://smcv.pseudorandom.co.uk/ 2008-06-04 07:43:31 -04:00
Joey Hess bf9829352b have the xapian stemmer use a language based on LANG 2008-06-04 02:41:02 -04:00
Joey Hess 47b5417ac0 already fixed 2008-06-04 01:58:52 -04:00
Joey Hess 811c76f85e already fixed 2008-06-04 01:57:59 -04:00
Joey Hess 7d87bf9e78 fix 2008-06-04 01:54:58 -04:00
Joey Hess 81719b40a4 closing, fixed in documentation 2008-06-04 01:54:23 -04:00
Joey Hess 95f93e6848 response 2008-06-04 01:53:49 -04:00
Joey Hess 27376abb3c also decode html entities in the title 2008-06-04 01:50:51 -04:00
Joey Hess ded3ea2ccf remove hyperestraier page 2008-06-04 01:41:45 -04:00
Joey Hess 4a51e384eb decode html entities 2008-06-04 01:34:26 -04:00
Joey Hess 9976c31aca fix clearing index on page deletion 2008-06-04 01:28:35 -04:00
Joey Hess 1dddec0ba9 Pass a destpage parameter to the sanitize hook.
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-04 01:24:23 -04:00
Joey Hess 1546b48b97 move indexing to sanitize hook
I think this will give better results overall.

I made %IkiWiki::preprocessing accessible and used it to avoid indexing
at unnecessary points.
2008-06-04 00:58:46 -04:00
Joey Hess 46f7dcb362 Merge branch 'master' into xapian 2008-06-04 00:38:43 -04:00
Joey Hess ce826411b2 more search improvements 2008-06-04 00:38:40 -04:00
Joey Hess aefe5dd9cb more substr fixes 2008-06-04 00:25:56 -04:00
Joey Hess fab1333b67 Filter hooks are no longer called during the scan phase. This will prevent wikilinks added by filters from being scanned properly. But no known filter hook does that, and calling filters unncessarily during scan slowed down complex filters such as the one used to update the xapian index. 2008-06-04 00:15:15 -04:00
Joey Hess 53b188ed35 add a colon to disambiguate
The omega docs suggest doing this if the term may contain upper case, which
it could here.
2008-06-03 23:59:25 -04:00
Joey Hess 9c717d0873 avoid warning
"substr outside of string"
2008-06-03 23:58:19 -04:00
Joey Hess 7fc29119db use "U" term
this seems to be the thing to use for a unique id
2008-06-03 23:56:45 -04:00
Joey Hess 3ba723d79a don't loop forever 2008-06-03 23:55:00 -04:00
Joey Hess 6b7d90d88a fixed most of the xapian todos 2008-06-03 23:52:56 -04:00
Joey Hess 18b0aa1f13 prettify page names, and drop the redunadant url display 2008-06-03 22:11:33 -04:00
Joey Hess 02357b0b32 fix toindex 2008-06-03 21:59:21 -04:00
Joey Hess 20ac7c1bf5 sort list for $) so comparison works 2008-06-03 21:38:57 -04:00
Joey Hess 44fde6cbff first pass at doing xapian indexing
Still some TODOs to fill in.
2008-06-03 21:14:56 -04:00
Joey Hess 8a9be51d61 reorder 2008-06-03 16:19:27 -04:00
Joey Hess 8a6a5320ed search: Converted to use xapian-omega.
Everything is done except for the actual indexing. I plan to do incremental
indexing as pages change.
2008-06-03 15:29:54 -04:00
Joey Hess c688863cf1 add link to css market 2008-06-02 17:46:52 -04:00
Joey Hess d370052672 use PERL 2008-06-02 12:14:09 -04:00