Commit Graph

487 Commits (c2606879f3f21a11bf0a42c326b8a531e88e9c41)

Author SHA1 Message Date
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