Commit Graph

8080 Commits (e51089e11fc1093a253fc13ebfbd5d55912eba59)

Author SHA1 Message Date
Joey Hess 8d04a1de61 thoughts 2008-09-27 16:15:16 -04:00
Plareplane 6817a794a4 2008-09-27 15:23:49 -04:00
Joey Hess 55a0361a47 template: Make edit link for new templates ensure the page is located under toplevel templates directory. 2008-09-27 15:18:36 -04:00
Joey Hess 67f38832aa htmltidy robustness fixes
* htmltidy: Avoid returning undef if tidy fails. Also avoid returning the
  untidied content if tidy crashes. In either case, it seems best to tidy
  the content to nothing.
* htmltidy: Avoid spewing tidy errors to stderr.
2008-09-27 14:27:42 -04:00
Joey Hess 9ec9d6901d Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
Joey Hess bfab23ce33 typo 2008-09-27 14:27:42 -04:00
http://smcv.pseudorandom.co.uk/ 6d98b2265e 2008-09-27 14:14:27 -04:00
Joey Hess 8bedf14f33 analysis of most used non-exported library functions by plugins 2008-09-27 13:39:56 -04:00
Joey Hess 316ef6571b pagetype is exported 2008-09-27 13:34:46 -04:00
Joey Hess 3b39e93699 Beautify urls used in various places. (smcv) 2008-09-27 13:03:21 -04:00
Joey Hess 7351d545d9 Merge commit 'smcv/beautify'
Conflicts:

	IkiWiki/Plugin/recentchanges.pm

Note that smcv's approach of using urlto also gets the url right when
redirecting to a non-html file, which is a better approach than my recent
fix to recentchanges
2008-09-27 13:00:48 -04:00
Joey Hess 7e513f22a6 update 2008-09-27 12:55:45 -04:00
Joey Hess dddf5d55fd clarify when to use utlto and when to use htmlpage
suggestion from smcv
2008-09-27 12:54:10 -04:00
Joey Hess f181962dfc typo 2008-09-27 12:50:39 -04:00
Joey Hess c84c7d6ea7 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-27 12:49:10 -04:00
intrigeri f9a000b24b 2008-09-27 12:40:26 -04:00
Joey Hess 748fc2fcd4 typo 2008-09-27 11:53:55 -04:00
Joey Hess 415e9a678d Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-27 11:17:39 -04:00
Joey Hess 60a80be0b3 Epand usage message and add --help. Closes: #500344 2008-09-27 11:17:19 -04:00
http://dtrt.org/ bf9ae466be just wanted to test a change. thanks. 2008-09-27 06:33:38 -04:00
Joey Hess 78e4d5bc6f clarify 2008-09-26 19:31:19 -04:00
Joey Hess 70a87e2fd9 update 2008-09-26 18:16:14 -04:00
Joey Hess 89256ab870 htmlscrubber: Add a config setting that can be used to disable the scrubber acting on a set of pages. 2008-09-26 18:07:37 -04:00
Joey Hess 83429adf04 decode utf-8 in recentchanges_link parameter 2008-09-26 15:40:01 -04:00
chrysn 1d12dfc57c update: possible solution 2008-09-26 12:44:09 -04:00
chrysn 947a50fe5d some problem remains 2008-09-26 09:05:01 -04:00
http://ptecza.myopenid.com/ 585786b0bc * Responses 2008-09-26 05:45:21 -04:00
http://www.cse.unsw.edu.au/~willu/ a0b53cf26b Comments and links 2008-09-25 21:44:46 -04:00
Joey Hess fa763214e3 close bugs for just fixed tag creation issue 2008-09-25 20:27:35 -04:00
Joey Hess d20b365b4b remove blog from pagespecs 2008-09-25 20:25:26 -04:00
Joey Hess bce2a34c19 tag: Make edit link for new tags ensure that the tags are created inside tagbase, when it's set. 2008-09-25 20:25:07 -04:00
Joey Hess 6cea3a0b03 response 2008-09-25 19:08:21 -04:00
Joey Hess 6535c61746 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-25 18:27:10 -04:00
Joey Hess 965f7310fe git: Fix handling of utf-8 filenames in recentchanges.
Seems that the problem is that once the \nnn coming from git is converted
to a single character, decode_utf8 decides that this is a standalone
character, and not part of a multibyte utf-8 sequence, and so does nothing.
I tried playing with the utf-8 flag, but that didn't work. Instead, use
decode("utf8"), which doesn't have the same qualms, and successfully
decodes the octets into a utf-8 character.

Rant:

Think for a minute about fact that any and every program that parses git-log,
or git-show, etc output to figure out what files were in a commit needs to
contain this snippet of code, to convert from git-log's wacky output to a
regular character set:

if ($file =~ m/^"(.*)"$/) {
	($file=$1) =~ s/\\([0-7]{1,3})/chr(oct($1))/eg;
}

(And it's only that "simple" if you don't care about filenames with
embedded \n or \t or other control characters.)

Does that strike anyone else as putting the parsing and conversion in the
wrong place (ie, in gitweb, ikiwiki, etc, etc)? Doesn't anyone who actually
uses git with utf-8 filenames get a bit pissed off at seeing \xxx\xxx
instead of the utf-8 in git-commit and other output?
2008-09-25 18:26:42 -04:00
test1 d6d3f3a36b 2008-09-25 18:17:05 -04:00
Joey Hess a4215312d0 response 2008-09-25 17:11:29 -04:00
Joey Hess e1ba137317 attachment: Add admin() pagespec to test if the uploading user is a wiki admin. 2008-09-25 16:49:30 -04:00
Joey Hess 093e815440 aggregate: Avoid uninitialized value warnings for pages with no recorded ctime.
I saw this in the wild, apparently a page was not present on disk, but was
in the aggregate db, and not marked as expired either. Not sure how that
happened, but such pages should get marked as expired since they have an
effectively zero ctime.
2008-09-25 15:38:51 -04:00
Joey Hess 4c6d359b5f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-25 14:40:50 -04:00
Joey Hess 3f5ba52ee0 recentchanges: Fix redirects to non-page files. 2008-09-25 13:46:12 -04:00
http://ptecza.myopenid.com/ 0720a6f5fb * Response to response to response ;) 2008-09-25 04:42:05 -04:00
Joey Hess 9e55aa7f17 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-24 21:29:29 -04:00
Joey Hess 3f35e2abbe document silent=yes parameter. 2008-09-24 21:28:59 -04:00
http://www.cse.unsw.edu.au/~willu/ 8e68780b96 Response to response 2008-09-24 21:03:08 -04:00
Joey Hess 9b4c4835c1 add news item for ikiwiki 2.65 2008-09-24 18:49:05 -04:00
Joey Hess b127e86b35 releasing version 2.65 2008-09-24 18:14:09 -04:00
http://ptecza.myopenid.com/ 8b762f8868 * Response 2008-09-24 04:52:26 -04:00
http://www.cse.unsw.edu.au/~willu/ 3c65e5dc93 Add alternate patch 2008-09-24 00:45:03 -04:00
http://www.cse.unsw.edu.au/~willu/ 6036a954a0 Comments 2008-09-23 22:39:21 -04:00
http://www.cse.unsw.edu.au/~willu/ a6769bf663 Response 2008-09-23 22:13:07 -04:00