Commit Graph

1591 Commits (0e68f76a9ab76bc6d0f0d45617517220afc146ff)

Author SHA1 Message Date
intrigeri e397888a77 po/doc: more security research results
Apart of the fuzzying part, I'm done with what I can do without help.

The "Running po4a on untrusted content" section needs at least a quick glance
from an experimented Perl programmer.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-10 23:52:50 +01:00
Joey Hess 5c0d43999f response 2008-11-10 13:30:20 -05:00
intrigeri 812f775e0a Merge commit 'upstream/master' into prv/po 2008-11-10 15:41:29 +01:00
intrigeri 44bb872a97 po/todo(security): many research results
... and some questions to Joey (hint: look for your name)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 22:08:50 +01:00
AlexandreDupas 4991cb441e question about the format directive and relation with htmlize hooks 2008-11-08 11:04:27 -05:00
intrigeri 41d13673c6 po/todo++: support other file formats than markdown
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 12:21:54 +01:00
intrigeri 86edd539f4 po/todo: mostly security research
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 02:13:37 +01:00
intrigeri 3c6c129100 po: started research on gettext/po4a security
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 00:08:44 +01:00
intrigeri 339478ba47 Merge commit 'upstream/master' into prv/po 2008-11-07 22:19:24 +01:00
intrigeri a0ac346079 po: finished backlinks implementation
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 22:17:54 +01:00
intrigeri 34ab884242 po: implemented linking/backlinks specification for po_link_to=negotiated
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 21:27:00 +01:00
intrigeri 61a01d3388 po: write detailed specification of wished backlinks behaviour
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-07 16:33:28 +01:00
Joey Hess db5ea4d4f0 meta: Plugin is now enabled by default since the basewiki uses it. 2008-11-06 16:08:11 -05:00
Joey Hess 56fd048210 response 2008-11-06 13:51:01 -05:00
intrigeri daa04ae436 po: fix link to homepage in special case
... by wrapping IkiWiki::urlto in order to workaround hard-coded
/index.$config{htmlext}, which is wrong when usedirs=0 and po_link_to=current
and translatable homepage

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 17:28:04 +01:00
intrigeri 725dae7353 po: misc responses to Joey
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 16:29:46 +01:00
intrigeri 8b001dbb00 po: redesign (once more) automatic POT/PO files update
Now use the change hook to update these files, check them into VCS, and trigger
IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent
infinite looping.

This more rigorous way of doing this fixes recentchanges (that was previously
not updated in some cases), and probably is a better long-term solution than the
two previously tested ones.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 15:54:55 +01:00
intrigeri c8cc03c824 po: doc/todo update
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:22:54 +01:00
intrigeri 802be94104 po: use prep_writefile before creating any files in refreshpot and refreshpo
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:17:33 +01:00
intrigeri a4cbfce763 po: reported parentlinks misbehaviour in special case
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 14:12:05 +01:00
intrigeri 769be3d48e po: po_link_to is safe, and fallbacks to a working value if needed
warnings are displayed if it is set to an invalid or incompatible value
(e.g. po_link_to=negotiated and disabled usedirs)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:47:09 +01:00
intrigeri 419de149a6 po: mark po_translatable_pages as a safe configuration setting
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:29:48 +01:00
intrigeri 34afa2c07d po: po_master_language and po_slave_languages are safe config settings
... and check their validity in checkconfig

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:26:45 +01:00
intrigeri c96dd00480 po: added license and copyright
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 13:01:33 +01:00
intrigeri 256b3aeba8 po: response
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:34:47 +01:00
intrigeri e7f508c5ac Merge commit 'upstream/master' into prv/po 2008-11-06 12:32:41 +01:00
intrigeri 1f54c13ec2 Merge commit 'upstream/po' into prv/po
Conflicts:

	IkiWiki/Plugin/po.pm
	doc/plugins/po.mdwn

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-06 12:28:31 +01:00
Joey Hess fe580240d4 need license 2008-11-05 15:02:22 -05:00
Joey Hess b609ae76ed response 2008-11-05 14:58:35 -05:00
Joey Hess 6fbe214d91 fixed one security problem, two more need review 2008-11-05 14:47:50 -05:00
Joey Hess 7e95723dad avoid hitting the shell with system() 2008-11-05 14:45:45 -05:00
Joey Hess 466ceb1394 response 2008-11-05 14:35:41 -05:00
Joey Hess d6ac704500 comments and questions 2008-11-05 14:33:35 -05:00
Joey Hess b76ee8a96d minor wording improvements/changes 2008-11-05 14:22:02 -05:00
Joey Hess 127a8a3701 Merge commit 'intrigeri/po' 2008-11-05 13:50:26 -05:00
Joey Hess f258902a21 response 2008-11-05 13:30:26 -05:00
Joey Hess ab729c78b2 add a more useful example of a relative date ;-) 2008-11-05 13:21:16 -05:00
intrigeri bd2dd8c603 po plugin: more detailed backlinks todo item
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-05 12:50:42 +01:00
intrigeri 4c6c00ccdf Merge commit 'upstream/master' into prv/po 2008-11-04 23:39:15 +01:00
intrigeri 225e21f6c5 po plugin: redesign refresh mechanism after master page update
manually triggering IkiWiki::refresh() was at least dubious, and more or less
buggy (it randomly broke the whole backlinks feature); thinking a bit more to
add the necessary bits to @needsbuild seems like a better way. don't play with
ikiwiki's internals if not absolutely needed.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 23:32:32 +01:00
intrigeri bc5b875de8 po plugin: remove broken parentlinks for home page's translations
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 20:05:21 +01:00
intrigeri 61c4129aaa po plugin: updated doc/todo
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-04 19:24:37 +01:00
neale 8903776a09 trackpad registered a click on save 2008-11-03 22:08:49 -05:00
neale b2aa69762d 2008-11-03 22:07:58 -05:00
intrigeri 78155454a4 po plugin: updated doc+todo
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03 01:21:06 +01:00
intrigeri c7fbcf6c5e po plugin: slave pages link to the master's discussion page
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-03 00:52:27 +01:00
intrigeri c0d1f2cace po plugin: updated todo / doc
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 23:10:59 +01:00
intrigeri 8e451ecda4 po: now uses inject 2008-11-02 20:19:51 +01:00
intrigeri 439a2d3c44 Revert "added the targetpage hook"
This reverts commit fc299df955.
Such functionality can now be achieved using the inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:34:10 +01:00
intrigeri 7c173aca3e Revert "added hook urlpath" and "rename urlpath hook into tweakurlpath..."
This reverts commits d9b9022c13 and
39d44d443d. This functionality should now be
achieved using the new inject() function.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:08:50 +01:00
intrigeri c696239b6b po plugin: added TODO about charset/encoding in new translations
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 18:07:01 +01:00
intrigeri 9643ce20d8 Revert "added the tweakbestlink hook"
This reverts commit e51089e11f.
The new "inject()" feature should replace this ad-hoc hook.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-02 17:33:32 +01:00
intrigeri 7713653878 Merge commit 'origin/master' into prv/po 2008-11-02 13:11:00 +01:00
Joey Hess 8f7e6e76ac rename 2008-10-31 18:02:03 -04:00
alexander fd9192006b 2008-10-31 17:53:57 -04:00
alexander efc1e4a369 2008-10-31 17:52:42 -04:00
Joey Hess bb841f94f4 format: New plugin, allows embedding differntly formatted text inside a page (ie, otl inside a mdwn page, or syntax highlighted code inside a page). 2008-10-31 16:42:20 -04:00
jwalzer 8f5723e1d5 start discussion of the plugin 2008-10-30 12:27:09 -04:00
jwalzer 547d296924 opml-Plugin - Stub-Page 2008-10-30 12:22:51 -04:00
http://lollipopman.myopenid.com/ 40b6033917 2008-10-30 08:28:28 -04:00
Joey Hess 3d72fd8f26 wording 2008-10-29 18:05:56 -04:00
https://yag.myopenid.com// 3c48758576 Fixed broken link. 2008-10-29 15:09:56 -04:00
Joey Hess 65bf71d387 organizing and pulling together syntax highlighting info 2008-10-26 19:43:57 -04:00
Joey Hess 1a883b3c50 include temp file for attachment change too 2008-10-24 13:44:03 -04:00
Joey Hess dfef51e10e Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-24 13:30:29 -04:00
Joey Hess 0196e1f9fc updates 2008-10-24 13:29:41 -04:00
tschwinge 0a081d78c4 Typo fix. 2008-10-24 05:40:52 -04:00
Joey Hess ad9e443f22 check_canattach hooked up 2008-10-23 16:56:40 -04:00
Joey Hess 4669eab596 more work on untrusted committers
Wired up check_canedit and check_canremove, still need to deal with
check_canattach, and test.
2008-10-23 16:29:50 -04:00
Joey Hess 094af3d113 initial support for git repos with untrusted committers
Still need to wire up the calls to check_* , but it's cold out here and my
hands are going numb, so enough for now.
2008-10-22 20:52:34 -04:00
Joey Hess 97b94e4e88 displaytime hook is gone 2008-10-21 20:37:49 -04:00
intrigeri b33ce3139c thanks! 2008-10-21 19:17:49 -04:00
Joey Hess a18fea41cd Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-21 17:57:32 -04:00
Joey Hess e75818572f function injection overhaul
Add an inject function, that can be used by plugins that want to replace
one of ikiwiki's functions with their own version. (This is a scary thing
that grubs through the symbol table, and replaces all exported occurances
of a function with the injected version.)

external: RPC functions can be injected to replace exported functions.

Removed the stupid displaytime hook, and use injection instead.
2008-10-21 17:57:19 -04:00
Joey Hess 70e0c9447a change obsolete example 2008-10-21 17:09:44 -04:00
intrigeri 64d2ba358d added link to po plugin 2008-10-21 14:59:02 -04:00
Joey Hess ec566c02fd response 2008-10-20 20:57:42 -04:00
intrigeri 94797b66c4 answering joey 2008-10-20 19:45:49 -04:00
Joey Hess ee1ccfa863 use relativedate as the css class for dates that should display relative 2008-10-20 19:22:22 -04:00
Joey Hess 99bf734963 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-20 19:19:03 -04:00
Joey Hess 2c89dacde4 wow 2008-10-20 19:18:49 -04:00
intrigeri 93959d45db formatting, added git clone information 2008-10-20 18:56:21 -04:00
intrigeri eea52bccc9 initial plugin public apparition 2008-10-20 18:54:04 -04:00
Joey Hess df22dd5cbd add header 2008-10-20 16:59:34 -04:00
Joey Hess 22ec2912be update 2008-10-20 16:58:22 -04:00
Joey Hess f1213d3ab7 fix name 2008-10-20 16:57:37 -04:00
Joey Hess 4729426292 pull together info on converting to ikiwiki from other systems 2008-10-20 16:55:38 -04:00
http://alcopop.org/me/openid/ 566c1af2aa split into subpages? 2008-10-20 10:25:49 -04:00
intrigeri fadb26bc15 Merge commit 'origin/master' into prv/po 2008-10-20 14:33:19 +02:00
intrigeri 654adc105e po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-20 14:30:22 +02:00
Joey Hess fd9393ef85 add displaytime hook
Need to use a hook because an exported function cannot be reliably
overridden. The replacement verstion was actually only affecting plugins
loaded after it.

formattime doesn't need a hook, since there's no reason to export it.
2008-10-19 20:12:37 -04:00
tschwinge 3670fe9a4f Correct copy&paste-o. 2008-10-19 12:14:08 -04:00
intrigeri 8211910566 po plugin: set every configuration item to unsafe
We will check later which ones are actually safe enough for websetup.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19 17:19:42 +02:00
intrigeri b4316fd941 po plugin: doc fix
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19 00:15:44 +02:00
intrigeri f096a9d798 po plugin: added ISTRANSLATION and ISTRANSLATABLE template variables
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19 00:05:13 +02:00
intrigeri 72dc1a5f02 po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-19 00:04:35 +02:00
intrigeri a0deb3038c po plugin: do not allow msgmerge to create backup files
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 19:18:22 +02:00
intrigeri d0c4d5061d po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:13 +02:00
intrigeri 7b7865150f po plugin: add correct dependencies on pages using OTHERLANGUAGES
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:13 +02:00
intrigeri 93b316f7c1 po plugin: todo++
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:13 +02:00
intrigeri 1d76762517 po plugin: initial implementation of automatic POT/PO update
The updated or created PO files are put under version control.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri c852203be8 po plugin: todo++ more security checks needed
... when creating new files.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri 58c77a01f7 po plugin: create missing POT/PO files in needsbuild hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri f42cf38076 po plugin: documentation work
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri 6add615928 po plugin: added and documented PERCENTTRANSLATED template variable
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri 1a670d3aca po plugin: make translation percentage available in OTHERLANGUAGES loop
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri d8c2800674 po plugin: documented custom PageSpec tests, reorganized doc a bit
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:12 +02:00
intrigeri 6f858cd59f po plugin: todo update wrt. newly translatable pages
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri d07c6b707d po plugin: todo++ : security note about system()
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri 27bfe18f51 po plugin: updated todo wrt. automatic POT/PO update/creation
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri d4f787ef52 po plugin: make any slave page dependent on the corresponding master page
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri 9332457e6c po plugin: todo++: create POT/PO when the plugin is enabled
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri 37222492a5 po plugin: updated doc to reflect current status of automatic PO files update
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:11 +02:00
intrigeri a28559798a po plugin: created OTHERLANGUAGES template loop
It currently only provides basic translations/master pages links.
Updated documentation accordingly.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri 32cc0b336a po plugin: po_slave_languages is a hash, rather than a hash of hashes
The latter seems to be unsupported by ikiwiki config system.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri d39f69da7f po plugin: fix formatting in documentation
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri ae827a43f8 po plugin: build %translations at scan time
... so that we can consider it as complete at preprocess time

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri 458ccebdd3 po plugin: added *.pot to wiki_file_prune_regexps
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri e163b037bf po plugin: move translatable pages to setup file, refactor
Replaced [[!translatable]] directive with po_translatable_pages setting.

Moved istranslatable/istranslation code to helper functions leaving place for
future caching and/or memoization. The PageSpec functions still work.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:10 +02:00
intrigeri 886f35153b po plugin: added note about not publishing .pot files
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri b852b0655c po plugin: added todo note about optimization
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri 23dccccdf2 po plugin: update doc (move finished item from todo)
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri 79d6f52d30 po plugin: implemented po_link_to=current
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri fdc7974b2a po plugin: implemented po_link_to=negotiated
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri 9c25f5cfe9 po plugin: rewrite internal linking specification
(not implemented yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:09 +02:00
intrigeri 39d44d443d rename urlpath hook into tweakurlpath for consistency's sake
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri e51089e11f added the tweakbestlink hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri cc4736d9ee po plugin: clearer file naming specs
i.e. clarify that master pages do not have to obey a special naming convention,
so that migration from/to this plugin is smooth

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri 24726f2836 po plugin: add one more pagespec function to the specification
(not implemented yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri a926f9840e po plugin: linking behavior specification
(no implementation yet)

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri d9b9022c13 added hook urlpath
This hook can be used to modify the internal urls generated by ikiwiki.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri bd50ba3e83 po plugin: switch to page.LL.html naming convention
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:08 +02:00
intrigeri 968106cc80 po plugin: enhance documentation
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:07 +02:00
intrigeri 45d08022bb po plugin: name rendered master pages like slave ones (page.html.LL)
Apache's content negotiation transparently redirects any old URL (page.html) to
the new one, depending on the client preferred language (i.e. a German browser
will be fed with page.html.de). Transition to this naming convention is then
really smooth.

This naming convention allows one to deliberately display the master page, even
if her browser is configured for another language.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:07 +02:00
intrigeri fae57e807a po plugin: initial documentation, along with huge TODO list
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:07 +02:00
intrigeri fc299df955 added the targetpage hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-10-18 15:49:07 +02:00
Joey Hess 7390a7a072 relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
Joey Hess 79b376f991 Add an underlay for javascript, and add ikiwiki.js containing some utility code.
* Add an underlay for javascript, and add ikiwiki.js containing some utility
  code.
* toggle: Stop embedding the full toggle code on each page using it, and
  move it to toggle.js in the javascript underlay.
2008-10-17 20:28:18 -04:00
Joey Hess cd305909d3 document google plugin 2008-10-10 17:13:33 -04:00
bremner 3369bbee1c 2008-10-10 01:45:45 -04:00
http://yag.myopenid.com/ 2ff36e631e 2008-10-09 19:33:25 -04:00
Joey Hess debd8636a0 problem fixed 2008-10-09 19:15:39 -04:00
http://yag.myopenid.com/ 8c46ca734a 2008-10-09 18:50:04 -04:00
Joey Hess 8c191adf5c tag updates 2008-10-09 16:58:25 -04:00
http://josephturian.blogspot.com/ 4544a3e583 2008-10-09 15:01:09 -04:00
Joey Hess d3ca495e61 lockedit: Support specifying which users (and IP addresses) a page is locked for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.) 2008-10-08 17:47:38 -04:00
Joey Hess 6caed59b9c remove page_locking page, move content to plugins/lockedit
Also, removed obsolte para about using the prefs page to configure locked
pages, that interface is obsolete, hidden by default, and the locked_pages
setup file setting is used instead.
2008-10-08 17:09:24 -04:00
Joey Hess 18b1c7f012 Merge branch 'tova' 2008-10-01 15:54:10 -04:00
Joey Hess 7308f3da5b Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-01 14:47:49 -04:00
Joey Hess 85ec27ab58 Merge branch 'master' into tova
Conflicts:

	debian/changelog
2008-09-30 21:04:22 -04:00
Joey Hess 0651e86a4c httpauth: Document that ikiwiki.cgi has to be in a directory subject to authentication. Closes: #500524 2008-09-30 21:03:51 -04:00
tschwinge 335049c5c4 The plugins have been rewritten and now should function properly. 2008-09-30 17:44:47 -04:00
Joey Hess 2d45a303e2 add newpagefile function 2008-09-29 18:51:16 -04:00
Joey Hess d4ac1c750e response 2008-09-27 21:13:35 -04:00
http://www.cse.unsw.edu.au/~willu/ 66eb48ebcd Thoughts on the new wikistate variable 2008-09-27 20:03:15 -04:00
Joey Hess a5d3acd37c Add %wikistate, which is like %pagestate except not specific to a given page, and is preserved across rebuilds. 2008-09-27 16:45:27 -04:00
Joey Hess 9ec9d6901d Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
Joey Hess dddf5d55fd clarify when to use utlto and when to use htmlpage
suggestion from smcv
2008-09-27 12:54:10 -04:00
Joey Hess 78e4d5bc6f clarify 2008-09-26 19:31:19 -04:00
Joey Hess 89256ab870 htmlscrubber: Add a config setting that can be used to disable the scrubber acting on a set of pages. 2008-09-26 18:07:37 -04:00
Joey Hess dfe55e8956 Add keepextension parameter to htmlize hook. (Willu) 2008-09-23 13:39:21 -04:00
http://schmonz.livejournal.com/ 72261774d2 2008-09-19 14:14:44 -04:00
Joey Hess fde2682548 response 2008-09-19 14:11:28 -04:00
http://schmonz.livejournal.com/ bb630febdb probably fine maybe? 2008-09-19 14:06:55 -04:00
Joey Hess 07df0ddea9 response 2008-09-19 13:59:18 -04:00
http://schmonz.livejournal.com/ 07693b60f4 response 2008-09-19 13:48:25 -04:00
Joey Hess 87ece1837d response 2008-09-19 13:15:59 -04:00
Joey Hess 343117daf2 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-19 13:12:38 -04:00
Joey Hess f22313b111 response 2008-09-19 13:10:44 -04:00
http://schmonz.livejournal.com/ 4bbc7fbdc2 new problem 2008-09-19 12:56:40 -04:00
AlexandreDupas 72b2cba709 Adding a deprecated tag for plugins? 2008-09-19 09:24:07 -04:00
http://schmonz.livejournal.com/ db2178d5ae yup yup 2008-09-17 22:46:15 -04:00
Joey Hess c940cabee5 response 2008-09-17 18:20:51 -04:00
http://schmonz.livejournal.com/ 39fc9a37da not quite there yet 2008-09-17 16:37:03 -04:00
Joey Hess 6a90f5cb3f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-17 15:57:42 -04:00
Joey Hess 1cb4154bc8 aggregate: Support atom feeds with only a summary element, and no content elements. 2008-09-17 15:56:58 -04:00
http://schmonz.livejournal.com/ 6ca4038f37 add basic websetup support 2008-09-17 15:52:35 -04:00
http://schmonz.livejournal.com/ 0ca6aef1e9 2008-09-17 15:01:18 -04:00
http://schmonz.livejournal.com/ 0205a78dba response to response 2008-09-17 14:52:50 -04:00
Joey Hess da7c6eb1b4 editdiff: Broken since 2.62 due to wrong syntax, now fixed. 2008-09-17 14:34:02 -04:00
Joey Hess b540b263de aggregate: Allow expirecount to work on the first pass. (expireage still needs to wait for the pages to be rendered though) 2008-09-17 14:27:31 -04:00
http://schmonz.livejournal.com/ 2c2f2b0096 not seeing the Edit button, help? 2008-09-17 12:07:17 -04:00
http://schmonz.livejournal.com/ 16504524c9 incomplete aggregation (no bodies) 2008-09-17 12:00:37 -04:00
bremner f1722d75ac hopefully answer Peter's question 2008-09-15 08:42:47 -04:00
bremner 834489a56a share my fumblings in calling IkiWiki::Setup 2008-09-13 08:28:52 -04:00
Joey Hess 97b71834bb fix IkiWiki::Setup::load docs 2008-09-12 21:20:34 -04:00
bremner 739d929348 change name of repo 2008-09-12 10:58:28 -04:00
bremner 9cf779de2f update repo name 2008-09-12 10:50:39 -04:00
http://www.cse.unsw.edu.au/~willu/ ead3c9caa4 Reword slightly 2008-09-11 23:18:23 -04:00
http://www.cse.unsw.edu.au/~willu/ fc2a0ba230 Fix typo 2008-09-11 23:02:02 -04:00
Joey Hess b50fc63208 fix link 2008-09-11 19:37:00 -04:00
Joey Hess ad7f5febf3 fix link 2008-09-11 19:36:35 -04:00
Joey Hess bc7381c4f9 listdirectives: Enable use of the directives underlay. 2008-09-11 18:46:32 -04:00
Joey Hess 5e4767a594 misc minor changes 2008-09-11 18:29:07 -04:00
Joey Hess 15c768c1c0 reword after reorg
There was a duplicated paragraph, an example on the wrong page, and some
rewording needed after will's reorg.
2008-09-11 18:14:26 -04:00
Joey Hess 701720198f move demo back to plugin page 2008-09-11 18:00:25 -04:00
Joey Hess d48e55c3d9 move back demo and add example 2008-09-11 17:53:21 -04:00
Joey Hess aa37d64d6a move demo back to plugin and add example 2008-09-11 17:51:27 -04:00
Joey Hess 798034ad46 re-add demo, was lost in will's changes 2008-09-11 17:44:46 -04:00
Joey Hess bb9e397c08 move example 2008-09-11 17:41:33 -04:00
Joey Hess 5409da80df move example back 2008-09-11 17:31:26 -04:00
Joey Hess 1b55d78794 move example back to plugin 2008-09-11 17:29:08 -04:00
Joey Hess c3d77f9ce9 reorg from will's changes
The info about the cron job was lost (!), as was a paragraph about what
pages the calendar links to.

The CSS docs seems to fit better in the plugin page than the directive
page, moved it back.
2008-09-11 17:21:14 -04:00
Joey Hess 01485d9074 move demo back to plugin page
We don't want expensive demos in the directives pages. Add an example of
its use instead.

Also, some minor rewording.
2008-09-11 17:17:10 -04:00
Joey Hess 7e6fa968c7 reword 2008-09-11 17:14:32 -04:00
William Uther c69a7f7585 patch plugin documentation to refer to directive pages 2008-09-11 17:05:51 -04:00
Joey Hess d9d783c4bc goodstuff update
* goodstuff: Remove otl plugin from the bundle since it needs a significant
  external dependency and is not commonly used. If you use otl, make sure
  you explicitly enable it now.
* goodstuff: Add more, progress, and table plugins to the bundle.
2008-09-09 16:11:16 -04:00
Joey Hess 5d53fab853 img: Support sizes like 200x. Closes: #475149 2008-09-09 15:20:06 -04:00
Joey Hess 6f46cc3b31 progress: New plugin to generate progress bars (willu) 2008-09-09 14:44:58 -04:00
http://nikolai.prokoschenko.de/ d9a099fe82 typo 2008-09-08 10:41:59 -04:00
http://nikolai.prokoschenko.de/ e9f86458bc Why was this broken in first place? 2008-09-08 10:39:00 -04:00
http://smcv.pseudorandom.co.uk/ 8b28a0c20b Use non-deprecated wikilink page (ikiwiki/wikilink) 2008-09-08 08:36:29 -04:00
Joey Hess dd349d69ea Merge branch 'master' of file:///srv/git/ikiwiki.info
Conflicts:

	doc/todo/page_edit_disable.mdwn
2008-09-05 14:01:12 -04:00
Joey Hess 0f67e7d969 editpage: New core plugin factoring out page editing to allow disabling it if desired. 2008-09-05 13:57:25 -04:00
http://ptecza.myopenid.com/ 77c4b7f55a * Response 2008-09-05 05:21:56 -04:00
Joey Hess 500a19baaa response 2008-09-04 14:48:40 -04:00
http://ptecza.myopenid.com/ 1193f8c8b4 * Alignment idea 2008-09-02 15:24:28 -04:00
Joey Hess 657bf7846d table: Support header=column to make the table header be the first column of the data. (AlexandreDupas) 2008-09-02 14:57:20 -04:00
Joey Hess b7458c48d8 filecheck: Fall back to testing for binary or plain text files if no mime type is detected. 2008-09-01 15:00:15 -04:00
bremner 57dd3268b7 patch to add call to File::MimeInfo::Magic::default to filecheck plugin 2008-08-30 10:08:09 -04:00
Joey Hess 639e33136b response 2008-08-28 20:18:05 -04:00
bremner 9692651f64 question about recognizing text/plain 2008-08-28 20:02:55 -04:00
AlexandreDupas 28801adcd3 Update link to the modified table plugin. 2008-08-28 07:44:44 -04:00
http://www.cse.unsw.edu.au/~willu/ da3501e15b Document the 'generated' keyword argument 2008-08-27 22:28:59 -04:00
Joey Hess 29cb940f77 "memoize" is a technical term, != "memorize" 2008-08-26 17:59:38 -04:00
Cord 43abdd87bf typo fix 2008-08-26 17:57:08 -04:00
Joey Hess e93042d38b fixes 2008-08-26 17:56:23 -04:00
bremner a3c44c1142 feature request for calendar 2008-08-26 15:51:20 -04:00
Joey Hess 3caec0681d fix %pagestate{ 2008-08-26 13:24:55 -04:00
Joey Hess 042a057778 color: New plugin from ptecza. 2008-08-26 13:22:34 -04:00
Joey Hess 78e34fbdc2 filecheck: New plugin factoring out the PageSpec additions that were originally part of the attachment plugin. 2008-08-25 19:52:34 -04:00
Joey Hess d6fd1f1cc8 rename preprocessordirective to directive
Reasons include:
- easier to type
- might want postprocessor directives again sometime, and listdirectives
  can then use the directive/* files for either
- that it's done as a preprocessor step is an internal detail (and not a
  very accurate one, really :-)
2008-08-25 14:19:39 -04:00
Joey Hess 9867806c13 remove wacky meta description tag 2008-08-25 13:40:47 -04:00
Joey Hess 69e35d3c51 willu's teximg changes
* teximg: The prefix is configurable, and has changed to not include the
  nonstandard mhchem by default. (willu)
* teximg: dvipng is used if available to render images. Its output is
  antialiased and better than dvips. If not available, the old dvips+convert
  chain will be used. (willu)
* Drop suggests on texlive-science, add suggests on dvipng.
2008-08-24 15:21:51 -04:00
Joey Hess a98bfb05c0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-08-21 22:25:53 -04:00
http://yag.myopenid.com/ 00327e6bcd 2008-08-21 16:30:03 -04:00
Joey Hess b12f29e456 response 2008-08-21 16:13:59 -04:00
http://yag.myopenid.com/ 3bb9a692f3 [Name](name)-style links don't seem to be supported 2008-08-18 07:16:10 -04:00
http://www.cse.unsw.edu.au/~willu/ bcd7152662 Response 2008-08-07 17:12:25 -04:00
Joey Hess 61b1b30cf7 response 2008-08-07 14:26:18 -04:00
http://www.cse.unsw.edu.au/~willu/ f26f7c1840 Suggestion about plugin listing order 2008-08-06 21:38:04 -04:00
Joey Hess 1d5ba6cf51 some doc updates for websetup
warning about old style setup files
2008-08-05 20:20:24 -04:00
http://schmonz.livejournal.com/ e1204075ee creole hyperlink trouble 2008-08-04 22:17:50 -04:00
http://smcv.pseudorandom.co.uk/ ca5f64c4ef Demote renamepage hook to a <h3> to fix the ToC 2008-08-03 17:30:32 -04:00
Joey Hess 9e0cbb73fe plugin safe/rebuild controls 2008-08-03 16:23:41 -04:00
Joey Hess 4405cebd0a add advanced and basic modes 2008-08-03 14:57:24 -04:00
Joey Hess 0f06504422 remove description_html, add link 2008-08-03 14:36:17 -04:00
Joey Hess 194417a3ca add 2008-08-02 23:54:19 -04:00
Joey Hess 4708aeceb3 websetup form display done 2008-08-02 16:41:37 -04:00
http://schmonz.livejournal.com/ 4a5793729b that did the trick 2008-08-01 17:25:14 -04:00
Joey Hess bb394fdae8 admin prefs move to setup file, stage 1
The locked pages configuration is moving to a locked_pages option in the
setup file, and the allowed attachments configuration to
allowed_attachments. The admin prefs page can still be used for these, but
that's depreacted and will only be shown if there's currently a value.
2008-08-01 16:45:04 -04:00
http://schmonz.livejournal.com/ f60bea8fe2 2008-08-01 14:19:35 -04:00
Joey Hess 041923a89e Merge branch 'master' into autoconfig
Conflicts:

	IkiWiki/Plugin/git.pm
	debian/changelog
	po/ikiwiki.pot
2008-07-31 19:35:37 -04:00
Joey Hess ec11400a01 improve preprocessor docs 2008-07-31 16:27:32 -04:00
Joey Hess 56459c82e6 response 2008-07-31 14:10:36 -04:00
http://schmonz.livejournal.com/ 490d2c6598 not working for me 2008-07-31 00:31:47 -04:00
http://smcv.pseudorandom.co.uk/ 094bd8fdb5 Fix broken link 2008-07-30 20:46:24 -04:00
Joey Hess 5e85039dc3 response 2008-07-30 15:47:28 -04:00
http://schmonz.livejournal.com/ fd16016833 s/sslrequire/requiressl/g 2008-07-30 15:11:47 -04:00
http://schmonz.livejournal.com/ bd5f94d2ac more suid 2008-07-30 15:09:44 -04:00
http://schmonz.livejournal.com/ 7b37c78ad8 fix cutto 2008-07-30 14:55:58 -04:00
http://schmonz.livejournal.com/ bf0483ed96 okay, tested to really work as advertised 2008-07-30 14:53:45 -04:00
http://schmonz.livejournal.com/ e4b096ac41 http(oop)s 2008-07-30 14:27:35 -04:00
http://schmonz.livejournal.com/ 3b9fe3a1b6 update 2008-07-30 12:21:55 -04:00
http://schmonz.livejournal.com/ 85aff81cfe revamp, so it's vampier 2008-07-30 12:20:58 -04:00
http://schmonz.livejournal.com/ dd25c7c4af 2008-07-30 01:25:05 -04:00
http://www.cse.unsw.edu.au/~willu/ 2c1e02aa45 alternate suggestion 2008-07-29 23:39:15 -04:00
http://schmonz.livejournal.com/ e55c079844 2008-07-29 21:45:50 -04:00
http://schmonz.livejournal.com/ 6838f9b6e5 2008-07-29 21:45:17 -04:00
Joey Hess e2612c7873 on the security of this plugin.. 2008-07-29 16:19:53 -04:00
Joey Hess b8d3c83ee0 tune 2008-07-29 16:02:24 -04:00
Joey Hess 12c5786df4 Merge branch 'tova' into autoconfig
Conflicts:

	debian/changelog
2008-07-29 15:54:45 -04:00
Joey Hess 64def3eaea Merge branch 'master' into tova 2008-07-29 15:40:23 -04:00
Joey Hess d6c73e9ef6 rename discussion page to match plugin name 2008-07-29 15:40:07 -04:00
Joey Hess a02c3f46ea initial draft 2008-07-29 15:39:01 -04:00
http://schmonz.livejournal.com/ 8de670263c document unixauth.pm 2008-07-28 23:57:26 -04:00
Joey Hess 9be28d7865 handle options with no value and no example value 2008-07-27 19:19:04 -04:00
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
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