Commit Graph

1389 Commits (936110ddb3acf67ac950a960b5c39bfc860a17ea)

Author SHA1 Message Date
intrigeri 298c16eda9 po: make the dev timing clearer 2008-12-23 11:08:00 +01:00
Joey Hess d70f3d6271 unify pagespecs 2008-12-21 16:50:50 -05:00
Joey Hess 3e2f75af6b fix 2008-12-17 20:19:12 -05:00
Joey Hess d647ca286a simplify pagespec 2008-12-17 20:10:22 -05:00
Joey Hess 140c0bacba change around comments pagespecs
I think it is clearer to have one pagespec that controls all pages with
comments, and a separate pagespec that can be used to close new comments on
a subset of those pages.
2008-12-17 18:50:04 -05:00
Joey Hess 60142db48e clarification 2008-12-17 15:29:22 -05:00
Joey Hess bb93fccf06 Coding style change: Remove explcit vim folding markers. 2008-12-17 15:22:16 -05:00
Joey Hess fdd994fb73 more comments doc updates
Moved todo items to a todo page, mark the old todo item about comments as
done, etc.
2008-12-17 14:15:52 -05:00
Joey Hess e9797ee086 improve documentation of postcomment 2008-12-12 15:02:40 -05:00
Joey Hess 9d5075ab52 first pass through comments documentation
Moved documentation out of contrib.

Mostly tweaked some wording. Moved documentation of various bits to other
pages (pagespec, etc), and linked to those.

Documented the new templates in wikitemplates.

Small quantities of documentation were removed. Particularly the list of
template variables, which I think is fairly obvious when editing the
template.
2008-12-12 14:52:05 -05:00
http://smcv.pseudorandom.co.uk/ 5625be3bcd Another TODO item 2008-12-12 06:34:51 -05:00
http://smcv.pseudorandom.co.uk/ b8c1670500 update with some more code improvements 2008-12-12 06:29:02 -05:00
tschwinge 574640b069 Fix cut'n'past-o. 2008-12-11 19:36:36 -05:00
Joey Hess b67632cdcd inline: Support feedfile option to change the filename of the feed generated. 2008-12-11 15:01:26 -05:00
http://smcv.pseudorandom.co.uk/ 50ae0dcd8c some issues joeyh reported on IRC 2008-12-11 06:07:37 -05:00
http://smcv.pseudorandom.co.uk/ 52bd18aafc Link to sandbox on my demo of the plugin 2008-12-10 22:12:11 -05:00
http://smcv.pseudorandom.co.uk/ 59c29b532e multiple formats now supported 2008-12-10 21:50:15 -05:00
http://smcv.pseudorandom.co.uk/ d6b87bd25e Update with today's changes 2008-12-10 21:44:50 -05:00
http://john.choffee.co.uk/ a6b9fadc9a Fixed the pagespec link 2008-12-09 08:27:59 -05:00
http://alcopop.org/me/openid/ b8fb77b093 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:47 -05:00
http://smcv.pseudorandom.co.uk/ e69095504c 2008-11-27 05:56:36 -05:00
http://smcv.pseudorandom.co.uk/ ec03c89f3e Move some more discussion here 2008-11-27 05:42:07 -05:00
http://smcv.pseudorandom.co.uk/ 92efb9c000 Move some discussion to discussion/ 2008-11-27 05:39:16 -05:00
http://smcv.pseudorandom.co.uk/ 7a7f4a3cb6 Move some discussion from comments page to here 2008-11-27 05:38:37 -05:00
intrigeri 3190e5cea7 Merge commit 'upstream/master' into prv/po 2008-11-13 04:39:53 +01:00
intrigeri 40324175aa po/todo: added test results
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13 00:54:46 +01:00
intrigeri 190c641c8a po(otherlanguages): return pages that should exist
... instead of already existing ones.
This fixes the "missing otherlanguages links on master pages just created via
the CGI" bug.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 23:27:30 +01:00
intrigeri 10c4e858b8 po(change): flush Memoize cache, to fix bug after rename/remove
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 21:18:48 +01:00
intrigeri 776be85a22 po/todo: first pass of robustness tests, added todo for remove/rename
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 20:13:40 +01:00
intrigeri 86c58119e0 po/todo: added robustness tests that have to be done
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:54:20 +01:00
intrigeri eba2dee941 po: compute internal links from a slave page relative to its master page
e.g. a link appearing on a slave page links to its masterpage's subpages.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 15:04:50 +01:00
intrigeri b19d0d3d24 Merge commit 'upstream/po' into prv/po 2008-11-12 01:08:57 +01:00
Joey Hess 50b95a0742 response 2008-11-11 18:34:18 -05:00
Joey Hess 3937e1fb16 patch and a few comments 2008-11-11 18:33:04 -05:00
Joey Hess 0d1593a201 Merge commit 'intrigeri/po' into po 2008-11-11 17:52:51 -05:00
Joey Hess 2a56ec6644 Merge branch 'master' into po 2008-11-11 17:52:32 -05:00
intrigeri ef536f46bd po/todo: bug report about linking to subpages from translation pages
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 23:08:13 +01:00
intrigeri b7a4e5a51c po/todo: fixed internal links
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 22:29:41 +01:00
intrigeri 18c086ec04 po/todo: added note about backlinks not being updated
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 20:04:58 +01:00
intrigeri 4c45dfce19 po/todo: update
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 17:30:19 +01:00
intrigeri fb9130c18c po: answered Joey's "create a new translation" question
... that I previously completely missed.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 17:17:56 +01:00
intrigeri f0e796d9a1 po(change): fix uninitialized variables when running IkiWiki::refresh()
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 16:04:40 +01:00
intrigeri 43a1d36378 po: added HOMEPAGEURL template variable, documented when to use it
Hopefully all links should now be consistent with the chosen linking behavior,
but who knows...

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 15:27:39 +01:00
intrigeri 18331e9261 po/todo: added bug report for weird Perl warnings
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 15:25:23 +01:00
intrigeri 6a9dafdc1d po/todo: updated page formats, broken links, documentation
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 05:17:26 +01:00
intrigeri 3d8d47d785 Merge commit 'upstream/master' into prv/po 2008-11-11 04:40:24 +01:00
intrigeri 8c47f16dcc po: help request
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 04:39:51 +01:00
intrigeri f2dc003cfb po/doc: first fuzzy-testing results for po4a and msgmerge
Chapter #1, in which we learn po4a could help to DoS ikiwiki + po,
whereas msgmerge seems reluctant to cooperate.

Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-11 03:23:02 +01:00
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