Joey Hess [Sun, 26 Oct 2008 23:03:12 +0000 (19:03 -0400)]
editdiff already exists
Joey Hess [Sun, 26 Oct 2008 19:13:04 +0000 (15:13 -0400)]
do no-op post_commit test in wrapper
This speeds up web commits by 1/4th of a second or so, since perl does
not have to start up for the post commit hook.
perl's locking is completly FuBar, since it's impossible to tell what perl
flock() really does, and thus difficult to write code in other languages
that interoperates with perl's locking. (Let alone interoperating with
existing fcntl locking from perl...)
In this particular case, I think I was able to find a way to avoid the
insanity, mostly. The C code does a true flock(2), and if perl is using an
incompatable lock method that does not use the same locking primative at
the kernel level, then the C code's test will fail, and it will go ahead
and run the perl code. Then the perl code's test will test the right thing.
On Debian, at least lately, perl's flock() does a true flock(2), so the
optimisation does work.
Joey Hess [Sun, 26 Oct 2008 18:03:18 +0000 (14:03 -0400)]
move untrusted committer test into the wrapper
This saves around 1/4th second per trusted commit since ikiwiki
doesn't need to start up.
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:53:55 +0000 (22:53 -0400)]
fix typo.
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:52:09 +0000 (22:52 -0400)]
add my name
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:51:05 +0000 (22:51 -0400)]
Replace weirdness section with link to Debian bug report.
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:33:31 +0000 (22:33 -0400)]
minor change
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:32:27 +0000 (22:32 -0400)]
add link to Debian bug report.
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:27:04 +0000 (22:27 -0400)]
improve formatting
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 02:08:29 +0000 (22:08 -0400)]
solution?
https://brian.may.myopenid.com// [Sun, 26 Oct 2008 01:48:36 +0000 (21:48 -0400)]
attach patch for http/https proxy support
http://xma.myopenid.com/ [Sat, 25 Oct 2008 05:51:53 +0000 (01:51 -0400)]
Jason Blevins [Fri, 24 Oct 2008 22:08:06 +0000 (18:08 -0400)]
response
Joey Hess [Fri, 24 Oct 2008 21:52:38 +0000 (17:52 -0400)]
other DVCS may be able to support anon push
Joey Hess [Fri, 24 Oct 2008 21:50:14 +0000 (17:50 -0400)]
mention twitter feed
Joey Hess [Fri, 24 Oct 2008 21:47:55 +0000 (17:47 -0400)]
idea
intrigeri [Fri, 24 Oct 2008 21:41:08 +0000 (17:41 -0400)]
Git wizards required to make new anonymous push feature useful for me
intrigeri [Fri, 24 Oct 2008 21:16:52 +0000 (17:16 -0400)]
I was answered
Jason Blevins [Fri, 24 Oct 2008 21:11:11 +0000 (17:11 -0400)]
Fix typo
Joey Hess [Fri, 24 Oct 2008 20:31:51 +0000 (16:31 -0400)]
note about spoofing
Jason Blevins [Fri, 24 Oct 2008 20:16:20 +0000 (16:16 -0400)]
Test anon Git push
Joey Hess [Fri, 24 Oct 2008 20:21:22 +0000 (16:21 -0400)]
links
Joey Hess [Fri, 24 Oct 2008 20:10:25 +0000 (16:10 -0400)]
wording
Joey Hess [Fri, 24 Oct 2008 20:08:36 +0000 (16:08 -0400)]
announce anonymous git push support
Joey Hess [Fri, 24 Oct 2008 19:52:06 +0000 (15:52 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://joey.kitenet.net/ [Fri, 24 Oct 2008 19:50:58 +0000 (15:50 -0400)]
make sure web edits still work :-)
Joey Hess [Fri, 24 Oct 2008 19:49:55 +0000 (15:49 -0400)]
remember how to write C code
been a while!
Joey Hess [Fri, 24 Oct 2008 19:47:42 +0000 (15:47 -0400)]
the pre-receive wrapper needs to be suid after all
It needs to write to the user db.
Joey Hess [Fri, 24 Oct 2008 19:47:18 +0000 (15:47 -0400)]
new tip on setting up anonymous push
Joey Hess [Fri, 24 Oct 2008 19:46:29 +0000 (15:46 -0400)]
export CALLER_UID
Joey Hess [Fri, 24 Oct 2008 19:45:58 +0000 (15:45 -0400)]
anonymous git pushes are now enabled for this wiki
Joey Hess [Fri, 24 Oct 2008 19:41:50 +0000 (15:41 -0400)]
test 3
Joey Hess [Fri, 24 Oct 2008 19:04:24 +0000 (15:04 -0400)]
test 2
Joey Hess [Fri, 24 Oct 2008 19:03:22 +0000 (15:03 -0400)]
remove, fixed the problem
Joey Hess [Fri, 24 Oct 2008 19:02:54 +0000 (15:02 -0400)]
can't lock wiki due to permissions (probably)
luckily, don't really need to here
Joey Hess [Fri, 24 Oct 2008 18:47:31 +0000 (14:47 -0400)]
test adding a file
I hope this commit is not accepted. If it is, I have a bug. :-)
Joey Hess [Fri, 24 Oct 2008 18:30:47 +0000 (14:30 -0400)]
test
Joey Hess [Fri, 24 Oct 2008 17:44:03 +0000 (13:44 -0400)]
include temp file for attachment change too
Joey Hess [Fri, 24 Oct 2008 17:30:29 +0000 (13:30 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Fri, 24 Oct 2008 17:29:41 +0000 (13:29 -0400)]
updates
Joey Hess [Fri, 24 Oct 2008 17:29:30 +0000 (13:29 -0400)]
really fix calls to check_can*
intrigeri [Fri, 24 Oct 2008 16:50:05 +0000 (12:50 -0400)]
thanks, closing wishlist
tschwinge [Fri, 24 Oct 2008 09:40:52 +0000 (05:40 -0400)]
Typo fix.
Joey Hess [Thu, 23 Oct 2008 22:16:55 +0000 (18:16 -0400)]
update
Joey Hess [Thu, 23 Oct 2008 22:05:57 +0000 (18:05 -0400)]
untrusted committers code seems to be fully working
Still need to investigate possible races, and test some more.
Joey Hess [Thu, 23 Oct 2008 22:05:12 +0000 (18:05 -0400)]
fix calls to check_*
These throw errors, do not have useful return codes.
Joey Hess [Thu, 23 Oct 2008 20:56:40 +0000 (16:56 -0400)]
check_canattach hooked up
Joey Hess [Thu, 23 Oct 2008 20:29:50 +0000 (16:29 -0400)]
more work on untrusted committers
Wired up check_canedit and check_canremove, still need to deal with
check_canattach, and test.
Joey Hess [Thu, 23 Oct 2008 18:09:01 +0000 (14:09 -0400)]
Merge branch 'master' into git-anon
Joey Hess [Thu, 23 Oct 2008 18:08:45 +0000 (14:08 -0400)]
Optimise the no-op post-commit hook in the web edit case by skipping loading plugins. (Particularly a win when using external plugins.)
Joey Hess [Thu, 23 Oct 2008 17:45:42 +0000 (13:45 -0400)]
Merge branch 'master' into git-anon
Joey Hess [Wed, 22 Oct 2008 21:05:23 +0000 (17:05 -0400)]
Updated Danish translation from Jonas Smedegaard. Closes: #503117
Joey Hess [Thu, 23 Oct 2008 00:52:34 +0000 (20:52 -0400)]
initial support for git repos with untrusted committers
Still need to wire up the calls to check_* , but it's cold out here and my
hands are going numb, so enough for now.
Joey Hess [Wed, 22 Oct 2008 21:05:23 +0000 (17:05 -0400)]
Updated Danish translation from Jonas Smedegaard. Closes: #503117
http://jblevins.org/ [Wed, 22 Oct 2008 18:03:53 +0000 (14:03 -0400)]
Link to h1title plugin
http://jblevins.org/ [Wed, 22 Oct 2008 17:57:45 +0000 (13:57 -0400)]
Added links to a couple of experimental plugins
Joey Hess [Wed, 22 Oct 2008 16:33:28 +0000 (12:33 -0400)]
Updated Spanish translation from the ever vigilant Victor Moral.
Joey Hess [Wed, 22 Oct 2008 00:37:49 +0000 (20:37 -0400)]
displaytime hook is gone
intrigeri [Tue, 21 Oct 2008 23:17:49 +0000 (19:17 -0400)]
thanks!
Joey Hess [Tue, 21 Oct 2008 21:57:32 +0000 (17:57 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Tue, 21 Oct 2008 21:57:19 +0000 (17:57 -0400)]
function injection overhaul
Add an inject function, that can be used by plugins that want to replace
one of ikiwiki's functions with their own version. (This is a scary thing
that grubs through the symbol table, and replaces all exported occurances
of a function with the injected version.)
external: RPC functions can be injected to replace exported functions.
Removed the stupid displaytime hook, and use injection instead.
http://xma.myopenid.com/ [Tue, 21 Oct 2008 21:51:26 +0000 (17:51 -0400)]
Joey Hess [Tue, 21 Oct 2008 21:09:57 +0000 (17:09 -0400)]
change example to override a real function
Joey Hess [Tue, 21 Oct 2008 21:09:44 +0000 (17:09 -0400)]
change obsolete example
Joey Hess [Tue, 21 Oct 2008 21:03:08 +0000 (17:03 -0400)]
disable warnings when redefining functions
intrigeri [Tue, 21 Oct 2008 18:59:02 +0000 (14:59 -0400)]
added link to po plugin
Joey Hess [Tue, 21 Oct 2008 16:18:22 +0000 (12:18 -0400)]
updated with new thoughts on user checking
http://jblevins.org/ [Tue, 21 Oct 2008 15:43:37 +0000 (11:43 -0400)]
Notes on MathML and SVG support
http://jblevins.org/ [Tue, 21 Oct 2008 15:12:12 +0000 (11:12 -0400)]
htmlscrubber patch for sanitizing SVG and MathML
Joey Hess [Tue, 21 Oct 2008 01:54:24 +0000 (21:54 -0400)]
response2
Joey Hess [Tue, 21 Oct 2008 01:51:33 +0000 (21:51 -0400)]
response
AndrewGreenberg [Tue, 21 Oct 2008 01:34:02 +0000 (21:34 -0400)]
Added "SVG aren't images" bug.
Joey Hess [Tue, 21 Oct 2008 00:57:42 +0000 (20:57 -0400)]
response
Joey Hess [Tue, 21 Oct 2008 00:34:29 +0000 (20:34 -0400)]
randomly stumbled over fedora packages of ikiwiki
Joey Hess [Tue, 21 Oct 2008 00:32:07 +0000 (20:32 -0400)]
re-encode to utf-8
I noticed the Fedora package doing this as part of its build.
Joey Hess [Tue, 21 Oct 2008 00:16:30 +0000 (20:16 -0400)]
bit of a design for how a post-receive hook could work
intrigeri [Mon, 20 Oct 2008 23:45:49 +0000 (19:45 -0400)]
answering joey
Joey Hess [Mon, 20 Oct 2008 23:22:22 +0000 (19:22 -0400)]
use relativedate as the css class for dates that should display relative
Joey Hess [Mon, 20 Oct 2008 23:19:03 +0000 (19:19 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 20 Oct 2008 23:18:49 +0000 (19:18 -0400)]
wow
intrigeri [Mon, 20 Oct 2008 22:56:21 +0000 (18:56 -0400)]
formatting, added git clone information
intrigeri [Mon, 20 Oct 2008 22:54:04 +0000 (18:54 -0400)]
initial plugin public apparition
intrigeri [Mon, 20 Oct 2008 22:40:30 +0000 (18:40 -0400)]
added link to another idea
intrigeri [Mon, 20 Oct 2008 22:39:01 +0000 (18:39 -0400)]
response
Joey Hess [Mon, 20 Oct 2008 22:17:03 +0000 (18:17 -0400)]
tag: When tagpage is set, force the links created by tagging to point at the toplevel tagpage, and not closer subpages.
The html links already went there, but internally the links were not
recorded as absolute, which could cause confusing backlinks etc.
For example, with tagbase=tags, if blog/tags/bar existed and blog/foo was
tagged bar, it would link to /tags/bar. But, the link would be recorded
simply as a link to tags/bar, and so later blog/tags/bar would appear to
have the backlink.
Joey Hess [Mon, 20 Oct 2008 20:59:34 +0000 (16:59 -0400)]
add header
Joey Hess [Mon, 20 Oct 2008 20:58:22 +0000 (16:58 -0400)]
update
Joey Hess [Mon, 20 Oct 2008 20:57:37 +0000 (16:57 -0400)]
fix name
Joey Hess [Mon, 20 Oct 2008 20:55:38 +0000 (16:55 -0400)]
pull together info on converting to ikiwiki from other systems
Joey Hess [Mon, 20 Oct 2008 20:19:10 +0000 (16:19 -0400)]
response
http://xma.myopenid.com/ [Mon, 20 Oct 2008 19:49:11 +0000 (15:49 -0400)]
http://xma.myopenid.com/ [Mon, 20 Oct 2008 19:46:02 +0000 (15:46 -0400)]
http://xma.myopenid.com/ [Mon, 20 Oct 2008 19:44:36 +0000 (15:44 -0400)]
Joey Hess [Mon, 20 Oct 2008 19:38:17 +0000 (15:38 -0400)]
turn on archive mode for forum
Joey Hess [Mon, 20 Oct 2008 19:37:27 +0000 (15:37 -0400)]
response
Joey Hess [Mon, 20 Oct 2008 19:25:45 +0000 (15:25 -0400)]
inline: Only the last feed link was put on the page, fix this to include all feed links. So rss will be included along with atom, and pages with multiple feeds will get links added for all feeds.
Joey Hess [Mon, 20 Oct 2008 17:14:36 +0000 (13:14 -0400)]
response
http://alcopop.org/me/openid/ [Mon, 20 Oct 2008 14:38:39 +0000 (10:38 -0400)]
response
http://alcopop.org/me/openid/ [Mon, 20 Oct 2008 14:35:49 +0000 (10:35 -0400)]
*really* fix the link :)
http://alcopop.org/me/openid/ [Mon, 20 Oct 2008 14:35:11 +0000 (10:35 -0400)]
fix Xavier's links