Joey Hess [Tue, 29 Jan 2008 22:16:51 +0000 (17:16 -0500)]
* meta: Add pagespec functions to match against title, author, authorurl,
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
Joey Hess [Tue, 29 Jan 2008 20:51:32 +0000 (15:51 -0500)]
added configuration for recentchanges
I kept it to a simple global configuration, rather than using the
preprocessor directive for recentchanges, because that had chicken and egg
problems and seemed overcomplicated. This should work reasonably well,
though it would be good to add some more metadata so that more customised
recentchanges pages can be made.
Joey Hess [Tue, 29 Jan 2008 20:05:49 +0000 (15:05 -0500)]
improve support for internal pages
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
Joey Hess [Tue, 29 Jan 2008 17:39:28 +0000 (12:39 -0500)]
indicate that an internal page will be rendered even if skipping it
This is important to do because until will_render is called, ikiwiki doesn't
know that the page exists. This avoids recentchanges re-writing every change
page every run.
Joey Hess [Tue, 29 Jan 2008 09:22:40 +0000 (04:22 -0500)]
fairly good css style for static recentchanges page
The customary 2.5 hours of staring at random css turtorials later, here
is a pure css latout for the static recentchanges page that, while not as good
as the old table layout, it decent. And it works well in lynx. And
should generate some pretty nice rss too.
Joey Hess [Tue, 29 Jan 2008 05:36:58 +0000 (00:36 -0500)]
* Removed support for sending commit notification mails. Along with it went
the svnrepo and notify settings, though both will be ignored if left in
setup files.
Joey Hess [Tue, 29 Jan 2008 04:32:36 +0000 (23:32 -0500)]
only linkify openids in userlink
Can't use htmllink in userlink due to it being called from recentchanges
in cases where there is no configured url. It seems easist, at least for now,
to not linkify user names in this case. I don't think I've ever clicked on such
a link anyway.
Joey Hess [Tue, 29 Jan 2008 04:08:48 +0000 (23:08 -0500)]
support for internal-use page types
If a page type starts with an underscore, hide it from the list of page types
in the edit form, and don't allow editing pages of that type. This allows
for plugins to add page types for internal use.
Joey Hess [Tue, 29 Jan 2008 02:22:04 +0000 (21:22 -0500)]
* inline: The template can check for FIRST and LAST, which will be
set for the first and last inlined page. Useful for templates that build
tables and the like.
Josh Triplett [Sun, 27 Jan 2008 07:12:29 +0000 (23:12 -0800)]
aggregate.pm: Replace Unicode apostrophe with ASCII to unbreak build
gettext choked on a Unicode apostrophe in the aggregate plugin, which
appeared in a new error message in commit 4f872b563300e4a277cac3d7ea2a999bcf75d1ff. Replace it with an ASCII
apostrophe.
Joey Hess [Thu, 24 Jan 2008 22:22:39 +0000 (17:22 -0500)]
* aggregate: Fork a child process to handle the aggregation. This simplifies
the code, since that process can change internal state as needed, and
it will automatically be cleaned up for the parent process, which proceeds
to render the changes.