Commit Graph

9931 Commits (d2b1264546fa412db8c1591bc8bb14aba04b960d)

Author SHA1 Message Date
Joey Hess 6ead2573e9 releasing version 3.141 2009-06-13 14:40:36 -04:00
Joey Hess f67cf32471 response 2009-06-13 14:33:52 -04:00
PaulePanter 6848a2e882 Documentation for parameter `template`? 2009-06-13 12:12:58 -04:00
http://www.larted.org.uk/~dom/ 07d26e1db3 2009-06-13 07:58:13 -04:00
http://www.larted.org.uk/~dom/ 86a83a2a69 comment about newer OpenID now being available. 2009-06-13 07:56:56 -04:00
Joey Hess 9151346687 aggregate: Avoid resetting ctime when an item md5 changes.
Besides being wrong to do, this could lead to the wrong item
being expired, as follows: If B is added and at the same time
A is changed, then A's ctime may be set to the current time,
while B's is set to its creation time. Thus the new item, A,
is incorrectly removed as older.

(This interacted especially badly with the bug fixed by
90b4d079605b72bb50d1da41402d994960e10937.)
2009-06-12 19:31:23 -04:00
Joey Hess 90b4d07960 aggregate: Fix storing of changed md5.
The aggregate state merge code neglected to merge changes to the md5
field of an item. Therefore, if an item's md5 changed after initial
aggregation, it would be updated, and rewritten, each time thereafter.
This was wasteful and indirectly led to some expire problems.
2009-06-12 19:24:47 -04:00
Jon Dowland 9d4f803a01 argh, wrong diff again. third time lucky. 2009-06-12 16:00:04 +01:00
Jon Dowland a407c11626 update diff (one redundant hunk removed) 2009-06-12 13:26:12 +01:00
Jon Dowland ec9b0a628d add allow_site-wide_meta_definitions.mdwn 2009-06-12 09:42:47 +01:00
Jérémy Bobbio ca624a5f2a Thanks 2009-06-11 17:15:29 +02:00
Joey Hess 04aff6702b Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-06-10 13:59:31 -04:00
Joey Hess dd15cc426f Updated French translation. Closes: #532654 2009-06-10 13:58:59 -04:00
bremner 31bb526897 feature request/discussion for highlight options. 2009-06-09 22:54:28 -04:00
http://www.lunix.com.au/ df9b11968b simple format tidyup 2009-06-09 22:31:42 -04:00
JoeRayhawk 9d0b13bb2b More NTFS filename compatability problems. 2009-06-09 18:37:58 -04:00
Joey Hess 48a5f9f2d8 Disable the Preferences link if no plugin with an auth hook is enabled. 2009-06-09 15:39:00 -04:00
http://www.lunix.com.au/ 1a880b7d7b add my response and thanks 2009-06-08 21:50:13 -04:00
Joey Hess ce85eaab9d reorg 2009-06-08 21:44:52 -04:00
Joey Hess 62ee542b1d Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-06-08 21:41:42 -04:00
http://www.lunix.com.au/ df19034d79 fixed formatting of last response 2009-06-08 21:42:26 -04:00
Joey Hess f57672f663 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Conflicts:
	doc/forum/is_it_possible_to_NOT_add_openid2_meta_tags.mdwn
2009-06-08 21:41:31 -04:00
http://www.lunix.com.au/ 9874a13fbf add my response 2009-06-08 21:40:19 -04:00
Joey Hess bf55a7fbb1 meta: Add openid delegate parameter to allow delegating only openid or openid2. 2009-06-08 21:40:06 -04:00
Joey Hess bf0534c689 response 2009-06-08 21:28:46 -04:00
http://www.lunix.com.au/ 6b83aa2550 add my site. 2009-06-08 21:25:37 -04:00
Joey Hess 7a22ead98e update 2009-06-08 21:25:17 -04:00
http://www.lunix.com.au/ c2cf78dd4b add my response 2009-06-08 21:18:36 -04:00
Joey Hess 3f9dd729b3 resp 2009-06-08 20:53:23 -04:00
http://www.lunix.com.au/ dabb60d060 add my response 2009-06-08 20:24:36 -04:00
Joey Hess 375cf730b2 response 2009-06-08 19:08:06 -04:00
Joey Hess 5418385336 Optimise use of gettext, and avoid ugly warnings if Locale::gettext is not available.
The test suite was emitting a lot of ugly gettext warnings;
setting LC_ALL didn't solve the problem for all locale setups
(since ikiwiki remaps it to LANG, and ikiwiki didn't know about
the C locale).

People also seem generally annoyed by the messages when
Locale::Gettext is not installed, and I suspect will be
generally happier if it just silently doesn't localize.

The optimisation came about when I noticed that the gettext
sub was doing rather a lot of work each call just to see
if localisation is needed. We can avoid that work by caching,
and the best thing to cache is a version of the gettext sub
that does exactly the right thing.

This was slightly complicated by the locale setting,
which might need to override the original locale (or lack
thereof) after gettext has been called. So it needs to invalidate
the cache in that case. It used to do it via a global variable,
which I am happy to have also gotten rid of.
2009-06-08 18:33:54 -04:00
http://davide.viti.myopenid.com/ 331cc6cca1 Instructions to allow .cgi files to execute from anywhere using boa webserver 2009-06-08 03:33:30 -04:00
http://www.lunix.com.au/ f839d99694 add in new openid forum question 2009-06-08 00:15:53 -04:00
http://lj.rossia.org/users/imz/ d932fc32f3 Added a wikilink to the solution. 2009-06-07 13:25:14 -04:00
Joey Hess e40d2a6b2b goto: Support being passed a page title that is not a valid page name, to support several cases including mercurial's long user names on the RecentChanges page, and urls with spaces being handled by the 404 plugin. 2009-06-06 02:36:40 -04:00
Joey Hess 07b61ec8b6 add 2009-06-06 02:25:25 -04:00
Joey Hess e8d8386e52 pagecount: Fix broken optimisation for * pagespec. 2009-06-05 18:04:39 -04:00
martin 8d74888235 fixed link 2009-06-05 17:52:54 -04:00
martin e27aaf967c pagecount incorrectly claims there are 0 pages ... 2009-06-05 17:50:43 -04:00
Joey Hess 1e081cf7e4 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-06-05 16:58:37 -04:00
Joey Hess 0293ae8e3d Setup automator: Check that each plugin added to the generated setup file can be loaded and that its config is ok. If a plugin fails for any reason, disable it in the generated file. Closes: 532001 2009-06-05 16:58:06 -04:00
http://lj.rossia.org/users/imz/ e8bd089583 thanks. 2009-06-05 16:38:13 -04:00
Joey Hess 9e74d60057 add note about the basewiki being self contained 2009-06-05 16:33:07 -04:00
Joey Hess df20a91bc9 move anchor page out of ikiwiki subdir
Since this page is not in the basewiki, it is confusing to put it in
the ikiwiki subdir, which is intended for basewiki and other underlay pages
that are used to document ikiwiki on other wikis.
2009-06-05 16:24:46 -04:00
Joey Hess dd4e363215 remove link to page outside the base wiki
I'm sorry, but you can't simply go around adding links to pages that are
part of the basewiki, that point to pages outside the basewiki. Doing
so causes the test suite to fail, since the basewiki is then not
self-contained and has broken links.

FYI, the ikiwiki/anchor page you added is not part of the basewiki because
there's not a symlink to it in underlays/basewiki/ikiwiki in ikiwiki's
source. And I can't condone cluttering up the basewiki with such a page,
at least unless it gets significantly more useful somehow.
2009-06-05 16:18:19 -04:00
Joey Hess bd78168f71 Tighten up matching of bare words inside directives
Do not allow an unterminated """ string to be treated as a series of bare
words. Fixes runaway regexp recursion/backtracking in strange situations.

(See 1d57a21c98 for test case.)
2009-06-05 16:14:51 -04:00
Joey Hess 763f4b91da add test case for unterminated """ string
A directive that contains an unterminated """ string should not
cause each word of the string to be treated as a bare word. Instead,
the directive should fail to parse.

There are two tests. One just checks that a complete directive
containing such a string fails to parse. The other checks for a case
where a directive ends with a very long unterminated """ string,
and the directive is itself not closed. While this test won't fail,
it does trigger a nasty perl warning.
2009-06-05 16:10:08 -04:00
Joey Hess 1d57a21c98 close 2009-06-05 15:04:49 -04:00
http://lj.rossia.org/users/imz/ ba78867d73 minor formatting issue: Having a wikilink in the heading was not very nice. 2009-06-05 14:59:56 -04:00