Commit Graph

258 Commits (dae44b29f881861ec6a53bc2b944ec69b2cb7de7)

Author SHA1 Message Date
joey a18e304e39 important robustness fix 2006-08-27 04:14:41 +00:00
joey d0bbfeefbe fnord 2006-08-27 04:04:59 +00:00
joey a61d531edb * Added a ddate plugin. 2006-08-27 03:55:45 +00:00
joey f4e2e8e975 added info 2006-08-26 23:37:56 +00:00
joey 2bec3518c2 * Patch from James Westby to add a template for the search form.
* Cache search form for speedup.
2006-08-26 21:57:59 +00:00
joey 609f48c93c switch to > n (currently 10) cycle loop protection since eg tumov's include
plugin preprocesses included pages using the name of the including page
2006-08-26 21:26:54 +00:00
joey 38ce4c3cef * Patch from James Westby to allow a description to be set for rss feeds. 2006-08-26 17:36:46 +00:00
joey 182c3b0db3 use a hash 2006-08-25 22:08:03 +00:00
joey 6fc3b624f2 * Generalised preprocesser loop protection code. 2006-08-25 19:06:37 +00:00
joey 0bddcaed14 remove date munging, seems to be unnecessary 2006-08-24 20:03:58 +00:00
joey 46c33b3832 remove unused option 2006-08-23 20:49:54 +00:00
joey d4ca3b3f50 * Change order of linkify and preprocess; first preprocess and then linkify.
This allows passing a wikilink inside a parameter to a preprocessor
  directive without it being expanded to html, and leaking out of the
  parameter, which had required some non-obvious use of triple-quoting
  to avoid. Note that any preprocessor plugins that output something
  that looks like a wikilink will now have it treated as such; AFAIK
  this doesn't change any behavior though except for the template plugin.
* Enable preprocessor directives when previewing an edit.
2006-08-23 20:23:57 +00:00
joey aa04f54ae9 * Patch from Jordà Polo to make Setup::Standard support hashes in config
files.
2006-08-23 18:41:32 +00:00
joey 7c66edacd8 update 2006-08-23 06:08:12 +00:00
joey f27bf9e400 fixes 2006-08-23 05:57:07 +00:00
joey 9d7375c3b2 * Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside.
* Add a template plugin.
* Use the template plugin to add infoboxes to each plugin page listing basic
  info about the plugin.
2006-08-23 05:41:07 +00:00
joey 78b279c3d8 * Allow preprocessor directives to span multiple lines, both to make
long ones with lots of values easier to write, and to allow for ones with
  multi-line quoted values.
2006-08-23 03:25:40 +00:00
joey 43f2ba5def revert broken parentlinks fix, which was broken, explain why
add plugins/contrib page to avoid broken link on this wiki
2006-08-22 17:54:10 +00:00
joey 467d5b5e2a * Fix a bug introduced last version to do with nested inlines. 2006-08-22 17:02:01 +00:00
joey d0295d9dc0 * Clean up behavior with broken parentlinks. 2006-08-21 22:45:17 +00:00
joey cf3021ef3f * Fixed a bug with previews of subpages having broken links to top-level
pages.
* Change how the stylesheet url is determined in the templates: Remove
  STYLEURL and add BASEURL to all templates (some already had it). This
  new more general variable can be used to link to other things (eg, images)
  from the template, as well as stylesheets.
2006-08-21 22:27:02 +00:00
joey 132e41500f * Fix utf-8 in blog post form. 2006-08-20 20:45:55 +00:00
joey 894ae79699 fix regexp 2006-08-19 18:28:40 +00:00
joey ac29bbdf28 add in a hack to improve the look of check marks in outline 2006-08-19 18:27:57 +00:00
joey 63edea27bc * Add first draft at a Restructured Text (rst) plugin, by Sergio
Talens-Oliag. Note that this has many known issues -- see the caveats on
  the plugin's page.
* Credit everyone who wrote a plugin on the plugins' wiki pages.
2006-08-19 05:05:02 +00:00
joey 02e4b42034 kill footer 2006-08-19 03:06:32 +00:00
joey eea9f5053a generate valid xhtml in all cases, including nesting 2006-08-18 22:22:47 +00:00
joey 7f58a84dea * Add otl format plugin, which handles files as created by vimoutliner. 2006-08-18 21:48:03 +00:00
joey 6f6495d7a6 remove maxdepth, it can be accomplished by pagespec like ".. and !*/*/*/*" 2006-08-18 16:45:28 +00:00
joey 2eac55e90e * Add a map plugin contributed by Alessandro Dotti Contra. 2006-08-18 16:18:45 +00:00
joey c6ee9cbf45 * Support inlining pages raw, rather than creating a blog.
* Clean up yes/no parameter parsing in inline plugin.
* Implemented better cycle detection in the inline plugin; nested inlines
  will now work.
2006-08-18 03:56:18 +00:00
joey 516c9eb3eb note 2006-08-18 01:28:54 +00:00
joey 69d1592a17 * Call filter hooks on inlined page content. 2006-08-18 00:44:46 +00:00
joey cedb48765b * Add a tail fin^W^Wsidebar plugin by Tuomo Valkonen.
* If a page links to itself, mark up the link text in a span with
  class="selflink" so that it can be styled. I don't have a useful style
  defined for that though.
2006-08-18 00:24:22 +00:00
joey 9556c4a889 * Fix a bug in the aggregator introduced last version that caused all
aggregator state to be lost during a non-aggregating build.
2006-08-17 23:09:55 +00:00
joey 480a49af47 * Catch failing IPC::Open2 in tidy plugin and retry in case this is a
transient failure to fork (which I've seen happen in the wild).
2006-08-17 20:39:00 +00:00
joey 53cf5ca9a3 * Fix an infinite loop in the aggregator when finding a unique filename. 2006-08-16 17:37:36 +00:00
joey df30eda283 * Add some locking to prevent 2 aggregators from running at once. 2006-08-16 17:32:30 +00:00
joey 3bf104e528 avoid undefined value warning in some case 2006-08-15 18:06:55 +00:00
joey be092a67c2 * Fix a bug in page type determination during online editing. 2006-08-13 05:56:01 +00:00
joey 4b36dee35a * The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.
* Add --version.
* Man page format fixups.
* Add a %pagecase which maps lower-case page names to the actual case
  used in the filename. Use this in bestlinks calculation instead of
  forcing the link to lowercase.
* Also use %pagecase in various other places that want to check if a page
  with a given name exists.
* This means that links to pages with mixed case names will now work,
  even if the link is in some other case mixture, and mixed case pages
  should be fully supported throughout ikiwiki.
* Recommend rebuilding wikis on upgrade to this version.
2006-08-13 02:03:43 +00:00
joey d39717a1cb * If the meta plugin overides the page title, set a title_overridden
variable in the template to true. This allows doing things with the
  templates conditional on the title being overriden.
2006-08-12 17:51:32 +00:00
joey 3fcc926c5f releasing version 1.17 2006-08-12 16:56:04 +00:00
joey 2eff1c64ab * Set die_on_bad_params => 0 for all templates, to allow users to modify
them without annoyances.
* Suck in the page content when generating an inline archive page, to work
  around the meta plugin's lack of caching of title metadata across runs.
2006-08-12 16:36:35 +00:00
joey cade16fbb6 * Improve markdown loading. First, try to load it as a properl perl module,
in case it was installed as one. Then fall back to trying
  /usr/bin/markdown.
* Document in install page how to install markdown, since it has no
  installation procedure in the upstream tarball.
2006-08-10 04:11:58 +00:00
joey 119e3e209d * Display an error message if /usr/bin/markdown can't be loaded. 2006-08-10 03:03:34 +00:00
joey 2ea8fbe2d9 misc changes 2006-08-05 21:15:50 +00:00
joey a41abc80ac * Turn off tidy indentation too. 2006-08-05 02:31:38 +00:00
joey d98b2480f9 * Move tidy back to sanitize hook, found out how to only show body. 2006-08-05 02:28:04 +00:00
joey e8ec0187da * Disable tidy generator tag. 2006-08-05 01:09:04 +00:00