Commit Graph

12484 Commits (8f8bda1ae55632de4221859abd082ffe61c4a07d)

Author SHA1 Message Date
http://kerravonsen.dreamwidth.org/ 5f8df58288 2010-04-06 03:59:09 +00:00
http://smcv.pseudorandom.co.uk/ 1f112d570e if applied, reverting this would be problematic 2010-04-06 00:55:54 +00:00
http://smcv.pseudorandom.co.uk/ 315bcf866c tag as patch 2010-04-06 00:51:27 +00:00
http://smcv.pseudorandom.co.uk/ 0ed94696c0 pages talking about escaping should really be escaped correctly 2010-04-06 00:50:51 +00:00
http://smcv.pseudorandom.co.uk/ 26bf69d17a as seen on IRC 2010-04-06 00:49:38 +00:00
Simon McVittie 5408279b5f HTML-encode meta title, description, guid on output, but not in the pagestate
This makes them consistent with the rest of the meta keys. A wiki rebuild
will be needed on upgrade to this version; until the wiki is rebuilt,
double-escaping will occur in the titles of pages that have not changed.
2010-04-06 01:31:38 +01:00
http://smcv.pseudorandom.co.uk/ 1fb5b9f61c switch branch for review to use ready/foo convention 2010-04-06 00:04:47 +00:00
http://smcv.pseudorandom.co.uk/ b186ec1b4c ready for review, I think 2010-04-06 00:02:18 +00:00
Simon McVittie a2dc8c9373 Only store authorsort in meta pagestate if it differs from author 2010-04-06 00:59:16 +01:00
Simon McVittie be1d97c0bd Only store titlesort in meta pagestate if it differs from title 2010-04-06 00:58:55 +01:00
Simon McVittie cb8b2f80b2 Use $a and $b for SortSpec cmp callbacks 2010-04-05 22:50:51 +01:00
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
Simon McVittie 490f95616a Rename sort parameter to meta title/author to sortas=bar
Joey pointed out that sort=x usually takes a sort order.
2010-04-04 01:43:02 +01:00
Simon McVittie 618bbaee38 meta: generalize meta_title into meta(title); support author, updated, date
I've left meta_title in, undocumented, as a possible replacement for
sort=title in IkiWiki 4.0 or something.
2010-04-04 01:43:02 +01: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
Simon McVittie d7e32dc98d Add a unit test for changed-link calculation 2010-04-04 01:20:02 +01:00
Simon McVittie f80e1cb577 Remove the typedlink(tag foo) pagespec feature, which is less friendly than tagged()
Plugins that introduce a link type should also introduce pagespec syntax
for it.
2010-04-04 00:43:58 +01:00
Simon McVittie ef63441440 Remove tagged_is_strict option, and just behave as though it was enabled
Jon was worried about the backwards-compatibility break involved in making
tagged() not match non-tag links, but Joey seems less concerned about it.
2010-04-04 00:43:58 +01:00
Simon McVittie f127857676 Fix some typos that would break Render during changed-link calculation 2010-04-04 00:43:48 +01:00
Simon McVittie c1a42e76bc implement typed links; add tagged_is_strict config option 2010-04-04 00:43:48 +01: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
Simon McVittie 04a59b3c65 Move sort hooks to the IkiWiki::SortSpec namespace
Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.
2010-04-03 14:28:21 +01:00