Joey Hess [Fri, 13 Nov 2009 19:56:24 +0000 (14:56 -0500)]
inline: Do not generated feeds for nested inlines.
My experience is that when inlines are nested, the old behavior of
generating feeds for the nested inlines was never really desired. Since the
feeds were numbered sequentially, the numbers could easily change, and it did
not make sense to subscribe to or use those feeds. And generating those nested
feeds often meant a lot of unnecessary calculation, and data being written.
So, I dropped them.
Looking back, nested feeds originally were a free side effect of properly
handing multiple feeds on one page. Of course, that is still supported.
Joey Hess [Tue, 10 Nov 2009 05:50:59 +0000 (00:50 -0500)]
httpauth: Add cgiauthurl setting that can be used to do http basic auth only when ikiwiki needs authentication, rather than for any access to the cgi/wiki.
Joey Hess [Mon, 9 Nov 2009 18:32:08 +0000 (13:32 -0500)]
localstyle: New plugin, allows overrding the toplevel local.css with one that is closer to a page.
I chose not to have it override style.css, because style.css is not really
intended to be edited; the one from the underlay is intended to be used as
a base that local.css overrides.
I chose to use a plugin rather than changing the default behavior, both
because I didn't want to have to worry about possibly breaking backwards
compatability (though this seems unlikely), and because it seemed cleaner
to not include style template parameters in the main page template code.
I suppose someone might want a way to not override the toplevel
local.css, but instead include it as well as foo/local.css. Probably the
best way to do that would be to have foo/local.css @import ../local.css
(modulo browser compatability issues). Alternatively, edit page.tmpl
to always include the toplevel local.css, or swap out this plugin for
another one.
Joey Hess [Sun, 8 Nov 2009 18:48:07 +0000 (13:48 -0500)]
Moved the postscan hook to run on the raw html of a page, before the template is filled out. This improves the search plugin's indexing, since it will not include navigational elements from the page template or sidebar.
Joey Hess [Thu, 29 Oct 2009 22:05:58 +0000 (18:05 -0400)]
google: Pass the whole wiki url to google, not just the domain, so that search works correctly for wikis that are located in subdirectories of domains.
Joey Hess [Thu, 29 Oct 2009 15:39:47 +0000 (11:39 -0400)]
remove stuff not needed in spec inside tarball
The changelog is partly Fedora-specific, not something
I want to maintain. The Source line is not needed when building
from tarball. Overriding BuildRoot
Joey Hess [Thu, 29 Oct 2009 14:17:30 +0000 (10:17 -0400)]
fix url encoding in redir
When redirecting to a page, ie, after editing, ensure that the url is
uri-encoded. Most browsers other than MSIE don't care, but it's the right
thing to do.
The known failure case involved editing a page that had utf-8 in the name
using MSIE.