summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)Author
2009-10-08Optimize away most expensive file prune calls, when refreshingJoey Hess
Benchmarking refresh of a a wiki with 25 thousand pages showed file_pruned() using most of the time. But, when refreshing, ikiwiki already knows about nearly all the files. So we can skip calling file_pruned() for those it knows about. While tricky to do, this sped up a refresh (that otherwise does no work) by 10-50%.
2009-10-08add use_pagespec and deptype functionsJoey Hess
2009-10-07add influence info to match_*Joey Hess
Also update docs, test suite.
2009-10-06linkmap: does need presence depsJoey Hess
Otherwise, removal of a page with no links will not be noticed, since no links will change.
2009-10-06linkmap: Use a combination of presence and link dependencies.Joey Hess
This makes the map be regenerated much less frequently, so larger maps are more practical to use now.
2009-10-05add rebuild handingJoey Hess
2009-10-05typoJoey Hess
2009-10-05pagestats: Use a combination of precense and link dependencies.Joey Hess
This makes it more efficient. It also fixes the same bug that I fixed in orphans recently, that only changes to the set of displayed pages were considered (or amoung), which missed changes to links on other pages to those. Probably this bug was never noticed because pagestats is most often put on a blog type page, which gets updated anyway when posts change, and thus the tag cloud was updated.
2009-10-05typoJoey Hess
2009-10-05oprhans: Use a combination of precense and link dependencies.Joey Hess
This makes it more efficient. It also fixes a longstanding bug, where if only a small set of pages were considered by orphans, changes to links on other pages failed to cause an update.
2009-10-05updateJoey Hess
2009-10-04updateJoey Hess
2009-10-04updateJoey Hess
2009-10-04postsparkline and progress: also contentless dependenciesJoey Hess
2009-10-04calendar: all dependencies are contentlessJoey Hess
2009-10-04inline: Use a contentless dependency in quick mode.Joey Hess
2009-10-04map: Use a contentless dependency unless show= is specified.Joey Hess
This makes simple maps efficient enough that they can be used on sidebars!
2009-10-03updateJoey Hess
2009-10-03Fix a bug that could lead to duplicate links being recorded for tags.Joey Hess
Here I was bitten by perl's aliasing of foreach variables to the loop array contents, and match_link accidentially changed the contents of %links. In Jon's testcase, a tag added an absolute link, which was made relative by the above bug, and then the link was added again in preprocess, and turned into a duplicate.
2009-10-02mirrorlist: Display nothing if list is empty.Joey Hess
2009-09-29Support RPC::XML 0.69's incompatable object instantiation method.Joey Hess
2009-09-28toggle, relativedate: Support templates that add attributes to the body tag.Joey Hess
2009-09-27img: Fix dependency code for full size images.Joey Hess
I had assumed that an image shown full size did not need add_depends, since a change would not need a change to the displaying page. But this is not true if the image is modified and its size changes. Then the page needs to update its img tag to reflect the current size.
2009-09-27img: Correct bug in image size calculation code.Joey Hess
If an image was resized smaller, with width and height specified to values that did not fit its aspect ratio, the image tag with/height were not adjusted to the actual size imagemagick chooses. This was broken by 03449610d6c666ba24bea68f01d896613e522278. To fix it right, it unfortunatly needs to always read the src image now, in order to determine if the image is being displayed larger, or resized smaller. When resized smaller, it then always uses the size of the thumbnail, while for larger it calculates the size. (Only way to get rid of this sometimes extra image read would be to change it to not allow displaying images larger.)
2009-09-27parentlinks: Add has_parentlinks template parameter to allow styling the ↵Joey Hess
toplevel index differently etc.
2009-09-24releasing version 3.14159265Joey Hess
2009-09-23auto.setup, auto-blog.setup: Fix sanitization of entered wikiname. Closes: ↵Joey Hess
#547378
2009-09-13note french is completeJoey Hess
2009-09-11typoJoey Hess
2009-09-11changelog and licenseJoey Hess
2009-09-11Updated Czech translation from Miroslav Kure. Closes: #546223Joey Hess
2009-09-10updateJoey Hess
2009-09-10add libfile-chdir-perl to build dependsJoey Hess
This is needed for the cvs plugin to load, which is needed for the setup file to include config stanzas for that plugin.
2009-09-10changelogJoey Hess
2009-09-10Add genwrapper hook, that can be used to add code into the C wrapper.Joey Hess
2009-09-10Fix parsing web commits from ipv6 addresses.Joey Hess
I weakended the regexp, so this matches ipv6 addresses too. It does not ensure that the address is valid, but that should not matter here. Note that addresses ending in "::" are not matched, so eg, the unspecified address will not match -- but should never appear here anyway.
2009-09-08underlay: Also allow configuring additional directories to search for ↵Joey Hess
template files in.
2009-09-08Expand banned_users; it can now include PageSpecs, which allows banning by ↵Joey Hess
IP address.
2009-09-02Add French basewiki translation from the Debian French l10n team, including ↵Joey Hess
Philippe Batailler, Alexandre Dupas, and Steve Petruzzello.
2009-08-30CVEJoey Hess
2009-08-30finalize releaseJoey Hess
2009-08-28teximg: Make TeX handle preventing unsafe things; remove insufficient blacklistJosh Triplett
TeX has configuration options that prevent unsafe things like shell escapes and insecure file reads/writes. Turn all of them on. teximg's regex-based blacklist does not suffice. For instance: [[!teximg code=""" \catcode`\%=0 %input{/etc/passwd} """]] Remove the blacklist, since the TeX configuration options seal off the underlying mechanisms more safely, and the blacklist blocks other TeX commands that can prove useful.
2009-08-28img: Don't generate new verison of image if it is scaled to be larger in ↵Joey Hess
either dimension. Although imagemagick handles even really large sizes sanely, using a page file, doing so would just waste time and disk space, since the browser can be told to resize it larger.
2009-08-28changelpgJoey Hess
2009-08-28both changes pickedJoey Hess
2009-08-28Czech basewiki enabledJoey Hess
2009-08-27htmltidy: Return an error message if tidy fails. Closes: #543722Joey Hess
On second^Wthird^Wfourth thought, putting the message into the page seems better than using stderr.
2009-08-27fix mergedJoey Hess
2009-08-27fix cherry-pickedJoey Hess
2009-08-26htmltidy: Print a warning message if tidy fails. Closes: #543722Joey Hess