Commit Graph

865 Commits (c852203be808131ce5f9bbc376b04e76e3e82c8d)

Author SHA1 Message Date
joey 825f4165b2 document will_render better 2007-09-22 18:46:25 +00:00
joey c1474d795c make taglink support the same method for specifying link text as a regular
wikilink
2007-09-22 17:07:51 +00:00
joey 622b866f3e * img: Allow link=somepage to cause the image to link to a given page.
Slight overriding of link, as link=no is still used to disable the linking
  entirely. Unless you have a page named "no"..
2007-09-22 16:46:27 +00:00
joey 7bde880fa8 * map: Render pages on the way to subpages whose parent pages
are not included in the map. Include special styling for such pages.
* map: Remove common prefixes and don't over-indent.
* Add class option to htmllink().
2007-09-22 16:32:24 +00:00
joey d4117e20e3 rename 2007-09-22 15:35:12 +00:00
joey 91ded8930a web commit by tschwinge: Request about adding a better linking functionality. 2007-09-21 15:34:51 +00:00
joey d1999f0357 * Add taglink preprocessor directive, supporting visible tag links.
Closes: #443344
2007-09-20 18:59:27 +00:00
joey 9f87bd8d7d * table plugin: Actually specify the delimiter when parsing CSV.
* table plugin: The previous version broke WikiLinks inside quoted values.
  Fix this by linkifying CSV data after parsing it, while DSV data is still
  linkified before parsing.
2007-09-16 19:35:16 +00:00
joey 6bcc3339d9 * table plugin: Actually specify the delimiter. 2007-09-16 19:18:02 +00:00
joey 906dcfd518 * meta: Support license and copyright information. The information will
be shown in the page footer. HTML will also be inserted that should
  support the rel=license microformat as well as the HTML spec's
  rel=copyright.
2007-09-14 18:11:10 +00:00
joey ae4dccc1be web commit by http://id.inelegant.org/: First pass at user documentation. 2007-09-10 23:17:58 +00:00
joey 33754bce8e web commit by arpitjain11: Gallery Plugin added 2007-09-07 22:18:44 +00:00
joey 44b3840d87 web commit by arpitjain11 2007-09-07 22:17:05 +00:00
joey 876e6781b3 update excludes 2007-09-05 17:58:13 +00:00
joey e15b1cf8ee web commit by tschwinge: I'm running Debian unstable, not testing. 2007-09-02 14:15:30 +00:00
joey 19f5223d6e web commit by tschwinge: Once again. 2007-08-31 00:31:04 +00:00
joey defd69affe web commit by tschwinge: Further info. 2007-08-31 00:17:38 +00:00
joey 450ce26d68 web commit by tschwinge: Response. 2007-08-31 00:07:02 +00:00
joey f960890343 update 2007-08-30 23:42:19 +00:00
joey b1257eb091 web commit by tschwinge: Fix formatting from hell, again. 2007-08-30 14:07:06 +00:00
joey 520b83cc1e web commit by tschwinge: Error message. 2007-08-30 14:05:59 +00:00
joey 9c5f4761d8 * Support for looking in multiple directories for underlay files.
* Plugins can add new directories to the search path with the add_underlay
  function.
* Split out smiley underlay files into a separate underlay, so if the plugin
  isn't used, the wiki isn't bloated with all those files.
2007-08-28 01:59:01 +00:00
joey 6c89a635bb * Add an editcontent hook. 2007-08-26 21:33:25 +00:00
joey dbacba6612 resp 2007-08-24 01:21:20 +00:00
joey 8c31a01efa rename tex to teximg 2007-08-23 21:19:21 +00:00
joey 27d029113f * Add embed plugin, which allows embedding content from google maps, video,
calendar, and youtube. Normally, the htmlsanitiser eats these since they
  use unsafe tags, the embed plugin overrides it for trusted sites.
* The googlecalendar plugin is now deprecated, and will be removed
  eventually. Please switch to using the embed plugin.
2007-08-23 20:14:08 +00:00
joey c442831c39 web commit by PatrickWinnertz 2007-08-23 10:46:17 +00:00
joey 0f2c4d3bbd web commit by http://jeremie.koenig.myopenid.com/: correction 2007-08-23 10:41:08 +00:00
joey cdc86ba1d3 web commit by PatrickWinnertz: put in some documentation about the tex plugin 2007-08-23 10:10:49 +00:00
joey 985dec99f8 web commit by ManojSrivastava 2007-08-23 05:37:04 +00:00
joey 2c5fbe844b * Call the formbuilder hook for the edit page.
* Call decode_form_utf8 before running formbuilder_setup hooks.
* Add editdiff plugin contributed by Jeremie Koenig.
* Fix it to not leak path info.
2007-08-22 21:06:13 +00:00
joey f760fcfa3f * Added tex plugin to generate images from latex code.
Contributed by Patrick Winnertz as a GSoC project.
2007-08-22 00:59:41 +00:00
joey 29a0de7197 web commit by tschwinge: Typo fix. 2007-08-21 15:50:29 +00:00
joey a3a8ec19e3 fixes 2007-08-21 04:35:22 +00:00
joey c6b8411197 fix 2007-08-21 04:31:40 +00:00
joey 74baaeba00 reorg all the pages about rcs backends. Fix all links 2007-08-21 04:25:03 +00:00
joey a9b7f01ec8 * Add color parameter to postsparkline. Closes: #438900 2007-08-20 18:57:21 +00:00
joey 6887ef169e revert 2007-08-17 19:45:34 +00:00
joey 5611842d3c clean up 2007-08-17 17:12:44 +00:00
joey 9bcfdd6179 link to format_escape 2007-08-17 05:46:17 +00:00
joey ce7596dad9 * Applied Jeremie Koenig's pluggable editpage buttons patch:
- add a title to the editpage form;
  - pass a reference to the list of buttons to the formbuilder_setup
    hooks, so we can add ours;
  - relax asumption about the possible submit values (use "Save Page"
    explicitly);
  - de-hardcode the submit buttons from the editpage template
    (This was needed for compatability with a bug in CGI::FormBuilder
    3.0401, but ikiwiki already needs a newer version.)
* Pass buttons to all other formbuilder_setup hooks too.
2007-08-17 05:34:59 +00:00
joey ceae681a43 comments 2007-08-17 05:12:01 +00:00
joey f0be976690 rst plugin allows raw html now
rst plugin could be sped up enormously by rewriting it to be a pure python
external plugin
2007-08-17 05:07:22 +00:00
joey 52cd9ae4bb web commit by http://jeremie.koenig.myopenid.com/: add a plugin page for "showdiff" 2007-08-17 00:57:11 +00:00
joey 29200cd16d web commit by http://jeremie.koenig.myopenid.com/: disable the preprocessor for some types of pages? 2007-08-16 22:56:44 +00:00
joey fd799b4d53 web commit by http://jeremie.koenig.myopenid.com/: plugin updated to use HTML::Entities 2007-08-16 22:11:26 +00:00
joey 661a2bbadf web commit by http://jeremie.koenig.myopenid.com/ 2007-08-16 15:21:20 +00:00
joey 8d3413c460 resp 2007-08-15 08:02:17 +00:00
joey c8b46b67d2 web commit by tschwinge: Hmm. 2007-08-15 07:11:42 +00:00
joey c7d332e8e8 hmmm? 2007-08-15 07:05:05 +00:00
joey fedca9df96 web commit by tschwinge: Doesn't work as suggested. 2007-08-15 07:01:18 +00:00
joey 0b6a5e156b web commit by http://jeremie.koenig.myopenid.com/: fix typos 2007-08-15 00:43:08 +00:00
joey ddd8d181f8 web commit by http://joey.kitenet.net/ 2007-08-15 00:30:59 +00:00
joey e3c00785af web commit by tschwinge: Question about emitting fewer blank lines. 2007-08-15 00:18:14 +00:00
joey 56f940f168 web commit by http://melissensaft.myopenid.com/: fixed by letting root install the perl-libraries system-wide and switching to a currently version of ikiwiki 2007-08-14 20:14:59 +00:00
joey 7d6be3e540 unescape 2007-08-13 17:25:04 +00:00
joey 79e6dd9d9b fix link 2007-08-13 17:23:30 +00:00
joey 75a11e6a8d improved docs, add a tutorial for writing plugins 2007-08-13 17:22:15 +00:00
joey 15f393584a reword 2007-08-13 07:07:54 +00:00
joey 30f7aef679 toc 2007-08-13 07:02:14 +00:00
joey 5b78246d11 memoization for injected RPC functions is a very, very good thing 2007-08-13 07:00:53 +00:00
joey 27c1595cec performance notes 2007-08-13 06:46:36 +00:00
joey 506bcbac04 * Fix --libdir to work at the command line.
* Plugins can now be written as standalone external programs, which can
  be written in any language that can do XML::RPC.
2007-08-13 03:07:31 +00:00
joey 2e1670a821 * Add time=mtime option to postsparkline. 2007-08-12 09:19:20 +00:00
joey 1041e18941 web commit by http://melissensaft.myopenid.com/ 2007-08-11 20:47:37 +00:00
joey 9fb18e3c6f web commit by http://melissensaft.myopenid.com/: How can I enable textile? Problem description 2007-08-11 20:44:46 +00:00
joey 81ae47421b web commit by PaulWise: minor typo 2007-08-09 07:03:38 +00:00
joey 5644e171d0 web commit by PaulWise 2007-08-09 06:42:36 +00:00
joey eceea9db02 web commit by PaulWise: remove bogus comment 2007-08-09 06:41:15 +00:00
joey 66ada76693 web commit by PaulWise: add headinganchors plugin 2007-08-09 06:34:20 +00:00
joey de5355e3ed document authorurl 2007-08-05 21:54:33 +00:00
joey 8e2fb374e0 * Add sessioncgi hook. 2007-08-05 21:38:27 +00:00
joey 09b0a3b73f * Add rel=tag attribute to tag links, supporting that microformat, as well
as allowing them to be styled specially. Thanks, NicolasLimare.
2007-08-05 20:48:13 +00:00
joey 1d61c4d4d6 * pagetemplate: don't display template name 2007-08-05 18:22:21 +00:00
joey abaf0b0594 web commit by JordaPolo: Updated status and URLs. 2007-07-27 20:55:26 +00:00
joey 1e5cd11635 * Add a libdir config option to let ikiwiki load perl modules, including
plugins, from a user-configurable directory.
2007-07-27 00:48:06 +00:00
joey 40959ce76d * Add templatefile hook.
* Add pagetemplate plugin, which allows changing the template used for
  a page. (Not to be confused with the hook of the same name..)
2007-07-26 20:50:55 +00:00
joey c96d672810 massive patchqueue reorg
patches can now be anywhere and tagged patch to show up on the patch list.
Moved all the patchqueue stuff to todo items; some of it was merged into
existing todo items.
2007-07-25 03:36:53 +00:00
joey eb5f8531fe add warnings about using map, inline, etc with the sidebar causing
performance nightmares
2007-07-25 01:31:08 +00:00
joey 51ec7e4655 web commit by http://adam.shand.net/: sidebar headers showing up in toc ... bug? 2007-07-21 22:39:29 +00:00
joey 9f6f53cb86 web commit by http://adam.shand.net/: grammatical cleanup 2007-07-20 22:13:48 +00:00
joey 18d1066e4c improve urlto docs 2007-07-17 20:09:16 +00:00
joey 3bd439fa03 * In img tag, allow link=no to disable link to full size image. Thanks,
Nis Martensen. Closes: #433188
2007-07-15 19:00:07 +00:00
joey 4bb38d54bf web commit by http://davrieb.livejournal.com/ 2007-07-12 10:41:35 +00:00
joey 5cb8effb5a web commit by nis.martensen: Mention meaning of first header (from the source) and give a hint on the list style 2007-07-12 08:22:28 +00:00
joey 03dc63588c on second thought, simple alphanumeric styles are not actually useful (class is already supported), and anything more complex is too hard to do, so revert 2007-07-11 17:57:02 +00:00
joey a8fa52080d * Allow simple alphanumeric style attribute values in the htmlscrubber. This
should be safe from javascript attacks.
2007-07-11 16:50:59 +00:00
joey 1fe10b6114 web commit by TaylorKillian 2007-07-07 04:11:18 +00:00
joey 594bdc9b89 web commit by http://victormoral.myopenid.com/: errata 2007-07-06 08:29:07 +00:00
joey 8403fd97f0 web commit by http://victormoral.myopenid.com/: new design and new version 2007-07-06 08:26:39 +00:00
joey 21bb9de496 fix header 2007-06-15 17:30:20 +00:00
joey 2e97920c50 web commit by http://victormoral.myopenid.com/: bad news about the plugin. i discourage his use 2007-06-15 09:58:55 +00:00
joey a85d5229d4 web commit by http://victormoral.myopenid.com/: version 0.6 2007-06-13 09:08:21 +00:00
joey a089e59eab web commit by http://victormoral.myopenid.com/: initial announcement 2007-06-12 09:13:11 +00:00
joey 435e06bce1 * Add typographyattributes configuration setting to typography plugin. 2007-06-05 19:04:15 +00:00
joey df11bdc065 web commit by http://ptecza.myopenid.com/: * Thanks! 2007-05-30 21:11:30 +00:00
joey 866cdd7c4a response 2007-05-30 19:03:22 +00:00
joey 8a6a067333 web commit by http://ptecza.myopenid.com/: * Question about nested plugins 2007-05-30 18:52:42 +00:00
joey 330bbd03df * Apply a patch from Carl Worth allowing a class attribute to be passed
through the img plugin. Also allow the id attribute to be passed through.
2007-05-28 19:07:38 +00:00
joey 4b55fcf377 escape some code 2007-05-28 18:22:20 +00:00
joey 84731fa04e move inline parameter docs to blog page so they're available in the
basewiki
2007-05-20 00:14:58 +00:00
joey a15aea14b3 move examples of how to use shortcuts into the shortcuts page so it's
available in basewiki
2007-05-19 23:45:43 +00:00
joey 11334173be move template documentation into the basewiki, in the templates page 2007-05-19 23:29:13 +00:00
joey 59b43d8c3f web commit by KarlMW 2007-05-18 05:33:35 +00:00
joey 17df7af561 web commit by KarlMW: wanting a map using page titles 2007-05-18 05:31:16 +00:00
joey cf35ee04cd * Add a destpage parameter to the filter hook.
* Fix links to smilies generated by the smiley plugin for inlined pages. The
  old links were often wrong, but often still worked by accident.
2007-05-17 19:55:11 +00:00
joey 739325834b * Fix some bugs in password handling:
- If the password is empty in preferences, don't clear the existing
    password.
  - Actually check the confirm password field, even if it's left empty.
2007-05-17 08:06:05 +00:00
joey 7717342db7 web commit by KarlMW 2007-05-17 07:17:12 +00:00
joey 42967a5046 use a tag cloud for plugin types 2007-05-12 19:28:49 +00:00
joey 72c53650ad * Add the needsbuild hook. Plugins can use this to manipulate which files
ikiwiki builds when refreshing the wiki.
2007-05-09 00:48:09 +00:00
joey 127bceef5b * Add all=no option to conditional, can be used to form conditionals that do
not need to examine every page in the wiki.
* Use this to simplify the goodstuff detection in the plugin template.
2007-05-09 00:31:49 +00:00
joey 0041e93808 web commit by JoshTriplett: Add another example, and add a description to each test. 2007-05-08 20:55:43 +00:00
joey 2c0d0109d8 correct documentation about scan hook (which has never existed) 2007-05-06 17:10:34 +00:00
joey f57d106ab4 fix created_after limits 2007-05-02 08:04:49 +00:00
joey dce4e6206c web commit by JoshTriplett: Fix typo. 2007-05-01 21:59:00 +00:00
joey 1e62e4f87f * Enable openid logins by default.
* Enable usedirs by default.
2007-04-29 22:54:14 +00:00
joey ed54f94ee7 minor improvements 2007-04-27 17:01:52 +00:00
joey 8fa8bd0adb the kind of perl code that can only be written at 4:30 am
(Get a good message when a PageSpec fails due to a negated success by
creating success objects with a reason string, which morph into failure
objects when negated.)
2007-04-27 08:34:09 +00:00
joey f8a7fb227b * Make pagespec_match on failure return a value that is false, but in a
scalar context, evaluates to a reason why the match failed.
* Add testpagespec plugin, which might be useful to see why a pagespec isn't
  matching something.
2007-04-27 07:55:40 +00:00
joey ee1ad53c4c * pagespec_match() has changed to take named parameters, to better allow
for extended pagespecs. The old calling convention will still work for
  back-compat for now.
* The calling convention for functions in the IkiWiki::PageSpec namespace
  has changed so they are passed named parameters.
* Plugin interface version increased to 2.00 since I don't anticipate any
  more interface changes before 2.0.
2007-04-27 02:55:52 +00:00
joey da81fcd8ee web commit by JoshTriplett: Remove <ikiroot> placeholder, and make absolute image reference actually absolute. 2007-04-15 07:24:55 +00:00
joey f908415bdf use feedpages to limit all feeds to new items, in preparation for switching
ikiwiki.info to usedirs
2007-04-14 21:09:19 +00:00
joey e855e30d01 * Add feedshow parameter to inline, which can be useful for eg, removing
old posts from feeds when permalinks change.
2007-04-14 20:58:02 +00:00
joey f6bd8500b9 web commit by JoshTriplett: Link URL more simply. 2007-04-13 17:52:02 +00:00
joey 87ae4cfb25 web commit by TobiOetiker 2007-04-12 22:01:04 +00:00
joey e605ee9df2 web commit by TobiOetiker: added link to insights page 2007-04-12 21:58:14 +00:00
joey f170a45108 web commit by http://adam.shand.net/ 2007-04-12 11:14:20 +00:00
joey 00f459576e web commit by http://adam.shand.net/ 2007-04-12 10:18:59 +00:00
joshtriplett a104ea5afc Revert my commit; plugins and plugins/contrib both post to the same place. 2007-04-12 06:52:13 +00:00
joey 31d537ed29 web commit by JoshTriplett: Differentiate the postformtext of plugins/contrib from plugins. 2007-04-12 06:35:52 +00:00
joey 01b058a285 * Add postformtext parameter to inline. 2007-04-12 04:13:55 +00:00
joey 06b955b84a * Add a new %destsources hash, which maps between a destination file and
the source page used to create it, ie it's the reverse of %renderedfiles.
* Use %destsources in htmllink and urlto for 20-50% speedup.
2007-04-10 01:18:03 +00:00
joshtriplett 54a4151306 * Add a graphviz plugin.
* Suggests: graphviz
2007-04-09 09:09:02 +00:00
joey bd94a95ccd fix missing text 2007-04-08 18:55:26 +00:00
joey c730d55e2e web commit by JoshTriplett: Use wiki link for sidebar. 2007-04-08 03:31:37 +00:00
joey 61531aa2d4 web commit by http://dalefarnsworth.myopenid.com/ 2007-04-08 03:04:50 +00:00
joey fd0c6711b5 web commit by http://dalefarnsworth.myopenid.com/: fix typo 2007-04-08 03:02:11 +00:00
joshtriplett d7deeb44db Consistency. 2007-04-08 01:38:50 +00:00
joey fd8463c878 web commit by JoshTriplett: Use inline code blocks for formbuilder_setup, to avoid using _ as italics. 2007-04-07 01:34:14 +00:00
joey 068fa7d079 broken link 2007-04-06 17:34:35 +00:00
joey 05f4afe424 web commit by JoshTriplett: Long-term, ikiwiki needs some general permission mechanisms that encompass this sort of issue. 2007-04-05 23:24:15 +00:00
joey ef46274199 web commit by AdamShand: allowing rawhtml plugin only on locked pages. 2007-04-03 00:53:47 +00:00
joey 50fff83298 typo 2007-04-01 21:04:23 +00:00
joey 02b9f69ba5 * Finally apply the index.html patch, with thanks to everyone who worked
on and supported creating it (especially Tumov). This adds a "usedirs"
  option that makes ikiwiki use foo/index.html instead of foo.html as
  output page names. It is not yet enabled by default.
2007-04-01 19:59:42 +00:00
joey d73eb7d9b2 * Add a templates page to the basewiki. It will automatically list all
available templates. Rename the old templates page to wikitemplates.
* Include the note template in the basewiki.
* Add a popup template in the basewiki. CSS based on some by Martin Krafft.
* Make the note, popup, and plugin templates detect missing variables and be
  self-documenting, listing the available variables.
2007-03-31 06:55:12 +00:00
joshtriplett b24394c0ec Note that enabling or disabling the htmlscrubber plugin also affects some other
HTML-related functionality, such as whether [[meta]] allows potentially unsafe
HTML tags.
2007-03-26 21:39:18 +00:00
joey bbb0b3e72f * Finally fixed the longstanding inline removal bug.
* Renamed %oldpagemtime to a more accurately named %pagemtime and fix it to
  actually store pages' mtimes.
* Add "mtime" sort parameter to inline plugin.
2007-03-24 15:10:58 +00:00
joey b2cf231a43 web commit by JonasSmedegaard: Fix for htmllink brokenness since ikiwiki 1.44. 2007-03-24 01:11:35 +00:00
joey 2a0d91af2f * Fix link() PageSpecs to not just look at the raw link text, but at where
that given link points based on the page doing the linking. Note that this
  could make such PageSpecs match different things than before, if you
  relied on the old behavior of them only matching the raw link text.
* This required changing the match_* interface, adding a third parameter.
* Allow link() PageSpecs to match relative, as is allowed with globs.a
* Add postform option to inline plugin.
* Add an bug tracker to the softwaresite example.
2007-03-21 23:11:09 +00:00
joey c8b4ba354f * Fix a security hole that allowed insertion of unsafe content via the meta
plugins's support for inserting html link and meta tags. Now such content
  is passed through the htmlscrubber like everything else.
* Unfortunatly, that means that some valid uses of those tags are no longer
  usable, and special case methods needed to be added for including
  stylesheets, and for doing openid delegation. If you use either of these
  in your wiki, it will need to be modified. See the meta plugin docs
  for details.
2007-03-21 18:52:56 +00:00
joey 56d00d05f3 web commit by http://id.inelegant.org/ 2007-03-15 04:16:43 +00:00
joey a7ce70a699 response 2007-03-12 03:42:45 +00:00
joey 2618e5b406 web commit by http://id.inelegant.org/ 2007-03-12 02:08:49 +00:00
joey 89673afc6b add postsparkline plugin, providing sparkliney stats goodness for blog
posts
2007-03-11 00:24:31 +00:00
joey 14ed04b2e9 update 2007-03-07 19:57:53 +00:00
joey 6304f6a595 add colspan support 2007-03-07 19:50:34 +00:00
joey 0d108e74d9 further refinement 2007-03-07 19:07:36 +00:00
joey 355494b78b web commit by JoshTriplett: Fix typo. 2007-03-07 12:39:26 +00:00
joey b0e643aacc web commit by JoshTriplett: Fix typo. 2007-03-07 12:36:56 +00:00
joey 5d57a8436f * Add a table plugin, derived from the one written by Victor Moral. 2007-03-07 11:40:22 +00:00
joey de87149039 web commit by JonasSmedegaard: Correction: is should -> should. 2007-03-07 08:45:30 +00:00
joey 4cbb1095d6 support previewing of sparklines: embed in data uris for preview 2007-03-07 07:41:07 +00:00
joey e22c33b4d0 improve 2007-03-07 05:50:31 +00:00
joey 433200c5c7 format improvements 2007-03-07 05:49:02 +00:00
joey d72644211e improve format 2007-03-07 05:36:32 +00:00
joey d4d535f17c * Add a sparline plugin. 2007-03-07 05:33:45 +00:00
joey 1202b4fd7b * Add preview parameter to preprocesser calls, use this rather than the
previous ugly hack used to avoid writing rss feeds in previews.
* Fix the img plugin to avoid overwriting images in previews. Instead it
  does all the work to make sure the resizing works, and dummys up a resized
  image using width and height attributes.
* Also fixes img preview display, the links were wrong in preview before.
2007-03-06 22:37:05 +00:00
joey b9f7a57f94 * Add titlepage template for inline plugin. 2007-03-06 19:16:46 +00:00
joey 10b8557946 * Add "template" option to inline plugin to allow for use of customised
templates.
2007-03-02 04:00:42 +00:00
joey 58474c3f37 web commit by http://ethan.betacantrips.com/: document the issue 2007-02-27 08:37:38 +00:00
joey 89a5dde72e web commit by JoshTriplett: mention httpauth plugin. 2007-02-26 08:46:27 +00:00
joey ca0ce08605 web commit by http://ethan.betacantrips.com/: I think I like reST, can we improve support for it? 2007-02-26 06:27:25 +00:00
joey 0bb4eaad09 improve 2007-02-20 04:33:04 +00:00
joey fa52a730ff * Changed calling convention for httmllink slightly. The first three
parameters remain the same, but additional options are now passed in using
  named parameters.
* Change plugin interface version to 1.02 to reflect this change.
* Add a new anchor option to htmllink. Thanks Ben for the idea.
* Support anchors in wikilinks.
* Add a "more" plugin based on one contributed by Ben to allow implementing
  those dreaded "Read more" links in blogs.
2007-02-20 03:05:47 +00:00
joey c9d7926df4 * New domain name for ikiwiki: ikiwiki.info. Update your links. 2007-02-18 20:24:40 +00:00
joey d9e4a3718e add day of week to prettydate, and i18n 2007-02-15 20:06:14 +00:00
joey 5ea7804e1e examples 2007-02-15 08:57:48 +00:00
joey 2a0c928b56 fix 2007-02-15 08:56:36 +00:00
joey 0cfc607314 * Add a prettydate plugin that formats dates in a more readable fashion.
(I had to get a pretty date somehow today..)
2007-02-15 07:53:04 +00:00
joey f850acc6ad * Patch from Ethan to allow using meta tags to set creation dates of pages. 2007-02-15 05:48:40 +00:00
joey d4c61b7281 * Many changes to make ikiwiki very resistant to write failures
including out of disk space situations. ikiwiki should never leave
  truncated files, and if the error occurs during a web-based file edit,
  the user will be given an opportunity to retry.
  Inspired by the many ways Moin Moin destroys itself when out of disk. :-)
* Fix syslogging of errors.
2007-02-15 02:22:08 +00:00
joey 96125d8da5 * Allow multiple tag settings to appear in a single page. 2007-02-14 04:05:08 +00:00
joey 0659624ecd web commit by JoshTriplett: Restore type/core tag; template did not work as expected. 2007-02-14 02:05:39 +00:00
joey 95da104fc3 web commit by JoshTriplett: The plugin template supplies the core tag now. 2007-02-14 02:03:30 +00:00
joey 38ee1764bf web commit by JoshTriplett: Use conditional. 2007-02-14 02:00:40 +00:00
joey 14e877da67 web commit by JoshTriplett: Fix typo. 2007-02-14 01:57:35 +00:00
joey 059a15743a clarify that templates can contain wiki markup 2007-02-14 01:04:34 +00:00
joey f617ad857f nice formatting 2007-02-13 22:06:54 +00:00
joey 19c58ac7c1 simplified plugin definitions 2007-02-13 18:51:21 +00:00
joey bf64868b79 clean up orphans list 2007-02-12 03:03:43 +00:00
joey 479c7a1ea6 * Allow plugins to add new types of tests that can be used in PageSpecs.
* Add a "conditional" plugin, which allows displaying text if a condition
  is true. It is enabled by default so conditional can be used in the
  basewiki.
* Use conditionals in the template for plugins, so that plugin pages
  say if they're currently enabled or not, and in various other places
  in the wiki.
2007-02-12 02:44:47 +00:00
joey 7678eb870c web commit by JoshTriplett: Formatting, typos, and wording. 2007-02-09 03:16:09 +00:00
joey 1eb59c4760 * Add "reverse" option to inline to invert sort orders. 2007-02-08 19:48:00 +00:00
joey d472e293cd fixes and more tests 2007-02-07 00:45:00 +00:00
joey 58141a0ebc * Patch based on a patch from Ethan to support relative matching in
PageSpecs, by using "./". pagespec_match() has grown a new third parameter
  to support this.
2007-02-06 21:17:25 +00:00
joey 46f0f5bdc2 * Add feedshow option to allow reducing the number of items included in
an rss or atom feed.
2007-02-05 21:54:36 +00:00
joey 5f162cfd34 * Add canedit hook, allowing arbitrary controls over when a page can be
edited.
* Move code forcing signing before edit to a new "signinedit" plugin, and
  code checking for locked pages into a new "lockedit" plugin. Both are 
  enabled by default.
* Remove the anonok config setting. This is now implemented by a new
  "anonok" plugin. Anyone with a wiki allowing anonymous edits should
  change their configs to enable this new plugin.
* Add an opendiscussion plugin that allows anonymous users to edit
  discussion pages, on a wiki that is otherwise wouldn't allow it.
* Lots of CGI code reorg and cleanup.
2007-02-02 02:33:03 +00:00
joey 930ca4d85f response 2007-02-01 20:18:12 +00:00
joey e6de0cfa62 web commit by JeremyReed: plugin requests 2007-02-01 19:20:46 +00:00
joey 5a128f3d63 * Replace underscores in shortcut texts with spaces when formatting for
display. This allows using a shortcut like [[wikipedia War_of_1812]],
  which links to the correct remote page, but is displayed nicely.
2007-01-28 01:01:33 +00:00
joey 1989280421 web commit by JoshTriplett: Typo fix: s/overrideen/overridden/. 2007-01-28 00:10:22 +00:00
joey 8f5d326761 rename and comments 2007-01-16 03:21:33 +00:00
joey 79cc1fe177 web commit by http://victormoral.myopenid.com/: Bug fixes in a new version 2007-01-15 11:35:25 +00:00
joey 6a3770ff11 web commit by http://victormoral.myopenid.com/: New third party plugin 2007-01-15 10:14:28 +00:00
joey 3f3f3e46ad * Add a rawhtml plugin that allows copying raw html files from the srcdir. 2007-01-08 21:00:18 +00:00
joey 1e547c80be web commit by jh 2007-01-02 10:52:51 +00:00
joey 74f983d7f0 web commit by TobiOetiker: Made the page more consistant with the site style 2006-12-30 17:21:34 +00:00
joey e2b2f980a6 web commit by TobiOetiker 2006-12-30 17:20:02 +00:00
joey 579a15060c web commit by TobiOetiker 2006-12-30 17:16:52 +00:00
joey 7819f34a50 * Add a textile format plugin contributed by mazirian. 2006-12-29 05:18:39 +00:00
joey 912521ef07 * Initial work on internationalization of the program code. po/ikiwiki.pot
is available for translation.
* Export gettext() from IkiWiki module.
2006-12-29 04:38:40 +00:00
joey 9e428e8d86 web commit by http://mazirian.myopenid.com/: clarification, licensing. 2006-12-29 03:16:06 +00:00
joey 4381a2e9f7 update 2006-12-28 21:44:36 +00:00
joey 688c5884d6 update 2006-12-28 21:44:03 +00:00
joey 6c740dbd41 update 2006-12-28 21:43:18 +00:00
joey f1dfaca8d0 response and reorg 2006-12-28 21:11:26 +00:00
joey 5577564a68 fix rootpage 2006-12-28 21:03:11 +00:00
joey d83d11e6b8 * Add mirrorlist plugin. 2006-12-23 01:07:11 +00:00
joey 5800d2160c add a poll plugin 2006-11-26 19:46:11 +00:00
joey 3a31030550 add quick mode for speeding up generation of big archive pages 2006-11-26 19:43:24 +00:00
joey 9e05810f81 rename 2006-11-22 06:15:32 +00:00
joey 328cb70e6d updates 2006-11-22 02:36:52 +00:00
joey 9a9418a6d8 update 2006-11-22 02:32:45 +00:00
joey 28312de511 typo typo 2006-11-22 02:31:21 +00:00
joey 2c1908acbd fix 2006-11-22 02:30:23 +00:00
joey a405b46c3b * Add toggle plugin.
* Introduce the nicebundle. This is a kind of plugin, that just enables
  many other plugins. It's an easy way to boost ikiwiki from its default,
  basic wiki, to a full-featured wiki, without manually picking the right
  set of plugins. New plugins will be added to the nicebundle from time to
  time.
2006-11-22 02:28:42 +00:00
joey 28c31be732 updates 2006-11-21 04:26:53 +00:00
joey 3e593eb9c0 * Add "last" parameter to hook function. Very basic ordering, and hopefully
nothing more spohisticated will be needed.
* Add formbuilder_setup and formbuilder hooks.
* Split out a passwordauth module, that holds all the traditional password
  based authentication etc code. It's enabled by default, but can be disabled
  if you want only openid or some other auth method.
2006-11-20 20:37:27 +00:00
joey 74cb86fbb7 typo 2006-11-20 13:01:27 +00:00
joey 330d8a32ce doesn't really matter what do= is set to, as long as it's set 2006-11-20 12:46:48 +00:00
joey 22064a9f81 testing 2006-11-20 12:26:25 +00:00
joey e0832eefea testing 2006-11-20 12:26:02 +00:00
joey dba20f21c6 testing 2006-11-20 12:25:39 +00:00
joey 55aae671ad testing 2006-11-20 11:55:54 +00:00
joey c976340d5f testing 2006-11-20 11:55:03 +00:00
joey 8b49304c67 testing 2006-11-20 11:49:29 +00:00
joey a829378f1d testing 2006-11-20 11:45:52 +00:00
joey 2ee3c6957b testing 2006-11-20 11:45:06 +00:00
joey 76f8bafc9b testing 2006-11-20 11:42:34 +00:00
joey d16db931ff testing 2006-11-20 11:41:34 +00:00
joey 1c34db6a9a more 2006-11-20 11:39:25 +00:00
joey eac31eff5c shortcut stuff 2006-11-20 11:31:23 +00:00
joey 7b2206c171 cleanup 2006-11-20 09:52:09 +00:00
joey e43cd269d2 * Add openidsignup config option.
* Make the openid plugin support the callbacks from myopenid.com via its 
  affiliate program.
* Change how post signin actions are propigated through the signin process;
  they're now stored in the session.
2006-11-20 09:40:09 +00:00
joey 54cf5a62ca * Make auth methods pluggable.
* Move httpauth support to a plugin.
* Add an openid plugin to support logging in using OpenID.
2006-11-20 01:52:18 +00:00
joey fa5e3745ac web commit by VictorMoral: New version 0.9 2006-11-14 11:19:42 +00:00
joey 6e1986cf12 * Patch from Ethan Glasser Camp to add a skip option to the inline plugin. 2006-11-08 20:39:48 +00:00
joey 5a82103526 * Implemented expiry options for aggregate plugin.
* Use precalculated backlinks info when determining if files need an update
  due to a page they link to being added/removed. Mostly significant if
  there are lots of pages.
* Remove duplicate link info when saving index. In some cases it could
  pile up rather badly. (Probably not the best way to deal with this
  problem.)
2006-11-01 05:41:37 +00:00
joey db3b72c482 instead of over and over. Typical speedup is ~4x. Max possible speedup:
8x.
* Add "scan" parameter to hook(), which is used to make the hook be called
  during the scanning pass, as well as the render pass. The meta and tag
  plugins need to use the new scan parameter, so will any others that modify
  %links.
* Now that links are calculated in a separate pass, it can also 
  precalculate backlinks in one pass, which is O(N^2) instead of the
  previous code that was O(N^3). A very nice speedup for wikis with lots
  (thousands) of pages.
2006-10-28 05:07:56 +00:00
joey ed463de21f revert spammer 2006-10-27 23:48:38 +00:00
joey dcadf11388 web commit by shoesorder 2006-10-27 23:22:36 +00:00
joey ad2c77dd30 web commit by NicolasDuboc 2006-10-24 14:46:56 +00:00
joey 7be29d0bfd web commit by VictorMoral 2006-10-24 13:24:10 +00:00
joey 7a1dfbc49f web commit by VictorMoral 2006-10-24 13:20:32 +00:00
joey 6a75123d7a web commit by VictorMoral 2006-10-22 20:36:59 +00:00
joey bca0b07c35 web commit by VictorMoral 2006-10-22 20:36:34 +00:00
joey ae0ba21e71 web commit by VictorMoral: 2006-10-22 20:25:26 +00:00
joey 4093a584a7 updates 2006-10-21 23:32:15 +00:00
joey f81d4904ee update 2006-10-21 22:06:35 +00:00
joey f646e975d6 included 2006-10-21 22:05:37 +00:00
joey e54d901565 * Add an img plugin, based on Christian Mock's img plugin, but stripped
down to the bare essentials. Useful for handling large images on websites.
2006-10-21 21:59:44 +00:00
joey 7b76cce96c web commit by RecaiOktas: Text::VimColor Debian package 2006-10-21 20:46:13 +00:00
joey a70b71c663 notes about this plugin, including a security issue 2006-10-21 19:49:23 +00:00
joey 436c3fbefc web commit by VictorMoral: Added information about style sheet and samples page 2006-10-19 13:39:00 +00:00
joey 0b6a684435 web commit by VictorMoral 2006-10-19 10:33:07 +00:00
joey caaa5bad89 web commit by VictorMoral 2006-10-19 10:31:58 +00:00
joey b5d3c31eda web commit by VictorMoral 2006-10-19 10:27:59 +00:00
joey a784ee9ee3 web commit by VictorMoral 2006-10-19 10:23:58 +00:00
joey 99a95f51bf remove 2006-10-17 17:46:31 +00:00
joey cb8c95bdef web commit by VictorMoral 2006-10-16 14:32:22 +00:00
joey 7db7baed81 web commit by VictorMoral 2006-10-16 14:13:54 +00:00
joey f9d40ac70e response 2006-10-16 13:51:50 +00:00
joey 74c0731970 web commit by VictorMoral 2006-10-16 08:01:43 +00:00
joey 54841b6f84 web commit by VictorMoral 2006-10-16 07:15:29 +00:00
joey e29dd20d24 fix 2006-10-15 19:46:01 +00:00
joey 057ac645cb titles 2006-10-15 19:38:33 +00:00
joey b973ed8269 * Add no_override parameter to hook().
* Add a shortcut plugin, inspired by Victor Moral's contributed shortcuts 
  plugin, but featuring a more ikiwiki-ish syntax and with shortcuts that
  can be configured using a page in wiki.
2006-10-15 19:33:52 +00:00
joey 0286694e20 comments 2006-10-11 07:51:55 +00:00
joey 38923bfdd5 move 2006-10-11 07:45:15 +00:00
joey be55f6fd7c * Atom feed support based on a patch by Clint Adams.
* Add feeds=no option to inline preprocessor directive to turn off all types
  of feeds. feeds=rss will still work, and feeds=atom was also added, for
  fine control.
* $IkiWiki::version now holds the program version, and is accessible to
  plugins.
2006-10-08 23:57:37 +00:00
joey cefbe6210f * Change %renderedfiles to store an array of files rendered from a given
source file, to allow tracking of extra rendered files like rss feeds.
* Note that plugins that accessed this variable will need to be updated!
  The plugin interface has been increased to version 1.01 for this change.
* Add will_render function to the plugin interface, used to register that a
  page renders a destination file, and do some security checks.
* Use will_render in the inline and linkmap plugins.
* Previously but no longer rendered files will be cleaned up.
* You will need to rebuild your wiki on upgrade to this version.
2006-10-08 21:56:50 +00:00
joey 16cbcf086b add metadata 2006-10-06 19:31:26 +00:00
joey 62a22bf541 comments 2006-10-06 19:22:22 +00:00
joey 9759b3b745 web commit by ChristianMock 2006-10-06 09:41:23 +00:00
joey 5709053f4d web commit by ChristianMock 2006-10-06 09:40:06 +00:00
joey 10b64bc707 web commit by ChristianMock 2006-10-06 09:38:59 +00:00
joey 2330971b5c tag 2006-10-02 00:17:16 +00:00
joey a24eced17f web commit by joey 2006-10-02 00:11:38 +00:00
joey d8a3538fb7 add meta info 2006-10-02 00:07:49 +00:00
joey 4ecf1338fe web commit by ChristianMock 2006-10-01 21:52:49 +00:00
joey 48e004acb1 * inline: Add ability to sort by page name, based on a patch from
Benjamin A'Lee.
2006-09-25 21:13:14 +00:00
joey c7140ad90b * Add typography (SmartyPants) plugin by Recai. 2006-09-21 20:28:40 +00:00
joey 75594937c4 update 2006-09-21 20:24:38 +00:00
joey 62e1a2ceed estseek patch (slightly altered) and other replies 2006-09-18 20:53:17 +00:00
joey fa96eab120 * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate
a multi-resolution favicon.ico.
2006-09-16 15:12:01 +00:00
joey 0f25ec8eb6 * pagetemplate hooks are now also called when generating cgi pages.
* Add a favicon plugin, which simply adds a link tag for an icon to each
  page (and cgis).
2006-09-16 00:52:26 +00:00
joey 9575948b51 hail UB313! 2006-09-14 22:28:04 +00:00
joey 9bae900242 * Add a module version number to IkiWiki, so you can "use IkiWiki '1.00'"
to declare which version of the interface your plugin needs.
2006-09-09 23:07:27 +00:00
joey dae0f48e91 * Work on firming up the plugin interface:
- Plugins should not need to load IkiWiki::Render to get commonly
    used functions, so moved some functions from there to IkiWiki.
  - Picked out the set of functions and variables that most plugins
    use, documented them, and made IkiWiki export them by default,
    like a proper perl module should.
  - Use the other functions at your own risk.
  - This is not quite complete, I still have to decide whether to
    export some other things.
* Changed all plugins included in ikiwiki to not use "IkiWiki::" when
  referring to stuff now exported by the IkiWiki module.
* Anyone with a third-party ikiwiki plugin is strongly enrouraged
  to make like changes to it and avoid use of non-exported symboles from
  "IkiWiki::".
* Link debian/changelog and debian/news to NEWS and CHANGELOG.
* Support hyperestradier version 1.4.2, which adds a new required phraseform
  setting.
2006-09-09 22:50:27 +00:00
joey d92142d09e add 2006-09-09 07:13:21 +00:00
joey aa2b3b8f63 * Add a googlecalendar plugin. A bit special-purpose, but it shows
one way to to deal with user-supplied content that could cause XSS
  issues w/o the htmlscrubber, and won't survive the scrubber.
2006-09-09 07:11:51 +00:00
joey 516eaeafbd web commit by joey 2006-09-07 15:42:01 +00:00
joey cd5f2eadd9 web commit by joey 2006-09-07 15:39:05 +00:00
joey e7ff9acf86 web commit by joey 2006-09-07 15:38:02 +00:00
joey 3e9a6a7d4f size limits 2006-09-07 06:58:27 +00:00
joey d772d2d3b2 web commit by joey 2006-09-07 05:46:38 +00:00
joey 68a8d7b1cc typo 2006-09-07 05:34:48 +00:00
joey eff2ddbe9a * Add a linkmap plugin (requires graphviz). 2006-09-07 05:31:01 +00:00
joey 7abcfe429a note that expire options are not yet implemented 2006-09-02 02:28:33 +00:00
joey 1aeb64e148 * Patch from James Westby to add an actions option to inline; this
adds Edit and Discussion links at the end of blog entries.
2006-08-28 19:43:07 +00:00
joey 4895955cea * Change htmlize, format, and sanitize hooks to use named parameters. 2006-08-28 18:17:59 +00:00
joey e16746a52f * Add toc (table of contents) plugin. 2006-08-28 07:40:20 +00:00
joey e0fdfd09bb add 2006-08-27 05:08:49 +00:00
joey a61d531edb * Added a ddate plugin. 2006-08-27 03:55:45 +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 3c378ff6e7 update 2006-08-23 20:28:08 +00:00
joey 8f8959c96e no longer need triple quotes 2006-08-23 20:27:18 +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 1f085aa76d applied patch 2006-08-23 18:43:19 +00:00
www-data 5085ae1360 web commit by JordaPolo: Reply to comments; fix my name. 2006-08-23 17:13:57 +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 63c79e7f5b add a missing closing ] on example directive 2006-08-23 03:21:55 +00:00
joey b7e28ae022 reorganise, include preprocess in the right order 2006-08-23 01:54: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
www-data 1e0c6758c1 web commit by joey: comments 2006-08-21 21:45:54 +00:00
www-data abae4a8058 web commit by JordaPolo: Fixed preformatted text. 2006-08-21 18:35:03 +00:00
www-data ad07eebb0b web commit by JordaPolo: Added linguas plugin. 2006-08-21 18:29:28 +00:00
joey cb60d16bb4 clarify 2006-08-19 05:26:02 +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 01dfa1d4ac clarify 2006-08-18 22:23:34 +00:00
joey 7f58a84dea * Add otl format plugin, which handles files as created by vimoutliner. 2006-08-18 21:48:03 +00:00
joey 05a298c473 clarification 2006-08-18 21:33:09 +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 2f0d94c80b updates 2006-08-18 06:21:59 +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 3fe48bcf83 note on disabling sidebar 2006-08-18 00:35:04 +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
www-data 3ced1551bb web commit by JonasSmedegaard: Correct typo: perminent -> permanent. 2006-08-14 20:44:19 +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 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 831190e1f3 tone back claims of what tidy can do, it's not perfect 2006-08-04 07:45:02 +00:00
joey 0708bb8aec * Don't run tidy with -xml as that fails if the input is not well-formed.
Run it with -asxhtml instead, so it will output well-formed xhtml no
  matter what the input.
* Disable tidy warnings too.
* Add a new format hook, and make tidy use it, since tidy can really only
  operate on and output complete html documents, not the body chunks
  that sanitise gets.
2006-08-04 07:41:02 +00:00
joey 91e416b5f3 * Also generate rel=bookmark links for permalinks. 2006-08-04 04:29:18 +00:00
joey c5919df5f3 * Make aggregator save permalinks and author name to pages as metadata.
* Add permalink and author support to meta plugin, affecting RSS feeds
  and blog pages.
* Change titlepage() to encode utf-8 alnum characters. This is necessary
  to avoid UTF-8 creeping into filenames in urls. (There are still
  some other ways that it can get in.)
2006-08-04 00:01:51 +00:00
joey 9dbe10e3f0 more slashery 2006-08-03 16:59:46 +00:00
joey 2794d7ef5a * Renamed GlobLists to PageSpecs.
* PageSpecs can now include nested parens, "and", and "or". This remains
  backwards compatible to the old GlobList format. It's implemented by
  treating the GlobList as a very limited microlanguage that is transformed
  to perl code that does the matching.
* The old GlobList format is deprecated, and I encourage users to switch to
  using the new PageSpec format. Compatability with the old format will be
  removed at some point, possibly by 2.0.
* Wiki rebuild needed on upgrade to this version due to PageSpec change.
* Add support for creation_month and creation_year to PageSpec.
  Closes: #380680
* Changes to index file encoding.
2006-08-02 00:14:31 +00:00
joey 8883001615 * Change meta tags to use html entity-escaped text for values, so that
quotes and such can be represented in title tags.
* Depend and build-depend on HTML::Parser for HTML::Entities which is used
  for the above.
* Make --rebuild also cause --aggregate to re-download and write aggregated
  pages.
* Avoid outputting duplicate meta info.
* Include title metadata on aggregated posts for capitalised and un-munged
  titles.
2006-07-30 22:58:48 +00:00
joey 1d0f4b665c fix 2006-07-30 06:15:04 +00:00
joey c5b02885e9 fixes, and make dir optional 2006-07-30 05:14:35 +00:00
joey e49ff966a3 * ikiwiki can now download and aggregate feeds with its new aggregate
plugin, so it's possible to implement a Planet using ikiwiki!
* --setup --refresh no longer rebuilds wrappers. Use --setup --refresh
  --wrappers to do that.
* Add %IkiWiki::forcerebuild to provide a way for plugins like aggregate
  to update pages that haven't changed on disk.
2006-07-30 04:31:08 +00:00
joey ab75c0323b * Add a run_hooks function for the common task of running all hooks of a
given type.
* Add a savestate hook.
* Don't put blog post forms on pages if there's no cgiurl set.
* Reformat front page.
2006-07-30 00:20:11 +00:00
joey becacc5566 updats 2006-07-29 22:25:40 +00:00
joey 65ab5b372e add type pages 2006-07-29 22:17:07 +00:00
joey 7f1313c052 * Tag plugins according to type. 2006-07-29 22:15:45 +00:00
joey d9633de2ce * fortune plugin (trivial) 2006-07-29 21:53:57 +00:00
joey fe64ddb62e right paper 2006-07-29 21:27:09 +00:00
joey 48f9d39339 * htmltidy plugin from Faidon. 2006-07-29 20:50:20 +00:00
joey 5de2cff378 remove this, pagestats is too slow and it was mostly for testing 2006-07-29 20:38:46 +00:00
joey 299bb8bef3 more links 2006-07-29 20:14:07 +00:00
joey 35c90a5b58 "Viva l'Italia!"
* Polygen plugin from Enrico.
2006-07-29 20:01:29 +00:00
joey d76c73eb86 * New pagestats plugin from Enrico, which can generate a table counting
the backlinks for each page, or a del.icio.us style cloud.
2006-07-29 17:44:41 +00:00
joey 267f98e2e1 * Put categories in rss feeds for tagged items. 2006-07-29 07:25:17 +00:00
joey 201e681d34 improve 2006-07-28 05:36:37 +00:00
joey 409e62021c * Add getopt hook type, this allows plugins to add new command-line options.
* Add --tagbase option to tag plugin.
2006-07-28 05:26:49 +00:00
joey 51d20d72f6 small improvements 2006-07-28 04:43:45 +00:00
joey 6e90f18cb7 don't need double-escape on indented literal text as markdown doesn't mess
with it
2006-07-28 00:33:57 +00:00
joey 8fd9c9accb Hope encrico doesn't mind, but I changed the location and layout of the
tags on the templates. This way seems to fit better with the links. Also
some css cleanup, avoid hardcoded <i> etc.
2006-07-28 00:21:13 +00:00
joey 22df49a2bf more destpage improvements 2006-07-27 23:47:13 +00:00
joey dea23a1031 * Switch pagetemplate hooks to using named parameters.
* Pass a "destpage" parameter to preprocessor and pagetemplate hooks.
  This will be the page that a source page will be part of, which is
  different than the source page for inlined pages.
* Audited all plugins to endure they pass page, destpage to htmllink
  appropriatly. This means inlining of various plugins will not work
  properly, with correct links generated.
2006-07-27 23:41:58 +00:00
www-data 23868a2f79 web commit by JonasSmedegaard: Small typo: "a a" -> "as a" 2006-07-27 23:08:47 +00:00
joey 20eacc2c1f - Adds a tag plugin that allows more easily tagging pages.
The meta plugin can also still be used for that, but the tag plugin
    also lists a page's tags at the bottom of the page.
  - Allows preprocessor directives to have parameters with no specified
    value.
  - Fixes preprocessor directive parameter parsing so that
    foo=bar baz now means "foo=bar" and a "baz" with no value.
* Run pagetemplate hooks when inlining pages so that inlines pages also
  list their tags.
* Make all plugins with pagetemplate hooks check that variables exist
  on the template before setting them.
2006-07-27 23:08:03 +00:00
joey 5017ffd8a5 * Patch from Enrico that
- allows preprocessor directives to have parameters with no specified
    value
  - fixes preprocessor directive parameter parsing so that
    foo=bar baz now means "foo=bar" and a "baz" with no value
  - Add a tag plugin that allows more easily tagging pages.
    The meta plugin can also still be used for this.
2006-07-27 21:38:02 +00:00
joey d4b28d58c4 fix 2006-07-26 21:58:13 +00:00
joey f4d651933f fix 2006-07-26 21:57:13 +00:00
joey d9c118dbf1 * Run page through any relevant filters when generating a page preview.
* Noticed a bug in the wikitext markup plugin -- it made CamelCase links the
  default throughout the wiki, not only on wikitext pages. Decided to call
  this a feature, and split the camelcase support out into a separate plugin
  that is independant of wikitext.
2006-07-26 21:54:44 +00:00
joey 0f22d66c96 * Add wikitext markup plugin, which supports ".wiki" pages written in the
original wiki syntax, CamelCase links and all.
2006-07-07 18:28:27 +00:00
joey d7dc7f699b fix 2006-07-03 22:37:32 +00:00
joey 08890fdd7f misc updated 2006-07-03 22:35:30 +00:00
joey 8d4c474f3b * Add a html plugin, which can be used to write wikis in raw html,
if you'd ever want to do such a thing. Slightly tricky, since ikiwiki
  defaults to not processing .html files, since w/o this plugin they would
  be copied unsanitised. With this plugin, it will process, and html
  sanitise, them like any other page type.
2006-07-03 22:31:20 +00:00
joey 6551c1e560 * Support htmlize plugins and make mdwn one such plugin, which is enabled by
default (of course!). Based on a patch by Faidon Liambotis.
2006-07-03 22:08:04 +00:00
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