summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-29avoid unnecessarily rebuilding pages with complex conditionalsJoey Hess
I noticed that ikiwiki/formatting was beilg rebuilt when any page changed. This turned out to be because it contained a complex conditional "enabled(foo) or enabled(bar)", and the conditional plugin did not notice that this consisted only of enabled() tests, and copied it unchanged into add_depends. Thus, the page's dependencies were satisfied by any page change. The fix is to beef up the parser so that it can handle that and more complex conditionals, and detect if they consist only of such tests.
2008-09-29updateJoey Hess
2008-09-29more changes for removal of blog pageJoey Hess
2008-09-29use gettextJoey Hess
2008-09-29Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-09-29fix handing of case of file first created by preview but then savedJoey Hess
To handle this, avoid populating %renderedfiles in preview, and in expiry, check if the file is in %renderedfiles, if it is do not delete it since it was saved.
2008-09-29(no commit message)http://josephturian.blogspot.com/
2008-09-28responsechrysn
2008-09-27responseJoey Hess
2008-09-27Thoughts on the new wikistate variablehttp://www.cse.unsw.edu.au/~willu/
2008-09-27editpage: Be more aggressive (and less buggy) about cleaning up temporary ↵Joey Hess
files rendered during page preview.
2008-09-27Add %wikistate, which is like %pagestate except not specific to a given ↵Joey Hess
page, and is preserved across rebuilds.
2008-09-27Reorganize index file, add a format version field.Joey Hess
Upgrades to the new index format should be transparent. The version field is 3, because 1 was the old textual index, 2 was the pre-versioned format. This also includes some efficiency improvements to index loading, by not copying a hash and using a reference.
2008-09-27thoughtsJoey Hess
2008-09-27(no commit message)Plareplane
2008-09-27template: Make edit link for new templates ensure the page is located under ↵Joey Hess
toplevel templates directory.
2008-09-27htmltidy robustness fixesJoey Hess
* 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-27Export pagetitle, titlepage, linkpage.Joey Hess
2008-09-27typoJoey Hess
2008-09-27(no commit message)http://smcv.pseudorandom.co.uk/
2008-09-27analysis of most used non-exported library functions by pluginsJoey Hess
2008-09-27pagetype is exportedJoey Hess
2008-09-27Beautify urls used in various places. (smcv)Joey Hess
2008-09-27Merge commit 'smcv/beautify'Joey Hess
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-27updateJoey Hess
2008-09-27clarify when to use utlto and when to use htmlpageJoey Hess
suggestion from smcv
2008-09-27typoJoey Hess
2008-09-27Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-09-27(no commit message)intrigeri
2008-09-27typoJoey Hess
2008-09-27Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-09-27Epand usage message and add --help. Closes: #500344Joey Hess
2008-09-27just wanted to test a change. thanks.http://dtrt.org/
2008-09-26clarifyJoey Hess
2008-09-26updateJoey Hess
2008-09-26htmlscrubber: Add a config setting that can be used to disable the scrubber ↵Joey Hess
acting on a set of pages.
2008-09-26decode utf-8 in recentchanges_link parameterJoey Hess
2008-09-26update: possible solutionchrysn
2008-09-26some problem remainschrysn
2008-09-26* Responseshttp://ptecza.myopenid.com/
2008-09-25Comments and linkshttp://www.cse.unsw.edu.au/~willu/
2008-09-25close bugs for just fixed tag creation issueJoey Hess
2008-09-25remove blog from pagespecsJoey Hess
2008-09-25tag: Make edit link for new tags ensure that the tags are created inside ↵Joey Hess
tagbase, when it's set.
2008-09-25responseJoey Hess
2008-09-25Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2008-09-25git: Fix handling of utf-8 filenames in recentchanges.Joey Hess
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(no commit message)test1
2008-09-25responseJoey Hess
2008-09-25attachment: Add admin() pagespec to test if the uploading user is a wiki admin.Joey Hess