]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
14 years agobugfix
Joey Hess [Tue, 6 Jul 2010 19:59:08 +0000 (15:59 -0400)]
bugfix

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 6 Jul 2010 17:57:28 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoaggregate: Write timestamp next aggregation can happen to .ikiwiki/aggregatetime...
Joey Hess [Tue, 6 Jul 2010 17:57:17 +0000 (13:57 -0400)]
aggregate: Write timestamp next aggregation can happen to .ikiwiki/aggregatetime, to allow for more sophisticated cron jobs.

14 years agoReply
http://ptecza.myopenid.com/ [Tue, 6 Jul 2010 10:36:02 +0000 (10:36 +0000)]
Reply

14 years agonew forum post - ikiwiki vim syntax
Javier Rojas [Tue, 6 Jul 2010 04:34:47 +0000 (23:34 -0500)]
new forum post - ikiwiki vim syntax

14 years agocomments: Added commentmoderation directive for easy linking to the comment moderatio...
Joey Hess [Tue, 6 Jul 2010 00:19:31 +0000 (20:19 -0400)]
comments: Added commentmoderation directive for easy linking to the comment moderation queue.

14 years agoresponse
Joey Hess [Mon, 5 Jul 2010 18:16:36 +0000 (14:16 -0400)]
response

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 5 Jul 2010 18:04:54 +0000 (14:04 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agoimg: Add a margin around images displayed by this directive.
Joey Hess [Mon, 5 Jul 2010 18:04:49 +0000 (14:04 -0400)]
img: Add a margin around images displayed by this directive.

Particularly important for floating images, which could before be placed
uncomfortably close to text.

14 years agoForgotten notice about /ostatnie_zmiany.html page
http://ptecza.myopenid.com/ [Mon, 5 Jul 2010 10:44:29 +0000 (10:44 +0000)]
Forgotten notice about /ostatnie_zmiany.html page

14 years agorecentchanges dir should be under control of RCS?
http://ptecza.myopenid.com/ [Mon, 5 Jul 2010 10:36:39 +0000 (10:36 +0000)]
recentchanges dir should be under control of RCS?

14 years ago(no commit message)
http://danieroux.com/ [Mon, 5 Jul 2010 08:23:48 +0000 (08:23 +0000)]

14 years ago(no commit message)
http://danieroux.com/ [Mon, 5 Jul 2010 08:23:20 +0000 (08:23 +0000)]

14 years agoadd news item for ikiwiki 3.20100704
Joey Hess [Sun, 4 Jul 2010 21:11:30 +0000 (17:11 -0400)]
add news item for ikiwiki 3.20100704

14 years agoreleasing version 3.20100704 3.20100704
Joey Hess [Sun, 4 Jul 2010 21:11:16 +0000 (17:11 -0400)]
releasing version 3.20100704

14 years agomove nickname sanitization out
Joey Hess [Sun, 4 Jul 2010 20:44:38 +0000 (16:44 -0400)]
move nickname sanitization out

Probably best to store it unsanitized and sanitize as needed on use.
And it already was for comments, leaving only the need to sanitize the
nickname when git committing, to ensure the email address is legal.

14 years agocomment: Fix problem moderating comments of certian pages with utf-8 in their name.
Joey Hess [Sun, 4 Jul 2010 20:19:22 +0000 (16:19 -0400)]
comment: Fix problem moderating comments of certian pages with utf-8 in their name.

14 years agofurther sanitize nickname characters
Joey Hess [Sun, 4 Jul 2010 20:12:50 +0000 (16:12 -0400)]
further sanitize nickname characters

14 years agocomment
Joey Hess [Sun, 4 Jul 2010 20:08:54 +0000 (16:08 -0400)]
comment

14 years agochangelog
Joey Hess [Sun, 4 Jul 2010 19:27:37 +0000 (15:27 -0400)]
changelog

14 years agopo: added support for html pagetype
intrigeri [Fri, 25 Jun 2010 21:18:34 +0000 (23:18 +0200)]
po: added support for html pagetype

... after having audited the po4a Xml and Xhtml modules for security issues.

Signed-off-by: intrigeri <intrigeri@boum.org>
(cherry picked from commit a128c256a51392fcf752bf612d83a90e8c68027e)

14 years agotypo fix.
intrigeri [Fri, 25 Jun 2010 22:59:20 +0000 (00:59 +0200)]
typo fix.
(cherry picked from commit 924f559e5049a63488a5f2baca610299a7e02957)

14 years agopo: s/utf-8/UTF-8, to solve part of the double commit bug.
intrigeri [Fri, 25 Jun 2010 23:16:56 +0000 (01:16 +0200)]
po: s/utf-8/UTF-8, to solve part of the double commit bug.
(cherry picked from commit 4f44534d72c9a9a947bc38a3cb4987705c25bea5)

14 years agocomment
Joey Hess [Sun, 4 Jul 2010 19:23:59 +0000 (15:23 -0400)]
comment

14 years agocomments; my filter-full branch should fix this
Joey Hess [Sun, 4 Jul 2010 19:15:34 +0000 (15:15 -0400)]
comments; my filter-full branch should fix this

14 years agoremove unnecessary and troublesome filter calls
Joey Hess [Sun, 4 Jul 2010 19:00:51 +0000 (15:00 -0400)]
remove unnecessary and troublesome filter calls

This better defines what the filter hook is passed, to only be the raw,
complete text of a page. Not some snippet, or data read in from an
unrelated template.

Several plugins that filtered text that originates from an (already
filtered) page were modified not to do that. Note that this was not
done very consistently before; other plugins that receive text from a
page called preprocess on it w/o first calling filter.

The template plugin gets text from elsewhere, and was also changed not to
filter it. That leads to one known regression -- the embed plugin cannot
be used to embed stuff in templates now. But that plugin is deprecated
anyway.

Later we may want to increase the coverage of what is filtered. Perhaps
a good goal would be to allow writing a filter plugin that filters
out unwanted words, from any input. We're not there yet; not only
does the template plugin load unfiltered text from its templates now,
but so can the table plugin, and other plugins that use templates (like
inline!). I think we can cross that bridge when we come to it. If I wanted
such a censoring plugin, I'd probably make it use a sanitize hook instead,
for the better coverage.

For now I am concentrating on the needs of the two non-deprecated users
of filter. This should fix bugs/po_vs_templates, and it probably fixes
an obscure bug around txt's use of filter for robots.txt.

14 years agoexample
Joey Hess [Sun, 4 Jul 2010 18:27:57 +0000 (14:27 -0400)]
example

14 years agoreview of needstranslation() pagespec
Joey Hess [Sun, 4 Jul 2010 18:22:19 +0000 (14:22 -0400)]
review of needstranslation() pagespec

Minor wording fix; changelog; etc.

14 years agopo: added a needstranslation() pagespec
intrigeri [Tue, 29 Jun 2010 13:45:34 +0000 (15:45 +0200)]
po: added a needstranslation() pagespec
(cherry picked from commit b225fdc44d4b3d2853db622d59aed7b59788aeec)

14 years agoAdded a comment
http://joey.kitenet.net/ [Sun, 4 Jul 2010 18:16:27 +0000 (18:16 +0000)]
Added a comment

14 years agoadd own site using ikiwiki
http://nicolas-schodet.myopenid.com/ [Fri, 2 Jul 2010 20:18:26 +0000 (20:18 +0000)]
add own site using ikiwiki

14 years agobugfix
intrigeri [Fri, 2 Jul 2010 09:46:49 +0000 (11:46 +0200)]
bugfix

14 years agogit: Added git_wrapper_background_command option. Can be used to eg, make the git...
Joey Hess [Thu, 1 Jul 2010 20:20:03 +0000 (16:20 -0400)]
git: Added git_wrapper_background_command option. Can be used to eg,  make the git wrapper push to github in the background after ikiwiki runs.

14 years agoadd note about genwrapper code running before wrapper sanitizes environment
Joey Hess [Thu, 1 Jul 2010 19:52:03 +0000 (15:52 -0400)]
add note about genwrapper code running before wrapper sanitizes environment

(That is needed for the receive test code.)

14 years agocomment.tmpl: Fix up display when inline uses it to display a non-comment page. ...
Joey Hess [Thu, 1 Jul 2010 01:07:31 +0000 (21:07 -0400)]
comment.tmpl: Fix up display when inline uses it to display a non-comment page. (Such as a discussion page.)

14 years agoUse comment template on comments page of example blog.
Joey Hess [Thu, 1 Jul 2010 00:53:58 +0000 (20:53 -0400)]
Use comment template on comments page of example blog.

14 years agoresponse to Microdata question
http://kerravonsen.dreamwidth.org/ [Thu, 1 Jul 2010 00:30:58 +0000 (00:30 +0000)]
response to Microdata question

14 years agoplease review new po pagespec: needstranlation()
intrigeri [Tue, 29 Jun 2010 13:50:19 +0000 (15:50 +0200)]
please review new po pagespec: needstranlation()

14 years agocleaner bugfix in now available
intrigeri [Tue, 29 Jun 2010 13:50:05 +0000 (15:50 +0200)]
cleaner bugfix in now available

14 years agoAdded a comment: do parameter missing
jeanm [Wed, 30 Jun 2010 07:30:08 +0000 (07:30 +0000)]
Added a comment: do parameter missing

14 years agoMerge remote branch 'upstream/master' into prv/po
intrigeri [Tue, 29 Jun 2010 13:53:51 +0000 (15:53 +0200)]
Merge remote branch 'upstream/master' into prv/po

Conflicts:
doc/plugins/po.mdwn

14 years agopo: added a needstranslation() pagespec
intrigeri [Tue, 29 Jun 2010 13:45:34 +0000 (15:45 +0200)]
po: added a needstranslation() pagespec

14 years agoAdd a fullpage arg to filter.
intrigeri [Tue, 29 Jun 2010 13:13:23 +0000 (15:13 +0200)]
Add a fullpage arg to filter.

Set it to true every time IkiWiki::filter is called on a full page's content.

This is a much nicer solution, for the po plugin, than previous whitelisting
using caller().

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 27 Jun 2010 17:50:02 +0000 (13:50 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agohnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented...
Joey Hess [Sun, 27 Jun 2010 17:49:51 +0000 (13:49 -0400)]
hnb: Fixed broken use of mkstemp that had caused dangling temp files, and prevented actually rendering hnb files.

14 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU [Sun, 27 Jun 2010 17:22:41 +0000 (17:22 +0000)]

14 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawk3fIimitIcXPaVA5AHUW67Z9GVc-2wQJU [Sun, 27 Jun 2010 17:21:45 +0000 (17:21 +0000)]

14 years agoAdd my website
https://mukund.startssl.com/ [Sat, 26 Jun 2010 22:13:33 +0000 (22:13 +0000)]
Add my website

14 years agoFeature request, patch provided.
intrigeri [Sat, 26 Jun 2010 22:12:40 +0000 (00:12 +0200)]
Feature request, patch provided.

14 years agoAdd Microdata suggestion
https://www.google.com/accounts/o8/id?id=AItOawnbe6oB_ecFtNYII1JN3zSggwUPUdOb8jI [Sat, 26 Jun 2010 22:12:24 +0000 (22:12 +0000)]
Add Microdata suggestion

14 years agoanother reason to use NetBSD's commit_prep and log_accum for CVS
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E [Sat, 26 Jun 2010 20:14:50 +0000 (20:14 +0000)]
another reason to use NetBSD's commit_prep and log_accum for CVS

14 years agos/the the/the/
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E [Sat, 26 Jun 2010 18:13:08 +0000 (18:13 +0000)]
s/the the/the/

14 years agoanother po4a patch has been sent.
intrigeri [Fri, 25 Jun 2010 23:43:00 +0000 (01:43 +0200)]
another po4a patch has been sent.

14 years agoyet another bug on good way to be fixed
intrigeri [Fri, 25 Jun 2010 23:29:20 +0000 (01:29 +0200)]
yet another bug on good way to be fixed

14 years agoneed more info to reproduce
intrigeri [Fri, 25 Jun 2010 23:02:08 +0000 (01:02 +0200)]
need more info to reproduce

14 years agodone in my branch, please review.
intrigeri [Fri, 25 Jun 2010 22:57:58 +0000 (00:57 +0200)]
done in my branch, please review.

14 years agowindauth plugin exists (iPhone edit)
https://www.google.com/accounts/o8/id?id=AItOawlcaGfdn9Kye1Gc8aGb67PDVQW4mKbQD7E [Sat, 26 Jun 2010 01:48:53 +0000 (01:48 +0000)]
windauth plugin exists (iPhone edit)

14 years agopo: s/utf-8/UTF-8, to solve part of the double commit bug.
intrigeri [Fri, 25 Jun 2010 23:16:56 +0000 (01:16 +0200)]
po: s/utf-8/UTF-8, to solve part of the double commit bug.

14 years agotypo fix.
intrigeri [Fri, 25 Jun 2010 22:59:20 +0000 (00:59 +0200)]
typo fix.

14 years agopo_slave_languages can now be a hash, if order matters.
intrigeri [Fri, 25 Jun 2010 22:56:06 +0000 (00:56 +0200)]
po_slave_languages can now be a hash, if order matters.

14 years agopo: added support for html pagetype
intrigeri [Fri, 25 Jun 2010 21:18:34 +0000 (23:18 +0200)]
po: added support for html pagetype

... after having audited the po4a Xml and Xhtml modules for security issues.

Signed-off-by: intrigeri <intrigeri@boum.org>
14 years agoauto changelog merging
Joey Hess [Fri, 25 Jun 2010 17:43:02 +0000 (13:43 -0400)]
auto changelog merging

14 years agoanother bugreport with patch
intrigeri [Fri, 25 Jun 2010 17:32:46 +0000 (19:32 +0200)]
another bugreport with patch

14 years agonew bug report, patch provided
intrigeri [Fri, 25 Jun 2010 17:32:29 +0000 (19:32 +0200)]
new bug report, patch provided

14 years agoTODO++
intrigeri [Fri, 25 Jun 2010 15:45:08 +0000 (17:45 +0200)]
TODO++

14 years agopo: also filter sidebar translation pages
intrigeri [Fri, 25 Jun 2010 15:43:25 +0000 (17:43 +0200)]
po: also filter sidebar translation pages

14 years agopo: fix bug with translated pages including templates
intrigeri [Fri, 25 Jun 2010 15:14:13 +0000 (17:14 +0200)]
po: fix bug with translated pages including templates

The protection against processing loops (i.e. the alreadyfiltered stuff) was
playing against us: the template plugin triggered a filter hooks run with the
very same ($page, $destpage) arguments pair that we use to identify a already
filtered page. Processing an included template could then mark the whole
translation page as already filtered, which prevented po_to_markup to be called
on the PO content.

This commit only runs the whole PO filter logic when our filter hook is run by
IkiWiki::render, which only happens when the full page needs to be filtered.

14 years agoMerge remote branch 'upstream/master' into prv/po
intrigeri [Fri, 25 Jun 2010 12:38:37 +0000 (14:38 +0200)]
Merge remote branch 'upstream/master' into prv/po

Conflicts:
IkiWiki/Plugin/po.pm

14 years agoclean up messages about unavailable vcs programs
Joey Hess [Fri, 25 Jun 2010 04:30:12 +0000 (00:30 -0400)]
clean up messages about unavailable vcs programs

14 years agosidebars defined by pagespec perhaps?
http://kerravonsen.dreamwidth.org/ [Fri, 25 Jun 2010 02:40:25 +0000 (02:40 +0000)]
sidebars defined by pagespec perhaps?

14 years agocommenting on the link-text-from-title idea
http://kerravonsen.dreamwidth.org/ [Fri, 25 Jun 2010 01:58:02 +0000 (01:58 +0000)]
commenting on the link-text-from-title idea

14 years agochdir to srcdir in rcs_getctime
Joey Hess [Thu, 24 Jun 2010 01:29:47 +0000 (21:29 -0400)]
chdir to srcdir in rcs_getctime

14 years agotest from google openid
https://www.google.com/accounts/o8/id?id=AItOawm0mAKbBvoYTeRz4lDv83cTfXsAns5CmDQ [Thu, 24 Jun 2010 00:45:59 +0000 (00:45 +0000)]
test from google openid

14 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Thu, 24 Jun 2010 00:30:47 +0000 (20:30 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

14 years agobugfix
Joey Hess [Thu, 24 Jun 2010 00:26:09 +0000 (20:26 -0400)]
bugfix

14 years agoopenid nickname support finished; closing
Joey Hess [Thu, 24 Jun 2010 00:21:44 +0000 (20:21 -0400)]
openid nickname support finished; closing

14 years agoupdate
Joey Hess [Thu, 24 Jun 2010 00:16:55 +0000 (20:16 -0400)]
update

14 years agofinializing openid nickname support
Joey Hess [Thu, 24 Jun 2010 00:12:26 +0000 (20:12 -0400)]
finializing openid nickname support

Renamed usershort => nickname.

Note that this means existing user login sessions will not have the nickname
recorded, and so it won't be used for those.

14 years agogit: Record the username from openid in the git author email. (This avoids display...
Joey Hess [Wed, 23 Jun 2010 23:44:41 +0000 (19:44 -0400)]
git: Record the username from openid in the git author email. (This avoids display of ugly google openids.)

14 years agotake username from email address as fallback
Joey Hess [Wed, 23 Jun 2010 23:36:23 +0000 (19:36 -0400)]
take username from email address as fallback

14 years agorcs_getctime and rcs_getmtime take relative filenames
Joey Hess [Wed, 23 Jun 2010 23:32:53 +0000 (19:32 -0400)]
rcs_getctime and rcs_getmtime take relative filenames

There was some confusion about whether the filename was
relative to srcdir or not. Some test cases, and the bzr
plugin assumed it was relative to the srcdir. Most everything else
assumed it was absolute.

Changed it to relative, for consistency with the rest
of the rcs_ functions.

14 years agorcs_commit and rcs_commit_staged api changes
Joey Hess [Wed, 23 Jun 2010 21:35:21 +0000 (17:35 -0400)]
rcs_commit and rcs_commit_staged api changes

Using named parameters for these is overdue. Passing the session in a
parameter instead of passing username and IP separately will later allow
storing other session info, like username or part of the email.

Note that these functions are not part of the exported API,
and the prototype change will catch (most) skew, so I am not changing
API versions. Any third-party plugins that call them will need updated
though.

14 years agoupdate for new rcs_commit_staged API
Joey Hess [Wed, 23 Jun 2010 20:56:50 +0000 (16:56 -0400)]
update for new rcs_commit_staged API

In the process, lost the commits from special usernames
when committing changed po files. Instead of trying to dummy up a session
object for the special username, I just don't pass one, and the commit will
appear to be from whatever user ikiwiki runs as.

14 years agostop using REMOTE_ADDR
Joey Hess [Wed, 23 Jun 2010 20:32:20 +0000 (16:32 -0400)]
stop using REMOTE_ADDR

Everywhere that REMOTE_ADDR was used, a session object is available, so
instead use its remote_addr method.

In IkiWiki::Receive, stop setting a dummy REMOTE_ADDR.

Note that it's possible for a session cookie to be obtained using one IP
address, and then used from another IP. In this case, the first IP will now
be used. I think that should be ok.

14 years agoAPI: rcs_commit and rcs_commit_staged are passed a new parameter
Joey Hess [Wed, 23 Jun 2010 20:05:49 +0000 (16:05 -0400)]
API: rcs_commit and rcs_commit_staged are passed a new parameter
that may contain the username component of the email address of
the user making the commit.

14 years agoAdd new optional field usershort to rcs_recentchanges.
Joey Hess [Wed, 23 Jun 2010 19:32:27 +0000 (15:32 -0400)]
Add new optional field usershort to rcs_recentchanges.

Now the git plugin supports commits with author fields that look like:
Author: http://my.openid/ <me@web>

Then in recentchanges, the short username will be displayed, linking
to the openid.

Particularly useful for the horrible google openids, of course.

14 years agowhitespace
Joey Hess [Wed, 23 Jun 2010 19:23:13 +0000 (15:23 -0400)]
whitespace

14 years agoIt is possible to use google-sitemapgen to create google sitemaps for ikiwiki.
BerndZeimetz [Wed, 23 Jun 2010 18:44:52 +0000 (18:44 +0000)]
It is possible to use google-sitemapgen to create google sitemaps for ikiwiki.

14 years agoadd news item for ikiwiki 3.20100623
Joey Hess [Wed, 23 Jun 2010 18:23:51 +0000 (14:23 -0400)]
add news item for ikiwiki 3.20100623

14 years agoreleasing version 3.20100623 3.20100623
Joey Hess [Wed, 23 Jun 2010 18:23:09 +0000 (14:23 -0400)]
releasing version 3.20100623

14 years agobugfix: record email-like links as page links
Joey Hess [Wed, 23 Jun 2010 18:05:57 +0000 (14:05 -0400)]
bugfix: record email-like links as page links

This way, an email-like link will be a mailto until a matching page
is created, then it will link to the page. And removing the page will
convert it back to a mailto.

14 years agosimplify anchor handling
Joey Hess [Wed, 23 Jun 2010 17:57:27 +0000 (13:57 -0400)]
simplify anchor handling

At least two bugfixes in here. First, an old bug;
\[[foo#0]] was displayed as [[foo]], losing the anchor
as the anchor text was false. Secondly, a new bug;
an email like foo#bar@baz should not check bestlink("foo@baz").

14 years agoavoid needing full email regexp
Joey Hess [Wed, 23 Jun 2010 17:40:10 +0000 (13:40 -0400)]
avoid needing full email regexp

Fully validating the email address is not necessary,
all that matters is not matching an url like http://foo@bar/
as an email address.

14 years agodocument external links
Joey Hess [Wed, 23 Jun 2010 17:35:31 +0000 (13:35 -0400)]
document external links

14 years agoadd changelog for externalink
Joey Hess [Wed, 23 Jun 2010 17:33:14 +0000 (13:33 -0400)]
add changelog for externalink

remove debian.org linkspam ;)

14 years agoMerge remote branch 'remotes/bzed/extendedlink'
Joey Hess [Wed, 23 Jun 2010 17:30:14 +0000 (13:30 -0400)]
Merge remote branch 'remotes/bzed/extendedlink'

14 years agoresponse
Joey Hess [Wed, 23 Jun 2010 17:29:46 +0000 (13:29 -0400)]
response

14 years agoone slash is enough to escape
Joey Hess [Wed, 23 Jun 2010 17:17:33 +0000 (13:17 -0400)]
one slash is enough to escape

14 years agoRevert "don't need to escape the inline tag if its in pre tag"
Joey Hess [Wed, 23 Jun 2010 17:16:31 +0000 (13:16 -0400)]
Revert "don't need to escape the inline tag if its in pre tag"

This reverts commit 4833f486b6ca759e1bcd8acc19e13ef4a0a6063f.

Being in a pre does not stop an inline directive from working.

14 years agoclarify indexdb is cached info, rebuildable
Joey Hess [Wed, 23 Jun 2010 17:15:10 +0000 (13:15 -0400)]
clarify indexdb is cached info, rebuildable