Commit Graph

12308 Commits (f8457f9a902e880e0240ba7f5180c22999f0e713)

Author SHA1 Message Date
Joey Hess f8457f9a90 fix bug that left stray </p> tags
Both markdown and tidy add paragraph tags around text, that needs to be
stripped when the text is a short, one line fragment that is being inserted
into a larger page. tidy also adds several newlines to the end, and this
broke removal of the paragraph tags.
2010-04-05 17:18:30 -04:00
Joey Hess a01028ae81 txt: Add a special case for robots.txt. 2010-04-05 17:02:10 -04:00
Joey Hess 09d4e9d6bb comments: Fix missing entity encoding in title.
The meta title data set by comments needs to be encoded the same way that
meta encodes it. (NB The security implications of the missing encoding
are small.)

Note that meta's encoding of title, description, and guid data, and not
other data, is probably a special case that should be removed. Instead,
these values should be encoded when used. I have avoided doing so here
because that would mean forcing a wiki rebuild on upgrade to have the data
consitently encoded.
2010-04-05 16:34:49 -04:00
Joey Hess 10f4695abd response 2010-04-05 15:28:54 -04:00
http://smcv.pseudorandom.co.uk/ 861080b918 potential performance improvements 2010-04-05 19:19:00 +00:00
Joey Hess b51703569d speed 2010-04-05 14:59:29 -04:00
Joey Hess b4a162dec2 fix test suite 2010-04-04 17:06:28 -04:00
Joey Hess 6876c5a588 close bug, comment 2010-04-04 12:28:12 -04:00
Joey Hess c9af069b59 more idiomatic perl 2010-04-04 12:23:12 -04:00
Joey Hess 2a15f94159 rename hash and avoid unnecessary hash ref
Variable renamed to be a bit more self-explanatory.
Probably more idiomatic perl to not use a hash ref when a hash can be used.
2010-04-04 12:20:26 -04:00
Joey Hess 992c2c6bca changelog 2010-04-04 12:17:36 -04:00
Joey Hess f206035a3a fix indentation & whitespace 2010-04-04 12:17:03 -04:00
Lars Wirzenius 75afa94c36 Fix bzr plugin to work with bzr 2.0.
The output of "bzr log" seems to have changed a bit, so we change the
parsing accordingly. This has not been tested with earlier versions of
bzr.

Several problems seemed to occur, all in the bzr_log subroutine:

1. The @infos list would contain an empty hash, which would confuse the
   rest of the program.
2. This was because bzr_log would push an empty anonymous hash to the
   list whenever it thought a new record would start.
3. However, a new record marker (now?) also happens at th end of bzr log
   output.
4. Now we collect the record to a hash that gets pushed to the list only
   if it is not empty.
5. Also, sometimes bzr log outputs "revno: 1234 [merge]", so we catch only
   the revision number.
6. Finally, there may be non-headers at the of the output, so we ignore
   those.
2010-04-04 12:15:38 -04:00
http://smcv.pseudorandom.co.uk/ f6dde92957 advertise some bugfixes 2010-04-04 14:05:42 +00:00
http://smcv.pseudorandom.co.uk/ 834936a408 bug report + patch: unnecessary YAML::Any dependency 2010-04-04 14:03:51 +00:00
http://hendry.iki.fi/ 3a02cfca99 2010-04-04 13:00:52 +00:00
PaulePanter 7060b774e4 Typo. 2010-04-04 12:03:41 +00:00
http://liw.fi/ 6b746ed72b 2010-04-04 09:23:05 +00:00
http://liw.fi/ 3190e3be93 2010-04-04 09:13:01 +00:00
http://liw.fi/ 3e2a78840a 2010-04-04 09:12:23 +00:00
https://mukund.startssl.com/ 17cc857378 Add the Banu website 2010-04-04 07:16:41 +00:00
https://mukund.startssl.com/ ed26f287b2 Remove my homepage 2010-04-04 07:13:51 +00:00
http://smcv.pseudorandom.co.uk/ 61a31a3d63 updated branch 2010-04-04 00:34:36 +00:00
http://smcv.pseudorandom.co.uk/ 20040772ce update fieldsort plugin to be compatible with the latest version of my branch 2010-04-04 00:27:20 +00:00
David Riebenbauer 129bea3177 answer about autofiles for tags 2010-04-03 23:42:35 +02:00
David Riebenbauer 36202d461f link to commits 2010-04-03 23:42:35 +02:00
Joey Hess 195943e588 slightly more consistent capitalisation of ikiwiki
For a while, I was avoiding capitalizing ikiwiki at the beginning of a
sentence. I now think that's a bad idea (unless explicitly referring to
the `ikiwiki` command). Still, I don't go all the way and always cap it,
as a proper noun. That would make the logo look bad. ;)

I also tend to avoid capping it as IkiWiki, except when referring to the
perl internals, which do use that capitalization. (Too late to change
that.) However, it's also reasonable to do so in a WikiLink, as a nod to
historical camelcase wikis.
2010-04-03 16:07:32 -04:00
Joey Hess af2bf28515 add news item for ikiwiki 3.20100403 2010-04-03 15:15:25 -04:00
Joey Hess 0f82fe5225 releasing version 3.20100403 2010-04-03 15:15:04 -04:00
Joey Hess b66f902617 fix buggy program installation code 2010-04-03 15:09:04 -04:00
http://smcv.pseudorandom.co.uk/ 56c64ff196 updated branch 2010-04-03 13:39:44 +00:00
Joey Hess 931c7b00cc response 2010-04-02 22:46:31 -04:00
Joey Hess e4e53d7a18 response 2010-04-02 22:23:36 -04:00
http://smcv.pseudorandom.co.uk/ 5445fe7657 cross-reference 2010-04-03 01:15:28 +00:00
http://smcv.pseudorandom.co.uk/ 3934759592 vague musings about wikilinks 2010-04-03 01:13:08 +00:00
http://smcv.pseudorandom.co.uk/ c4a838b33a perhaps the typedlink(tag foo) pagespec isn't so useful 2010-04-03 00:53:59 +00:00
http://smcv.pseudorandom.co.uk/ 0dad28b353 reduced difference 2010-04-03 00:45:16 +00:00
http://smcv.pseudorandom.co.uk/ c2f54ccfb7 sort-order could usefully be overridden for meta author, too 2010-04-03 00:41:31 +00:00
http://smcv.pseudorandom.co.uk/ 5f87d5d242 actually I can see a second use for "nonlinear" syntax - but I don't think it's worth it 2010-04-03 00:25:28 +00:00
http://smcv.pseudorandom.co.uk/ aec7dec279 make questions to Joey more explicit 2010-04-03 00:12:59 +00:00
http://smcv.pseudorandom.co.uk/ 011fe920d1 respond at some length 2010-04-03 00:00:53 +00:00
http://smcv.pseudorandom.co.uk/ 2c7fe7ae2c respond (also unindent Joey's review to avoid very deep indentation) 2010-04-02 22:25:16 +00:00
Joey Hess 1faf9b08e1 idea 2010-04-02 17:37:38 -04:00
Joey Hess 9e7dcefd7e comments 2010-04-02 17:26:32 -04:00
Joey Hess 1b0d4e8d88 minor comment 2010-04-02 17:16:12 -04:00
Joey Hess de62ea1cc8 fix branch name 2010-04-02 17:03:33 -04:00
Joey Hess f7a2a4b4d4 qualify template_file 2010-04-02 16:55:29 -04:00
Joey Hess 59ba938822 template: Search for templates in the templatedir, if they are not found as pages in the wiki. 2010-04-02 16:54:06 -04:00
Joey Hess 1c8ac7d88c review from the woods 2010-04-02 16:41:04 -04:00
Joey Hess 104919ee07 htmlscrubber: Allow colons in url fragments after '?'
Colons are not allowed at the start of urls, because it can be interpreted
as a protocol, and allowing arbitrary protocols can be unsafe
(CVE-2008-0809). However, this check was too restrictive, not allowing
use of eg, "video.ogv?t=0:03:00/0:04:00" to seek to a given place in a
video, or "somecgi?foo=bar:baz" to pass parameters with colons.

It's still not allowed to have a filename with a colon in it (ie
"foo:bar.png") -- to link to such a file, a fully qualified url must be
used.
2010-04-02 16:05:14 -04:00