Commit Graph

6922 Commits (3316f9cc737c091ff79270f75fc30dd349616b12)

Author SHA1 Message Date
Joey Hess 8dbb30d346 my try at improving comment styling
Makes it look more like a blog, but not enough to be confusing, and with
nothing as large as in a blog. Removal of the vertical line under the
subject imho makes it easier to scan through comments as each box is a new
one. Bolding the subject seems to make it stand out enough, especially as
its a link now. (Also considered increasing its font size to 110%.)
2008-12-20 18:30:14 -05:00
Joey Hess 7bf121889b note new bug 2008-12-20 18:18:19 -05:00
Joey Hess 1c918a4ec6 response 2008-12-20 18:14:49 -05:00
Joey Hess 5d5732d673 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 18:07:45 -05:00
http://dtrt.org/ dd4dff0350 Workaround and possible cause 2008-12-20 18:06:21 -05:00
Joey Hess 0f03af3816 Merge commit 'smcv/comments' 2008-12-20 17:58:56 -05:00
Joey Hess 92b48bab99 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-12-20 17:58:01 -05:00
http://smcv.pseudorandom.co.uk/ 4b3d3f519d 2008-12-20 13:03:44 -05:00
Simon McVittie f94665800c comment.tmpl: make anon/OpenID/signed-in icons independent of smileys 2008-12-20 17:39:55 +00:00
Joey Hess ce58338e3d haskell 2008-12-20 11:30:48 -05:00
Joey Hess 6828cd84a1 note 2008-12-20 11:04:45 -05:00
brush 4176c3483d minor edits 2008-12-20 05:58:00 -05:00
brush 39e5de4e33 added details on cgi wrapper creation 2008-12-20 05:56:04 -05:00
http://weakish.int.eu.org/ 80884d33e0 initial page 2008-12-20 04:20:58 -05:00
http://weakish.int.eu.org/ 3d7d29791e vimperator can do this, too. 2008-12-20 04:18:56 -05:00
Joey Hess 301733ba13 fix comment permalink to always point to comment parent page 2008-12-19 17:33:40 -05:00
Joey Hess 0b002b79b7 update 2008-12-19 17:26:41 -05:00
Joey Hess 4ed092c05b typos 2008-12-19 17:07:54 -05:00
Joey Hess 091c7fd25b add link from comment subject to its permalink 2008-12-19 14:20:07 -05:00
Joey Hess 29cb9027f4 fiddle with comment css classes 2008-12-19 14:14:20 -05:00
Joey Hess 79a787a466 rename comments_form to editcomment 2008-12-19 14:07:22 -05:00
Joey Hess ddabb010b2 rename comments_display to comment 2008-12-19 14:03:26 -05:00
Joey Hess 7521dd6c75 jump to comment after posting
Jumping to the just posted comment was the imputus, but I killed a number
of birds here.

Added a INLINEPAGE template variable, which can be used to add anchors to
any inline template.

To keep that sufficiently general, it is the full page name, so the
comment anchors and links changed form.

Got rid of the FIXMEd hardcoded html anchor div.

More importantly, the anchor is now to the very top of the comment, not the
text below. So you can see the title, and how it attributes you.

Avoid changing the permalink of pages that are not really comments, but
happen to contain the _comment directive. I think that behavior was a bug,
though not a likely one to occur since _comment should only really be used
on comment pages.
2008-12-18 20:58:16 -05:00
Joey Hess d7855474fd document how to make a global comments feed 2008-12-18 20:20:42 -05:00
Joey Hess 1d82ac40d4 responses 2008-12-18 20:10:42 -05:00
smcv@ a115ff254d Update todo/comments with today's fixes, and thoughts about the remaining items 2008-12-18 21:10:08 +00:00
justin 8414a62e7f 2008-12-18 14:20:59 -05:00
Joey Hess b2439a3e51 pagespec thoughts 2008-12-18 12:53:47 -05:00
Joey Hess 835801a6ff note about comments feed 2008-12-18 12:32:23 -05:00
Joey Hess 385123006e close 2008-12-17 21:17:42 -05:00
Joey Hess 1074d38f0d deletion 2008-12-17 20:40:46 -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 8614abce09 two comments ui suggestions 2008-12-17 19:47:54 -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 613a54a3cb Merge branch 'master' into comments 2008-12-17 14:06:57 -05:00
Joey Hess f9b87a9f8b monotone: When getting the log, tell monotone how many entries we want, rather than closing the pipe, which it dislikes. (thm) 2008-12-17 13:59:12 -05:00
http://thm.id.fedoraproject.org/ 8621e52e09 rename bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn to bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34_____40__patch__41__.mdwn 2008-12-17 05:54:16 -05:00
http://thm.id.fedoraproject.org/ 4e97a8d915 rename bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34__.mdwn to bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn 2008-12-17 05:52:10 -05:00
http://thm.id.fedoraproject.org/ e0061660c9 2008-12-16 06:56:19 -05:00
http://thm.id.fedoraproject.org/ df59b3e3cd 2008-12-16 06:54:55 -05:00
Jon Dowland f6562fb186 add a meta title 2008-12-15 16:09:26 +00:00
Jon Dowland 6307f5381f not putting cgi in destdir 2008-12-15 15:39:07 +00: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
Joey Hess 41efa5ac92 Merge branch 'master' into comments 2008-12-12 14:21:08 -05:00
Joey Hess 88e8d4bf8d meta: Pass info to htmlscrubber so htmlscrubber_skip can take effect. 2008-12-12 14:06:45 -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
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