Joey Hess [Sun, 6 Jul 2008 21:36:26 +0000 (17:36 -0400)]
add virus checking to attachments plugin
Joey Hess [Sun, 6 Jul 2008 21:35:50 +0000 (17:35 -0400)]
avoid uninitialised value warnings
Joey Hess [Sun, 6 Jul 2008 21:34:30 +0000 (17:34 -0400)]
Merge branch 'master' into tova
Joey Hess [Sun, 6 Jul 2008 20:56:50 +0000 (16:56 -0400)]
avoid uninitialised value
Joey Hess [Sun, 6 Jul 2008 19:52:04 +0000 (15:52 -0400)]
editpage escaping fixes
* The editpage form now uses the raw page name, not the page title, in its
'page' cgi parameter. Using the title was ambiguous and made it
impossible to tell between some pages, like "foo/bar" and "foo__47__bar",
sometimes causing the wrong page to be edited.
* This change means that some edit links need to be updated.
Force a rebuild on upgrade to this version.
* Above change also allowed really fixing escaped slashes from the blogpost
form.
Joey Hess [Sun, 6 Jul 2008 18:54:38 +0000 (14:54 -0400)]
add br at top
firefox 3 smooshed the page location dropdown up to the page title,
obscuring descenders and underscores. Maybe that's a bug, since the CSS
didn't ask it to, but I think adding the extra space of a br at the top
looks better anyway.
Joey Hess [Sun, 6 Jul 2008 18:10:31 +0000 (14:10 -0400)]
delete duplicate page, move comment to correct place
Joey Hess [Sun, 6 Jul 2008 18:07:33 +0000 (14:07 -0400)]
response
Joey Hess [Sun, 6 Jul 2008 18:05:01 +0000 (14:05 -0400)]
response
Joey Hess [Sun, 6 Jul 2008 17:59:35 +0000 (13:59 -0400)]
remove; user also has a bbb page
Joey Hess [Sun, 6 Jul 2008 17:58:47 +0000 (13:58 -0400)]
rm
Joey Hess [Sun, 6 Jul 2008 17:58:47 +0000 (13:58 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 6 Jul 2008 16:27:57 +0000 (12:27 -0400)]
typo
Joey Hess [Sun, 6 Jul 2008 02:18:04 +0000 (22:18 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 02:04:12 +0000 (22:04 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 02:03:05 +0000 (22:03 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 02:01:49 +0000 (22:01 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 02:00:39 +0000 (22:00 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:55:55 +0000 (21:55 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:52:57 +0000 (21:52 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:52:03 +0000 (21:52 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:51:23 +0000 (21:51 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:50:47 +0000 (21:50 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:49:46 +0000 (21:49 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:45:21 +0000 (21:45 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Sun, 6 Jul 2008 01:44:03 +0000 (21:44 -0400)]
web commit by http://www.openidfrance.fr/beaufils
Joey Hess [Fri, 4 Jul 2008 12:03:54 +0000 (08:03 -0400)]
web commit by http://tychoish.livejournal.com/: further clarification.
Joey Hess [Fri, 4 Jul 2008 07:21:16 +0000 (03:21 -0400)]
web commit by http://subvert.org.uk/~bma/
Joey Hess [Fri, 4 Jul 2008 07:14:29 +0000 (03:14 -0400)]
web commit by http://subvert.org.uk/~bma/
Joey Hess [Fri, 4 Jul 2008 03:14:47 +0000 (23:14 -0400)]
web commit by http://tychoish.livejournal.com/
Joey Hess [Fri, 4 Jul 2008 03:00:37 +0000 (23:00 -0400)]
web commit by http://tychoish.livejournal.com/
Joey Hess [Thu, 3 Jul 2008 22:21:07 +0000 (18:21 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Thu, 3 Jul 2008 22:20:25 +0000 (18:20 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Thu, 3 Jul 2008 22:12:01 +0000 (18:12 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Thu, 3 Jul 2008 17:42:49 +0000 (13:42 -0400)]
update
Joey Hess [Thu, 3 Jul 2008 17:42:25 +0000 (13:42 -0400)]
argh
Joey Hess [Thu, 3 Jul 2008 17:40:30 +0000 (13:40 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Thu, 3 Jul 2008 15:41:36 +0000 (11:41 -0400)]
web commit by http://alcopop.org/me/openid/: nudge headers down to h2
Joey Hess [Thu, 3 Jul 2008 07:40:56 +0000 (03:40 -0400)]
web commit by bremner: mention mnemosyne-blog
Joey Hess [Wed, 2 Jul 2008 22:23:44 +0000 (18:23 -0400)]
Merge branch 'master' into tova
Joey Hess [Wed, 2 Jul 2008 22:20:54 +0000 (18:20 -0400)]
add to basewiki
Joey Hess [Wed, 2 Jul 2008 22:08:47 +0000 (18:08 -0400)]
typo
Joey Hess [Wed, 2 Jul 2008 22:07:34 +0000 (18:07 -0400)]
link to pagespec/attachment
Joey Hess [Wed, 2 Jul 2008 22:04:14 +0000 (18:04 -0400)]
move attachment pagespec extensions docs to its own page
in the basewiki, so I can link to it there
Joey Hess [Wed, 2 Jul 2008 21:33:37 +0000 (17:33 -0400)]
factor out glob2re
Joey Hess [Wed, 2 Jul 2008 21:30:00 +0000 (17:30 -0400)]
add mimetype checking
Joey Hess [Wed, 2 Jul 2008 22:22:19 +0000 (18:22 -0400)]
Merge branch 'master' into tova
Joey Hess [Wed, 2 Jul 2008 22:20:54 +0000 (18:20 -0400)]
add to basewiki
Joey Hess [Wed, 2 Jul 2008 22:08:47 +0000 (18:08 -0400)]
typo
Joey Hess [Wed, 2 Jul 2008 22:07:34 +0000 (18:07 -0400)]
link to pagespec/attachment
Joey Hess [Wed, 2 Jul 2008 22:04:14 +0000 (18:04 -0400)]
move attachment pagespec extensions docs to its own page
in the basewiki, so I can link to it there
Joey Hess [Wed, 2 Jul 2008 21:48:16 +0000 (17:48 -0400)]
web commit by Petteri: Added debian.fi
Joey Hess [Wed, 2 Jul 2008 21:45:29 +0000 (17:45 -0400)]
test 2
Joey Hess [Wed, 2 Jul 2008 21:39:33 +0000 (17:39 -0400)]
test commit
Joey Hess [Wed, 2 Jul 2008 21:33:37 +0000 (17:33 -0400)]
factor out glob2re
Joey Hess [Wed, 2 Jul 2008 21:30:00 +0000 (17:30 -0400)]
add mimetype checking
Joey Hess [Wed, 2 Jul 2008 20:47:29 +0000 (16:47 -0400)]
update
Joey Hess [Wed, 2 Jul 2008 20:43:13 +0000 (16:43 -0400)]
response; move to bug report
Joey Hess [Wed, 2 Jul 2008 20:38:13 +0000 (16:38 -0400)]
Merge branch 'tova'
Joey Hess [Wed, 2 Jul 2008 20:37:17 +0000 (16:37 -0400)]
update
Joey Hess [Wed, 2 Jul 2008 20:33:35 +0000 (16:33 -0400)]
add user and ip support to attachment pagespecs
Joey Hess [Wed, 2 Jul 2008 20:14:18 +0000 (16:14 -0400)]
toggle: Add javascript to top of page, not to end. This avoids flicker since closed toggles will not be displayed as the page is loading.
Joey Hess [Wed, 2 Jul 2008 20:08:48 +0000 (16:08 -0400)]
xhtml fixes
Joey Hess [Wed, 2 Jul 2008 20:02:01 +0000 (16:02 -0400)]
toggle: Add support for toggles that are open by default.
Also fix to work in preview mode.
Joey Hess [Wed, 2 Jul 2008 19:42:32 +0000 (15:42 -0400)]
attachments interface visibility toggling
Joey Hess [Wed, 2 Jul 2008 19:33:52 +0000 (15:33 -0400)]
export javascript, and support default-open toggles
Joey Hess [Wed, 2 Jul 2008 19:26:52 +0000 (15:26 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Wed, 2 Jul 2008 13:30:36 +0000 (09:30 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Wed, 2 Jul 2008 00:35:54 +0000 (20:35 -0400)]
fixes
Joey Hess [Tue, 1 Jul 2008 23:05:15 +0000 (19:05 -0400)]
some fit and finish fixes
Joey Hess [Tue, 1 Jul 2008 22:45:54 +0000 (18:45 -0400)]
response
Joey Hess [Tue, 1 Jul 2008 22:41:47 +0000 (18:41 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info into tova
Joey Hess [Tue, 1 Jul 2008 22:41:30 +0000 (18:41 -0400)]
only show one sig fig
Joey Hess [Tue, 1 Jul 2008 22:40:42 +0000 (18:40 -0400)]
display human sizes
Joey Hess [Tue, 1 Jul 2008 22:08:31 +0000 (18:08 -0400)]
add both kinds of links
Joey Hess [Tue, 1 Jul 2008 21:55:16 +0000 (17:55 -0400)]
web commit by http://jcflack.myopenid.com/
Joey Hess [Tue, 1 Jul 2008 21:54:23 +0000 (17:54 -0400)]
attachment doc updates
Joey Hess [Tue, 1 Jul 2008 21:19:38 +0000 (17:19 -0400)]
basic attachment list
Joey Hess [Tue, 1 Jul 2008 20:13:47 +0000 (16:13 -0400)]
save attachments when page is saved too
A user might specify an attachment, but not click the upload button,
and just save the whole page instead.
Joey Hess [Tue, 1 Jul 2008 19:35:01 +0000 (15:35 -0400)]
check attachments in and refresh
Joey Hess [Tue, 1 Jul 2008 18:29:35 +0000 (14:29 -0400)]
web commit by http://liw.fi/: commented on ü and ikiwiki 2.50
Joey Hess [Tue, 1 Jul 2008 18:02:30 +0000 (14:02 -0400)]
add allowed attachments field to admin prefs
Joey Hess [Tue, 1 Jul 2008 17:51:22 +0000 (13:51 -0400)]
minor optimisation
Joey Hess [Tue, 1 Jul 2008 17:48:07 +0000 (13:48 -0400)]
fix expensive move code path
Joey Hess [Tue, 1 Jul 2008 17:43:32 +0000 (13:43 -0400)]
better approach for cgi upload disabling
Make it a config setting, this way subtle load order issues don't come into
play. (As much?)
Joey Hess [Tue, 1 Jul 2008 17:39:02 +0000 (13:39 -0400)]
bugfixes
Joey Hess [Tue, 1 Jul 2008 17:31:09 +0000 (13:31 -0400)]
attachment location
Put the attachment in a subdir of the page it's attached to,
unless that page is an "index" page.
Joey Hess [Tue, 1 Jul 2008 17:31:03 +0000 (13:31 -0400)]
simplification
Joey Hess [Tue, 1 Jul 2008 17:22:11 +0000 (13:22 -0400)]
reorder
canedit should fail first as it's a less expensive and harder to pass test
Joey Hess [Tue, 1 Jul 2008 17:20:42 +0000 (13:20 -0400)]
call check_canedit
Needed to prevent uploads of locked pages as attachments.
Joey Hess [Tue, 1 Jul 2008 04:43:19 +0000 (00:43 -0400)]
bugfix; support pagetype of "0"
Joey Hess [Tue, 1 Jul 2008 04:42:42 +0000 (00:42 -0400)]
copy the attachment into srcdir
Joey Hess [Tue, 1 Jul 2008 04:42:23 +0000 (00:42 -0400)]
break out fast_file_copy
Joey Hess [Tue, 1 Jul 2008 03:38:07 +0000 (23:38 -0400)]
changelog
Joey Hess [Tue, 1 Jul 2008 03:32:08 +0000 (23:32 -0400)]
fix some messages
Joey Hess [Tue, 1 Jul 2008 03:17:01 +0000 (23:17 -0400)]
add an ispage limit
Joey Hess [Tue, 1 Jul 2008 03:04:37 +0000 (23:04 -0400)]
minor improvements
Joey Hess [Tue, 1 Jul 2008 02:58:33 +0000 (22:58 -0400)]
basic attachment plugin, unfinished
Currently includes UI, and a few tests of the attachment, as well as the
framework to extend pagespecs to test attachments. Does not actually save
the file yet.
Joey Hess [Tue, 1 Jul 2008 01:15:19 +0000 (21:15 -0400)]
add support for an attachment upload field
FormBuilder makes it annoyingly hard to move a submit button to a
nonstandard place. The button name has to be "_submit" or FormBuilder will
ignore it.
Joey Hess [Tue, 1 Jul 2008 01:13:41 +0000 (21:13 -0400)]
disable cgi uploads earlier
This allows plugins that want to enable uploads to do so by changing the
value of $CGI::DISABLE_UPLOADS at some point before the cgi hook is run.