Commit Graph

393 Commits (113022e9a229a83a8fddb93e880c09232c643482)

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