Joey Hess
00ca6f042e
releasing version 2.50
2008-06-13 15:22:56 -04:00
Joey Hess
5807f1de04
fix two build bugs
...
* ikiwiki-mass-rebuild: Make group list comparison more robust.
* search: Work around xapian bug #486138 by only stemming locales
in a whitelist.
2008-06-13 13:05:44 -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
77edb81bee
releasing version 2.49
2008-06-07 15:26:43 -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
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
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
ce826411b2
more search improvements
2008-06-04 00:38:40 -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
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
c1289de1ef
cve id
2008-05-31 20:16:18 -04:00
Joey Hess
99e5e6dd08
inline: The optimisation in 2.41 broke nested inlines. Detect those and avoid overoptimising.
2008-05-31 15:10:23 -04:00
Joey Hess
0353882a66
ikiwiki-mass-rebuild: Don't trust $! when setting $)
...
A better fix, just check that what $) returns is what it was asked to set,
and ignore $! entirely.
2008-05-31 14:46:16 -04:00
Joey Hess
c00890a2f0
ikiwiki-mass-rebuild: under $! before setting $) to avoid strange errno issue
...
This fixes a problem sgran saw on alioth. Apparently nss-db sets errno to
ENOENT as a side effect trying to read an optional file, but succeeds
anyway. Then, somehow, errno remains set across the library calls made by
$).
So unset it first as a workaround; there's probably a nss-db, libc, and/or
perl bug underneath.
2008-05-31 14:37:05 -04:00
Joey Hess
0a35e8a352
haiku: Generate valid xhtml.
2008-05-30 19:10:58 -04:00
Joey Hess
8d72885b47
releasing version 2.48
2008-05-30 18:21:27 -04:00
Joey Hess
1715c0399e
updated French translation
2008-05-30 18:17:50 -04:00
Joey Hess
e943812dc9
hashed password support, and empty password security fix
...
This implements the previously documented hashed password support.
While implementing that, I noticed a security hole, which this commit
also fixes..
2008-05-30 17:35:34 -04:00
Joey Hess
9d93029f01
teximg: If the log isn't written, avoid ugly error messages.
2008-05-29 19:29:40 -04:00
Joey Hess
b0a7b2f3d7
teximg: Fix logurl.
2008-05-29 19:28:46 -04:00
Joey Hess
4152dca09e
documentation for use of hashed passwords
...
Everything but the actual coding to support them.
2008-05-29 15:17:19 -04:00
Joey Hess
d5d56a24bd
When calling decode_utf8 on known-problimatic content in aggregate, 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.
2008-05-28 15:38:04 -04:00
Joey Hess
6725413516
Add rel=nofollow to edit links. This may prevent some spiders from pounding on the cgi following edit links.
2008-05-28 03:09:04 -04:00
Joey Hess
6b68c6ff72
releasing version 2.47
2008-05-25 14:28:33 -04:00
Joey Hess
5efaed6de6
Avoid unsightly warning message when evaling broken pagespecs.
...
Also improve error message when a pagespec fails to parse.
2008-05-22 13:11:25 -04:00
Joey Hess
f6f25758a8
Perls older than 5.10 need to use the old method of decoding utf-8 in CGI values. Neither method will work for all versions of perl, so check version number at runtime.
2008-05-21 15:30:56 -04:00
Joey Hess
19945b5358
typo
2008-05-15 18:22:01 -04:00
Joey Hess
0438de905b
ENV can be used in the setup file to override environment variable setting, such as TZ or PATH.
2008-05-15 18:20:52 -04:00
Joey Hess
0bf5248427
git: Skip over signed-off-by and similar lines in commit messages when generating recentchanges.
2008-05-15 18:03:44 -04:00
Joey Hess
8a888a8fed
inline: Display a message if the 'pages' parameter is missing, before it just expanded to nothing.
2008-05-15 17:22:54 -04:00
Joey Hess
833610a5b4
orphans: As a special case, the toplevel index page is never considered an orphaned page.
2008-05-15 16:47:44 -04:00
Joey Hess
2c6f41e59c
If PERL5LIB is set to the libdir when building ikiwiki, calculate and hardcode a proper 'use lib' statement anyway. This fixes a gotcha, since PERL5LIB won't work once ikiwiki is running via a wrapper or as a cgi.
2008-05-14 02:42:01 -04:00
Joey Hess
fba4a198b5
mdwn: Add a multimarkdown setup file option.
2008-05-13 12:43:25 -04:00
Joey Hess
344b50d783
releasing version 2.46
2008-05-12 20:57:28 -04:00
Joey Hess
fb3d5b4800
Fixes for behavior changes in perl 5.10's CGI
...
Something has changed in CGI.pm in perl 5.10. It used to not care
if STDIN was opened using :utf8, but now it'll mis-encode utf-8 values
when used that way by ikiwiki. Now I have to binmode(STDIN) before
instantiating the CGI object.
In 57bba4dac1
, I changed from decoding
CGI::Formbuilder fields to utf-8, to decoding cgi parameters before setting
up the form object. As of perl 5.10, that approach no longer has any effect
(reason unknown). To get correctly encoded values in FormBuilder forms,
they must once again be decoded after the form is set up.
As noted in 57bba4da
, this can cause one set of problems for
formbuilder_setup hooks if decode_form_utf8 is called before the hooks, and
a different set if it's called after. To avoid both sets of problems, call
it both before and after. (Only remaining problem is the sheer ugliness and
inefficiency of that..)
I think that these changes will also work with older perl versions, but I
haven't checked.
Also, in the case of the poll plugin, the cgi parameter needs to be
explcitly decoded before it is used to handle utf-8 values. (This may have
always been broken, not sure if it's related to perl 5.10 or not.)
2008-05-12 20:44:22 -04:00
Joey Hess
f867b6b9b6
add suggests for s3 perl module
2008-05-12 17:12:40 -04:00
Joey Hess
0850cde5a6
implemented pruning, s3 support now complete-ish
2008-05-07 23:51:25 -04:00
Joey Hess
ec866f8370
Optimised file statting code when scanning for modified pages; cut the number of system calls in half. (Still room for improvement.)
2008-05-07 14:11:56 -04:00
Joey Hess
b144831e46
pinger/pingee now tested and working
2008-05-06 19:06:53 -04:00
Joey Hess
880d098dab
template change documentation
2008-05-06 14:33:03 -04:00
Joey Hess
64f9dfee32
typo
2008-05-05 20:44:18 -04:00
Joey Hess
1f88cad3a2
aggregate: Add support for web-based triggering of aggregation for people stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom.
2008-05-05 20:20:45 -04:00
Joey Hess
545054c356
releasing version 2.45
2008-05-05 15:17:44 -04:00
Joey Hess
3a9dfb8361
enhancesments for shared hosting
...
* Add a Bundle::Ikiwiki to the source for use with CPAN to install *all*
the modules ikiwiki can use.
* Add a cpan directory containing a CPAN::MyConfig that can ease use of
CPAN to install in a home directory on shared hosting providers.
* With these changes, it's pretty easy to install onto nearlyfreespeech.net
and probably other shared hosting providers like dreamhost. Added
a tip page documentng the process for nearlyfreespeech.
2008-05-05 14:51:26 -04:00
Joey Hess
f06267fc3b
git: Put -- before the filename when calling git rev-list to avoid warning message when the file doesn't exist.
2008-05-02 13:03:42 -04:00
Joey Hess
b2dea99417
Fix ugly display when editing a page that has vanished.
...
srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
2008-05-02 13:02:07 -04:00
Joey Hess
6f852e88e3
anonk: Add anonok_pagespec configuration setting that can be used to allow anonymous users to edit only matching pages. Closes : #478892
2008-05-01 14:58:23 -04:00