Commit Graph

295 Commits (7ea3bfdb70172514a7c1f5567570685f085a501c)

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