aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Collapse)AuthorAge
* avoid unnecessarily rebuilding pages with complex conditionalsJoey Hess2008-09-29
| | | | | | | | | | | | 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.
* use gettextJoey Hess2008-09-29
|
* fix handing of case of file first created by preview but then savedJoey Hess2008-09-29
| | | | | | 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.
* editpage: Be more aggressive (and less buggy) about cleaning up temporary ↵Joey Hess2008-09-27
| | | | files rendered during page preview.
* Reorganize index file, add a format version field.Joey Hess2008-09-27
| | | | | | | | | | 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.
* template: Make edit link for new templates ensure the page is located under ↵Joey Hess2008-09-27
| | | | toplevel templates directory.
* htmltidy robustness fixesJoey Hess2008-09-27
| | | | | | | * 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.
* Export pagetitle, titlepage, linkpage.Joey Hess2008-09-27
|
* typoJoey Hess2008-09-27
|
* pagetype is exportedJoey Hess2008-09-27
|
* Merge commit 'smcv/beautify'Joey Hess2008-09-27
|\ | | | | | | | | | | | | | | | | | | 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
| * remove: redirect via urlto(), avoiding mentions of index.htmlSimon McVittie2008-09-21
| |
| * recentchanges: construct redirections via urlto(), avoiding mentions of ↵Simon McVittie2008-09-21
| | | | | | | | index.html
| * poll: Use urlto to produce redirection URLs, avoiding mentions of index.htmlSimon McVittie2008-09-21
| |
| * editpage: beautify redirection URLs, avoiding exposing the implementation ↵Simon McVittie2008-09-21
| | | | | | | | detail that index.html exists
* | typoJoey Hess2008-09-27
| |
* | htmlscrubber: Add a config setting that can be used to disable the scrubber ↵Joey Hess2008-09-26
| | | | | | | | acting on a set of pages.
* | decode utf-8 in recentchanges_link parameterJoey Hess2008-09-26
| |
* | tag: Make edit link for new tags ensure that the tags are created inside ↵Joey Hess2008-09-25
| | | | | | | | tagbase, when it's set.
* | git: Fix handling of utf-8 filenames in recentchanges.Joey Hess2008-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?
* | attachment: Add admin() pagespec to test if the uploading user is a wiki admin.Joey Hess2008-09-25
| |
* | aggregate: Avoid uninitialized value warnings for pages with no recorded ctime.Joey Hess2008-09-25
| | | | | | | | | | | | | | 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.
* | recentchanges: Fix redirects to non-page files.Joey Hess2008-09-25
| |
* | rename: Hide type field from rename form when renaming attachments.Joey Hess2008-09-23
| |
* | multiple rename support is workingJoey Hess2008-09-23
| | | | | | | | most edge cases seem handled too
* | Merge branch 'master' into tovaJoey Hess2008-09-23
|\ \
| * | rename, remove: Don't rely on a form parameter to tell whether the page ↵Joey Hess2008-09-23
| | | | | | | | | | | | should be treated as an attachment.
* | | factor out fixlinksJoey Hess2008-09-23
| | |
* | | factor out do_renameJoey Hess2008-09-23
| | |
* | | add checkbox to rename subpages tooJoey Hess2008-09-23
|/ /
* | layoutJoey Hess2008-09-23
| |
* | Print a debug message if a page has multiple source files.Joey Hess2008-09-23
| |
* | include perl error in warning about openidJoey Hess2008-09-23
| | | | | | | | | | it may be some other module missing, this way you can tell by reading the log
* | Fix typo in skeleton.pm.example: sessionncgi (with extra n)Simon McVittie2008-09-23
| | | | | | | | (cherry picked from commit 72ffc85d6acb8b99839ac98a2c23dbef410b5666)
* | handle templates with special characters in nameJoey Hess2008-09-20
| | | | | | | | | | The template field is really a link, so needs to be converted to a page name in stored state.
* | avoid uninitialised value warningJoey Hess2008-09-20
| |
* | add missing page name sanity checkJoey Hess2008-09-20
| |
* | avoid warning if percent value is not numericJoey Hess2008-09-20
| |
* | avoid duplicate template lookupJoey Hess2008-09-20
| |
* | revert colon part of changeJoey Hess2008-09-20
| |
* | edittemplate patch from WilluJoey Hess2008-09-20
|/ | | | | | | * 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)
* i18nJoey Hess2008-09-19
|
* progress: Display an error if the progress cannot be parsed, and allow the ↵Joey Hess2008-09-19
| | | | percent parameter to only optionally end with "%".
* fix check for nonexistant contentJoey Hess2008-09-17
|
* store ctime for use by expiry codeJoey Hess2008-09-17
| | | | | The expiry code does need to make sure to sort in ctime order, even if expiring by count, so it expires the right ones.
* aggregate: Support atom feeds with only a summary element, and no content ↵Joey Hess2008-09-17
| | | | elements.
* editdiff: Broken since 2.62 due to wrong syntax, now fixed.Joey Hess2008-09-17
|
* aggregate: Allow expirecount to work on the first pass. (expireage still ↵Joey Hess2008-09-17
| | | | needs to wait for the pages to be rendered though)
* rootpage is not a pagespecJoey Hess2008-09-14
| | | | So ./posts won't be interpreted right. Just "posts" should do, I think.
* listdirectives: Enable use of the directives underlay.Joey Hess2008-09-11
|