Commit Graph

415 Commits (2a722ec76f56f005c8f32caa71a0d036b44a7dd3)

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