Commit Graph

6871 Commits (4e4fb18dbecf22a9eeea37f2632924f6d1ea67da)

Author SHA1 Message Date
http://smcv.pseudorandom.co.uk/ b8c1670500 update with some more code improvements 2008-12-12 06:29:02 -05:00
http://john.choffee.co.uk/ 53c122b3bb 2008-12-12 05:22:53 -05:00
justin 35dcd53cf4 adding setup note 2008-12-12 00:40:00 -05:00
tschwinge 0983f4c81e Fix too much quoting. 2008-12-11 19:38:53 -05:00
tschwinge 574640b069 Fix cut'n'past-o. 2008-12-11 19:36:36 -05:00
Simon McVittie 3d4aa065d6 postcomment: Rename plugin to comments, use *._comment files
The PageSpec is still called "postcomment" since that's what it means.
2008-12-11 21:14:02 +00:00
Simon McVittie 3c9ccb406b Rename smcvpostcomment plugin to postcomment to propose for inclusion 2008-12-11 21:14:02 +00:00
Simon McVittie 2857b301e7 smcvpostcomment_*.tmpl: make class names match template names
Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".
2008-12-11 21:14:02 +00:00
Simon McVittie 7bd9f368b6 Add some basic stylesheet rules for smcvpostcomment 2008-12-11 21:14:01 +00:00
Simon McVittie 446740cfbb style.css: reduce the scope of the .author rule to when it's nested in .inlineheader
In the initial template for blog-style comments, I don't want the author
name to be quite as large and prominent as the author of a blog post - I
expect that comments will be rather short, so the author name stands out
better for a given font size.
2008-12-11 21:14:01 +00:00
Joey Hess b67632cdcd inline: Support feedfile option to change the filename of the feed generated. 2008-12-11 15:01:26 -05:00
Joey Hess 2cd7eecf89 looking closer, the existing %knownfeeds won't work 2008-12-11 14:26:58 -05:00
Joey Hess 3b3127643b rethink 2008-12-11 14:12:03 -05:00
Joey Hess e968dbac13 thoughts 2008-12-11 14:09:34 -05:00
Joey Hess 63eb9d834e inline: Support emptyfeeds=no option to skip generating empty feeds. 2008-12-11 14:04:38 -05:00
Joey Hess a6a85fa444 formatting 2008-12-11 13:32:42 -05:00
Joey Hess 3305fb9d36 markdown fixes 2008-12-11 13:31:25 -05:00
Joey Hess 8b7c2f29bf fix comment 2008-12-11 13:29:30 -05:00
Joey Hess d135bd3f98 add gitremotes script, parsing list of remotes on doc/git.mdwn
Any remotes added will automatically be pulled into my working copy.
2008-12-11 13:27:50 -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/ ec0dff43ce suggest another feature for the comments plugin's benefit 2008-12-11 06:02:49 -05:00
http://smcv.pseudorandom.co.uk/ 120e7553e3 suggest a feature that would improve the comments plugin 2008-12-11 05:59:24 -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://beza1e1.tuxen.de/ 570eedd7f4 Arch Linux packaged 2008-12-09 16:58:15 -05:00
http://john.choffee.co.uk/ a6b9fadc9a Fixed the pagespec link 2008-12-09 08:27:59 -05:00
http://www.iredale.net/b/ 28ddf3280f 2008-12-07 17:57:49 -05:00
Joey Hess e6e8d906d1 remove ubuntu instructions, which don't belong here
1. apt-get is not yum
2. installing ikiwiki by hand is not the correct thing to do on ubuntu,
   so this page should not mention ubuntu

Also remove instructions for installing deps via yum, now that there is a
ikiwiki package in fedora.
2008-12-07 13:45:50 -05:00
buo 1506638f15 Add command line to install perl modules in ubuntu 8.10 2008-12-05 14:27:29 -05:00
Joey Hess 1c9881cf89 remove clutter in example blog 2008-12-04 16:23:41 -05:00
o 0ea00036db 2008-12-04 15:34:12 -05:00
Joey Hess fa130859dc response 2008-12-03 15:37:48 -05:00
http://alcopop.org/me/openid/ fa72896cdc correct wikilink 2008-12-02 17:18:43 -05:00
Jon Dowland 928c7a821b Merge branch 'master' of git://git.ikiwiki.info 2008-12-02 15:29:29 +00:00
Jon Dowland 0d27e0e329 my edits... 2008-12-02 15:25:44 +00:00
http://alcopop.org/me/openid/ 6edf1126d7 provide for ignoring h1s etc. in toc 2008-12-02 10:25:44 -05:00
Jon Dowland 9e5f5a661e remove hoz-rule from bug, for clarity 2008-12-02 15:12:13 +00:00
Jon Dowland d927e9cd09 Merge branch 'master' of git://git.ikiwiki.info 2008-12-02 15:08:55 +00:00
Jon Dowland 0da57d28de mark this bug as done 2008-12-02 15:08:00 +00:00
http://alcopop.org/me/openid/ 6683a1d76e rename plugin should expand full path of affected pages 2008-12-02 10:07:59 -05:00
Jon Dowland 6e9ec937fa u32.net disappeared 2008-12-02 15:02:24 +00:00
http://alcopop.org/me/openid/ fbdbf9eeef update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:48 -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://alcopop.org/me/openid/ e2244e6723 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:46 -05:00
http://alcopop.org/me/openid/ 570eeb6581 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:44 -05:00
http://alcopop.org/me/openid/ 1d0f30dab0 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:43 -05:00
http://alcopop.org/me/openid/ cd16615a23 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:42 -05:00
http://alcopop.org/me/openid/ be3281256b update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:41 -05:00
http://alcopop.org/me/openid/ 391952f3a0 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:40 -05:00
http://alcopop.org/me/openid/ c4634dfc92 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:39 -05:00
http://alcopop.org/me/openid/ 1d55c73d41 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:38 -05:00
http://alcopop.org/me/openid/ 3cf1e3931d update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:36 -05:00
http://alcopop.org/me/openid/ e7594b33eb update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:35 -05:00
http://alcopop.org/me/openid/ 0053777bae update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:33 -05:00
http://alcopop.org/me/openid/ be3d73335e update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:29 -05:00
http://alcopop.org/me/openid/ 157f184262 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:28 -05:00
http://alcopop.org/me/openid/ d3984de8a1 update for rename of users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:27 -05:00
http://alcopop.org/me/openid/ 4c1848c3a2 rename users/jondowland.mdwn to users/jon.mdwn 2008-12-02 10:00:10 -05:00
Blanko 1a0147b6b3 2008-12-02 08:21:02 -05:00
Jon Dowland 369f4f86bc add note to consider tagbase when trying to match tagged pages 2008-12-01 15:47:29 +00:00
http://alcopop.org/me/openid/ e156758766 simplify example 2008-11-29 10:24:04 -05:00
http://alcopop.org/me/openid/ b683c70b44 update with examples 2008-11-29 10:19:26 -05:00
http://alcopop.org/me/openid/ 13d938d351 behaviour of inline with meta-provided times 2008-11-29 09:06:04 -05:00
Joey Hess 9986650ecf response 2008-11-28 17:40:41 -08:00
http://hadleywickham.myopenid.com/ 708ff7870d 2008-11-27 18:53:18 -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
http://smcv.pseudorandom.co.uk/ 7592a6f5b6 I don't think putting proxy.py in the system Python path is appropriate 2008-11-27 05:26:28 -05:00
http://smcv.pseudorandom.co.uk/ d056a01a55 Fix formatting by adding `...` 2008-11-27 05:15:00 -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
Joey Hess 699aa79c2e add news item for ikiwiki 2.70 2008-11-12 18:08:10 -05:00
Joey Hess 97cb036811 note fix versions 2008-11-12 17:35:21 -05:00
Joey Hess 716560b7f1 check for invalid utf-8, and toss it back to avoid crashes
Since ikiwiki uses open :utf8, perl assumes that files contain valid utf-8.
If it turns out to be malformed it may later crash while processing strings
read from them, with 'Malformed UTF-8 character (fatal)'.

As at least a quick fix, use utf8::valid as soon as data is read, and if
it's not valid, call encode_utf8 on the string, thus clearing the utf-8
flag. This may cause follow-on encoding problems, but will avoid this
crash, and the input file was broken anyway, so GIGO is a reasonable
response. (I looked at calling decode_utf8 after, but it seemed to cause
more trouble than it was worth. BTW, use open ':encoding(utf8)' avaoids
this problem, but the corrupted data later causes Storable to crash when
writing the index.)

This is a quick fix, clearly imperfect:
- It might be better to explicitly call decode_utf8 when reading files,
  rather than using the IO layer.
- Data read other than by readfile() can still sneak in bad utf-8. While
  ikiwiki does very little file input not using it, stdin for the CGI
  would be one way.
2008-11-12 17:30:54 -05: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
Joey Hess 2c858c9c95 add news item for ikiwiki 2.69 2008-11-11 21:07:06 -05:00
Joey Hess 2ab3132d3b document other files in .ikiwiki 2008-11-11 21:01:16 -05:00
intrigeri 521d76e508 pagetitle vs meta: announcing a working prototype
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-12 01:10:09 +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
Joey Hess d1b22b2524 lockwiki changes
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
  for up to one second. The bailout code is no longer needed.
* Remove support for unused optional wait parameter from lockwiki.
2008-11-11 15:54:52 -05: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
Joey Hess 6611f3a2d9 bzr: Fix dates for recentchanges. 2008-11-11 13:44:47 -05:00
Joey Hess 72a2fa9441 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-11-11 13:40:50 -05:00
Joey Hess 700c4bef29 let's stop sucking :-) 2008-11-11 13:40:02 -05: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
http://edward.myopenid.com/ 71ea77a780 add item to watch list 2008-11-11 07:59:06 -05:00
bcdugga ebd9f4ce8a 2008-11-11 00:23:20 -05: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
Jon Dowland 17731892ec reply 2008-11-10 23:38:45 +00:00
Jon Dowland 81a87988c4 Merge branch 'master' of git://git.ikiwiki.info 2008-11-10 23:35:00 +00:00
Joey Hess 183270a845 response 2008-11-10 18:34:35 -05:00
Jon Dowland f28069a05c add discussion on this tip 2008-11-10 23:34:09 +00:00
http://alcopop.org/me/openid/ 91315207cf specifying the user in recentchanges for anon git pushes 2008-11-10 18:30:08 -05:00
Jon Dowland c1fa07ad4f update my userpage (and try out git pushes) 2008-11-10 23:24:22 +00:00
Joey Hess 1ea66c3d3f add a robots.txt
Yahoo! has been pounding on ikiwiki.cgi again. While I'd prefer ikiwiki to
generate sites that avoided robots hitting it in other ways, I'm adding a
robots.txt, at least temporarily.
2008-11-10 18:08:09 -05: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 d5853f3e33 reorg to avoid broken link in basewiki
ikiwiki/markdown is a basewiki page and shouldn't link to pages in tips.

Instead, make the tips link to it, so backlinks will point back to them.
While I'm at it, move the info about the emacs mode to a tip.
2008-11-10 17:40:03 -05:00
Joey Hess 5c0d43999f response 2008-11-10 13:30:20 -05:00
Joey Hess 4287a02069 reorganize vim syntax highlighting info
There was already a tip about it; move the plasticboy version to there.
2008-11-10 13:19:22 -05:00
intrigeri 812f775e0a Merge commit 'upstream/master' into prv/po 2008-11-10 15:41:29 +01:00
http://a1fie.livejournal.com/ 02ee6d40d4 vim syntax file linked 2008-11-10 01:44:19 -05: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 e7d04199ec fix link to Jason Blevins user page 2008-11-08 11:28:25 -05: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 f8fee76f99 fixed link
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-08 00:05:35 +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
http://josephturian.blogspot.com/ 32b86c5f5b 2008-11-07 11:21:04 -05: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 11d377af81 txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page. 2008-11-06 20:49:18 -05:00
Joey Hess 96d52b82ed response 2008-11-06 16:12:16 -05:00
Joey Hess db5ea4d4f0 meta: Plugin is now enabled by default since the basewiki uses it. 2008-11-06 16:08:11 -05:00
http://josephturian.blogspot.com/ dc8929e2f0 2008-11-06 15:52:27 -05:00
Joey Hess 3689d28f3a response 2008-11-06 13:56:41 -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
http://alcopop.org/me/openid/ 98ffa6e155 2008-11-06 10:17:18 -05: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
http://mjr.towers.org.uk/ 81846ef42e New bug report 2008-11-06 09:27:47 -05: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