ikiwiki.git
13 years agoFix redirect to use a full url.
Joey Hess [Wed, 5 Jan 2011 18:57:04 +0000 (14:57 -0400)]
Fix redirect to use a full url.

Was broken (in theory) by baseurl changes in last release.

13 years agoFix base url when previewing. Was broken by urlto changes in last release.
Joey Hess [Wed, 5 Jan 2011 17:49:04 +0000 (13:49 -0400)]
Fix base url when previewing. Was broken by urlto changes in last release.

Added a showform_preview that is like showform, but sets forcebaseurl
to point to the page being previewed.

13 years agoreopening, reverting part of this for now
Joey Hess [Wed, 5 Jan 2011 17:47:35 +0000 (13:47 -0400)]
reopening, reverting part of this for now

13 years agoit gets worse
Joey Hess [Wed, 5 Jan 2011 17:34:44 +0000 (13:34 -0400)]
it gets worse

13 years agodoesn't only affect preview
Joey Hess [Wed, 5 Jan 2011 17:19:26 +0000 (13:19 -0400)]
doesn't only affect preview

13 years agoresponse
Joey Hess [Wed, 5 Jan 2011 16:25:58 +0000 (12:25 -0400)]
response

13 years agogeneric insert links: it's a Markdown file
Giuseppe Bilotta [Sun, 2 Jan 2011 22:08:26 +0000 (23:08 +0100)]
generic insert links: it's a Markdown file
(cherry picked from commit 139c050ca48c2fe7bdcd4ea22623739cbb25ceda)

13 years agounescape tag names
Giuseppe Bilotta [Wed, 5 Jan 2011 06:20:47 +0000 (07:20 +0100)]
unescape tag names

Since tag names are now retrieved from the file names, we must revert
the escaping process that santizes the file names. Solve by adding a
`pagetitle()` call at the end of the tagname()
(cherry picked from commit 0ee0612b1ab11d76eb3790c8db7a2ba992c54f6b)

13 years agorespond
Simon McVittie [Wed, 5 Jan 2011 12:17:17 +0000 (12:17 +0000)]
respond

13 years agowrap lines
Simon McVittie [Wed, 5 Jan 2011 11:48:48 +0000 (11:48 +0000)]
wrap lines

13 years agoabsolute base url in cgi forms
http://oblomov.myopenid.com/ [Wed, 5 Jan 2011 10:18:16 +0000 (10:18 +0000)]
absolute base url in cgi forms

13 years agobugfix
Joey Hess [Tue, 4 Jan 2011 20:02:31 +0000 (16:02 -0400)]
bugfix

13 years agofix patch to not strip a leading "." unless it's part of a path
Joey Hess [Tue, 4 Jan 2011 19:59:28 +0000 (15:59 -0400)]
fix patch to not strip a leading "." unless it's part of a path

For correctness only, since a tag named ".foo" is very unlikely.

13 years agofix patch to not expose config setting as a regexp
Joey Hess [Tue, 4 Jan 2011 19:59:00 +0000 (15:59 -0400)]
fix patch to not expose config setting as a regexp

13 years agotag name sanitation
Giuseppe Bilotta [Tue, 4 Jan 2011 18:26:21 +0000 (19:26 +0100)]
tag name sanitation

The use of typed links for tags and some of the consequent changes
introduced some unwanted functionality variations in the tag system. Two
problems in particular could be observed, when compared to the use of
tags in older versions of IkiWiki:

* tags in feeds (both rss and atom) would use the file path as their
  name (e.g. you would have <category term="tags/sometag" /> in an atom
  item for a page tagged sometag with a tagbase of tags), whereas they
  appeared pure before
* tags containing a slash character would appear without the slash
  character but be used with the slash character in other circumstances
  (effect visible by tagging a page with a name such as "with/slash")

Both of these issues are fixed by introducing a tagname() function that
takes a tag link and effectively reverses (as well as possible) the
effects of taglink().

A possible alternative route would have been the reintroduction of the
global %tags hash, but the new approach as the (arguable) benefit of
introducing a small layer of sanitation for tag names.

13 years agomarkup
Joey Hess [Tue, 4 Jan 2011 19:51:26 +0000 (15:51 -0400)]
markup

13 years agotag behavior changes introduced by typed link feature
http://oblomov.myopenid.com/ [Tue, 4 Jan 2011 18:45:49 +0000 (18:45 +0000)]
tag behavior changes introduced by typed link feature

13 years agofeed enhancements for inline pages
http://oblomov.myopenid.com/ [Tue, 4 Jan 2011 14:40:30 +0000 (14:40 +0000)]
feed enhancements for inline pages

13 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawkMqhJ4mAWPpJQ2kvTvBM_icMQdvMhctJA [Tue, 4 Jan 2011 13:05:02 +0000 (13:05 +0000)]

13 years agoRevert spam
Simon McVittie [Mon, 3 Jan 2011 11:20:10 +0000 (11:20 +0000)]
Revert spam

This reverts commit 2bf9d8dc82c528bd0372ca7f633050b38cc1eea2.

13 years ago(no commit message)
https://me.yahoo.com/a/3hUnH9Qi24uk3RwCwHATJBWKVyqc#7d8b8 [Mon, 3 Jan 2011 11:07:03 +0000 (11:07 +0000)]

13 years agoAdded a comment: Works with mathjax, with a little help
https://www.google.com/accounts/o8/id?id=AItOawkIfDOOUJ0h_niLRZZL5HsHHOuQfUrVcQo [Sun, 2 Jan 2011 22:59:27 +0000 (22:59 +0000)]
Added a comment: Works with mathjax, with a little help

13 years agoremove second parameter to include_javascript
Joey Hess [Sun, 2 Jan 2011 22:31:08 +0000 (18:31 -0400)]
remove second parameter to include_javascript

function used to take a second parameter to control absoluteness, no longer
does

13 years agoThanks!
http://lovesgoodfood.com/jason/ [Sun, 2 Jan 2011 20:47:24 +0000 (20:47 +0000)]
Thanks!

13 years agoFlowplayer question
http://mcfrisk.myopenid.com/ [Sun, 2 Jan 2011 20:32:29 +0000 (20:32 +0000)]
Flowplayer question

13 years agoresponse
Joey Hess [Sun, 2 Jan 2011 19:53:46 +0000 (15:53 -0400)]
response

13 years ago(no commit message)
https://me.yahoo.com/a/tWUEtyB81ObIiNjLGnzBGEBKPviv#30f24 [Sat, 1 Jan 2011 20:20:40 +0000 (20:20 +0000)]

13 years ago(no commit message)
https://me.yahoo.com/a/tWUEtyB81ObIiNjLGnzBGEBKPviv#30f24 [Sat, 1 Jan 2011 20:19:05 +0000 (20:19 +0000)]

13 years ago(no commit message)
https://me.yahoo.com/a/tWUEtyB81ObIiNjLGnzBGEBKPviv#30f24 [Sat, 1 Jan 2011 20:18:16 +0000 (20:18 +0000)]

13 years ago(no commit message)
bremner [Sat, 1 Jan 2011 18:26:26 +0000 (18:26 +0000)]

13 years agoadd news item for ikiwiki 3.20101231
Joey Hess [Sat, 1 Jan 2011 01:35:18 +0000 (21:35 -0400)]
add news item for ikiwiki 3.20101231

13 years agoreleasing version 3.20101231
Joey Hess [Sat, 1 Jan 2011 01:34:52 +0000 (21:34 -0400)]
releasing version 3.20101231

13 years agoReverting spam.
JoeRayhawk [Fri, 31 Dec 2010 00:55:15 +0000 (00:55 +0000)]
Reverting spam.

This reverts commit e669cdbc00d3059184a3f508a58eb2a56130c200

13 years ago(no commit message)
https://me.yahoo.com/a/3hUnH9Qi24uk3RwCwHATJBWKVyqc#7d8b8 [Fri, 31 Dec 2010 00:12:51 +0000 (00:12 +0000)]

13 years agoMy placeholder.
http://lovesgoodfood.com/jason/ [Thu, 30 Dec 2010 19:36:32 +0000 (19:36 +0000)]
My placeholder.

13 years agoYAFR
http://lovesgoodfood.com/jason/ [Thu, 30 Dec 2010 19:34:45 +0000 (19:34 +0000)]
YAFR

13 years ago(no commit message)
justint [Thu, 30 Dec 2010 03:10:48 +0000 (03:10 +0000)]

13 years agogit: Fix bug involving attempting to web revert a commit that included changes to...
Joey Hess [Thu, 30 Dec 2010 00:19:58 +0000 (20:19 -0400)]
git: Fix bug involving attempting to web revert a commit that included changes to attachments.

13 years agobugfix
Joey Hess [Thu, 30 Dec 2010 00:10:28 +0000 (20:10 -0400)]
bugfix

13 years agoAdd a second parameter to the rcs_diff hook, and avoid bloating memory reading in...
Joey Hess [Wed, 29 Dec 2010 23:58:49 +0000 (19:58 -0400)]
Add a second parameter to the rcs_diff hook, and avoid bloating memory reading in enormous commits.

13 years agoresponse
Joey Hess [Wed, 29 Dec 2010 18:13:31 +0000 (14:13 -0400)]
response

13 years agoresponse
Joey Hess [Wed, 29 Dec 2010 18:02:33 +0000 (14:02 -0400)]
response

13 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Wed, 29 Dec 2010 17:08:18 +0000 (13:08 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

13 years agohighlight: Support highlight 3.2+svn19 (note that released version 3.2 is not support...
Joey Hess [Wed, 29 Dec 2010 17:08:09 +0000 (13:08 -0400)]
highlight: Support highlight 3.2+svn19 (note that released version 3.2 is not supported). Closes: #605779 (David Bremner)

13 years agoUpdate highlight plugin for highlight api.
David Bremner [Wed, 29 Dec 2010 11:18:14 +0000 (07:18 -0400)]
Update highlight plugin for highlight api.

Note that in particular calling initTheme with and empty file does not
work anymore.

use of initLanguage was replaced by loadLanguage, which seems to work
in both places.

I tried to make it a bit more robust against missing a highlight package.
There are lots of warnings, but it no longer crashes.

13 years agoremoved
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 20:41:10 +0000 (20:41 +0000)]
removed

13 years agoremoved
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 20:40:28 +0000 (20:40 +0000)]
removed

13 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 19:01:23 +0000 (19:01 +0000)]

13 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 19:00:28 +0000 (19:00 +0000)]

13 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 18:59:17 +0000 (18:59 +0000)]

13 years ago(no commit message)
https://www.google.com/accounts/o8/id?id=AItOawmgky5CmCGpSc5EUllhu0IxeKlUdhG-QJI [Tue, 28 Dec 2010 18:57:57 +0000 (18:57 +0000)]

13 years agochangelog
Joey Hess [Tue, 28 Dec 2010 17:52:01 +0000 (13:52 -0400)]
changelog

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

13 years agoexpand documentation
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 17:46:31 +0000 (17:46 +0000)]
expand documentation

13 years agouse clearer indentation
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 15:02:43 +0000 (15:02 +0000)]
use clearer indentation

13 years agoadjust indentation levels to not confuse mdwn
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 14:59:05 +0000 (14:59 +0000)]
adjust indentation levels to not confuse mdwn

13 years agoupdated branches
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 14:57:52 +0000 (14:57 +0000)]
updated branches

13 years agoanalysis of how autofile and autoindex differ
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 14:46:21 +0000 (14:46 +0000)]
analysis of how autofile and autoindex differ

13 years agoCwd is loaded whenever we refresh anyway
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 13:02:32 +0000 (13:02 +0000)]
Cwd is loaded whenever we refresh anyway

13 years agomonotone.pm: while we're still only checking the major and minor
Thomas Keller [Tue, 28 Dec 2010 00:55:12 +0000 (01:55 +0100)]
monotone.pm: while we're still only checking the major and minor
part of the version number of the monotone binary, we do not want
to give false alarm on patch or development versions

13 years agovery slow progress
http://smcv.pseudorandom.co.uk/ [Tue, 28 Dec 2010 00:04:56 +0000 (00:04 +0000)]
very slow progress

13 years agobranch split into several orthogonal bits
http://smcv.pseudorandom.co.uk/ [Mon, 27 Dec 2010 22:55:17 +0000 (22:55 +0000)]
branch split into several orthogonal bits

13 years agoreinstate lost "signature" from commit 85d262e, and fix its link syntax
http://smcv.pseudorandom.co.uk/ [Mon, 27 Dec 2010 17:13:03 +0000 (17:13 +0000)]
reinstate lost "signature" from commit 85d262e, and fix its link syntax

13 years agoa quick round of fixes
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 22:39:02 +0000 (22:39 +0000)]
a quick round of fixes

13 years agobrief responses
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 21:55:11 +0000 (21:55 +0000)]
brief responses

13 years agoanswer; close
Joey Hess [Sun, 26 Dec 2010 18:50:25 +0000 (14:50 -0400)]
answer; close

13 years agochangelog
Joey Hess [Sun, 26 Dec 2010 18:46:55 +0000 (14:46 -0400)]
changelog

13 years agoteximg: Use `\[` and `\]` instead of not recommended `$$`.
Paul Menzel [Wed, 8 Sep 2010 14:40:22 +0000 (16:40 +0200)]
teximg: Use `\[` and `\]` instead of not recommended `$$`.

It is not recommended to use the double dollar symbol `$$` to set displayed math [1][2].

[1] http://en.wikibooks.org/wiki/LaTeX/Mathematics
[2] http://www.math.uiuc.edu/~hildebr/tex/displays.html

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agoreview and thoughts
Joey Hess [Sun, 26 Dec 2010 18:29:27 +0000 (14:29 -0400)]
review and thoughts

13 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 26 Dec 2010 17:55:35 +0000 (13:55 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

13 years agomerge smcv/ready/urlto
Joey Hess [Sun, 26 Dec 2010 17:54:01 +0000 (13:54 -0400)]
merge smcv/ready/urlto

13 years agoadd as a contrib plugin
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 17:53:45 +0000 (17:53 +0000)]
add as a contrib plugin

13 years agoMerge remote branch 'smcv/ready/urlto'
Joey Hess [Sun, 26 Dec 2010 17:53:31 +0000 (13:53 -0400)]
Merge remote branch 'smcv/ready/urlto'

13 years agothe album plugin now requires the transient plugin
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 17:47:56 +0000 (17:47 +0000)]
the album plugin now requires the transient plugin

13 years agoAck.
intrigeri [Sun, 26 Dec 2010 17:42:11 +0000 (18:42 +0100)]
Ack.

13 years agoplugins/write hopefully clarifies this now
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 14:28:24 +0000 (14:28 +0000)]
plugins/write hopefully clarifies this now

13 years agorecommend 2-argument urlto whenever possible
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 14:22:54 +0000 (14:22 +0000)]
recommend 2-argument urlto whenever possible

13 years agoI'm pretty sure this isn't a regression
http://smcv.pseudorandom.co.uk/ [Sun, 26 Dec 2010 14:20:00 +0000 (14:20 +0000)]
I'm pretty sure this isn't a regression

13 years agoreply (regression != suboptimal)
intrigeri [Sun, 26 Dec 2010 01:33:24 +0000 (02:33 +0100)]
reply (regression != suboptimal)

13 years agonow rebased on ready/urlto with more tests; please consider merging
http://smcv.pseudorandom.co.uk/ [Sat, 25 Dec 2010 23:50:20 +0000 (23:50 +0000)]
now rebased on ready/urlto with more tests; please consider merging

13 years agorelated bugfix
http://smcv.pseudorandom.co.uk/ [Sat, 25 Dec 2010 23:37:16 +0000 (23:37 +0000)]
related bugfix

13 years agobug + fix
http://smcv.pseudorandom.co.uk/ [Sat, 25 Dec 2010 23:31:53 +0000 (23:31 +0000)]
bug + fix

13 years agopo test: add more cases, including (semi-)absolute URLs
Simon McVittie [Sat, 25 Dec 2010 22:17:32 +0000 (22:17 +0000)]
po test: add more cases, including (semi-)absolute URLs

Three cases are sub-optimal, but having fixed urlto(''), they all
basically work.

13 years agopo: test beautify_urlpath with po_link_to=current
Simon McVittie [Sat, 25 Dec 2010 21:39:29 +0000 (21:39 +0000)]
po: test beautify_urlpath with po_link_to=current

Same behaviour as 'default'.

13 years agourlto.t: test urlto('', undef, ?)
Simon McVittie [Sat, 25 Dec 2010 22:12:56 +0000 (22:12 +0000)]
urlto.t: test urlto('', undef, ?)

13 years agourlto: simplify the to='' special case to allow it to be made absolute
Simon McVittie [Sat, 25 Dec 2010 22:12:38 +0000 (22:12 +0000)]
urlto: simplify the to='' special case to allow it to be made absolute

13 years agourlto.t: test more cases, including the special case for to=''
Simon McVittie [Sat, 25 Dec 2010 22:11:33 +0000 (22:11 +0000)]
urlto.t: test more cases, including the special case for to=''

13 years agoAdd a test for autoindex's current functionality
Simon McVittie [Sat, 25 Dec 2010 22:54:20 +0000 (22:54 +0000)]
Add a test for autoindex's current functionality

13 years agoextend the 'tag' test to cover auto-creation of tag pages
Simon McVittie [Sat, 25 Dec 2010 22:53:57 +0000 (22:53 +0000)]
extend the 'tag' test to cover auto-creation of tag pages

13 years agocheckconfig: don't warn if $config{url} is undef
Simon McVittie [Tue, 21 Dec 2010 14:21:53 +0000 (14:21 +0000)]
checkconfig: don't warn if $config{url} is undef

The warning was "Use of uninitialized value $IkiWiki::config{"url"} in
length" when running a modified t/tag.t.

13 years agouse CGI->url to get current absolute cgi url for openid login process
Joey Hess [Sat, 25 Dec 2010 19:08:22 +0000 (15:08 -0400)]
use CGI->url to get current absolute cgi url for openid login process

13 years agorevert cgiurl change that broke openid login
Joey Hess [Sat, 25 Dec 2010 18:23:55 +0000 (14:23 -0400)]
revert cgiurl change that broke openid login

13 years agoeditpage, comment: Clean up title when editing or creating a page or comment.
Joey Hess [Sat, 25 Dec 2010 17:38:26 +0000 (13:38 -0400)]
editpage, comment: Clean up title when editing or creating a page or comment.

Now that page.tmpl is used for cgi, the parentlinks are able to be
displayed even when creating or editing a page. So it's redundant to
include the path to the page in the title, remove it.

13 years agoinline: Force an absolute page location when the inline postform is used.
Joey Hess [Sat, 25 Dec 2010 17:32:57 +0000 (13:32 -0400)]
inline: Force an absolute page location when the inline postform is used.

There seems no need to allow selecting a location when creating a page this
way; the user should always want it to appear in the inline whose form they
submitted.

13 years agoindent
Joey Hess [Sat, 25 Dec 2010 17:23:23 +0000 (13:23 -0400)]
indent

13 years agofix comment
Joey Hess [Sat, 25 Dec 2010 17:12:21 +0000 (13:12 -0400)]
fix comment

13 years agomerged, bug left open
Joey Hess [Sat, 25 Dec 2010 16:43:40 +0000 (12:43 -0400)]
merged, bug left open

13 years agomerge po
Joey Hess [Sat, 25 Dec 2010 16:38:31 +0000 (12:38 -0400)]
merge po

13 years agoMerge remote branch 'intrigeri/po'
Joey Hess [Sat, 25 Dec 2010 16:35:25 +0000 (12:35 -0400)]
Merge remote branch 'intrigeri/po'

13 years agoHunt the bug => workaround. Please review.
intrigeri [Wed, 22 Dec 2010 18:59:07 +0000 (19:59 +0100)]
Hunt the bug => workaround. Please review.