summaryrefslogtreecommitdiff
path: root/IkiWiki
AgeCommit message (Collapse)Author
2010-04-20Merge branch 'file_pruned_revamp'Joey Hess
2010-04-20bugfixJoey Hess
So this is the one place that does need to canonpath and compare, as two argument file_pruned used to.
2010-04-20darcs: ensure whole darcs query manifest output is consumedJoey Hess
By a stroke of luck, after a long & full day, I happened to remember that in the morning, I had seen someone on irc mention that darcs query manifest doesn't like it if its full output is not consumed. So contrary to the usual case where bug reports sent via irc are like messages written in sand before the new tide, this one was seen and fixed. (But use http://ikiwiki.info/bugs/ next time!)
2010-04-20bugfixJoey Hess
Avoid file_pruned triggering on absolute paths causing the whole comments_pending directory being pruned. Simplify code.
2010-04-20Merge branch 'master' into file_pruned_revampJoey Hess
2010-04-20fix uninitialized value warningJoey Hess
$cgi->params('do') may not be defined. The CSRF code may delete all cgi params. This uninitalized value was introduced when do=register support was added recently.
2010-04-20typoJoey Hess
2010-04-20fix stat to use unmunged filenameJoey Hess
2010-04-20oops, fix for no_chdir modeJoey Hess
$_ will be absolute then
2010-04-20switch to 1 parameter version of file_prunedJoey Hess
Another bit of code that didn't realize that File::Find sets $_ to the relative filename.
2010-04-20remove explicit absolute testJoey Hess
file_pruned now tests for that
2010-04-20use one parameter form of file_pruned here tooJoey Hess
In File::Find, $_ is relative to the current directory, so that is ok. Also, the directory name doesn't need to be stripped from $_.
2010-04-20clarify why absolute is tested & stripped hereJoey Hess
file_prune also fails on absolute filenames now
2010-04-20Merge branch 'master' into file_pruned_revampJoey Hess
2010-04-20fix minor bug if a page's name is "0"Joey Hess
2010-04-20no need to return content from postscan hookJoey Hess
2010-04-19change wordingJoey Hess
This is more accurate when a file that is not a page is what is removed.
2010-04-19move message into if blockJoey Hess
2010-04-17unfinished file_prune revampJoey Hess
Many calls to file_prune were incorrectly calling it with 2 parameters. In cases where the filename being checked is relative to the srcdir, that is not needed. Made absolute filenames be pruned. (This won't work for the 2 parameter call style.)
2010-04-17bzr: changelog and refactorJoey Hess
2010-04-17Fix get_ctime implementation in Bazaar plugin, add get_mtime implementation.Jelmer Vernooij
2010-04-17autoindex: Switch to using %wikistate instead of abusing $pagestate{index}.Joey Hess
2010-04-16squelch warningJoey Hess
2010-04-16implement rcs_getmtime for svnJoey Hess
This is a slow implementation; it runs svn log once per file still, rather than running svn log once on the whole srcdir. I did it this way because in my experience, svn log, run on a directory, does not always list every change to files inside that directory. I don't know why, and I use svn as little as possible these days.
2010-04-16automatically run --gettime, and optimise it for gitJoey Hess
* Automatically run --gettime the first time ikiwiki is run on a given srcdir. * Optimise --gettime for git, so it's appropriatly screamingly fast. (This could be done for other backends too.) * However, --gettime for git no longer follows renames. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane.
2010-04-16--gettime revampJoey Hess
* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
2010-04-15sidebar plugin optimisationsJoey Hess
The pagetemplate hook may be called multiple times, for example when pages are inlined into a page. Sidebars were being calculated each time that happened, only to be thrown away when the final pagetemplate hook was called. Avoid this unnecessary work. Remove stored sidebar content on use to save some memory.
2010-04-15calendar: Improved display of arrows.Joey Hess
2010-04-15conditional: Fix bug that forced "all" mode off by default.Joey Hess
Commit b7351daacd0d4a041a51b43d99b7bf589de54f53 introduced the bug.
2010-04-15fix sidebar directive parameter handlingJoey Hess
2010-04-15allow sidebar directive to enable use of sidebar pageJoey Hess
This way, the example blog always has a sidebar on the index page, but not the overhead of sidebars on all the other pages. And if a user wants to, they can enable global_sidebars to switch to sidebars on every page.
2010-04-15sidebar: Add global_sidebars setting.Joey Hess
2010-04-15sidebar: Now a sidebar directive can be used to override the sidebar shown ↵Joey Hess
on a page.
2010-04-15disable feeds in raw modeJoey Hess
2010-04-15typoJoey Hess
2010-04-15enhance pagestats and rework example blog front pageJoey Hess
* pagestats: Class parameter can be used to override default class for custom styling. * pagestats: Use style=list to get a list of tags, scaled by use like in a tag cloud. This is useful to put in a sidebar. * Rework example blog front page.
2010-04-15calendar: Add archive_pagespec, which is used by ikiwiki-calendar to specify ↵Joey Hess
which pages to include on the calendar archive pages. (The pagespec can still also be specified on the ikiwiki-calendar command line.)
2010-04-10po: Configuring the same language as master and slave confuses processing; ↵Joey Hess
so filter out such a misconfiguration.
2010-04-10Merge remote branch 'smcv/unescaped-meta'Joey Hess
Conflicts: IkiWiki/Plugin/meta.pm
2010-04-09po: Check that translated underlay directories exist before using them for ↵Joey Hess
master language.
2010-04-06minor style etc changesJoey Hess
2010-04-06don't force a rebuildJoey Hess
Rebuild can be needed sometimes, but not always, so undef.
2010-04-06Merge remote branch 'smcv/ready/sort-package'Joey Hess
Conflicts: debian/NEWS
2010-04-06Merge remote branch 'smcv/ready/link-types'Joey Hess
2010-04-06HTML-encode meta title, description, guid on output, but not in the pagestateSimon McVittie
This makes them consistent with the rest of the meta keys. A wiki rebuild will be needed on upgrade to this version; until the wiki is rebuilt, double-escaping will occur in the titles of pages that have not changed.
2010-04-06Only store authorsort in meta pagestate if it differs from authorSimon McVittie
2010-04-06Only store titlesort in meta pagestate if it differs from titleSimon McVittie
2010-04-05Use $a and $b for SortSpec cmp callbacksSimon McVittie
2010-04-05txt: Add a special case for robots.txt.Joey Hess
2010-04-05comments: Fix missing entity encoding in title.Joey Hess
The meta title data set by comments needs to be encoded the same way that meta encodes it. (NB The security implications of the missing encoding are small.) Note that meta's encoding of title, description, and guid data, and not other data, is probably a special case that should be removed. Instead, these values should be encoded when used. I have avoided doing so here because that would mean forcing a wiki rebuild on upgrade to have the data consitently encoded.