Commit Graph

9148 Commits (d522dfadd1ff0041c62a46460e1524eb0db89cb6)

Author SHA1 Message Date
Simon McVittie dedbe110f2 CGI: pad error responses with 512 bytes of spaces so IE will display them
IE displays its own error responses unless the server's was >= 512 bytes.
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807
2009-01-31 18:26:37 +00:00
Simon McVittie 170b86a2ef CGI: set up goto hook so that /ikiwiki.cgi?do=goto can be an Apache ErrorDocument 2009-01-31 18:09:24 +00:00
Simon McVittie 8322b8c9c8 CGI: add cgi_page_from_404(), which remaps a path like $REDIRECT_URL to an IkiWiki page name
Also add a regression test
2009-01-31 18:07:42 +00:00
Simon McVittie 3e290ce7ee IkiWiki::Wrapper: allow REDIRECT_STATUS and REDIRECT_URL through from environment
This is useful to act as an Apache 404 ErrorDocument.
2009-01-31 18:06:44 +00:00
Simon McVittie 78d1b2340e CGI: if the page is missing, give the "missing page" a 404 status 2009-01-31 16:51:13 +00:00
Simon McVittie 5ce3a01300 CGI: document why commenter and recentchanges_link are supported 2009-01-31 15:05:17 +00:00
Simon McVittie a981d6857f recentchanges: delete CGI hook in favour of the global one 2009-01-31 14:49:25 +00:00
Simon McVittie 4e92548ebc comments: delete cgi hook in favour of the global one 2009-01-31 14:49:12 +00:00
Simon McVittie 18f4aeffb1 CGI: if the "do" parameter is goto, recentchanges_link or commenter, redirect to a page
This can replace equivalent functionality in comments and recentchanges.
2009-01-31 14:48:44 +00:00
Simon McVittie c2dafcb4e5 CGI: add cgi_goto(CGI, [page])
This redirects to the given page (or if none is given, the page parameter
given to the CGI), or displays an error with a create link if the page
doesn't exist.
2009-01-31 14:36:23 +00:00
Joey Hess 013a5e4ca7 formatting 2009-01-30 15:17:53 -05:00
Joey Hess ec5194feb8 review= 2009-01-30 15:15:36 -05:00
Joey Hess 0d58f26321 merge dups 2009-01-30 14:07:03 -05:00
Víctor Moral 9c519bd74e - Update spanish translation. 2009-01-30 13:05:35 -05:00
Joey Hess c244e13d6b add news item for ikiwiki 3.03 2009-01-29 14:47:11 -05:00
Joey Hess e37a0812b0 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-29 14:45:58 -05:00
Joey Hess 78529b335c releasing version 3.03 2009-01-29 14:44:48 -05:00
http://weakish.int.eu.org/ a46cf100f0 removed 2009-01-29 10:28:32 -05:00
http://weakish.int.eu.org/ bbad5127a0 use mercurial instead of hg when set rcs option 2009-01-29 09:39:56 -05:00
Joey Hess 1194584dad Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-28 16:52:26 -05:00
Joey Hess deea2f42aa close this, we have comments now 2009-01-28 16:51:19 -05:00
intrigeri 4db549721d contrib/po: announce my meta-po integration branch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 19:45:12 +01:00
Joey Hess be63bed593 response 2009-01-27 13:20:33 -05:00
Joey Hess 94c932ee3d thought 2009-01-27 13:14:53 -05:00
Joey Hess db247437fd Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-01-27 12:51:13 -05:00
intrigeri af5b9b90c4 contrib/po: misc answers and questions
Step by step... :)

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 18:16:56 +01:00
intrigeri c8ce3ed440 rename hook: fixed half, added proposal for the other half
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 17:22:38 +01:00
Joey Hess c1befe5d87 update 2009-01-26 20:39:12 -05:00
Joey Hess 5dd67723c1 typo 2009-01-26 20:33:55 -05:00
Joey Hess 83163b16ab fix directive 2009-01-26 20:17:02 -05:00
Joey Hess 625ccace9a underlay: New plugin, allows pulling in additional files not in version control. (smcv) 2009-01-26 20:15:34 -05:00
Joey Hess 5c14c7db61 Merge commit 'smcv/underlay' 2009-01-26 20:13:15 -05:00
Joey Hess 9b4040992d meta: New "updated" metadata specifies a fake modification time for a page, to be output into RSS and Atom feeds. (smcv) 2009-01-26 20:11:33 -05:00
Joey Hess 848ff1bf5e Merge commit 'smcv/updated' 2009-01-26 20:05:36 -05:00
Joey Hess 1f3f33fa67 followup 2009-01-26 20:02:50 -05:00
Joey Hess aba655c6e0 comments 2009-01-26 19:46:24 -05:00
Joey Hess 16ff246d41 rename hook issues 2009-01-26 19:41:35 -05:00
intrigeri eb9c05e18c contrib/po: backlinks=>dependencies is now an option
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:27:41 +01:00
intrigeri 183f03aa96 the rename hooks names waltz seems over
Another set of hooks would not endure such heavy renaming, but the rename* hooks
actually do ;)

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27 00:02:15 +01:00
intrigeri 67ba074ba8 need_global_renamepage_hook: s/suggest/will
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:47:34 +01:00
intrigeri be43f94b9f contrib/po: update after implementing suggested changes
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 23:47:02 +01:00
intrigeri dfc50165dd po and doc/todo/need_global_renamepage_hook: response
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26 22:32:59 +01:00
Joey Hess 309719de76 new bug report 2009-01-26 14:21:49 -05:00
Joey Hess 96073d77af review 2009-01-26 14:13:52 -05:00
qiang 9b436a0347 2009-01-26 05:35:55 -05:00
Joey Hess ce39f8e000 git: Fix malformed utf8 recieved from git.
If git log outputs malformed utf8 in, eg, usernames, detect it and fix it
up. This avoids commits such as f71abc92aa
breaking things.
2009-01-25 23:13:14 -05:00
Joey Hess 51cd34afff update 2009-01-25 23:02:11 -05:00
Joey Hess ff9a61b481 update 2009-01-25 22:59:20 -05:00
Joey Hess 0c287d85bb typo 2009-01-25 22:44:38 -05:00
Joey Hess 42b3e13739 format moderation queue only at end, avoid O(N^3) bug
It was calling format hooks for each comment on the page.
When relativedate is enabled, that made it insert <script> tags
for each comment. And the browser loaded the same script over and over,
which was slow on its own. But that was nothing compared to running
the onload even over and over.. especially since the hook system
added a new call to the hook each time it loaded.

For a page with 10 comments, that caused the relativedate DOM parsing
code to run 1000 times, I think. Anyway, it was sloow. Now it runs once.
2009-01-25 22:30:28 -05:00