]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/log
git.ikiwiki.info.git
15 years agoStop using IPC::Cmd and String::ShellQuote, since quoting (and
Amitai Schlair [Fri, 4 Sep 2009 17:40:04 +0000 (12:40 -0500)]
Stop using IPC::Cmd and String::ShellQuote, since quoting (and
having to quote, and the possible use of the shell) sucks. Stop
passing args to cvs_runcvs() as an arrayref, since that also sucks
(and was a sop to IPC::Cmd). Instead, use Joey's construction for
temporarily redirecting stderr to /dev/null. Much much simpler and
better. Works on my laptop with bozohttpd, now to test on the NetBSD
wiki.

15 years agoMerge branch 'master' of git://github.com/joeyh/ikiwiki
Amitai Schlair [Fri, 4 Sep 2009 00:24:42 +0000 (19:24 -0500)]
Merge branch 'master' of git://github.com/joeyh/ikiwiki

15 years ago(no commit message)
bremner [Thu, 3 Sep 2009 12:18:27 +0000 (08:18 -0400)]

15 years agoUsing tags or links to represent attributes
AlexandreDupas [Thu, 3 Sep 2009 08:56:35 +0000 (04:56 -0400)]
Using tags or links to represent attributes

15 years agoMinor changes
http://oscarjacho.myopenid.com/ [Wed, 2 Sep 2009 21:24:47 +0000 (17:24 -0400)]
Minor changes

15 years agoMinor changes
http://oscarjacho.myopenid.com/ [Wed, 2 Sep 2009 21:23:02 +0000 (17:23 -0400)]
Minor changes

15 years agoAdded idea on wiki based requirements management tool
http://oscarjacho.myopenid.com/ [Wed, 2 Sep 2009 21:17:15 +0000 (17:17 -0400)]
Added idea on wiki based requirements management tool

15 years agoruther review
Joey Hess [Wed, 2 Sep 2009 20:10:57 +0000 (16:10 -0400)]
ruther review

15 years agoadd will's git repo
Joey Hess [Wed, 2 Sep 2009 19:10:13 +0000 (15:10 -0400)]
add will's git repo

15 years agoAdd French basewiki translation from the Debian French l10n team, including Philippe...
Joey Hess [Wed, 2 Sep 2009 19:04:27 +0000 (15:04 -0400)]
Add French basewiki translation from the Debian French l10n team, including Philippe Batailler, Alexandre Dupas, and Steve Petruzzello.

15 years agoAdd link to my git repository
http://www.cse.unsw.edu.au/~willu/ [Wed, 2 Sep 2009 05:21:01 +0000 (01:21 -0400)]
Add link to my git repository

15 years agoRevert spam
Joey Hess [Tue, 1 Sep 2009 17:05:32 +0000 (13:05 -0400)]
Revert spam

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 1 Sep 2009 17:04:52 +0000 (13:04 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agotypo
Joey Hess [Tue, 1 Sep 2009 16:32:39 +0000 (12:32 -0400)]
typo

15 years agotest
blahgrad [Tue, 1 Sep 2009 14:17:26 +0000 (10:17 -0400)]
test

15 years agoRemove references to merged-and-deleted git branches
Simon McVittie [Tue, 1 Sep 2009 13:17:51 +0000 (14:17 +0100)]
Remove references to merged-and-deleted git branches

15 years agoremove ^P's
Joey Hess [Mon, 31 Aug 2009 23:30:31 +0000 (19:30 -0400)]
remove ^P's

15 years agonew page: sandbox/test2
mike castleman [Mon, 31 Aug 2009 17:50:59 +0000 (13:50 -0400)]
new page: sandbox/test2

15 years agofixed link
martin [Mon, 31 Aug 2009 15:03:20 +0000 (11:03 -0400)]
fixed link

15 years agowhitespace
Amitai Schlair [Mon, 31 Aug 2009 01:03:18 +0000 (21:03 -0400)]
whitespace

15 years agoupdate for Text::MultiMarkdown split
Joey Hess [Sun, 30 Aug 2009 23:17:45 +0000 (19:17 -0400)]
update for Text::MultiMarkdown split

15 years agoCVE
Joey Hess [Sun, 30 Aug 2009 21:48:14 +0000 (17:48 -0400)]
CVE

15 years agoMerge branch 'master' of git://github.com/joeyh/ikiwiki
Amitai Schlair [Sun, 30 Aug 2009 20:34:32 +0000 (16:34 -0400)]
Merge branch 'master' of git://github.com/joeyh/ikiwiki

15 years agoOn some systems the commit message gets quoted properly already. Don't
Amitai Schlair [Sun, 30 Aug 2009 20:13:17 +0000 (16:13 -0400)]
On some systems the commit message gets quoted properly already. Don't
requote in such cases, do quote in all others.

15 years agostill mispelling josh's name..
Joey Hess [Sun, 30 Aug 2009 19:32:42 +0000 (15:32 -0400)]
still mispelling josh's name..

15 years agoadd news item for ikiwiki 3.1415926
Joey Hess [Sun, 30 Aug 2009 19:31:47 +0000 (15:31 -0400)]
add news item for ikiwiki 3.1415926

15 years agofinalize release 3.1415926
Joey Hess [Sun, 30 Aug 2009 19:29:08 +0000 (15:29 -0400)]
finalize release

15 years agoteximg security problem
Joey Hess [Sun, 30 Aug 2009 19:20:32 +0000 (15:20 -0400)]
teximg security problem

15 years agonote
Joey Hess [Sun, 30 Aug 2009 18:54:52 +0000 (14:54 -0400)]
note

15 years agofixed
Joey Hess [Sun, 30 Aug 2009 18:51:51 +0000 (14:51 -0400)]
fixed

15 years agoRevert "po: do not inject custom bestlink function when po_link_to eq default"
Joey Hess [Sun, 30 Aug 2009 18:49:53 +0000 (14:49 -0400)]
Revert "po: do not inject custom bestlink function when po_link_to eq default"

This reverts commit cdc3576c8d1efb2593cac2d9da3f2393a2afe26e.

Conflicts:

IkiWiki/Plugin/po.pm

This change broke the test suite and is not strictly necessary.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 30 Aug 2009 18:38:19 +0000 (14:38 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agoFix uninitialized value when editing a page being vivified from the
Amitai Schlair [Sun, 30 Aug 2009 17:49:38 +0000 (13:49 -0400)]
Fix uninitialized value when editing a page being vivified from the
basewiki. Makes the filetype-testing logic more explicit anyway.

15 years agoMerge branch 'master' of git://github.com/joeyh/ikiwiki
Amitai Schlair [Sun, 30 Aug 2009 07:02:15 +0000 (03:02 -0400)]
Merge branch 'master' of git://github.com/joeyh/ikiwiki

15 years agodescribe the wrapper change
Amitai Schlair [Sun, 30 Aug 2009 06:35:38 +0000 (02:35 -0400)]
describe the wrapper change

15 years agoOnly examine argv if the VCS is cvs.
Amitai Schlair [Sun, 30 Aug 2009 06:00:49 +0000 (02:00 -0400)]
Only examine argv if the VCS is cvs.

15 years agoRemove debug statement.
Amitai Schlair [Sun, 30 Aug 2009 05:45:09 +0000 (01:45 -0400)]
Remove debug statement.

15 years agoalso need File::ReadBackwards now
Amitai Schlair [Sun, 30 Aug 2009 05:31:15 +0000 (01:31 -0400)]
also need File::ReadBackwards now

15 years agobug fixed, to-dos done
Amitai Schlair [Sun, 30 Aug 2009 05:26:57 +0000 (01:26 -0400)]
bug fixed, to-dos done

15 years agoKnock off another to-do item: "Don't slurp the entire cvsps output
Amitai Schlair [Sun, 30 Aug 2009 05:14:22 +0000 (01:14 -0400)]
Knock off another to-do item: "Don't slurp the entire cvsps output
into memory (!)."

15 years agoKnock off a to-do item: "If the argument to cvs add smells like a
Amitai Schlair [Sun, 30 Aug 2009 04:17:42 +0000 (00:17 -0400)]
Knock off a to-do item: "If the argument to cvs add smells like a
binary file, cvs add -kb it (for attachment support)."

15 years agoThe string to match might not be "New directory" exactly, so match that
Amitai Schlair [Sun, 30 Aug 2009 04:05:23 +0000 (00:05 -0400)]
The string to match might not be "New directory" exactly, so match that
substring instead.

15 years agoThis is in my git branch now, no need for a copy of the code here.
Amitai Schlair [Sun, 30 Aug 2009 02:17:40 +0000 (22:17 -0400)]
This is in my git branch now, no need for a copy of the code here.

15 years agoRemove getopt() hook (it's a dead end, unsafe to pass wrapper args to
Amitai Schlair [Sun, 30 Aug 2009 01:35:54 +0000 (21:35 -0400)]
Remove getopt() hook (it's a dead end, unsafe to pass wrapper args to
ikiwiki). Crunch on-demand module loads into one-liners. Comment why
cvsps output is getting read in its entirety and reversed.

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 29 Aug 2009 18:01:03 +0000 (14:01 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info

15 years agodoc/po(test suite failures): follow-up
intrigeri [Sat, 29 Aug 2009 14:32:48 +0000 (16:32 +0200)]
doc/po(test suite failures): follow-up

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agomod_auth_openid
http://schmonz.livejournal.com/ [Sat, 29 Aug 2009 14:47:45 +0000 (10:47 -0400)]
mod_auth_openid

15 years agobuild failure on nearlyfreespeech.net
bremner [Sat, 29 Aug 2009 11:16:57 +0000 (07:16 -0400)]
build failure on nearlyfreespeech.net

15 years agoAnswer to Joey, and justify my text (in the source)
http://emptty.myopenid.com/ [Sat, 29 Aug 2009 08:28:01 +0000 (04:28 -0400)]
Answer to Joey, and justify my text (in the source)

15 years agoteximg: Make TeX handle preventing unsafe things; remove insufficient blacklist
Josh Triplett [Sat, 29 Aug 2009 06:07:27 +0000 (23:07 -0700)]
teximg: Make TeX handle preventing unsafe things; remove insufficient blacklist

TeX has configuration options that prevent unsafe things like shell
escapes and insecure file reads/writes.  Turn all of them on.

teximg's regex-based blacklist does not suffice.  For instance:

[[!teximg code="""
\catcode`\%=0
%input{/etc/passwd}
"""]]

Remove the blacklist, since the TeX configuration options seal off the
underlying mechanisms more safely, and the blacklist blocks other TeX
commands that can prove useful.

15 years agonote that debian-* branches are subject to being rebased
Joey Hess [Sat, 29 Aug 2009 05:13:24 +0000 (01:13 -0400)]
note that debian-* branches are subject to being rebased

15 years agoimg: Don't generate new verison of image if it is scaled to be larger in either dimen...
Joey Hess [Sat, 29 Aug 2009 03:23:06 +0000 (23:23 -0400)]
img: Don't generate new verison of image if it is scaled to be larger in either dimension.

Although imagemagick handles even really large sizes sanely, using a page
file, doing so would just waste time and disk space, since the browser
can be told to resize it larger.

15 years agomerged
Joey Hess [Fri, 28 Aug 2009 23:49:22 +0000 (19:49 -0400)]
merged

15 years agoMerge commit 'intrigeri/po'
Joey Hess [Fri, 28 Aug 2009 23:48:32 +0000 (19:48 -0400)]
Merge commit 'intrigeri/po'

15 years agoavoid clobbering origsub if checkconfig runs more than once
Joey Hess [Fri, 28 Aug 2009 23:15:25 +0000 (19:15 -0400)]
avoid clobbering origsub if checkconfig runs more than once

checkconfig can run more than once in a single ikiwiki run if setup is
building wrappers. That clobbered the origsub value for bestlink, leading
to infinite recursion

15 years agopo test suite failure
Joey Hess [Fri, 28 Aug 2009 22:22:11 +0000 (18:22 -0400)]
po test suite failure

15 years ago(no commit message)
furby [Fri, 28 Aug 2009 22:08:16 +0000 (18:08 -0400)]

15 years ago(no commit message)
furby [Fri, 28 Aug 2009 22:03:28 +0000 (18:03 -0400)]

15 years ago<pedant>rename depends_exact to depends_simple
Joey Hess [Fri, 28 Aug 2009 19:13:45 +0000 (15:13 -0400)]
<pedant>rename depends_exact to depends_simple

It's not "exact" since case munging has to be done, and I think
"simple" captures the optimisation better.</pedant>

With apologies to smcv, who probably has to rebuild his wiki now.

15 years agochangelpg
Joey Hess [Fri, 28 Aug 2009 19:11:21 +0000 (15:11 -0400)]
changelpg

15 years agoMerge commit 'smcv/ready/depends-exact'
Joey Hess [Fri, 28 Aug 2009 19:10:37 +0000 (15:10 -0400)]
Merge commit 'smcv/ready/depends-exact'

15 years agoresponse
Joey Hess [Fri, 28 Aug 2009 19:00:58 +0000 (15:00 -0400)]
response

15 years agoMerge commit 'smcv/ready/trivia'
Joey Hess [Fri, 28 Aug 2009 18:45:38 +0000 (14:45 -0400)]
Merge commit 'smcv/ready/trivia'

15 years agoIntroduce myself
http://emptty.myopenid.com/ [Fri, 28 Aug 2009 16:22:38 +0000 (12:22 -0400)]
Introduce myself

15 years agomy first edit to this site, please forgive mistakes
http://emptty.myopenid.com/ [Fri, 28 Aug 2009 16:18:30 +0000 (12:18 -0400)]
my first edit to this site, please forgive mistakes

15 years agoSome crude benchmarking on a larger wiki
Simon McVittie [Fri, 28 Aug 2009 15:11:52 +0000 (16:11 +0100)]
Some crude benchmarking on a larger wiki

15 years agoMerge commit 'origin/master'
Simon McVittie [Fri, 28 Aug 2009 14:55:28 +0000 (15:55 +0100)]
Merge commit 'origin/master'

15 years agoMark as done
Simon McVittie [Fri, 28 Aug 2009 14:50:02 +0000 (15:50 +0100)]
Mark as done

15 years agoUpdated branch, thanks for the feedback
Simon McVittie [Fri, 28 Aug 2009 14:48:51 +0000 (15:48 +0100)]
Updated branch, thanks for the feedback

15 years agoAvoid duplicating debug message for building a page due to a dependency
Simon McVittie [Fri, 28 Aug 2009 14:28:52 +0000 (15:28 +0100)]
Avoid duplicating debug message for building a page due to a dependency

As per Joey's review

15 years agoForce %depends_exact to lower case, fixing incorrect case-sensitivity
Simon McVittie [Fri, 28 Aug 2009 14:22:07 +0000 (15:22 +0100)]
Force %depends_exact to lower case, fixing incorrect case-sensitivity

15 years agoAuto-detect "simple dependencies" instead of requiring callers to use add_depends_exact()
Simon McVittie [Fri, 28 Aug 2009 14:41:26 +0000 (15:41 +0100)]
Auto-detect "simple dependencies" instead of requiring callers to use add_depends_exact()

15 years agodoc/po: report problem with link() + propose patch
intrigeri [Fri, 28 Aug 2009 14:38:13 +0000 (16:38 +0200)]
doc/po: report problem with link() + propose patch

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: fix link() pagespec when used on translation pages
intrigeri [Fri, 28 Aug 2009 14:34:58 +0000 (16:34 +0200)]
po: fix link() pagespec when used on translation pages

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoFix typo in dependency debug message
Simon McVittie [Fri, 28 Aug 2009 01:11:26 +0000 (02:11 +0100)]
Fix typo in dependency debug message

15 years agoAdd depends_exact: simplified dependency tracking for dependencies on a single page
Simon McVittie [Thu, 27 Aug 2009 22:25:58 +0000 (23:25 +0100)]
Add depends_exact: simplified dependency tracking for dependencies on a single page

Let E be the number of dependencies per page of the form "A depends on B and
nothing else", let D be the number of other dependencies per page,
let P be the total number of pages, and let C be the number of changed
pages in a refresh.

This patch should speed up a refresh from O(E*C*P + D*C*P) to
O(C + E*P + D*C*P), assuming that hash lookups are O(1).

In practice, plugins like inline and map produce a lot of these very simple
dependencies, and my album plugin's combination of inline with a large
number of pages causes it to suffer particularly badly.

In testing on a wiki with about 7000 objects (3500 full pages, 3500
images), a full rebuild continued to take about 5:30, and a refresh
after touching about 350 pages and 350 images reduced from 5:30 to 1:30.

As with my previous optimizations, this change will result in downgrades not
working correctly until the wiki is rebuilt.

15 years agoinline: if using pagenames, don't add a dependency on "page1 or page2 or..."
Simon McVittie [Thu, 27 Aug 2009 22:30:41 +0000 (23:30 +0100)]
inline: if using pagenames, don't add a dependency on "page1 or page2 or..."

This is unnecessary and just slows us down (by a factor of 2, in the
pessimal case where every page has an inline with pagenames); it's also
not possible to optimize it into add_depends_exact calls.

15 years agoFix typo in underlay.setup
Simon McVittie [Fri, 28 Aug 2009 14:32:58 +0000 (15:32 +0100)]
Fix typo in underlay.setup

15 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Fri, 28 Aug 2009 13:57:46 +0000 (15:57 +0200)]
Merge commit 'upstream/master' into prv/po

15 years agofollow-up
intrigeri [Fri, 28 Aug 2009 13:25:05 +0000 (15:25 +0200)]
follow-up

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agodoc/po: bug report + patch proposal wrt. inline's post form's rootpage
intrigeri [Fri, 28 Aug 2009 12:41:32 +0000 (14:41 +0200)]
doc/po: bug report + patch proposal wrt. inline's post form's rootpage

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: better rootpage logic for inline's post form
intrigeri [Fri, 28 Aug 2009 13:00:16 +0000 (15:00 +0200)]
po: better rootpage logic for inline's post form

Set rootpage to the non-l10n'd rootpage parameter if it is set,
else to the masterpage of the linking page.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoRevert "po: keep masterpage as the rootpage for inline's post form"
intrigeri [Fri, 28 Aug 2009 12:47:11 +0000 (14:47 +0200)]
Revert "po: keep masterpage as the rootpage for inline's post form"

This reverts commit cf43ae5a1f5460a98cdd7acb36c0691b2eec988f, which actually
only works when a rootpage parameter is set. A more complete fix will be
written soon.

15 years agoMerge commit 'upstream/master' into prv/po
intrigeri [Fri, 28 Aug 2009 12:23:38 +0000 (14:23 +0200)]
Merge commit 'upstream/master' into prv/po

15 years agopo: keep masterpage as the rootpage for inline's post form
intrigeri [Fri, 28 Aug 2009 11:57:15 +0000 (13:57 +0200)]
po: keep masterpage as the rootpage for inline's post form

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoinline: moved rootpage logic to a function
intrigeri [Fri, 28 Aug 2009 11:56:03 +0000 (13:56 +0200)]
inline: moved rootpage logic to a function

The po plugin's injected bestlink must do something special when called by this
exact part of inline's code.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoMerge commit 'intrigeri/po'
Joey Hess [Fri, 28 Aug 2009 11:40:46 +0000 (07:40 -0400)]
Merge commit 'intrigeri/po'

15 years agoboth changes picked
Joey Hess [Fri, 28 Aug 2009 11:34:09 +0000 (07:34 -0400)]
both changes picked

15 years agopo: favor the type of linking page's masterpage on page creation
intrigeri [Fri, 28 Aug 2009 11:12:58 +0000 (13:12 +0200)]
po: favor the type of linking page's masterpage on page creation

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: fix interdiction to create pages of type po
intrigeri [Fri, 28 Aug 2009 10:38:07 +0000 (12:38 +0200)]
po: fix interdiction to create pages of type po

... which was broken by the new page_types code.

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

15 years agodoc/po: reported bug + patches wrt. created page type
intrigeri [Fri, 28 Aug 2009 11:19:48 +0000 (13:19 +0200)]
doc/po: reported bug + patches wrt. created page type

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: favor the type of linking page's masterpage on page creation
intrigeri [Fri, 28 Aug 2009 11:12:58 +0000 (13:12 +0200)]
po: favor the type of linking page's masterpage on page creation

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agopo: fix interdiction to create pages of type po
intrigeri [Fri, 28 Aug 2009 10:38:07 +0000 (12:38 +0200)]
po: fix interdiction to create pages of type po

... which was broken by the new page_types code.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agoCzech basewiki enabled
Joey Hess [Fri, 28 Aug 2009 10:12:05 +0000 (06:12 -0400)]
Czech basewiki enabled

15 years agoInitial Czech translation of basewiki/
Miroslav Kure [Fri, 28 Aug 2009 10:08:46 +0000 (06:08 -0400)]
Initial Czech translation of basewiki/

15 years agomerge updates to danish translation from l10n
Joey Hess [Fri, 28 Aug 2009 10:07:59 +0000 (06:07 -0400)]
merge updates to danish translation from l10n

15 years agoprint which remotes are failing
Joey Hess [Fri, 28 Aug 2009 01:51:06 +0000 (21:51 -0400)]
print which remotes are failing

15 years agoresponse
Joey Hess [Fri, 28 Aug 2009 01:36:55 +0000 (21:36 -0400)]
response

15 years agomention ignore branch
Joey Hess [Fri, 28 Aug 2009 01:00:39 +0000 (21:00 -0400)]
mention ignore branch

15 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 28 Aug 2009 00:19:28 +0000 (20:19 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info