Joey Hess [Wed, 23 Jul 2008 22:14:20 +0000 (18:14 -0400)]
add renamepage hooks
Implemented for regular wikilinks, with a test suite.
Joey Hess [Wed, 23 Jul 2008 21:34:01 +0000 (17:34 -0400)]
Merge branch 'master' into tova
Joey Hess [Wed, 23 Jul 2008 20:13:37 +0000 (16:13 -0400)]
Rebuild pages that change their type. (Gabriel McManus)
Gabriel McManus [Sun, 20 Jul 2008 07:40:16 +0000 (17:40 +1000)]
Rebuild pages that change their type.
Previously, if a page changed its type but not its mtime
(e.g. mv page.txt page.mdwn), then it would not be rebuilt.
Now, check if the source of a page has changed,
in which case force a rebuild of that page.
(cherry picked from commit
b6a3b8a683fed7a7f6d77a5b3f2dfbd14c849843)
Joey Hess [Wed, 23 Jul 2008 19:05:59 +0000 (15:05 -0400)]
response
Joey Hess [Wed, 23 Jul 2008 19:00:07 +0000 (15:00 -0400)]
Merge branch 'master' into tova
Joey Hess [Wed, 23 Jul 2008 18:58:39 +0000 (14:58 -0400)]
attachment: Do not escape _ when determining attachment filenames.
AlexandreDupas [Wed, 23 Jul 2008 13:04:28 +0000 (09:04 -0400)]
corrected link to the wikiannounce program
http://ptecza.myopenid.com/ [Wed, 23 Jul 2008 11:19:24 +0000 (07:19 -0400)]
* Update
rdennis [Wed, 23 Jul 2008 10:49:18 +0000 (06:49 -0400)]
fixed description for open parameter
http://ptecza.myopenid.com/ [Wed, 23 Jul 2008 10:12:12 +0000 (06:12 -0400)]
* Typo
http://ptecza.myopenid.com/ [Wed, 23 Jul 2008 10:11:18 +0000 (06:11 -0400)]
* Bug?
http://www.cse.unsw.edu.au/~willu/ [Wed, 23 Jul 2008 02:48:19 +0000 (22:48 -0400)]
Report bug in map wrt bare directories
bremner [Wed, 23 Jul 2008 02:02:11 +0000 (22:02 -0400)]
Joey Hess [Wed, 23 Jul 2008 00:33:51 +0000 (20:33 -0400)]
formatting
Joey Hess [Wed, 23 Jul 2008 00:30:54 +0000 (20:30 -0400)]
add a list of broken links after the rename
Joey Hess [Wed, 23 Jul 2008 00:17:03 +0000 (20:17 -0400)]
add a rename summary
Joey Hess [Tue, 22 Jul 2008 23:58:34 +0000 (19:58 -0400)]
Split out error messages from editpage.tmpl into several separate templates.
Joey Hess [Tue, 22 Jul 2008 23:44:31 +0000 (19:44 -0400)]
fix gettext
Joey Hess [Tue, 22 Jul 2008 22:17:11 +0000 (18:17 -0400)]
edit page fixup in postrename
Joey Hess [Tue, 22 Jul 2008 21:52:36 +0000 (17:52 -0400)]
updates
Joey Hess [Tue, 22 Jul 2008 21:38:31 +0000 (17:38 -0400)]
check for absolute paths
Joey Hess [Tue, 22 Jul 2008 21:12:20 +0000 (17:12 -0400)]
Don't allow uploading an attachment with the same name as an existing page, to avoid confusion.
Joey Hess [Tue, 22 Jul 2008 21:03:28 +0000 (17:03 -0400)]
typo
Joey Hess [Tue, 22 Jul 2008 20:14:33 +0000 (16:14 -0400)]
add rcs_commit_staged and rcs_rename
Implemented for git and svn so far.
Note that rcs_commit_staged does assume that the rcs has the ability to
"stage" multiple changes for a later commit. Support for this varies, but
all we really care about is staging removals and renames, which, AFAIK, all
modern rcs's support.
Joey Hess [Tue, 22 Jul 2008 19:07:07 +0000 (15:07 -0400)]
qualifiy
Joey Hess [Tue, 22 Jul 2008 19:06:59 +0000 (15:06 -0400)]
make message a bit more generic
Joey Hess [Tue, 22 Jul 2008 18:00:23 +0000 (14:00 -0400)]
rename checks improvements
Joey Hess [Tue, 22 Jul 2008 17:29:54 +0000 (13:29 -0400)]
permission checking improvements
Break out into function so it can be done up-front before confirmation too.
Joey Hess [Tue, 22 Jul 2008 17:23:11 +0000 (13:23 -0400)]
avoid uninitialised value
Joey Hess [Tue, 22 Jul 2008 17:17:04 +0000 (13:17 -0400)]
Merge commit 'origin/master' into tova
http://lollipopman.myopenid.com/ [Tue, 22 Jul 2008 13:02:45 +0000 (09:02 -0400)]
http://lollipopman.myopenid.com/ [Tue, 22 Jul 2008 13:01:36 +0000 (09:01 -0400)]
http://lollipopman.myopenid.com/ [Tue, 22 Jul 2008 12:59:53 +0000 (08:59 -0400)]
http://gmcmanus.myopenid.com/ [Tue, 22 Jul 2008 09:33:24 +0000 (05:33 -0400)]
bug when pages changing extension; new patch
http://gmcmanus.myopenid.com/ [Tue, 22 Jul 2008 09:10:46 +0000 (05:10 -0400)]
patch to prevent email obfuscation
http://brian.may.myopenid.com/ [Tue, 22 Jul 2008 05:28:20 +0000 (01:28 -0400)]
response to response
http://gmcmanus.myopenid.com/ [Tue, 22 Jul 2008 05:22:14 +0000 (01:22 -0400)]
bug already noted, so mark as done
http://gmcmanus.myopenid.com/ [Tue, 22 Jul 2008 03:25:17 +0000 (23:25 -0400)]
email obfuscation by Text::Markdown undone by HTML::Scrubber
Joey Hess [Tue, 22 Jul 2008 02:46:15 +0000 (22:46 -0400)]
improve docs
Joey Hess [Tue, 22 Jul 2008 02:44:37 +0000 (22:44 -0400)]
really add
Joey Hess [Tue, 22 Jul 2008 02:44:19 +0000 (22:44 -0400)]
use check_canattach
As noted, this may be overkill..
Joey Hess [Tue, 22 Jul 2008 02:41:31 +0000 (22:41 -0400)]
factor out check_canattach
Other plugins will need to use this.
Joey Hess [Tue, 22 Jul 2008 02:30:43 +0000 (22:30 -0400)]
skeleton rename plugin
Joey Hess [Tue, 22 Jul 2008 02:11:24 +0000 (22:11 -0400)]
error if nothing selected
Joey Hess [Tue, 22 Jul 2008 01:57:58 +0000 (21:57 -0400)]
probably redundant symlink check
Joey Hess [Tue, 22 Jul 2008 01:23:58 +0000 (21:23 -0400)]
Merge branch 'master' into tova
Joey Hess [Mon, 21 Jul 2008 22:33:09 +0000 (18:33 -0400)]
Add allow_symlinks_before_srcdir config setting
can be used to avoid a security check that is a good safe default, but
problimatic overkill in some situations.
I decided to underdocument this, because the option looks ugly, and I don't
want people randomly turning it on because it looks like a good idea. So if
you need it, you'll get an error message mentioning how to fix it.
Joey Hess [Mon, 21 Jul 2008 22:26:14 +0000 (18:26 -0400)]
Avoid troublesome abs_path calls in wrapper setup
As documented in the forum post.
Joey Hess [Mon, 21 Jul 2008 22:20:55 +0000 (18:20 -0400)]
response
Joey Hess [Mon, 21 Jul 2008 22:13:03 +0000 (18:13 -0400)]
response
Joey Hess [Mon, 21 Jul 2008 21:27:50 +0000 (17:27 -0400)]
Merge branch 'master' into tova
Conflicts:
debian/changelog
Joey Hess [Mon, 21 Jul 2008 21:26:54 +0000 (17:26 -0400)]
Really fix bug with links to pages with names containing colons
Previous fix mised a few cases.
Joey Hess [Mon, 21 Jul 2008 21:18:14 +0000 (17:18 -0400)]
remove test
Joey Hess [Mon, 21 Jul 2008 21:16:10 +0000 (17:16 -0400)]
test
Joey Hess [Mon, 21 Jul 2008 21:15:12 +0000 (17:15 -0400)]
typo
Joey Hess [Mon, 21 Jul 2008 21:14:43 +0000 (17:14 -0400)]
test
Joey Hess [Mon, 21 Jul 2008 21:12:17 +0000 (17:12 -0400)]
response
Joey Hess [Mon, 21 Jul 2008 21:06:40 +0000 (17:06 -0400)]
changelog
Joey Hess [Mon, 21 Jul 2008 21:05:40 +0000 (17:05 -0400)]
Merge commit 'smcv/master'
Simon McVittie [Mon, 21 Jul 2008 21:01:11 +0000 (22:01 +0100)]
Don't prepend tagbase to tags if they start with "./" or "/".
That syntax made little sense previously, and this allows sites to put
"most" of their tags under $tagbase.
Joey Hess [Mon, 21 Jul 2008 20:53:52 +0000 (16:53 -0400)]
don't show an error if the image is missing, instead, a broken link
Joey Hess [Mon, 21 Jul 2008 20:53:46 +0000 (16:53 -0400)]
remove debugging
Joey Hess [Mon, 21 Jul 2008 20:38:40 +0000 (16:38 -0400)]
avoid internal error message when img uses just-deleted page
I think this used to be a fatal error, not just inline error, so I don't
know why it was never noticed, but if a page that an img directive mentions
gets deleted, bestlink() returns a file that no longer exists, and
srcfile() throws an error.
Note that bestlink's behavior of returning a deleted file could be
considered buggy. But, if it's changed to not do that, the page with the img
on it is not updated at all when the file is removed.
Joey Hess [Mon, 21 Jul 2008 20:21:59 +0000 (16:21 -0400)]
typos
Joey Hess [Mon, 21 Jul 2008 20:21:46 +0000 (16:21 -0400)]
typos
Joey Hess [Mon, 21 Jul 2008 20:20:02 +0000 (16:20 -0400)]
need to untaint..
Joey Hess [Mon, 21 Jul 2008 20:18:28 +0000 (16:18 -0400)]
a few bugfixes
Including a check the the file is in the srcdir, as opposed to some other
directory.
Mathias [Mon, 21 Jul 2008 20:04:17 +0000 (16:04 -0400)]
Joey Hess [Mon, 21 Jul 2008 19:02:29 +0000 (15:02 -0400)]
support for removing attachments
Joey Hess [Mon, 21 Jul 2008 18:22:57 +0000 (14:22 -0400)]
simplified confirmation form
also, there's no titlepage conversion issues
Joey Hess [Mon, 21 Jul 2008 18:03:39 +0000 (14:03 -0400)]
touchups
Joey Hess [Mon, 21 Jul 2008 17:59:45 +0000 (13:59 -0400)]
document remove plugin
Joey Hess [Mon, 21 Jul 2008 17:56:58 +0000 (13:56 -0400)]
update on some of the conflict cases
Joey Hess [Mon, 21 Jul 2008 17:53:34 +0000 (13:53 -0400)]
redirect after removal
http://smcv.pseudorandom.co.uk/ [Mon, 21 Jul 2008 17:50:59 +0000 (13:50 -0400)]
Fix one missed instance of a directive without [[! (it was committed after I branched)
Joey Hess [Mon, 21 Jul 2008 17:50:12 +0000 (13:50 -0400)]
basically, removal works
Still need to consider all the edge cases..
Joey Hess [Mon, 21 Jul 2008 17:40:06 +0000 (13:40 -0400)]
All rcs backends need to implement rcs_remove
(Done for svn, git.)
Joey Hess [Mon, 21 Jul 2008 17:31:58 +0000 (13:31 -0400)]
form tweaks; use title
Joey Hess [Mon, 21 Jul 2008 17:23:07 +0000 (13:23 -0400)]
implemented form state saving and retrieval
This is overkill for delete, since it's only used on Cancel. But it will be
crucial for rename, so as to restore any pending edits after renaming a
page.
Joey Hess [Mon, 21 Jul 2008 16:54:23 +0000 (12:54 -0400)]
basic removal form skeleton
Joey Hess [Mon, 21 Jul 2008 16:15:55 +0000 (12:15 -0400)]
editpage: Don't show attachments link when attachments are disabled.
Joey Hess [Mon, 21 Jul 2008 16:08:26 +0000 (12:08 -0400)]
thoughts
Joey Hess [Mon, 21 Jul 2008 15:41:32 +0000 (11:41 -0400)]
prefix_directives enabled in doc wiki, all preprocessor directives converted. (Simon McVittie)
Joey Hess [Mon, 21 Jul 2008 15:33:43 +0000 (11:33 -0400)]
Merge commit 'smcv/prefix'
Conflicts:
doc/news/version_2.49.mdwn
Also fixed the newest news file (and my wikiannounce script).
Joey Hess [Mon, 21 Jul 2008 15:20:30 +0000 (11:20 -0400)]
add news item for ikiwiki 2.54
Joey Hess [Mon, 21 Jul 2008 15:19:01 +0000 (11:19 -0400)]
releasing version 2.54
Joey Hess [Mon, 21 Jul 2008 13:59:50 +0000 (09:59 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Mon, 21 Jul 2008 11:49:28 +0000 (07:49 -0400)]
rename skeleton.pm
Add '.example' so it's not installed with the other plugins.
Joey Hess [Mon, 21 Jul 2008 11:49:07 +0000 (07:49 -0400)]
elaborate on this idea
Simon McVittie [Mon, 21 Jul 2008 11:47:07 +0000 (12:47 +0100)]
Migrate escaped directives (\[[) in the rest of doc to have \[[! prefix
Simon McVittie [Mon, 21 Jul 2008 11:46:47 +0000 (12:46 +0100)]
Migrate escaped directives (\[[) in doc/bugs to have \[[! prefix
Simon McVittie [Mon, 21 Jul 2008 11:46:35 +0000 (12:46 +0100)]
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
Simon McVittie [Mon, 21 Jul 2008 11:45:54 +0000 (12:45 +0100)]
Migrate escaped directives (\[[) in doc/todo to have \[[! prefix
Simon McVittie [Mon, 21 Jul 2008 11:32:31 +0000 (12:32 +0100)]
Migrate everything else via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Simon McVittie [Mon, 21 Jul 2008 11:32:14 +0000 (12:32 +0100)]
Migrate doc/users via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Simon McVittie [Mon, 21 Jul 2008 11:31:57 +0000 (12:31 +0100)]
Migrate doc/plugins via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Simon McVittie [Mon, 21 Jul 2008 11:31:33 +0000 (12:31 +0100)]
Migrate doc/todo via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Simon McVittie [Mon, 21 Jul 2008 11:31:04 +0000 (12:31 +0100)]
Migrate doc/bugs via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
http://www.cse.unsw.edu.au/~willu/ [Mon, 21 Jul 2008 10:26:20 +0000 (06:26 -0400)]
Thoughts on example setup file