| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
This increases the number of situations in which we do the right thing.
|
| |
| |
| |
| |
| | |
This solves several people's issues with the CGI trying to be
too clever when IkiWiki is placed behind a reverse-proxy.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
We were previously using the system copy of IkiWiki, because the CGI
resets its environment.
|
| | |
|
| |
| |
| |
| |
| | |
"validate" is a very generic command name, and it validates against
an old standard, so the value of this test is questionable.
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Also add a regression test for templatebody.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After this change autoindex creates index pages also for empty directories
included in underlays, but only if it isn't going to commit them to the
srcdir ($config{autoindex_commit} = 0).
Inspired by a patch from Tuomas Jormola.
Bug-Debian: http://bugs.debian.org/611068
|
| | | | |
|
| | | | |
|
| |_|/
|/| | |
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This avoids potential action-at-a-distance from locally redefining $/
but never reaching the end of the redefinition's scope.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
there is now a size calculating part (which chooses a final size) and a
scaling part (which triggers if the sizes calculated by the former
indicate a downscaling).
this solves the issue of unproportional upscalings
(bugs/image_rescaling_distorts_with_small_pictures).
also, "small" pdf files (or pdf files without explicit size settings),
which would not be converted under the old mechanism, now get rendered
to pngs.
this commit affects a unit test: while svgs were previously
unconditionally rendered to pngs, this now only happens on downscaling.
this is intentional -- while a small version of an svg graphic is
likely to be more compact when rendered (eg as a preview), a large
version would not have that benefit, and why convert something that
browsers basically can show and be inconsistend with how other images
are handled. the new unit test simply makes the original svg larger to
check for the same behaviros as before.
|
| | | |
| | | |
| | | |
| | | | |
just install -extra to make it work
|
| | | |
| | | |
| | | |
| | | | |
this was actually http://bugs.debian.org/753770
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
this focuses on the features introduced in
http://ikiwiki.info/bugs/svg_and_pdf_conversion_fails/
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
If someone has explicitly disabled the postform, it seems reasonable
from a least-astonishment point of view for that to take precedence
over rootpage, even though that makes rootpage useless.
Also add a regression test; so far, this is all it tests.
|
|/
|
|
| |
Seems that a better mime type is detected now on Debian stable.
|
|\ |
|
| |
| |
| |
| |
| | |
Previously, this test assigned the first glob to @templates, and
evaluated the second for its (practically nonexistent) side-effects.
|
|\ \ |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
it's needed to get mime types in the feed
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
My change did cause this state to be retained. I hope this is not a
problem.
Afaik, plugins test if they were disabled before by looking at the toplevel
plugin state, not the per-page plugin state. So the only remaining problem
might be
a) A plugin is disabled but its state keeps being saved. Which is not
ideal, perhaps, but the large speedup of my optimisation seems worth it.
b) A plugin might have been enabled, be disabled, and get re-enabled, and
see old state from before. I don't see how this would be different from
the plugin seeing any other old state, though, so hopefully no breakage.
My optmisation looks a little more risky, but I still hope I can keep it.
|
| |
|
| |
|
|\ |
|
| | |
|
|\|
| |
| |
| |
| | |
Conflicts:
doc/todo/fancypodcast.mdwn
|
| |
| |
| |
| |
| | |
Otherwise, tests that don't end by deleting t/tmp (which is a useful
change when debugging a failing test) would cause this one to fail.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|