Commit Graph

6992 Commits (985a34b09e8b856e700b9ecccd707cb54e9fc659)

Author SHA1 Message Date
Joey Hess 985a34b09e fixup editpage links on rename 2008-07-23 19:20:11 -04:00
Joey Hess 7befc6deb3 link fixup on rename working 2008-07-23 19:12:05 -04:00
Joey Hess 4918c164e8 preserve case of subpage 2008-07-23 19:03:37 -04:00
Joey Hess 8b063a24d9 case preservation 2008-07-23 18:57:27 -04:00
Joey Hess 4691a2ad39 add renamepage hooks
Implemented for regular wikilinks, with a test suite.
2008-07-23 18:14:20 -04:00
Joey Hess 96dab37a8e Merge branch 'master' into tova 2008-07-23 17:34:01 -04:00
Joey Hess b95669c3c8 Rebuild pages that change their type. (Gabriel McManus) 2008-07-23 16:13:37 -04:00
Gabriel McManus d9062864ee 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)
2008-07-23 16:00:26 -04:00
Joey Hess 7fa3a2f83b response 2008-07-23 15:05:59 -04:00
Joey Hess 335a6a59e6 Merge branch 'master' into tova 2008-07-23 15:00:07 -04:00
Joey Hess 1d1767192c attachment: Do not escape _ when determining attachment filenames. 2008-07-23 14:58:39 -04:00
AlexandreDupas eca900e659 corrected link to the wikiannounce program 2008-07-23 09:04:28 -04:00
http://ptecza.myopenid.com/ 89ca6143ee * Update 2008-07-23 07:19:24 -04:00
rdennis 107bcb28d3 fixed description for open parameter 2008-07-23 06:49:18 -04:00
http://ptecza.myopenid.com/ 5467015fbd * Typo 2008-07-23 06:12:12 -04:00
http://ptecza.myopenid.com/ f213303f43 * Bug? 2008-07-23 06:11:18 -04:00
http://www.cse.unsw.edu.au/~willu/ 8ca397c2c6 Report bug in map wrt bare directories 2008-07-22 22:48:19 -04:00
bremner c1b94f7110 2008-07-22 22:02:11 -04:00
Joey Hess 41b0c029c8 formatting 2008-07-22 20:33:51 -04:00
Joey Hess 29f32d0ba3 add a list of broken links after the rename 2008-07-22 20:30:54 -04:00
Joey Hess 1c9a3cb82b add a rename summary 2008-07-22 20:17:03 -04:00
Joey Hess d76c10cba2 Split out error messages from editpage.tmpl into several separate templates. 2008-07-22 19:58:34 -04:00
Joey Hess 2b9615194e fix gettext 2008-07-22 19:44:31 -04:00
Joey Hess 421559b230 edit page fixup in postrename 2008-07-22 18:17:11 -04:00
Joey Hess e5ea40bf20 updates 2008-07-22 17:52:36 -04:00
Joey Hess 89b3bb7e38 check for absolute paths 2008-07-22 17:38:31 -04:00
Joey Hess 9776bbf853 Don't allow uploading an attachment with the same name as an existing page, to avoid confusion. 2008-07-22 17:12:20 -04:00
Joey Hess 114e20e948 typo 2008-07-22 17:03:28 -04:00
Joey Hess cbddb5a4b8 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.
2008-07-22 16:14:33 -04:00
Joey Hess cf9620074a qualifiy 2008-07-22 15:07:07 -04:00
Joey Hess bac47cdecd make message a bit more generic 2008-07-22 15:06:59 -04:00
Joey Hess cbf1c8b810 rename checks improvements 2008-07-22 14:01:23 -04:00
Joey Hess 569d31d875 permission checking improvements
Break out into function so it can be done up-front before confirmation too.
2008-07-22 13:29:54 -04:00
Joey Hess ac1226031e avoid uninitialised value 2008-07-22 13:23:11 -04:00
Joey Hess a759a864f3 Merge commit 'origin/master' into tova 2008-07-22 13:17:04 -04:00
http://lollipopman.myopenid.com/ 3ac17b8328 2008-07-22 09:02:45 -04:00
http://lollipopman.myopenid.com/ ee2c3290a9 2008-07-22 09:01:36 -04:00
http://lollipopman.myopenid.com/ b083b409bf 2008-07-22 08:59:53 -04:00
http://gmcmanus.myopenid.com/ b2917c76cb bug when pages changing extension; new patch 2008-07-22 05:33:24 -04:00
http://gmcmanus.myopenid.com/ 602ad172d0 patch to prevent email obfuscation 2008-07-22 05:10:46 -04:00
http://brian.may.myopenid.com/ 4515726bfe response to response 2008-07-22 01:28:20 -04:00
http://gmcmanus.myopenid.com/ 88ff7480e6 bug already noted, so mark as done 2008-07-22 01:22:14 -04:00
http://gmcmanus.myopenid.com/ 2e51d5c74d email obfuscation by Text::Markdown undone by HTML::Scrubber 2008-07-21 23:25:17 -04:00
Joey Hess 80f95cc598 improve docs 2008-07-21 22:46:15 -04:00
Joey Hess a3e16cd29f really add 2008-07-21 22:44:37 -04:00
Joey Hess 0c9fe2f99c use check_canattach
As noted, this may be overkill..
2008-07-21 22:44:19 -04:00
Joey Hess f9cbe871ad factor out check_canattach
Other plugins will need to use this.
2008-07-21 22:41:31 -04:00
Joey Hess 96c529826d skeleton rename plugin 2008-07-21 22:30:43 -04:00
Joey Hess ed05e40566 error if nothing selected 2008-07-21 22:11:24 -04:00
Joey Hess 6e243a45e5 probably redundant symlink check 2008-07-21 21:57:58 -04:00