Commit Graph

6515 Commits (78155454a4d46c085e50937bda58bc4e2d40a648)

Author SHA1 Message Date
http://jblevins.org/ 0f8883f398 Link to h1title plugin 2008-10-22 14:03:53 -04:00
http://jblevins.org/ 7fe2744d48 Added links to a couple of experimental plugins 2008-10-22 13:57:45 -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
http://xma.myopenid.com/ f1f7b9a38e 2008-10-21 17:51:26 -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 d66fc7acf1 updated with new thoughts on user checking 2008-10-21 12:18:22 -04:00
http://jblevins.org/ 53292eea63 Notes on MathML and SVG support 2008-10-21 11:43:37 -04:00
http://jblevins.org/ f635ff0d29 htmlscrubber patch for sanitizing SVG and MathML 2008-10-21 11:12:12 -04:00
Joey Hess dc9cb095d1 response2 2008-10-20 21:54:24 -04:00
Joey Hess 59ef1ebe5d response 2008-10-20 21:51:33 -04:00
AndrewGreenberg cc311beef3 Added "SVG aren't images" bug. 2008-10-20 21:34:02 -04:00
Joey Hess ec566c02fd response 2008-10-20 20:57:42 -04:00
Joey Hess 9eb995ba9d randomly stumbled over fedora packages of ikiwiki 2008-10-20 20:34:29 -04:00
Joey Hess 2af90681c7 re-encode to utf-8
I noticed the Fedora package doing this as part of its build.
2008-10-20 20:32:07 -04:00
Joey Hess dbf8358d68 bit of a design for how a post-receive hook could work 2008-10-20 20:16:30 -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
intrigeri 170ebe663b added link to another idea 2008-10-20 18:40:30 -04:00
intrigeri c746aa1a7c response 2008-10-20 18:39:01 -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
Joey Hess 0835216529 response 2008-10-20 16:19:10 -04:00
http://xma.myopenid.com/ 35e95f56e9 2008-10-20 15:49:11 -04:00
http://xma.myopenid.com/ df3b52589d 2008-10-20 15:46:02 -04:00
http://xma.myopenid.com/ 0f2764e6a6 2008-10-20 15:44:36 -04:00
Joey Hess 947fd05472 turn on archive mode for forum 2008-10-20 15:38:17 -04:00
Joey Hess 9bad51a776 response 2008-10-20 15:37:27 -04:00
Joey Hess 09c648cf85 response 2008-10-20 13:14:36 -04:00
http://alcopop.org/me/openid/ 65e0923f51 response 2008-10-20 10:38:39 -04:00
http://alcopop.org/me/openid/ 4201010873 *really* fix the link :) 2008-10-20 10:35:49 -04:00
http://alcopop.org/me/openid/ f1ca9c1e5e fix Xavier's links 2008-10-20 10:35:11 -04:00
http://alcopop.org/me/openid/ a15b8a62c2 2008-10-20 10:32:26 -04:00
http://alcopop.org/me/openid/ b8c7f3d4c4 remove inadvertent header 2008-10-20 10:31:32 -04:00
http://alcopop.org/me/openid/ 38289006e7 a test to see if this is clearer 2008-10-20 10:30:19 -04:00
http://alcopop.org/me/openid/ 723aaf1f46 I like the forum idea - but a map instead of inline? 2008-10-20 10:27:56 -04:00
http://alcopop.org/me/openid/ 566c1af2aa split into subpages? 2008-10-20 10:25:49 -04:00
http://alcopop.org/me/openid/ 3a07fc2802 I was not aware of remove. 2008-10-20 10:23:41 -04:00
http://xma.myopenid.com/ 217eb43aec 2008-10-20 10:12:49 -04:00
http://xma.myopenid.com/ 044e34f329 My opinion 2008-10-20 10:06:26 -04:00
http://xma.myopenid.com/ 3fe59803d5 2008-10-20 10:02:45 -04:00
intrigeri ee166d1b6d fixes confirmed 2008-10-20 08:53:36 -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
tschwinge 4a958e0c1e My thoughts. 2008-10-20 04:58:04 -04:00
Joey Hess 423fae6f18 Use the pure perl Data::Dumper when generating setup files to ensure that utf-8 characters are written out as such, and not as the encoded perl strings the C Data::Dumper produces.
Note that the text produced by the C version was interpreted fine
when ikiwiki loaded the setup file. But it was not user-friendly.
2008-10-19 21:23:48 -04:00
Joey Hess 3e992b758b Fix issue with utf-8 in wikiname breaking session cookies, by entity-encoding the wikiname in the session cookie. 2008-10-19 21:07:12 -04: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
Joey Hess 3bdc66d300 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-19 19:55:28 -04:00
intrigeri 991c1b096b some more example bugfixes 2008-10-19 19:48:14 -04:00
intrigeri 3d8a6fa447 fix example 2008-10-19 19:47:19 -04:00
Joey Hess 3f8eb12b5f response 2008-10-19 19:28:25 -04:00
Joey Hess e4e89b8c61 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-19 19:27:15 -04:00
Joey Hess 2b569f99d9 fix relativedate timezone inclusion
The machine parseable date needs to include a timezone.

Also, simplified the interface for date display.
2008-10-19 19:21:44 -04:00
http://xma.myopenid.com/ d8e653e684 Webserver, why ? 2008-10-19 19:20:19 -04:00
intrigeri 214d73775f initial wishlist submission 2008-10-19 19:19:24 -04:00
intrigeri ac8e8f5ad7 one more opinion 2008-10-19 18:55:05 -04:00
intrigeri 9f7298d4fe linked to rcs/git to be in the backlinks 2008-10-19 18:45:38 -04:00
intrigeri cf84dc5d2b initial tip submission 2008-10-19 18:33:59 -04:00
intrigeri e32c6e4725 initial bug report 2008-10-19 18:19:14 -04:00
intrigeri b637f7f700 initial bug report 2008-10-19 18:13:47 -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
JoshTriplett 9fc7edeee5 Add links to the moin2iki code. 2008-10-18 20:05:37 -04:00
JoshTriplett a09a0087cc 2008-10-18 20:02:58 -04:00
JoshTriplett db0f771bc4 Update my contact info. 2008-10-18 20:02:28 -04:00
Joey Hess 3f922abff4 remove old dup div 2008-10-18 19:11:57 -04: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
http://jblevins.org/ c1a2df4fc1 Tracking some issues on my user page 2008-10-18 16:53:28 -04:00
http://jblevins.org/ e49a745fdd Unclosed div 2008-10-18 15:36:18 -04: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
intrigeri 219cb94841 Revert "fix"
This reverts commit 40757bfa154d816f0843af468c9085d5b041c95b.
2008-10-18 15:49:07 +02:00
intrigeri dd6a94b186 fix 2008-10-18 15:49:07 +02:00
http://hendry.iki.fi/ 943a4ff520 google plugin linked 2008-10-18 09:21:24 -04:00
http://xma.myopenid.com/ 15c6997979 2008-10-18 07:10:10 -04:00
Joey Hess 594243d615 update 2008-10-17 21:59:27 -04:00
Joey Hess 35c56622ea tweak recentchanges permalink code
Need to handle the case where url is not set.
2008-10-17 21:54:42 -04:00
Joey Hess ef4b9b5420 response 2008-10-17 21:16:27 -04:00
Joey Hess 1a86717284 response 2008-10-17 21:02:12 -04: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 9a62836d28 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-17 20:28:24 -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
http://jblevins.org/ 3690864e2b Patch for anchor-based change permalinks in recent changes feed 2008-10-17 19:52:42 -04:00
http://xma.myopenid.com/ b08feb5e08 2008-10-17 18:34:28 -04:00
http://xma.myopenid.com/ 84a77567c0 2008-10-17 18:30:03 -04:00
Joey Hess 578a487353 add news item for ikiwiki 2.67 2008-10-17 13:18:04 -04:00
http://alcopop.org/me/openid/ 37a0fbebd4 2008-10-17 11:00:37 -04:00
PaulePanter 5327fee1b2 response 2008-10-17 08:33:48 -04:00
pesco c2a55bd735 darcs rcs_add fixed. 2008-10-16 16:20:08 -04:00
http://xma.myopenid.com/ 75f1dbacbd That's good news for me then ! Thank you. 2008-10-16 14:56:28 -04:00
Joey Hess 798a601395 response 2008-10-16 14:00:35 -04:00
Joey Hess a16724ce5e response 2008-10-16 13:59:44 -04:00
Joey Hess ee41aedb10 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-10-16 12:53:33 -04:00
http://xma.myopenid.com/ fe4d7a6d3a creating Darcs as the RCS ? 2008-10-16 09:45:49 -04:00
http://xma.myopenid.com/ 620770f07f Testing [[ikiwiki]] formatting rules 2008-10-16 09:27:20 -04:00
http://alcopop.org/me/openid/ ece5c0ea8a Bundle::IkiWiki? 2008-10-16 07:51:04 -04:00
http://xma.myopenid.com/ f2b00bd81b Update 2008-10-16 05:14:58 -04:00
http://xma.myopenid.com/ 3b2079fd5e New page 2008-10-16 05:12:37 -04:00
http://xma.myopenid.com/ 20404d7f59 Added my website (warning: not polished at all) 2008-10-16 05:03:15 -04:00
Joey Hess 0517f9126c close 2008-10-15 23:50:20 -04:00