ikiwiki.git
16 years agomention comments plugin
Joey Hess [Sun, 21 Dec 2008 21:44:02 +0000 (16:44 -0500)]
mention comments plugin

16 years agoavoid an uninitialized value warning
Joey Hess [Sun, 21 Dec 2008 18:46:00 +0000 (13:46 -0500)]
avoid an uninitialized value warning

16 years agoopenid branch merged
Joey Hess [Sun, 21 Dec 2008 18:14:31 +0000 (13:14 -0500)]
openid branch merged

16 years agoMerge commit 'smcv/openid'
Joey Hess [Sun, 21 Dec 2008 18:13:28 +0000 (13:13 -0500)]
Merge commit 'smcv/openid'

16 years agomore reorg
Joey Hess [Sun, 21 Dec 2008 18:08:26 +0000 (13:08 -0500)]
more reorg

16 years agoclose merged bugs
Joey Hess [Sun, 21 Dec 2008 18:00:03 +0000 (13:00 -0500)]
close merged bugs

16 years agoadd another test
Joey Hess [Sun, 21 Dec 2008 17:59:11 +0000 (12:59 -0500)]
add another test

16 years agoMerge commit 'smcv/comments'
Joey Hess [Sun, 21 Dec 2008 17:50:30 +0000 (12:50 -0500)]
Merge commit 'smcv/comments'

16 years agoMerge branch 'comments'
Joey Hess [Sun, 21 Dec 2008 17:48:14 +0000 (12:48 -0500)]
Merge branch 'comments'

16 years agoAnother fixed bug in beautify_urlpath
http://smcv.pseudorandom.co.uk/ [Sun, 21 Dec 2008 17:25:55 +0000 (12:25 -0500)]
Another fixed bug in beautify_urlpath

16 years agotrivial bug with patch
http://smcv.pseudorandom.co.uk/ [Sun, 21 Dec 2008 17:23:34 +0000 (12:23 -0500)]
trivial bug with patch

16 years agoAnother comments improvement
Simon McVittie [Sun, 21 Dec 2008 17:18:43 +0000 (17:18 +0000)]
Another comments improvement

16 years agorssitem.tmpl: include comments URL (HTML only)
Simon McVittie [Sun, 21 Dec 2008 17:16:24 +0000 (17:16 +0000)]
rssitem.tmpl: include comments URL (HTML only)

16 years agoatomitem.tmpl: include comments URLs (HTML and Atom versions)
Simon McVittie [Sun, 21 Dec 2008 17:16:12 +0000 (17:16 +0000)]
atomitem.tmpl: include comments URLs (HTML and Atom versions)

16 years agocomments: substitute commentsurl and atomcommentsurl for use in feeds
Simon McVittie [Sun, 21 Dec 2008 17:15:49 +0000 (17:15 +0000)]
comments: substitute commentsurl and atomcommentsurl for use in feeds

16 years agoMention a patch to improve OpenID display
http://smcv.pseudorandom.co.uk/ [Sun, 21 Dec 2008 16:43:43 +0000 (11:43 -0500)]
Mention a patch to improve OpenID display

16 years agoAdd a regression test for &openiduser
Simon McVittie [Sun, 21 Dec 2008 16:37:20 +0000 (16:37 +0000)]
Add a regression test for &openiduser

16 years agoopenid: in &openiduser, allow subdirectory-style providers to end with '/'
Simon McVittie [Sun, 21 Dec 2008 16:35:02 +0000 (16:35 +0000)]
openid: in &openiduser, allow subdirectory-style providers to end with '/'

This improves the display of OpenIDs like 'http://id.mayfirst.org/jamie/'
(taking an example from the IkiWiki commit log).

16 years agoopenid: in &openiduser, let domain-style providers have arbitrarily many subdomains
Simon McVittie [Sun, 21 Dec 2008 16:32:44 +0000 (16:32 +0000)]
openid: in &openiduser, let domain-style providers have arbitrarily many subdomains

This leads to better display for OpenIDs like smcv.pseudorandom.co.uk
and thm.id.fedoraproject.org (to take a couple of examples from the
IkiWiki commit history).

16 years agoRecord another couple of pending bugfixes
Simon McVittie [Sun, 21 Dec 2008 15:39:40 +0000 (15:39 +0000)]
Record another couple of pending bugfixes

16 years agobeautify_urlpath: add a regression test
Simon McVittie [Sun, 21 Dec 2008 15:24:53 +0000 (15:24 +0000)]
beautify_urlpath: add a regression test

16 years agobeautify_urlpath: if path already starts with ./, don't add another ./
Simon McVittie [Sun, 21 Dec 2008 15:24:42 +0000 (15:24 +0000)]
beautify_urlpath: if path already starts with ./, don't add another ./

16 years agobeautify_urlpath: add ./ before checking for /index.html
Simon McVittie [Sun, 21 Dec 2008 15:23:59 +0000 (15:23 +0000)]
beautify_urlpath: add ./ before checking for /index.html

This fixes a bug: when a page links to its own #comments anchor you would
get a link like "index.html#comments" rather than "./#comments".

16 years agocomments: run pagetemplate hooks
Simon McVittie [Sun, 21 Dec 2008 15:08:14 +0000 (15:08 +0000)]
comments: run pagetemplate hooks

This fixes the bug that comments are always said to be from an anonymous
user at an unknown IP address.

16 years agocomments: linkify and preprocess preview with correct 'page' param
Simon McVittie [Sun, 21 Dec 2008 15:07:36 +0000 (15:07 +0000)]
comments: linkify and preprocess preview with correct 'page' param

16 years agoMerge commit 'origin/comments' into comments-joey
Simon McVittie [Sun, 21 Dec 2008 10:17:45 +0000 (10:17 +0000)]
Merge commit 'origin/comments' into comments-joey

16 years agotodo/comments: Properly escape inline HTML
Simon McVittie [Sun, 21 Dec 2008 10:16:58 +0000 (10:16 +0000)]
todo/comments: Properly escape inline HTML

16 years agotodo/comments: reorganise by status
Simon McVittie [Sun, 21 Dec 2008 10:11:48 +0000 (10:11 +0000)]
todo/comments: reorganise by status

16 years agocomments: note fixed things and recommend merging origin/comments
Simon McVittie [Sun, 21 Dec 2008 10:08:53 +0000 (10:08 +0000)]
comments: note fixed things and recommend merging origin/comments

16 years agofix markdown
http://smcv.pseudorandom.co.uk/ [Sun, 21 Dec 2008 09:31:49 +0000 (04:31 -0500)]
fix markdown

16 years agometa: Process meta date during scan pass so that the date will always affect sorting...
Joey Hess [Sun, 21 Dec 2008 06:52:08 +0000 (01:52 -0500)]
meta: Process meta date during scan pass so that the date will always affect sorting in inlines.

16 years agoanalysis
Joey Hess [Sun, 21 Dec 2008 06:41:00 +0000 (01:41 -0500)]
analysis

16 years agocomment layout change
Joey Hess [Sun, 21 Dec 2008 06:04:19 +0000 (01:04 -0500)]
comment layout change

I saw a layout similar to this on blogger, and I sorta like it

The dash avoids parens sitting next to each other in some cases.

16 years agoMerge branch 'master' into comments
Joey Hess [Sun, 21 Dec 2008 06:04:03 +0000 (01:04 -0500)]
Merge branch 'master' into comments

16 years agoResponse; added shell code and html formating to reproduction steps
http://dtrt.org/ [Sun, 21 Dec 2008 03:28:20 +0000 (22:28 -0500)]
Response; added shell code and html formating to reproduction steps

16 years agoavoid storing transient state in pagestate
Joey Hess [Sun, 21 Dec 2008 01:55:38 +0000 (20:55 -0500)]
avoid storing transient state in pagestate

None of the comment state needs to be stored through the a later run of
ikiwiki, so move it all from pagestate to a more transient storage.

This is assuming that we'll never want to add pagespecs to search against
the comment state. Pagespecs like author() are why the meta plugin does
store its meta data in pagestate -- the data can be needed later to match
against.

16 years agoresponse
Joey Hess [Sun, 21 Dec 2008 01:27:42 +0000 (20:27 -0500)]
response

16 years agoSort paramater not a problem; Revised steps to reprodce
http://dtrt.org/ [Sun, 21 Dec 2008 00:36:15 +0000 (19:36 -0500)]
Sort paramater not a problem; Revised steps to reprodce

16 years agoalternate idea
Joey Hess [Sat, 20 Dec 2008 23:51:09 +0000 (18:51 -0500)]
alternate idea

16 years agoremove signin icons, use title
Joey Hess [Sat, 20 Dec 2008 23:46:56 +0000 (18:46 -0500)]
remove signin icons, use title

16 years agotweak author display
Joey Hess [Sat, 20 Dec 2008 23:36:16 +0000 (18:36 -0500)]
tweak author display

Put the icon after the name, mostly because it scans better on
non-graphical browsers where the alt text is displayed. And because the
name is really the more important part.

16 years agomy try at improving comment styling
Joey Hess [Sat, 20 Dec 2008 23:30:14 +0000 (18:30 -0500)]
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%.)

16 years agonote new bug
Joey Hess [Sat, 20 Dec 2008 23:18:19 +0000 (18:18 -0500)]
note new bug

16 years agoresponse
Joey Hess [Sat, 20 Dec 2008 23:14:49 +0000 (18:14 -0500)]
response

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 20 Dec 2008 23:07:45 +0000 (18:07 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agoWorkaround and possible cause
http://dtrt.org/ [Sat, 20 Dec 2008 23:06:21 +0000 (18:06 -0500)]
Workaround and possible cause

16 years agoMerge commit 'smcv/comments'
Joey Hess [Sat, 20 Dec 2008 22:58:56 +0000 (17:58 -0500)]
Merge commit 'smcv/comments'

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 20 Dec 2008 22:58:01 +0000 (17:58 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years ago(no commit message)
http://smcv.pseudorandom.co.uk/ [Sat, 20 Dec 2008 18:03:44 +0000 (13:03 -0500)]

16 years agocomment.tmpl: make anon/OpenID/signed-in icons independent of smileys
Simon McVittie [Sat, 20 Dec 2008 17:39:55 +0000 (17:39 +0000)]
comment.tmpl: make anon/OpenID/signed-in icons independent of smileys

16 years agocomments_display: display (?) for anon users, {x} for OpenIDs and {*} for local logins
Simon McVittie [Thu, 18 Dec 2008 20:28:41 +0000 (20:28 +0000)]
comments_display: display (?) for anon users, {x} for OpenIDs and {*} for local logins

This is a mockup of Joey's idea; to do it properly, the icons should
move to the basewiki or to a comments underlay, and {x} should be
replaced with an OpenID logo (if one with clear licensing even exists).

16 years agocomments: Rename COMMENTURL to ADDCOMMENTURL to avoid confusion with COMMENTAUTHORURL
Simon McVittie [Thu, 18 Dec 2008 20:01:08 +0000 (20:01 +0000)]
comments: Rename COMMENTURL to ADDCOMMENTURL to avoid confusion with COMMENTAUTHORURL

Also refactor page.tmpl to use if/else rather than unless/if.

16 years agocomments: pass COMMENTOPENID to templates
Simon McVittie [Thu, 18 Dec 2008 19:57:25 +0000 (19:57 +0000)]
comments: pass COMMENTOPENID to templates

16 years agocomments: remove linkuser(), it's been integrated into preprocess() now
Simon McVittie [Thu, 18 Dec 2008 19:57:03 +0000 (19:57 +0000)]
comments: remove linkuser(), it's been integrated into preprocess() now

16 years ago_comment directive: if the user looks like an OpenID, store that
Simon McVittie [Thu, 18 Dec 2008 19:56:36 +0000 (19:56 +0000)]
_comment directive: if the user looks like an OpenID, store that

16 years agohaskell
Joey Hess [Sat, 20 Dec 2008 16:30:48 +0000 (11:30 -0500)]
haskell

16 years agonote
Joey Hess [Sat, 20 Dec 2008 16:04:45 +0000 (11:04 -0500)]
note

16 years agominor edits
brush [Sat, 20 Dec 2008 10:58:00 +0000 (05:58 -0500)]
minor edits

16 years agoadded details on cgi wrapper creation
brush [Sat, 20 Dec 2008 10:56:04 +0000 (05:56 -0500)]
added details on cgi wrapper creation

16 years agoinitial page
http://weakish.int.eu.org/ [Sat, 20 Dec 2008 09:20:58 +0000 (04:20 -0500)]
initial page

16 years agovimperator can do this, too.
http://weakish.int.eu.org/ [Sat, 20 Dec 2008 09:18:56 +0000 (04:18 -0500)]
vimperator can do this, too.

16 years agoavoid uninitialized value
Joey Hess [Fri, 19 Dec 2008 22:57:09 +0000 (17:57 -0500)]
avoid uninitialized value

This can happen when a new field,
such as the new lasttry, is added.

16 years agofix comment permalink to always point to comment parent page
Joey Hess [Fri, 19 Dec 2008 22:33:40 +0000 (17:33 -0500)]
fix comment permalink to always point to comment parent page

16 years agoupdate
Joey Hess [Fri, 19 Dec 2008 22:26:41 +0000 (17:26 -0500)]
update

16 years agotypos
Joey Hess [Fri, 19 Dec 2008 22:07:54 +0000 (17:07 -0500)]
typos

16 years agosimplify and compact the comment edit form
Joey Hess [Fri, 19 Dec 2008 19:29:54 +0000 (14:29 -0500)]
simplify and compact the comment edit form

Mostly to make it more visually similar to the page edit form.

I'm a bit uncertian about the placement of the page type selector,
and about removing the "Page type". May rethink that.

16 years agoremove 'signed in as foo'
Joey Hess [Fri, 19 Dec 2008 19:21:48 +0000 (14:21 -0500)]
remove 'signed in as foo'

I think users should know who they're signed in as; the edit pages don't
say so there's no reason to here. Also, the user id was not displayed
pretty.

16 years agoadd link from comment subject to its permalink
Joey Hess [Fri, 19 Dec 2008 19:20:07 +0000 (14:20 -0500)]
add link from comment subject to its permalink

16 years agofiddle with comment css classes
Joey Hess [Fri, 19 Dec 2008 19:14:20 +0000 (14:14 -0500)]
fiddle with comment css classes

16 years agoremove cruft
Joey Hess [Fri, 19 Dec 2008 19:09:39 +0000 (14:09 -0500)]
remove cruft

wtf does it do? absolutely nothing

16 years agorename comments_form to editcomment
Joey Hess [Fri, 19 Dec 2008 19:07:22 +0000 (14:07 -0500)]
rename comments_form to editcomment

16 years agorename comments_display to comment
Joey Hess [Fri, 19 Dec 2008 19:03:26 +0000 (14:03 -0500)]
rename comments_display to comment

16 years agoreplace discussion links on pages with comments link
Joey Hess [Fri, 19 Dec 2008 18:55:41 +0000 (13:55 -0500)]
replace discussion links on pages with comments link

The thinking here is that having both a Discussion page and comments for
the same page is redundant, and certianly not what you want if you enable
comments for a page. At first I considered making configurable via pagespec
what pages got discussion links. But that would mean testing a new pagespec
for every page, and a redundant config setting to keep in sync. So intead,
take a lead from my previous change to make inlined pages have a comments
link, and change the discussion link at the top of regular pages to link to
their comments.

(Implementation is a bit optimised to avoid redundant pagespec checking.)

16 years agoupdated spanish translation
Víctor Moral [Fri, 19 Dec 2008 07:32:01 +0000 (08:32 +0100)]
updated spanish translation

16 years agojump to comment after posting
Joey Hess [Fri, 19 Dec 2008 01:58:16 +0000 (20:58 -0500)]
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.

16 years agodocument how to make a global comments feed
Joey Hess [Fri, 19 Dec 2008 01:20:42 +0000 (20:20 -0500)]
document how to make a global comments feed

16 years agoresponses
Joey Hess [Fri, 19 Dec 2008 01:10:42 +0000 (20:10 -0500)]
responses

16 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 18 Dec 2008 23:00:03 +0000 (18:00 -0500)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

16 years agoUpdate todo/comments with today's fixes, and thoughts about the remaining items
smcv@ [Thu, 18 Dec 2008 21:08:33 +0000 (21:08 +0000)]
Update todo/comments with today's fixes, and thoughts about the remaining items

16 years agoclarify
Joey Hess [Thu, 18 Dec 2008 19:49:24 +0000 (14:49 -0500)]
clarify

16 years ago(no commit message)
justin [Thu, 18 Dec 2008 19:20:59 +0000 (14:20 -0500)]

16 years agopagespec thoughts
Joey Hess [Thu, 18 Dec 2008 17:53:47 +0000 (12:53 -0500)]
pagespec thoughts

16 years agonote about comments feed
Joey Hess [Thu, 18 Dec 2008 17:32:23 +0000 (12:32 -0500)]
note about comments feed

16 years agoaggregate: If a feed fails to be downloaded, try again immediatly next time aggregati...
Joey Hess [Thu, 18 Dec 2008 02:27:28 +0000 (21:27 -0500)]
aggregate: If a feed fails to be downloaded, try again immediatly next time aggregation is run, even if the usual time has not passed. Closes: #508622 (Michael Gold)

16 years agoclose
Joey Hess [Thu, 18 Dec 2008 02:17:42 +0000 (21:17 -0500)]
close

16 years agodeletion
Joey Hess [Thu, 18 Dec 2008 01:40:46 +0000 (20:40 -0500)]
deletion

16 years agojump to comments anchor after post
Joey Hess [Thu, 18 Dec 2008 01:29:55 +0000 (20:29 -0500)]
jump to comments anchor after post

Not ideal, it would be nicer to jump to the actual comment posted, but no
anchor is available.

16 years agotypo
Joey Hess [Thu, 18 Dec 2008 01:22:42 +0000 (20:22 -0500)]
typo

16 years agofix
Joey Hess [Thu, 18 Dec 2008 01:19:12 +0000 (20:19 -0500)]
fix

16 years agosimplify pagespec
Joey Hess [Thu, 18 Dec 2008 01:10:22 +0000 (20:10 -0500)]
simplify pagespec

16 years agotwo comments ui suggestions
Joey Hess [Thu, 18 Dec 2008 00:47:54 +0000 (19:47 -0500)]
two comments ui suggestions

16 years agoadd Comments link when displaying a page inline
Joey Hess [Thu, 18 Dec 2008 00:38:02 +0000 (19:38 -0500)]
add Comments link when displaying a page inline

This link will supplant the usual Discussion link for pages
that have comments enabled.

16 years agofix test when comments_closed_pagespec is empty
Joey Hess [Thu, 18 Dec 2008 00:06:29 +0000 (19:06 -0500)]
fix test when comments_closed_pagespec is empty

16 years agodon't rely on $@
Joey Hess [Wed, 17 Dec 2008 23:56:32 +0000 (18:56 -0500)]
don't rely on $@

A malformed pagespec will cause $@ to be set when translated, but if
it is used a second time, the memoization will defeat that check. Better to
check for the result not being defined.

16 years agochange around comments pagespecs
Joey Hess [Wed, 17 Dec 2008 23:50:04 +0000 (18:50 -0500)]
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.

16 years agofix default values for config settings
Joey Hess [Wed, 17 Dec 2008 22:05:49 +0000 (17:05 -0500)]
fix default values for config settings

defaults cannot be set in getsetup, do it in checkconfig to avoid
uninitialized value warnings.

16 years agoclarification
Joey Hess [Wed, 17 Dec 2008 20:29:22 +0000 (15:29 -0500)]
clarification

16 years agoCoding style change: Remove explcit vim folding markers.
Joey Hess [Wed, 17 Dec 2008 20:22:16 +0000 (15:22 -0500)]
Coding style change: Remove explcit vim folding markers.

16 years agochecksessionexpiry: rework
Joey Hess [Wed, 17 Dec 2008 19:26:08 +0000 (14:26 -0500)]
checksessionexpiry: rework

This function as factored out was a bit confusing, I think this makes more
sense.

16 years agomore comments doc updates
Joey Hess [Wed, 17 Dec 2008 19:15:52 +0000 (14:15 -0500)]
more comments doc updates

Moved todo items to a todo page, mark the old todo item about comments as
done, etc.