Commit Graph

808 Commits (415e9a678dcc32fc57b71aa6c47886cc1c94e359)

Author SHA1 Message Date
Joey Hess ca8852b434 external: Work around XML RPC's lack of support for null by passing a special sentinal value. 2008-03-21 15:12:15 -04:00
Joey Hess da7aad08e3 web commit by http://jblevins.org/: A note about the toc plugin and headers in templates 2008-03-20 17:02:59 -04:00
Joey Hess 6eb3cf7e76 make setargv take an array
for consistentcy with getargv, which returns one
2008-03-19 15:49:00 -04:00
Joey Hess f003e97d10 getargv needs to return a list reference
xml rpc only allows functions to return a single value, no lists. So getargv
needs to return a list reference, which means that the caller will see an xml
rpc array.
2008-03-19 15:12:59 -04:00
Joey Hess 14d2b0b65c web commit by http://madduck.net/: use new directive syntax 2008-03-17 10:50:50 -04:00
Joey Hess ba480baa9e * external: Add getargv and setargv methods to allow access to ikiwiki's
@ARGV.
2008-03-15 14:19:49 -04:00
Joey Hess 840585338e mention proxy.py 2008-03-15 13:22:22 -04:00
Joey Hess f7bdc2385d * Use forcebaseurl to make page previews be displayed with the html base
set to the destination page. This avoids need for hacks to munge the urls
  in preview mode, which fixes several bugs.
* Several destpage fixes in plugins.
2008-03-12 14:21:48 -04:00
Joey Hess be0f1a63a3 typo 2008-03-12 13:34:44 -04:00
Joey Hess 95261278e7 docuent need for mhchem.sty 2008-03-12 13:25:28 -04:00
Joey Hess fb2b1702a4 tag as a slow plugin 2008-03-12 13:15:58 -04:00
Joey Hess 6690f1091a code review of hnd plugin 2008-03-12 13:14:43 -04:00
Joey Hess e5afc39aae web commit by http://noone.org/openid/: Shorter syntax 2008-03-11 19:23:24 -04:00
Joey Hess 9b6566ad8c web commit by http://bremner.myopenid.com/: changed source link to point to git. added plugin box. made epsilon less verbose 2008-03-11 17:34:20 -04:00
Joey Hess 24d90d4bb6 web commit by http://bremner.myopenid.com/: added some notes about related approaches 2008-03-11 17:22:17 -04:00
Joey Hess cdf88c8821 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-03-11 15:55:38 -04:00
martin f. krafft c471d5425f Generate openid2 headers as well
This causes meta.openid to also generate the openid2 headers.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-11 15:53:21 -04:00
martin f. krafft 2325525713 Let meta.openid set X-XRDS-Location header
Adds an optional xrds-location parameter to the openid meta handler,
which allows for XRDS delegation.

A good document on XRDS is
http://www.windley.com/archives/2007/05/using_xrds.shtml

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-11 15:51:11 -04:00
Joey Hess c59405e643 web commit by http://madduck.net/ 2008-03-11 10:02:12 -04:00
Joey Hess 830aab057f web commit by http://bremner.myopenid.com/ 2008-03-11 08:56:35 -04:00
Joey Hess fd4e6dfa87 web commit by http://bremner.myopenid.com/ 2008-03-11 08:32:12 -04:00
Joey Hess 7d595594c6 web commit by XTaran: Idea for improvement 2008-03-10 20:14:00 -04:00
Joey Hess 74d8443573 web commit by buo: Minor nitpick 2008-03-10 14:01:00 -04:00
Joey Hess cb0e593cfd web commit by XTaran: Download link 2008-03-10 11:12:51 -04:00
Joey Hess 2a1b9f262a web commit by XTaran: New hnb plugin 2008-03-10 09:57:29 -04:00
Joey Hess 034b9143e6 web commit by bremner: update link to my site 2008-03-07 02:15:13 -05:00
Joey Hess 478c93d636 web commit by bremner 2008-03-07 02:12:24 -05:00
Joey Hess 91ea662943 web commit by bremner: added pointer to relevant discussion 2008-03-06 08:14:44 -05:00
Joey Hess da9bf8df55 web commit by bremner: answer one of my own questions 2008-03-06 07:52:36 -05:00
Joey Hess 2404ce0ddd web commit by bremner: new version, language configurable, sortof 2008-03-06 04:51:44 -05:00
Joey Hess 890863679f web commit by bremner 2008-03-06 03:40:02 -05:00
Joey Hess 0e071ba9af web commit by bremner: added work in progress sourcehighlight plugin 2008-03-06 03:19:32 -05:00
Joey Hess 445e460b00 web commit by bremner: me too request for the tag generating code 2008-03-06 02:58:06 -05:00
Joey Hess 444d25af3a response 2008-03-05 17:16:20 -05:00
Joey Hess f77bc9d35c web commit by http://subvert.org.uk/~bma/: Add my thoughts. 2008-03-05 09:51:50 -05:00
Joey Hess ed4680df7c web commit by tschwinge: There's a bug somewhere. 2008-03-05 07:01:48 -05:00
Joey Hess d93aaed791 * Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
* rcs_diff is a new function that rcs modules should implement.
* Implemented rcs_diff for git, svn, and tla (tla version untested).
  Mercurial and monotone still todo.
2008-03-03 15:53:34 -05:00
Joey Hess b3d2f7152c web commit by tschwinge: Set the title *after* instantiating the templates. 2008-03-03 04:58:37 -05:00
Joey Hess 5ec11421d2 web commit by tschwinge: Set page title. 2008-03-03 04:54:18 -05:00
martin f. krafft c10cfb27d1 Add robots tag to meta plugin
Add special handling for <meta name="robots" ...> which needs not be
scrubbed as it's harmless.

Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit b15d0299a7f7b147e89d8a202d6cca1c21491af2)
2008-03-02 18:04:09 -05:00
Joey Hess 4763514861 * Add the linkify and scan hooks. These hooks can be used to implement
custom, first-class types of wikilinks.
* Move standard wikilink implementation to a new wikilink plugin, which
  will of course be enabled by default.
2008-02-11 22:48:27 -05:00
Joey Hess 4029389414 add templates 2008-02-10 23:06:46 -05:00
Joey Hess 10351be39a add template 2008-02-10 23:02:57 -05:00
Joey Hess 800a1b3271 add templates 2008-02-10 23:00:30 -05:00
Joey Hess b29add934b add template 2008-02-10 22:57:34 -05:00
Joey Hess e5f97777ad update 2008-02-10 17:27:59 -05:00
Joey Hess d7e0c035e5 * htmlscrubber security fix: Block javascript in uris.
* Add htmlscrubber test suite.
2008-02-10 13:16:40 -05:00
Joey Hess 57567f4168 note about will_render and preview 2008-02-04 18:34:47 -05:00
Joey Hess e57749b702 * recentchanges: Exipre all *._change pages, even if the directory
they're in has changed.
2008-02-03 14:51:03 -05:00
Joey Hess 340fe9707c * recentchanges: Improve handling of links on the very static changes pages
by thunking to the CGI, which can redirect to the page, or allow it to be
  created if it doesn't exist.
2008-02-03 14:48:20 -05:00
Joey Hess 6c1cb3f985 web commit by tschwinge: Another minor bug. 2008-02-03 12:18:26 -05:00
Joey Hess 58ef55c798 web commit by tschwinge: Thanks!, and a bug report. 2008-02-03 12:16:06 -05:00
Joey Hess 80915c830a * cgi hooks are now run before ikiwiki state is loaded.
* This allows locking the wiki before loading state, which avoids some
  tricky locking code when saving a web edit.
2008-02-03 00:23:04 -05:00
Joey Hess 2952288db4 move suggestion to a todo item 2008-01-30 16:30:16 -05:00
Joey Hess 64a8c828b8 * meta: Add pagespec functions to match against title, author, authorurl,
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
  retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
2008-01-29 17:16:51 -05:00
Joey Hess 8b31c53366 added configuration for recentchanges
I kept it to a simple global configuration, rather than using the
preprocessor directive for recentchanges, because that had chicken and egg
problems and seemed overcomplicated. This should work reasonably well,
though it would be good to add some more metadata so that more customised
recentchanges pages can be made.
2008-01-29 15:51:32 -05:00
Joey Hess 7e52cc90b2 update 2008-01-29 15:08:25 -05:00
Joey Hess 47ee266163 improve support for internal pages
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
2008-01-29 15:05:49 -05:00
Joey Hess 95c5cbc721 document the new refresh hook 2008-01-29 13:07:17 -05:00
Joey Hess dd809404ec omit recentchanges from various metadata pages 2008-01-29 12:52:29 -05:00
Joey Hess 2ff726e875 don't render internal-use pages, and document them 2008-01-29 00:07:55 -05:00
Joey Hess 5921b86fcc proof of concept implementation of static recentchanges
Currently hardcoded to write to recentchanges/*, and the page format needs
to be rethought to be usable for aggregation, but it basically works.
2008-01-28 23:56:26 -05:00
Joey Hess 035d5bca48 web commit by http://id.loopysoft.com/matt/: Slight typo fix 2008-01-23 02:14:35 -05:00
Joey Hess 06bd32f9da improve formatting and minor reword 2008-01-16 13:34:06 -05:00
Joey Hess 50b59896d9 web commit by JeremyReed: Document account_creation_password -- some of this text taken from original todo. 2008-01-16 11:14:33 -05:00
Joey Hess b887fe4508 web commit by rdennis: set initial state of toggle plugin 2008-01-11 08:57:03 -05:00
Joey Hess deb39a1f14 * meta: Run in scan mode again (more intelligently) and re-add support for
meta link.
* Fix support for the case where metadata appears after an inline directive.
  This was broken in version 2.16.
2008-01-09 02:38:43 -05:00
Joey Hess b31e8c0826 * inline: Add copyright/license info on a per-post basis to atom
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-09 01:05:54 -05:00
Joey Hess 08cb5f7bad Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2008-01-07 16:40:45 -05:00
Joey Hess c487b847e2 * Improved the canedit hook interface, allowing a callback function to be
returned (and not run in some cases) rather than the plugins directly
  forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
  and, indirectly, allow creating new discussion pages.
2008-01-07 16:34:13 -05:00
Joey Hess e92c51f5e5 web commit by http://madduck.myopenid.com/ 2008-01-06 12:00:20 -05:00
Joey Hess d2cda64c97 web commit by tschwinge: Answer. 2008-01-02 05:39:47 -05:00
Joey Hess a22dfe6fef response 2008-01-01 19:11:27 -05:00
Joey Hess 2f33fee799 web commit by tschwinge: Report an inconvenience. 2008-01-01 18:41:44 -05:00
Joey Hess 1bed865360 Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info 2007-12-28 16:15:23 -05:00
Joey Hess c2afda7f90 * img: Allow the link parameter to point to an exterior url. 2007-12-28 16:14:43 -05:00
Joey Hess c0c02243e5 web commit by AlexandreDupas: Fix typo. 2007-12-28 10:43:48 -05:00
Joey Hess c11ded60a8 web commit by AlexandreDupas: Patch for new header options 2007-12-28 07:09:01 -05:00
Joey Hess 79b1d4075c web commit by JoshTriplett: Fix typo. 2007-12-23 18:43:33 -05:00
Thomas Schwinge 1ac0fd03bb IkiWiki/Plugin/meta.pm <redir>: Support for specifying anchors. 2007-12-22 13:10:55 -05:00
Joey Hess f25b6aff42 web commit by tschwinge: Default content for *copyright* and *license*. 2007-12-21 09:32:32 -05:00
Joey Hess 71d1fb4326 web commit by tschwinge: Confirmed. Removing this. 2007-12-19 17:03:37 -05:00
Joey Hess ada6f506c1 important note about pagestate persistence 2007-12-16 16:19:16 -05:00
Joey Hess 96817b0032 * meta: Drop support for "meta link", since supporting this for internal
links required meta to be run during scan, which complicated its data
  storage, since it had to clear data stored during the scan pass to avoid
  duplicating it during the normal preprocessing pass.
* If you used "meta link", you should switch to either "meta openid" (for
  openid delegations), or tags (for internal, invisible links). I assume
  that nobody really used "meta link" for external, non-openid links, since
  the htmlscrubber ate those. (Tell me differently and I'll consider bringing
  back that support.)
* meta: Improved data storage.
* meta: Drop the hackish filter hook that was used to clear
  stored data before preprocessing, this hack was ugly, and broken (cf:
  liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook.
2007-12-16 15:56:09 -05:00
Joey Hess c43fc8607e web commit by tschwinge: Umeet 2007: talk about OpenID by Stephane Bortzmeye. 2007-12-16 13:00:51 -05:00
Joey Hess b10c46a1f3 followup to other question 2007-12-12 16:25:40 -05:00
Joey Hess 214bc2b65b * Allow dashes in preprocessor directive commands, and shortcuts. 2007-12-12 16:13:15 -05:00
Joey Hess fe0c0b6fc3 reformat 2007-12-12 03:39:02 -05:00
Joey Hess 3898a75388 formatting fixups 2007-12-12 03:37:17 -05:00
Joey Hess 4745391360 * Change formbuilder hook to not be responsible for displaying a form,
so that more than one plugin can use this hook.
  I believe this is a safe change, since only passwordauth uses this hook.
  (If some other plugin already used it, it would have broken passwordauth!)
2007-12-12 03:15:30 -05:00
Joey Hess c46b17983d works, but I'm not entirely happy with it yet
It would be better if it were a formbuilder hook. But the formbuilder hook
is wacked.. I may need to change how that hook works, which would mean
changing the only current user of it, passwordauth).
2007-12-12 02:45:44 -05:00
Joey Hess 8576fe4c49 incomplate edittemplate plugin 2007-12-12 01:52:26 -05:00
Joey Hess 035a57f209 web commit by tschwinge: Two and a half issues. 2007-12-11 18:55:29 -05:00
Joey Hess aa57c5ab5e remove test code 2007-12-09 00:01:18 -05:00
Joey Hess 5023f2301d * The calendar plugin stores state about when it needs to be updated,
and forces rebuilds of the pages that contain calendars. So
  running ikiwiki --refresh at midnight is now enough, no need for a full
  wiki rebuild each midnight.
* calendar: Work around block html parsing bug in markdown 1.0.1 by
  enclosing the calendar in an extra div.
2007-12-08 23:54:34 -05:00
Joey Hess fa90bdf4bf fix up some links 2007-12-08 20:04:18 -05:00
Joey Hess b4b452f4ee forgot to add 2007-12-08 19:05:01 -05:00
Joey Hess 055179cb4c * Finally implemented a simple per-page data storage mechanism for plugins,
via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
2007-12-08 17:40:50 -05:00
Joey Hess 7960031135 MAJOR basewiki reorg
Including redir pages for the moved basewiki pages. These will be removed in
a future release.
2007-12-08 15:59:08 -05:00
Joey Hess 2c78477387 * meta: Add redir support, based on a patch by Thomas Schwinge. 2007-12-08 14:58:29 -05:00
Joey Hess b64bb78f12 broken link 2007-11-17 16:32:51 -05:00
Joey Hess 264a82a435 * inline: Add timeformat parameter to control how the ctime of
inlined pages is displayed. Closes: #451019
2007-11-13 16:14:48 -05:00
Joey Hess c2981cfca9 web commit by tschwinge: Bug fixed by <http://www.bddebian.com/gitweb/?p=wiki;a=commitdiff;h=3590f319ea80d8a153eba50be0b45bc5e6b87ef8>. 2007-11-09 09:03:15 -05:00
Joey Hess cd4bc7c580 web commit by tschwinge: *Preview* when creating new pages. 2007-11-09 08:38:57 -05:00
Joey Hess ff697de14c web commit by tschwinge: Non-functional Texinfo commands. 2007-11-09 08:28:31 -05:00
Joey Hess ee5d6461b4 web commit by tschwinge: Further explanation. 2007-11-09 06:00:43 -05:00
Joey Hess 039eb463e1 web commit by tschwinge: Further idea. 2007-11-09 05:57:29 -05:00
Joey Hess deec90642f web commit by tschwinge: Correction and extension. 2007-11-09 05:42:31 -05:00
Joey Hess d3c5b881e0 web commit by tschwinge: Mapping between input and output files. 2007-11-08 11:30:43 -05:00
Joey Hess 0a4788456c web commit by tschwinge: About M (M > 1) output files. 2007-11-08 11:26:06 -05:00
Joey Hess b8deeaae4d web commit by tschwinge: Reorder. 2007-11-08 11:17:24 -05:00
Joey Hess 0bb61e51b7 web commit by tschwinge 2007-11-08 11:04:54 -05:00
Joey Hess ad2fd6b2ce web commit by tschwinge: The current version can parse copyright and licensing snippets as specified by the GNU Texinfo manual. 2007-11-07 18:14:37 -05:00
Joey Hess d2134d1ed9 web commit by http://ptecza.myopenid.com/: * Thanks! 2007-11-07 14:52:24 -05:00
Joey Hess 7cc90d8457 web commit by tschwinge: Why I wrote that plugin. 2007-11-07 14:11:06 -05:00
Joey Hess e6a2f3ba6c web commit by tschwinge: Some ideas. 2007-11-07 13:57:11 -05:00
Joey Hess 221017913c response 2007-11-07 11:47:01 -05:00
Joey Hess 3f85a48009 thoughts 2007-11-07 11:45:39 -05:00
Joey Hess 37de9e16be web commit by http://ptecza.myopenid.com/: * Added forgotten signature 2007-11-07 05:27:12 -05:00
Joey Hess 422082fdd7 web commit by http://ptecza.myopenid.com/: * Question about quotation marks inside the title parameter 2007-11-07 05:25:31 -05:00
Joey Hess a399d687db web commit by tschwinge: `makeinfo` Output. 2007-11-06 16:42:12 -05:00
Joey Hess cdb9af4cad web commit by tschwinge: Copyright and Licensing Snippets. 2007-11-06 16:39:50 -05:00
Joey Hess 958ec58c1c web commit by tschwinge 2007-11-06 16:35:37 -05:00
Joey Hess b50b23d85f web commit by tschwinge: N-to-M mapping of input and output files. 2007-11-06 16:34:23 -05:00
Joey Hess 28a9eff5d5 web commit by tschwinge: texinfo plugin. 2007-11-06 16:03:44 -05:00
Joey Hess 1810f29433 web commit by http://ccshan.myopenid.com/: expecified -> specified 2007-11-04 04:05:47 -05:00
Joey Hess 06b06cd7d9 web commit by tschwinge: All Thumbnails on One Page 2007-11-03 20:35:01 -04:00
Joey Hess cdd2d3126c web commit by tschwinge: Bug With Referring to *js* and *css* Files 2007-11-03 20:33:40 -04:00
Joey Hess e48bb23a7b web commit by http://arpitjain11.myopenid.com/ 2007-11-03 12:19:43 -04:00
Joey Hess 0025902006 web commit by http://arpitjain11.myopenid.com/ 2007-10-30 17:02:38 -04:00
Joey Hess ac8bb94a36 web commit by http://arpitjain11.myopenid.com/ 2007-10-30 16:59:04 -04:00
Joey Hess f0dab430bd web commit by tschwinge 2007-10-30 11:41:44 -04:00
Joey Hess 7bd9df6d4e web commit by tschwinge: How to use this plugin? 2007-10-30 11:31:35 -04:00
Joey Hess 67acb0463b web commit by tschwinge: Remove resolved issue. 2007-10-29 16:48:29 -04:00
Joey Hess 70384ae553 analise one not-our-bugissue, move the other to a bug report page 2007-10-29 16:27:05 -04:00
Joey Hess d2e27f45cc web commit by tschwinge: But not visible here, but in the Hurd wiki. 2007-10-29 15:51:09 -04:00
Joey Hess 0116a56536 web commit by tschwinge 2007-10-29 15:24:51 -04:00
Joey Hess 937d0a9370 web commit by tschwinge: Bug when toggling in a preview page 2007-10-29 15:21:21 -04:00
Joey Hess 70eb2478d9 web commit by tschwinge: Bug when followed by a heading. 2007-10-29 15:18:57 -04:00
joey a27f4a47ba * Add a calendar plugin, contributed by Manoj Srivastava.
* Reformat calendar plugin to ikiwiki conventions.
* The calendar plugin made *every* page depend on every other page,
  which seemed a wee tiny little bit overkill. Fixed the dependency
  calculations (I hope.)
* Removed manual ctime statting code, and just have the calendar plugin use
  %pagectime.
2007-10-23 00:02:53 +00:00
joey 65dca9f89d * Rewritten rst plugin by madduck is a python program that communicates with
ikiwiki via XML RPC. This should be much faster than the old plugin that
  had to fork python for every rst page render. Note that if you use
  the rst plugin, you now need to have the RPC::XML perl module installed.
2007-10-15 16:33:02 +00:00
joey 88581b8e72 web commit by MichaleR: added suggestion to add synopsis for plugin list entries 2007-10-09 03:01:22 +00:00
joey 685485ed3d web commit by JonasSmedegaard: Fix typo 2007-10-06 20:24:36 +00:00
joey 825f4165b2 document will_render better 2007-09-22 18:46:25 +00:00
joey c1474d795c make taglink support the same method for specifying link text as a regular
wikilink
2007-09-22 17:07:51 +00:00
joey 622b866f3e * img: Allow link=somepage to cause the image to link to a given page.
Slight overriding of link, as link=no is still used to disable the linking
  entirely. Unless you have a page named "no"..
2007-09-22 16:46:27 +00:00
joey 7bde880fa8 * map: Render pages on the way to subpages whose parent pages
are not included in the map. Include special styling for such pages.
* map: Remove common prefixes and don't over-indent.
* Add class option to htmllink().
2007-09-22 16:32:24 +00:00
joey d4117e20e3 rename 2007-09-22 15:35:12 +00:00
joey 91ded8930a web commit by tschwinge: Request about adding a better linking functionality. 2007-09-21 15:34:51 +00:00
joey d1999f0357 * Add taglink preprocessor directive, supporting visible tag links.
Closes: #443344
2007-09-20 18:59:27 +00:00
joey 9f87bd8d7d * table plugin: Actually specify the delimiter when parsing CSV.
* table plugin: The previous version broke WikiLinks inside quoted values.
  Fix this by linkifying CSV data after parsing it, while DSV data is still
  linkified before parsing.
2007-09-16 19:35:16 +00:00
joey 6bcc3339d9 * table plugin: Actually specify the delimiter. 2007-09-16 19:18:02 +00:00
joey 906dcfd518 * meta: Support license and copyright information. The information will
be shown in the page footer. HTML will also be inserted that should
  support the rel=license microformat as well as the HTML spec's
  rel=copyright.
2007-09-14 18:11:10 +00:00
joey ae4dccc1be web commit by http://id.inelegant.org/: First pass at user documentation. 2007-09-10 23:17:58 +00:00
joey 33754bce8e web commit by arpitjain11: Gallery Plugin added 2007-09-07 22:18:44 +00:00
joey 44b3840d87 web commit by arpitjain11 2007-09-07 22:17:05 +00:00
joey 876e6781b3 update excludes 2007-09-05 17:58:13 +00:00
joey e15b1cf8ee web commit by tschwinge: I'm running Debian unstable, not testing. 2007-09-02 14:15:30 +00:00
joey 19f5223d6e web commit by tschwinge: Once again. 2007-08-31 00:31:04 +00:00
joey defd69affe web commit by tschwinge: Further info. 2007-08-31 00:17:38 +00:00
joey 450ce26d68 web commit by tschwinge: Response. 2007-08-31 00:07:02 +00:00
joey f960890343 update 2007-08-30 23:42:19 +00:00
joey b1257eb091 web commit by tschwinge: Fix formatting from hell, again. 2007-08-30 14:07:06 +00:00
joey 520b83cc1e web commit by tschwinge: Error message. 2007-08-30 14:05:59 +00:00
joey 9c5f4761d8 * Support for looking in multiple directories for underlay files.
* Plugins can add new directories to the search path with the add_underlay
  function.
* Split out smiley underlay files into a separate underlay, so if the plugin
  isn't used, the wiki isn't bloated with all those files.
2007-08-28 01:59:01 +00:00
joey 6c89a635bb * Add an editcontent hook. 2007-08-26 21:33:25 +00:00
joey dbacba6612 resp 2007-08-24 01:21:20 +00:00
joey 8c31a01efa rename tex to teximg 2007-08-23 21:19:21 +00:00
joey 27d029113f * Add embed plugin, which allows embedding content from google maps, video,
calendar, and youtube. Normally, the htmlsanitiser eats these since they
  use unsafe tags, the embed plugin overrides it for trusted sites.
* The googlecalendar plugin is now deprecated, and will be removed
  eventually. Please switch to using the embed plugin.
2007-08-23 20:14:08 +00:00
joey c442831c39 web commit by PatrickWinnertz 2007-08-23 10:46:17 +00:00
joey 0f2c4d3bbd web commit by http://jeremie.koenig.myopenid.com/: correction 2007-08-23 10:41:08 +00:00
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