Commit Graph

777 Commits (0513a37f0277b714e89a4a95da19f81e24471bb8)

Author SHA1 Message Date
Joey Hess 4691a2ad39 add renamepage hooks
Implemented for regular wikilinks, with a test suite.
2008-07-23 18:14:20 -04:00
Joey Hess 335a6a59e6 Merge branch 'master' into tova 2008-07-23 15:00:07 -04:00
rdennis 107bcb28d3 fixed description for open parameter 2008-07-23 06:49:18 -04:00
Joey Hess 41b0c029c8 formatting 2008-07-22 20:33:51 -04:00
Joey Hess 80f95cc598 improve docs 2008-07-21 22:46:15 -04:00
Joey Hess a3e16cd29f really add 2008-07-21 22:44:37 -04:00
Joey Hess 18d2403647 Merge branch 'master' into tova
Conflicts:

	debian/changelog
2008-07-21 17:27:50 -04:00
Simon McVittie 09a5cdbb34 Don't prepend tagbase to tags if they start with "./" or "/".
That syntax made little sense previously, and this allows sites to put
"most" of their tags under $tagbase.
2008-07-21 22:02:55 +01:00
Joey Hess 8cab4366d1 document remove plugin 2008-07-21 13:59:45 -04:00
Simon McVittie 953a959be7 Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix 2008-07-21 12:46:35 +01:00
Simon McVittie 297ff849b9 Migrate doc/plugins via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
2008-07-21 12:31:57 +01:00
http://www.cse.unsw.edu.au/~willu/ 2cf143e6be Change to new preprocessor syntax 2008-07-21 03:19:35 -04:00
Joey Hess 61df0678bd remove note about version
This wiki documents the current (actually, next ;-) release of ikiwiki.
I don't want to have version numbers everywhere. (plugins/write is an
exception to this policy).
2008-07-19 13:16:40 -04:00
http://alcopop.org/me/openid/ ded5cafe44 description meta tag 2008-07-19 07:58:45 -04:00
http://alcopop.org/me/openid/ 116282ab7f list which versions of ikiwiki have this feature 2008-07-19 07:39:13 -04:00
Joey Hess 584f3e3061 Add a postscan hook.
* Add a postscan hook.
* search: Use postscan hook, avoid updating index when previewing.
2008-07-17 16:17:15 -04:00
Joey Hess 40f88c9240 web commit by http://jcflack.myopenid.com/: Oh, *that's* where XML RPC is specified! :) 2008-07-17 14:07:29 -04:00
Joey Hess d08ab2ba46 move complex examples to a tip 2008-07-16 17:43:57 -04:00
Joey Hess 2c05a34be1 Merge commit 'intrigeri/pedigree' 2008-07-16 17:31:15 -04:00
intrigeri 35668b87d3 pedigree rename to parentlinks: rename/adapt everything
* Renamed to parentlinks every single variable or function called
  pedigree
* Removed the parentlinks function from Render.pm
* Enabled the new parentlinks plugin by default
* Adapted testsuite and documentation to reflate the above facts

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-15 16:25:39 +02:00
intrigeri 486f460132 pedigree rename to parentlinks: renamed files, to start with
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-15 16:09:40 +02:00
intrigeri 55000fd779 pedigree: rewrote with different design
(and updated testsuite + docs accordingly)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-15 13:06:52 +02:00
Joey Hess 3256522bda Merge commit 'smcv/aggregateinternal' into aggregateinternal
Conflicts:

	doc/plugins/aggregate.mdwn
2008-07-14 22:42:22 -04:00
Simon McVittie b29d11b3c6 Fix aggregateinternal migration so it skips expired entries, and deletes output 2008-07-15 03:24:05 +01:00
Joey Hess a8daf61b7d improve instructions
It's better to -refresh rather than rebuild, as this way ikiwiki deletes
all the html files rendered to destdir for the aggregated pages before.
2008-07-14 21:43:05 -04:00
Simon McVittie 87754e3065 Recommend aggregateinternal => 1 for new wikis, and set it in ikiwiki.setup.
Also use [[!foo]] in aggregate.mdwn.
2008-07-15 01:49:44 +01:00
Joey Hess e18002c9e9 fix extension name 2008-07-14 20:16:08 -04:00
Joey Hess 3ebb012e3f document aggregateinternal 2008-07-14 20:06:53 -04:00
intrigeri cff4201eed pedigree: added documentation (doc/plugins/pedigree.mdwn)
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-07-14 15:39:02 +02:00
Joey Hess ffc99f5904 switch preprocess hooks to use error function 2008-07-13 15:05:34 -04:00
Joey Hess edb59cd5b9 Error handling improvement for preprocess hooks. It's now safe to call error() from such hooks; it will cause a nicely formatted error message to be inserted into the page. 2008-07-13 14:41:40 -04:00
Simon McVittie e1f66dafca Fix link from meta plugin to tips/howto_stop_flooding_aggregators 2008-07-12 17:36:23 +01:00
Simon McVittie b269835a7f Re-work [[meta guid=""]] documentation, and stop claiming that urn:uuid: is automatically prepended 2008-07-12 17:33:40 +01:00
Joey Hess ca30d95a78 rename uuid to guid 2008-07-12 10:59:45 -04:00
Joey Hess c522fffe09 document uuid 2008-07-12 10:53:57 -04:00
Joey Hess 8cafbc5de6 reviewed this again 2008-07-10 00:36:57 -04:00
Joey Hess 73c7c4ebf7 document setup plugins 2008-07-10 00:19:35 -04:00
Joey Hess f4f3063aca typo the second 2008-07-07 12:08:45 -04:00
Joey Hess d657aa8a9e typo 2008-07-07 12:07:12 -04:00
Joey Hess 2f3a279f68 add virus checking to attachments plugin 2008-07-06 17:36:26 -04:00
Joey Hess 8526fd8293 web commit by http://alcopop.org/me/openid/: nudge headers down to h2 2008-07-03 11:41:36 -04:00
Joey Hess ca6d9da279 link to pagespec/attachment 2008-07-02 18:22:49 -04:00
Joey Hess 2888b03556 move attachment pagespec extensions docs to its own page
in the basewiki, so I can link to it there
2008-07-02 18:22:49 -04:00
Joey Hess 84e6c4fa66 add mimetype checking 2008-07-02 18:22:49 -04:00
Joey Hess 2354613391 response; move to bug report 2008-07-02 16:43:13 -04:00
Joey Hess c987aee47a Merge branch 'tova' 2008-07-02 16:38:13 -04:00
Joey Hess ba707cdcd9 add user and ip support to attachment pagespecs 2008-07-02 16:33:35 -04:00
Joey Hess 895faed642 toggle: Add support for toggles that are open by default.
Also fix to work in preview mode.
2008-07-02 16:02:01 -04:00
Joey Hess acc5db090e web commit by http://jcflack.myopenid.com/ 2008-07-02 09:30:36 -04:00
Joey Hess 16b22252a0 response 2008-07-01 18:45:54 -04:00
Joey Hess 96da041907 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info into tova 2008-07-01 18:41:47 -04:00
Joey Hess 8c6577c3dc web commit by http://jcflack.myopenid.com/ 2008-07-01 17:55:16 -04:00
Joey Hess 0ffcafc130 attachment doc updates 2008-07-01 17:54:23 -04:00
Joey Hess b01ee9b3b3 add an ispage limit 2008-06-30 23:17:01 -04:00
Joey Hess 0a37c45f32 basic attachment plugin, unfinished
Currently includes UI, and a few tests of the attachment, as well as the
framework to extend pagespecs to test attachments. Does not actually save
the file yet.
2008-06-30 22:58:33 -04:00
Joey Hess b66f9a1981 call format hooks when generating page previews
* toc: Revert change in 2.45 that made it run at sanitize time. This breaks
  use of toc in a sidebar.
* Call format hooks when generating page previews, thus fixing toc display
  there, as well as fixing inlins to again display in page previews, since
  it's started using format hooks. This also allows several other things,
  like embed, that use format hooks, to work during page preview time.
* Format hooks should not rely on getting an entire html document, as they
  will only get the body during page preview.
* toggle: Deal with preview mode when adding javascript.
2008-06-28 23:08:24 -04:00
Joey Hess f0df195049 new txt plugin, was previously contrib/plaintext 2008-06-24 20:48:45 -04:00
Joey Hess 9f3cf9c1a0 web commit by http://gmcmanus.myopenid.com/: plaintext module: copyright and license 2008-06-24 20:12:55 -04:00
Joey Hess 639e2f9ec7 response 2008-06-24 17:34:51 -04:00
Joey Hess fbd8cea1b4 web commit by http://gmcmanus.myopenid.com/: new plaintext plugin 2008-06-24 06:31:54 -04:00
Bernd Zeimetz b16c43a440 `template` option for aggregate.pm.
Allows to specify the template file which is used to
create the html pages.
2008-06-21 16:23:39 -04:00
Joey Hess 76c7664c50 remove some stuff that doesn't really need to be noted in the wiki now that
the plugin is in mainline
2008-06-20 19:45:40 -04:00
Joey Hess 98095ccac4 creole: New plugin from Bernd Zeimetz. Closes: #486930 2008-06-19 19:11:18 -04:00
Joey Hess 8271e9641e web commit by ptman: It seems the exclamation mark is now needed, can someone confirm this? 2008-06-18 03:48:34 -04:00
Joey Hess 43c647edd3 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-06-15 19:10:23 -04:00
Joey Hess 4da54999de meta: Store "description" in pagestate for use by other plugins.
map: Support show=description.
2008-06-15 19:08:50 -04:00
Joey Hess aab415481d web commit by XTaran: Changed case of repo link since hgweb seems to be pickier about it than before, thanks to Marillion for reporting the dead link. 2008-06-15 18:23:11 -04:00
Joey Hess 1bc9ab3176 remove TODO, moved to code 2008-06-15 16:27:35 -04:00
Joey Hess 8f8543389e finish including hnb plugin 2008-06-15 16:27:08 -04:00
Joey Hess 71d984b310 map: Add a "show" parameter. "show=title" can be used to display page titles, rather than the default page name. Based on a patch from Jaldhar H. Vyas, Closes: #484510 2008-06-15 16:11:11 -04:00
Joey Hess 163ffb3fe9 web commit by tschwinge: Indeed this issue is ``fixed'' now ;-) and the new searching subsystem is confirmed to function. 2008-06-15 14:02:54 -04:00
Joey Hess 16fd843269 link to patch 2008-06-12 15:12:28 -04:00
Joey Hess 1b60dccf89 web commit by AndrewGreenberg: We'd also like to see a 'usetitles' option for the map plugin. 2008-06-12 15:05:22 -04:00
Joey Hess 1f7f51828d response 2008-06-12 13:55:15 -04:00
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