Commit Graph

939 Commits (04f064e78aedecc234e08bd9b49ae3674cb8f7bd)

Author SHA1 Message Date
Joey Hess 4ef96e2d99 Merge branch 'master' into autoconfig 2008-07-26 23:22:42 -04:00
Joey Hess ecc40d1769 changelog and tweaks 2008-07-26 23:15:50 -04:00
Enrico Zini e3713772f7 Added cutpaste plugin.
I'm wondering if cutandpaste wouldn't be a better name.
2008-07-26 23:08:17 -04:00
Joey Hess 4f06e7402a remove ikiwiki.setup
To generate your own, use ikiwiki -dumpsetup ikiwiki.setup

Update docs.
2008-07-26 22:55:39 -04:00
Joey Hess 2c08693645 clarification 2008-07-26 22:39:46 -04:00
Joey Hess 6154dd03cb finish with rcs plugin conversion 2008-07-26 22:28:18 -04:00
Joey Hess 42ac4ec009 remove default values in getsetup
They were a bit confusing, since they did not actually set the default, and
example values are sufficient.
2008-07-26 21:07:15 -04:00
Joey Hess 52bbdbb1a5 load all plugins when generating setup 2008-07-26 19:10:11 -04:00
Joey Hess 6b19afb3ef fixes 2008-07-26 13:10:52 -04:00
Joey Hess 9169c3247f standardising and documenting getsetup 2008-07-26 13:07:48 -04:00
Joey Hess a71b9a1cf1 fix feed urls
The fix for colons involved adding "./" to some urls. Due to the weird way
inline called urlto, these snuck into feed urls and permalinks. Fix it by
adding an optional third parameter to urlto.
2008-07-25 16:16:44 -04:00
Joey Hess 4944fb6829 document link fixup on rename 2008-07-23 19:22:31 -04:00
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
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