summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
AgeCommit message (Collapse)Author
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-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-27pagetype is exportedJoey 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-27typoJoey 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-25tag: Make edit link for new tags ensure that the tags are created inside ↵Joey Hess
tagbase, when it's set.
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-25attachment: Add admin() pagespec to test if the uploading user is a wiki admin.Joey Hess
2008-09-25aggregate: Avoid uninitialized value warnings for pages with no recorded ctime.Joey Hess
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-25recentchanges: Fix redirects to non-page files.Joey Hess
2008-09-23rename: Hide type field from rename form when renaming attachments.Joey Hess
2008-09-23multiple rename support is workingJoey Hess
most edge cases seem handled too
2008-09-23Merge branch 'master' into tovaJoey Hess
2008-09-23rename, remove: Don't rely on a form parameter to tell whether the page ↵Joey Hess
should be treated as an attachment.
2008-09-23factor out fixlinksJoey Hess
2008-09-23factor out do_renameJoey Hess
2008-09-23add checkbox to rename subpages tooJoey Hess
2008-09-23layoutJoey Hess
2008-09-23include perl error in warning about openidJoey Hess
it may be some other module missing, this way you can tell by reading the log
2008-09-23Fix typo in skeleton.pm.example: sessionncgi (with extra n)Simon McVittie
(cherry picked from commit 72ffc85d6acb8b99839ac98a2c23dbef410b5666)
2008-09-21remove: redirect via urlto(), avoiding mentions of index.htmlSimon McVittie
2008-09-21recentchanges: construct redirections via urlto(), avoiding mentions of ↵Simon McVittie
index.html
2008-09-21poll: Use urlto to produce redirection URLs, avoiding mentions of index.htmlSimon McVittie
2008-09-21editpage: beautify redirection URLs, avoiding exposing the implementation ↵Simon McVittie
detail that index.html exists
2008-09-20handle templates with special characters in nameJoey Hess
The template field is really a link, so needs to be converted to a page name in stored state.
2008-09-20avoid uninitialised value warningJoey Hess
2008-09-20add missing page name sanity checkJoey Hess
2008-09-20avoid warning if percent value is not numericJoey Hess
2008-09-20avoid duplicate template lookupJoey Hess
2008-09-20revert colon part of changeJoey Hess
2008-09-20edittemplate patch from WilluJoey Hess
* edittemplate: Default new page file type to the same type as the template. (willu) * edittemplate: Add "silent" parameter. (Willu) * edittemplate: Link to template, to allow creating it. (Willu)
2008-09-19i18nJoey Hess
2008-09-19progress: Display an error if the progress cannot be parsed, and allow the ↵Joey Hess
percent parameter to only optionally end with "%".
2008-09-17fix check for nonexistant contentJoey Hess
2008-09-17store ctime for use by expiry codeJoey Hess
The expiry code does need to make sure to sort in ctime order, even if expiring by count, so it expires the right ones.
2008-09-17aggregate: Support atom feeds with only a summary element, and no content ↵Joey Hess
elements.
2008-09-17editdiff: Broken since 2.62 due to wrong syntax, now fixed.Joey Hess
2008-09-17aggregate: Allow expirecount to work on the first pass. (expireage still ↵Joey Hess
needs to wait for the pages to be rendered though)
2008-09-14rootpage is not a pagespecJoey Hess
So ./posts won't be interpreted right. Just "posts" should do, I think.
2008-09-11listdirectives: Enable use of the directives underlay.Joey Hess
2008-09-11change git hook descriptionJoey Hess
It doesn't have to be a post-update hook.
2008-09-09goodstuff updateJoey Hess
* goodstuff: Remove otl plugin from the bundle since it needs a significant external dependency and is not commonly used. If you use otl, make sure you explicitly enable it now. * goodstuff: Add more, progress, and table plugins to the bundle.
2008-09-09img: Support sizes like 200x. Closes: #475149Joey Hess
2008-09-09progress: New plugin to generate progress bars (willu)Joey Hess
2008-09-08ddate: Stop clobbering timeformat when not enabled.Joey Hess