Commit Graph

338 Commits (8f75ebd22983b233b716866f696c5e32fbe86bb4)

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