Commit Graph

703 Commits (2f33f294d95def3c50a467c5b5b9c5f5cae9e5fb)

Author SHA1 Message Date
Joey Hess 465b1edc70 web commit by http://harningt.eharning.us/: Question about mirroring w/ pinger/pingee 2008-06-11 23:37:22 -04:00
Joey Hess f6b47b0d1c img: Support captions. 2008-06-07 23:45:40 -04:00
Joey Hess 3215b5a982 finishing touches on the new search plugin
- Add a Help link.
- If the pageterm is too long, hash it.
2008-06-04 15:24:28 -04:00
Joey Hess 1933e3732c some plugins that need SHA1 2008-06-04 15:19:13 -04:00
Joey Hess 1dddec0ba9 Pass a destpage parameter to the sanitize hook.
Because the search plugin needed it, also because it's one of the few
plugins that didn't already have it.

I also considered adding it to htmlize, but I really cannot imagine caring
what the destpage is when htmlizing. (I'll probably be poven wrong later.)
2008-06-04 01:24:23 -04:00
Joey Hess ce826411b2 more search improvements 2008-06-04 00:38:40 -04:00
Joey Hess 8a6a5320ed search: Converted to use xapian-omega.
Everything is done except for the actual indexing. I plan to do incremental
indexing as pages change.
2008-06-03 15:29:54 -04:00
Joey Hess 5e9e72b735 document that pagestate values can be anything Storable handles
This only started being true by accident when the index was changed to
use Storable, but it's a nice feature.
2008-06-01 12:59:33 -04:00
Joey Hess 0a35e8a352 haiku: Generate valid xhtml. 2008-05-30 19:10:58 -04:00
Joey Hess 75da1471d0 fix link 2008-05-30 18:28:21 -04:00
Joey Hess 4a3dc37eaf Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-30 12:51:11 -04:00
Joey Hess a8890f510e web commit by http://kaizer.se/: The output of this plugin does not validate as XHTML: [validator.w3.org][w3] --ulrik 2008-05-30 07:59:27 -04:00
Joey Hess 4152dca09e documentation for use of hashed passwords
Everything but the actual coding to support them.
2008-05-29 15:17:19 -04:00
Joey Hess d092e794b3 web commit by XTaran: Mercurial repository 2008-05-26 08:16:32 -04:00
Joey Hess 039c18c562 web commit by XTaran: Everything necessary fixed with 0.02 2008-05-26 08:04:55 -04:00
Joey Hess 9aaf5f99a4 response 2008-05-16 17:45:22 -04:00
Joey Hess fe656f65b7 web commit by http://harningt.eharning.us/ 2008-05-16 17:01:33 -04:00
Joey Hess 2a4a4d7b27 exclude templates/*, which are listed in templates 2008-05-15 16:58:26 -04:00
Joey Hess 62ac574b36 web commit by buo: Typo 2008-05-13 14:57:01 -04:00
Joey Hess 6cc69038ca Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-05-13 12:44:06 -04:00
Joey Hess fba4a198b5 mdwn: Add a multimarkdown setup file option. 2008-05-13 12:43:25 -04:00
Joey Hess f1b1e193da web commit by https://noone.org/openid//: Added note about license (GPL) 2008-05-13 07:08:39 -04:00
Joey Hess a50fb83394 add --delete-bucket option 2008-05-08 16:11:39 -04:00
Joey Hess b8d81b7b7f amazon s3 index file improvements
Turns out duplicate index files do not need to be stored when usedirs is in
use, just when it's not. Ikiwiki is quite consistent about using page/ when
usedirs is in use. (The only exception is the search plugin, which needs
fixing.)

This also includes significant code cleanup, removal of a incorrect special
case for empty files, and addition of a workaround for a bug in the amazon
perl module.
2008-05-08 15:51:09 -04:00
Joey Hess 9e6a4ccfdd amazon s3 support implemented and kinda working
pruning not yet implemented, however
2008-05-07 23:15:43 -04:00
Joey Hess 939885d556 whitespace 2008-05-07 22:02:28 -04:00
Joey Hess d1154b2925 documentation for amazon_s3 plugin
Now to write it. :-)
2008-05-07 21:20:58 -04:00
Joey Hess b144831e46 pinger/pingee now tested and working 2008-05-06 19:06:53 -04:00
Joey Hess 1f88cad3a2 aggregate: Add support for web-based triggering of aggregation for people stuck on shared hosting without cron. (Sheesh.) Enabled via the `aggregate_webtrigger` configuration optiom. 2008-05-05 20:20:45 -04:00
Joey Hess c1196acadc linkify 2008-05-03 13:32:28 -04:00
Joey Hess 27ca70225e web commit by RichMorin 2008-05-03 10:17:35 -04:00
Joey Hess 1ad826eb94 web commit by RichMorin 2008-05-03 10:08:36 -04:00
Joey Hess b2dea99417 Fix ugly display when editing a page that has vanished.
srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
2008-05-02 13:02:07 -04:00
Joey Hess 6f852e88e3 anonk: Add anonok_pagespec configuration setting that can be used to allow anonymous users to edit only matching pages. Closes: #478892 2008-05-01 14:58:23 -04:00
Joey Hess bb51e81762 img: Support a title attribute, will be passed through to html. Closes: #478718 2008-04-30 12:58:36 -04:00
Joey Hess cc26b153b4 move question to discussion page, where it belongs 2008-04-27 14:32:30 -04:00
Joey Hess 008de43f67 web commit by http://vibrog.myopenid.com/ 2008-04-27 04:28:28 -04:00
Joey Hess 9652cdfe2e toc: Add the table of contents at sanitize time, rather than at format time. This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc. 2008-04-26 15:13:01 -04:00
Joey Hess 9a2dfd21ab web commit by http://sabr.myopenid.com/ 2008-04-13 12:48:28 -04:00
Joey Hess d97ca8c610 web commit by http://sabr.myopenid.com/ 2008-04-12 20:36:15 -04:00
Joey Hess 5647448501 web commit by ScottSwalwell: Fixed my fix. 2008-04-10 13:01:27 -04:00
Joey Hess 7921d9456c web commit by ScottSwalwell: Fixed this link. 2008-04-10 13:00:36 -04:00
Joey Hess 04528ba259 web commit by cjb: Fixed URL 2008-04-10 01:06:21 -04:00
Joey Hess 16f3982344 web commit by http://certifi.ca/bronson 2008-03-28 00:57:49 -04:00
Joey Hess 76a4a982b8 web commit by buo: Thanks 2008-03-25 16:12:34 -04:00
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