From: joey Date: Fri, 23 Jun 2006 00:51:19 +0000 (+0000) Subject: make the bugs page work like the todo page X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/cbfe2af8b5e28a1c33125467bee81edc7ac03ccc make the bugs page work like the todo page --- diff --git a/doc/bugs.mdwn b/doc/bugs.mdwn index 1f357d858..9fe267a96 100644 --- a/doc/bugs.mdwn +++ b/doc/bugs.mdwn @@ -1,42 +1,9 @@ -* Has bugs updating things if the bestlink of a page changes due to - adding/removing a page. For example, if Foo/Bar links to "Baz", which is - Foo/Baz, and Foo/Bar/Baz gets added, it will update the links in Foo/Bar - to point to it, but will forget to update the linkbacks in Foo/Baz. - -* And if Foo/Bar/Baz is then removed, it forgets to update Foo/Bar to link - back to Foo/Baz. +This is ikiwiki's bug list. Link bugs to [[bugs/done]] when done. - -- is this still true? (Yes (as of 1.0)) +[[inline pages="bugs/* !bugs/done !link(bugs/done) !*/Discussion" rootpage="bugs" show="30"]] -* If I try to do a web commit, to a svn+ssh repo, it fails with - "Host key verification failed." - I think that the setuid isn't fully taking; it should be running as me, - but commit log shows www-data. So maybe it has the wrong username? Or - EUID/Real UID screwage. -* Can't put the source in a directory named .source; the page finder skips - that due to too broad exclusion of any dotfile in a path. -* [[ikiwiki]] should go to the same place as [[index]] (on this wiki). -* Web browsers don't word-wrap lines in submitted text, which makes editing a - page that someone wrote in a web browser annoying (`gqip` is vim user's - friend here). Is there any way to improve this? -* The diff links in RecentChanges go to a viewcvs backtrace if the rev in question is when the page was added. Is this a viewcvs bug, or a behavior ikiwiki needs to work around? - - As a special case, there should certianly be no history link for - pages generated from the underlaydir as it can never work for them. -* If a page stops inlining anthing, its rss feed file - will linger around and not be deleted. -* RSS output contains relative links. Ie. http://kitenet.net/~joey/blog/index.rss contains a link to http://kitenet.net/~joey/blog/../blog.html -* If a file in the srcdir is removed, exposing a file in the underlaydir, - ikiwiki will not notice the change and rebuild it until the file in the - underlaydir gets a mtime newer than the mtime the removed file had. -* ikiwiki will generate html formatted error messages to the command - line if --cgi is set, even if it's not yet running as a cgi -* The meta plugin doesn't affect a page if it's being inlined. Probably - setting the title with it should override the title of the blog post. -* svn log messages containing utf-8 (such as r773) don't get displayed - right in RecentChanges. The problem is ikiwiki runs svn log in locale C, - which makes it spit out eacaped charcters for utf-8 chars. If it's run in - locale en_US.UTF-8, it would be ok, but that would require the system - have that locale. +---- - Seems that the right fix for this is to use svn log --xml, which is - always utf-8 and come up with a parser for that. +# Full list of open bugs: + +[[inline pages="bugs/* !bugs/done !link(bugs/done) !*/Discussion" archive="yes"]] diff --git a/doc/bugs/bestlink_change_update_issue.mdwn b/doc/bugs/bestlink_change_update_issue.mdwn new file mode 100644 index 000000000..f8f132327 --- /dev/null +++ b/doc/bugs/bestlink_change_update_issue.mdwn @@ -0,0 +1,9 @@ +* Has bugs updating things if the bestlink of a page changes due to + adding/removing a page. For example, if Foo/Bar links to "Baz", which is + Foo/Baz, and Foo/Bar/Baz gets added, it will update the links in Foo/Bar + to point to it, but will forget to update the linkbacks in Foo/Baz. + +* And if Foo/Bar/Baz is then removed, it forgets to update Foo/Bar to link + back to Foo/Baz. + + -- is this still true? (Yes (as of 1.0)) diff --git a/doc/bugs/diff_links_to_backtrace.mdwn b/doc/bugs/diff_links_to_backtrace.mdwn new file mode 100644 index 000000000..16f84fafb --- /dev/null +++ b/doc/bugs/diff_links_to_backtrace.mdwn @@ -0,0 +1,5 @@ +The diff links in RecentChanges go to a viewcvs backtrace if the rev in +question is when the page was added. Is this a viewcvs bug, or a behavior +ikiwiki needs to work around? + - As a special case, there should certianly be no history link for + pages generated from the underlaydir as it can never work for them. diff --git a/doc/bugs/html_errors.mdwn b/doc/bugs/html_errors.mdwn new file mode 100644 index 000000000..5a60e0449 --- /dev/null +++ b/doc/bugs/html_errors.mdwn @@ -0,0 +1,2 @@ +ikiwiki will generate html formatted error messages to the command +line if --cgi is set, even if it's not yet running as a cgi diff --git a/doc/bugs/meta_inline.mdwn b/doc/bugs/meta_inline.mdwn new file mode 100644 index 000000000..cd3d5ec2b --- /dev/null +++ b/doc/bugs/meta_inline.mdwn @@ -0,0 +1,2 @@ +The meta plugin doesn't affect a page if it's being inlined. Probably +setting the title with it should override the title of the blog post. diff --git a/doc/bugs/rss_feed_cleanup_on_delete.mdwn b/doc/bugs/rss_feed_cleanup_on_delete.mdwn new file mode 100644 index 000000000..5fe2bcd55 --- /dev/null +++ b/doc/bugs/rss_feed_cleanup_on_delete.mdwn @@ -0,0 +1,2 @@ +If a page stops inlining anthing, its rss feed file will linger around and +not be deleted. diff --git a/doc/bugs/rss_output_relative_links.mdwn b/doc/bugs/rss_output_relative_links.mdwn new file mode 100644 index 000000000..ff607cbb3 --- /dev/null +++ b/doc/bugs/rss_output_relative_links.mdwn @@ -0,0 +1,3 @@ +RSS output contains relative links. Ie. +http://kitenet.net/~joey/blog/index.rss contains a link to +http://kitenet.net/~joey/blog/../blog.html diff --git a/doc/bugs/source_in_dotdir.mdwn b/doc/bugs/source_in_dotdir.mdwn new file mode 100644 index 000000000..1b8390bae --- /dev/null +++ b/doc/bugs/source_in_dotdir.mdwn @@ -0,0 +1,2 @@ +Can't put the source in a directory named .source; the page finder skips +that due to too broad exclusion of any dotfile in a path. diff --git a/doc/bugs/svn+ssh_commit_fail.mdwn b/doc/bugs/svn+ssh_commit_fail.mdwn new file mode 100644 index 000000000..a26a0b0e4 --- /dev/null +++ b/doc/bugs/svn+ssh_commit_fail.mdwn @@ -0,0 +1,5 @@ +If I try to do a web commit, to a svn+ssh repo, it fails with +"Host key verification failed." +I think that the setuid isn't fully taking; it should be running as me, +but commit log shows www-data. So maybe it has the wrong username? Or +EUID/Real UID screwage. diff --git a/doc/bugs/underlaydir_file_expose.mdwn b/doc/bugs/underlaydir_file_expose.mdwn new file mode 100644 index 000000000..0c6f55425 --- /dev/null +++ b/doc/bugs/underlaydir_file_expose.mdwn @@ -0,0 +1,3 @@ +If a file in the srcdir is removed, exposing a file in the underlaydir, +ikiwiki will not notice the change and rebuild it until the file in the +underlaydir gets a mtime newer than the mtime the removed file had. diff --git a/doc/bugs/utf8_svn_log.mdwn b/doc/bugs/utf8_svn_log.mdwn new file mode 100644 index 000000000..7266ab926 --- /dev/null +++ b/doc/bugs/utf8_svn_log.mdwn @@ -0,0 +1,9 @@ +svn log messages containing utf-8 (such as r773) don't get displayed +right in RecentChanges. The problem is ikiwiki runs svn log in locale C, +which makes it spit out eacaped charcters for utf-8 chars. If it's run in +locale en_US.UTF-8, it would be ok, but that would require the system +have that locale. + +Seems that the right fix for this is to use svn log --xml, which is +always utf-8 and come up with a parser for that. Also fixes the spoofing +issue in [[security]]. diff --git a/doc/bugs/word_wrap.mdwn b/doc/bugs/word_wrap.mdwn new file mode 100644 index 000000000..8a69bb31a --- /dev/null +++ b/doc/bugs/word_wrap.mdwn @@ -0,0 +1,3 @@ +Web browsers don't word-wrap lines in submitted text, which makes editing a +page that someone wrote in a web browser annoying (`gqip` is vim user's +friend here). Is there any way to improve this? diff --git a/doc/news.mdwn b/doc/news.mdwn index b0e1d5764..816fc74d3 100644 --- a/doc/news.mdwn +++ b/doc/news.mdwn @@ -4,4 +4,5 @@ feed. [[inline pages="news/* !*/Discussion" rootpage="news" show="30"]] -By the way, some other pages with RSS feeds about ikiwiki include [[plugins]], [[TODO]] and [[TODO/done]]. +By the way, some other pages with RSS feeds about ikiwiki include +[[plugins]], [[TODO]] and [[bugs]]. diff --git a/doc/todo.mdwn b/doc/todo.mdwn index 814c87fc2..3caa4a88e 100644 --- a/doc/todo.mdwn +++ b/doc/todo.mdwn @@ -1,9 +1,9 @@ Welcome to ikiwiki's todo list. Link items to [[todo/done]] when done. -[[inline pages="todo/* !todo/done !link(done) !*/Discussion" rootpage="todo" show="30"]] +[[inline pages="todo/* !todo/done !link(todo/done) !*/Discussion" rootpage="todo" show="30"]] ---- # Full list of open items: -[[inline pages="todo/* !todo/done !link(done) !*/Discussion" archive="yes"]] +[[inline pages="todo/* !todo/done !link(todo/done) !*/Discussion" archive="yes"]] diff --git a/doc/todo/1.0_release_blockers.mdwn b/doc/todo/1.0_release_blockers.mdwn index c8ef70ebd..0312155cf 100644 --- a/doc/todo/1.0_release_blockers.mdwn +++ b/doc/todo/1.0_release_blockers.mdwn @@ -4,4 +4,4 @@ The following need to be resolved before ikiwiki 1.0 can be released: That's all! -[[done]] +[[todo/done]] diff --git a/doc/todo/blogs.mdwn b/doc/todo/blogs.mdwn index 4537a4fb5..8c9cba593 100644 --- a/doc/todo/blogs.mdwn +++ b/doc/todo/blogs.mdwn @@ -1,4 +1,4 @@ ikiwiki needs to support blogging. Make subpages of a page turn into a blog with a special post-processor rune. -[[done]] +[[todo/done]] diff --git a/doc/todo/done.mdwn b/doc/todo/done.mdwn index f139349ea..847d0a2e5 100644 --- a/doc/todo/done.mdwn +++ b/doc/todo/done.mdwn @@ -1,3 +1,3 @@ recently fixed [[TODO]] items -[[inline pages="link(done) !*/Discussion" show="10"]] +[[inline pages="link(todo/done) !todo !*/Discussion" show="10"]] diff --git a/doc/todo/htmlvalidation.mdwn b/doc/todo/htmlvalidation.mdwn index 1810a63d7..6fe2d56f2 100644 --- a/doc/todo/htmlvalidation.mdwn +++ b/doc/todo/htmlvalidation.mdwn @@ -44,4 +44,4 @@ This page is now valid. Test: [validate this page](http://validator.w3.org/check?url=referer) -[[done]] +[[todo/done]] diff --git a/doc/todo/lists.mdwn b/doc/todo/lists.mdwn index 912666cd7..4fc3e68b4 100644 --- a/doc/todo/lists.mdwn +++ b/doc/todo/lists.mdwn @@ -1,3 +1,3 @@ * list of all missing pages - [[done]] + [[todo/done]] diff --git a/doc/todo/logo.mdwn b/doc/todo/logo.mdwn index 7436d7efc..616720e44 100644 --- a/doc/todo/logo.mdwn +++ b/doc/todo/logo.mdwn @@ -1,4 +1,4 @@ ikiwiki needs a logo. I'm thinking something simple like the word "ikiwiki" with the first "k" backwards; drawn to show that it's "wiki" reflected. -[[done]] +[[todo/done]] diff --git a/doc/todo/mailnotification.mdwn b/doc/todo/mailnotification.mdwn index 28a63a935..37fe9a55a 100644 --- a/doc/todo/mailnotification.mdwn +++ b/doc/todo/mailnotification.mdwn @@ -56,4 +56,4 @@ should be safe. --[[WillThompson]]) I'm deferring these nicities until there's some demonstrated demand --[[Joey]]. -[[done]] +[[todo/done]] diff --git a/doc/todo/search.mdwn b/doc/todo/search.mdwn index 4a94ac4a2..79342f286 100644 --- a/doc/todo/search.mdwn +++ b/doc/todo/search.mdwn @@ -2,4 +2,4 @@ * full text (use third-party tools?) - hyperestraier looks nice -[[done]] +[[todo/done]] diff --git a/doc/todo/strftime.mdwn b/doc/todo/strftime.mdwn index d68bed68f..3c854391f 100644 --- a/doc/todo/strftime.mdwn +++ b/doc/todo/strftime.mdwn @@ -1,4 +1,4 @@ There should be a --strftime switch that controls how all the dates are formatted. -[[done]] +[[todo/done]] diff --git a/doc/todo/toplevel_index.mdwn b/doc/todo/toplevel_index.mdwn new file mode 100644 index 000000000..7f766f79c --- /dev/null +++ b/doc/todo/toplevel_index.mdwn @@ -0,0 +1,7 @@ +Some inconsistences around the toplevel [[index]] page: + +* The page's title is "index"; the linkpath looks like "ikiwiki / index". + IMHO it would be nicer if the title were "ikiwiki" and the linkpath was + just "ikiwiki" (for this wiki). +* [[ikiwiki]] is a separate page; links to [[ikiwiki]] should better go to + the [[index]] though. diff --git a/doc/todo/underlay.mdwn b/doc/todo/underlay.mdwn index c8003b7f4..9bcfea62b 100644 --- a/doc/todo/underlay.mdwn +++ b/doc/todo/underlay.mdwn @@ -10,4 +10,4 @@ one from the underlaydir. -- Fixed by scanning srcdir first, then underlaydir, and refusing to add any files from underlaydir if they also exist in the srcdir. However, see [[security]] for caveats. -[[done]] +[[todo/done]] diff --git a/doc/todo/upgradehooks.mdwn b/doc/todo/upgradehooks.mdwn index d7afa9d1b..47da73443 100644 --- a/doc/todo/upgradehooks.mdwn +++ b/doc/todo/upgradehooks.mdwn @@ -5,4 +5,4 @@ this. Let there be an /etc/ikiwiki/wikis, which just lists setup files and the user who owns them. postinst loops through, su's, and runs --setup. Voila! -[[done]] +[[todo/done]] diff --git a/doc/todo/utf8.mdwn b/doc/todo/utf8.mdwn index 221f627e1..6d2798a41 100644 --- a/doc/todo/utf8.mdwn +++ b/doc/todo/utf8.mdwn @@ -12,4 +12,4 @@ Notes: * Apache "AddDefaultCharset on" settings will not play well with utf-8 pages. Turn it off. -[[done]] +[[todo/done]] diff --git a/doc/todo/wikilinkfeatures.mdwn b/doc/todo/wikilinkfeatures.mdwn index 5a2fa8433..bf32dafbb 100644 --- a/doc/todo/wikilinkfeatures.mdwn +++ b/doc/todo/wikilinkfeatures.mdwn @@ -1,4 +1,4 @@ - \[[John|Fred]] is a Wikipedia method for linking to the one page while displaying it as the other, Kyle would like this. -[[done]] +[[todo/done]]