Joey Hess [Wed, 9 Jan 2008 19:35:23 +0000 (14:35 -0500)]
* mdwn: When htmlizing text, if it's a single line with no newline,
remove the enclosing paragraph and newline markdown wraps it in.
This allows removing several hacks around this markdown behavior from
other plugins that htmlize fragements of pages.
Joey Hess [Wed, 9 Jan 2008 19:17:25 +0000 (14:17 -0500)]
* template: Remove bogus htmlize pass added in 2.16.
* template: Htmlize template variables, but also provide a raw version
via `<TMPL_VAR raw_variable>`.
Joey Hess [Wed, 9 Jan 2008 07:38:43 +0000 (02:38 -0500)]
* meta: Run in scan mode again (more intelligently) and re-add support for
meta link.
* Fix support for the case where metadata appears after an inline directive.
This was broken in version 2.16.
Joey Hess [Wed, 9 Jan 2008 06:05:54 +0000 (01:05 -0500)]
* inline: Add copyright/license info on a per-post basis to atom
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
Joey Hess [Wed, 9 Jan 2008 01:41:25 +0000 (20:41 -0500)]
* aggregate: Include copyright statements from rss feed as meta copyright
directives.
* aggregate: Yet another state saving fix (sigh).
* aggregate: Add hack to support feeds with invalidly escaped html entities.
Joey Hess [Mon, 7 Jan 2008 21:34:13 +0000 (16:34 -0500)]
* Improved the canedit hook interface, allowing a callback function to be
returned (and not run in some cases) rather than the plugins directly
forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
and, indirectly, allow creating new discussion pages.
Joey Hess [Mon, 7 Jan 2008 20:56:39 +0000 (15:56 -0500)]
* Only try postsignin if no other action matched. Fixes a bug where the
user goes back from the signin screen and does something else.
* Improve behavior when trying to sign in with no cookies.
Joey Hess [Sat, 5 Jan 2008 06:27:36 +0000 (01:27 -0500)]
* aggregate: Only save state if it was already loaded. This didn't used to
matter, but after recent changes, state is not always loaded, and saving
would kill it.
Joey Hess [Wed, 2 Jan 2008 00:58:45 +0000 (19:58 -0500)]
* Stop testing Encode::is_utf8 in decode_form_utf8: That doesn't work.
* decode_form_utf8 only fixed the utf-8 encoding for fields that were
registered at the time it was called, which was before the
formbuilder_setup hook. Fields added by the hook didn't get decoded.
But it can't be put after the hook either, since plugins using the hook
need to be able to use form values. To fix this dilemma, it's been changed
to a decode_cgi_utf8, which is called on the cgi query object, before the
form is set up, and decodes *all* cgi parameters.
Joey Hess [Tue, 1 Jan 2008 23:48:34 +0000 (18:48 -0500)]
* Split error messages for failures to drop real uid and gid.
* Retry dropping uid and gid, possibly this will help with the "Resource
temporarily unavailable" failures I've experienced under xen.
Joey Hess [Sun, 30 Dec 2007 19:49:25 +0000 (14:49 -0500)]
* aggregate: Fix stupid mistake introduced when converting it to use
the needsbuild hook. This resulted in feeds not being removed when pages
were updated, and probably other bugs.
* aggregate: Avoid uninitialised value warning when removing a feed that
has an expired guid.