Commit Graph

34 Commits (24a4bf8977716aeb5e52f5ce0dd02d351f4eb854)

Author SHA1 Message Date
joey 5454186939 meta headers are not sanitised; prevent html leaking into them 2006-06-02 06:11:22 +00:00
joey d534483b9b * Reorganised the doc wiki's todo/* pages, using a link/tag to flag
* Allow pagetemplate plugins to override *anything* in the template.
* Add a meta plugin, which allows specifying various metadata about pages,
  like license and author. It also allows for inserting html link and meta
  tags into html, overriding the title, and adding hidden WikiLinks, which
  can be useful when using link-based globbing for page categorisation.
* Remove preprocessor directives from inlined pages.
* Allow simple preprocessor directive values to be specified w/o quotes.
2006-06-02 04:49:12 +00:00
joey 65d0aee407 * --getctime had bitrotted (well I only ever used it the once so far..),
* When inlining a page in another one, links from the inlined page are now
  expanded the same as they are when rendering the inlined page as a
  standalone page. So rather than being expanded from the POV of the
  inlining page, they are expanded from the POV of the inlined page.
  For example, a link from blog/foo to "bar" will now link to blog/bar
  if it exists. Previously this needed to be a link explicitly to 
  "blog/bar"; such links will also continue to work.
  (This was slightly complex to do as the link still has to be constructed
  relative to the inlining page.)
2006-05-26 16:11:53 +00:00
joey 5466a1daf9 * The page name and parent links has switched from using a <h1> to a styled
<span>, so pages can use <h1> internally instead of needing to use <h2>.
* Updated all of ikiwiki's own wiki pages for that.
* Add pagetemplate hook, which can be used by plugins that want to mess
  around with adding new stuff to the page template.
* Remove headercontent; the search plugin now adds the search box to the
  header by registering a pagetemplate hook, and other plugins should do
  similarly.
2006-05-26 01:10:58 +00:00
joey 75348182fc use right name for search plugin 2006-05-25 21:52:03 +00:00
www-data b5a9e50ed9 web commit by joey 2006-05-05 20:30:54 +00:00
joey 6652de5e1a * Removed --sanitize and --no-sanitize, replaced with --plugin htmlscrubber
and --disable-plugin htmlscrubber.
2006-05-05 05:41:11 +00:00
joey 157df8591f rename the "render" hook to "change", which is clearer 2006-05-05 05:10:00 +00:00
www-data 13f8a835a0 web commit by joey 2006-05-05 04:44:09 +00:00
www-data 2455fcff03 web commit by joey 2006-05-05 04:43:41 +00:00
www-data bdc71f5734 web commit by joey 2006-05-05 04:41:31 +00:00
joey a59b1ac8d8 haiku plugin 2006-05-05 04:15:47 +00:00
joey 253c4a9acc link updates 2006-05-04 14:59:30 +00:00
joey be56970d05 * Added smiley plugin, nicely controlled and documented by the smileys page.
* Copied in some smileys from Moin Moin.
2006-05-04 04:29:37 +00:00
www-data a5c9c68da3 web commit by joey 2006-05-03 22:47:34 +00:00
www-data ea08b909d8 web commit by joey 2006-05-03 22:42:19 +00:00
www-data bcc6cd8f73 web commit by joey 2006-05-03 22:41:42 +00:00
www-data 3a98572da8 web commit by joey 2006-05-03 22:41:20 +00:00
joey af9566ff1a rather a lot of changes to make hyperestraier search be a plugin, allowing
for other types of search engine plugins if wanted, and also opening up a
lot of new possibilities for other kinds of plugins later

some notable changes along the way:

- lots of new hook types: cgi, render, delete
- wrapper files fixed to support config strings with newlines in them
- HEADERCONTENT in page template useful for plugins. Probably needs to be
  expanded to more such for other places plugins might want to add content.
- remove unnecessary wrappers field from config info stored in wrappers
2006-05-03 21:50:39 +00:00
www-data b0952742b2 web commit by joey 2006-05-03 21:04:17 +00:00
www-data e64ef95dfc web commit by joey 2006-05-03 21:03:35 +00:00
www-data 92ffe3446f web commit by joey 2006-05-03 20:46:14 +00:00
www-data 5d887948f9 web commit by joey 2006-05-03 20:45:10 +00:00
www-data 3900abf314 web commit by joey 2006-05-03 20:43:55 +00:00
www-data 1478bab0cd web commit by joey 2006-05-03 20:31:16 +00:00
www-data 40d739caba web commit by joey: change to plugin interface 2006-05-03 20:07:02 +00:00
joey 12422e9890 * Patch from Thomas Schwinge to switch from --svn to --rcs=svn, etc,
to pave the way for adding other RCS support. This also changes the
  setup files, where before they had svn => 1 or svn => 0, now they have
  rcs => "svn" or rcs => "".
* Add a debian/NEWS file with upgrade notes.
* Load whatever rcs module is specified, so new ones can be just dropped in
  as plugins and work.
* Add some basic docs about writing RCS modules.
2006-05-02 18:44:39 +00:00
www-data ec5ddd9a4f web commit by joey 2006-05-02 06:27:16 +00:00
www-data bfead4a004 web commit by joey 2006-05-02 06:26:55 +00:00
www-data a0d372751a web commit by joey 2006-05-02 06:26:08 +00:00
www-data 63f2eddaa4 web commit by joey 2006-05-02 06:24:38 +00:00
joey 99292550fd * Add an orphans plugin for finding pages that nothing links to.
* Removed backlinks page, which it turns out nothing used.
2006-05-02 06:15:31 +00:00
joey 4f1dc4b47c fix name 2006-05-02 02:39:33 +00:00
joey 54d5308cd8 * Added plugin system, currently only supporting for PreProcessorDirectives.
* Added a pagecount plugin, enabled by default.
* Support PreProcessorDirectives with no parameters, ie "[[pagecount ]]".
* Fixed/optimised backlinks code, to avoid rebuilding pages to update
  backlinks when the backlinks hadn't really changed.
* Moved inline page support, rss generation etc into the inline plugin,
  enabled by default.
* Added brokenlinks plugin, not enabled by default, but rather handy.
* Fix several broken links in the doc wiki.
2006-05-02 02:34:33 +00:00