| Commit message (Expand) | Author | Age |
* | t/inline.t: accept translations of "Add a new post titled:" (Closes: #779365) | Simon McVittie | 2015-03-01 |
* | Standardize on --long-option instead of -long-option•••[[forum/refresh_and_setup]] indicates some confusion between --setup
and -setup. Both work, but it's clearer if we stick to one in
documentation and code.
A 2012 commit to [[plugins/theme]] claims that "-setup" is required
and "--setup" won't work, but I cannot find any evidence in ikiwiki's
source code that this has ever been the case.
| Simon McVittie | 2015-03-01 |
* | textile-double-escape-bug.t: tolerate any valid encoding•••Discount in current Debian unstable turns the IURI href into a URI
by encoding the Unicode as UTF-8 and %-escaping each byte.
That is valid, and matches Wikipedia's expectations, but was breaking
this test for me.
It would also be entirely valid (and lead to equivalent parsing) if the
รถ was represented as ö, ö or ö in the text and/or the href.
| Simon McVittie | 2015-01-06 |
* | Turn positive test for wrong behaviour into a TODO test for right behaviour•••We don't want ikiwiki's tests to stop passing when
Text::Textile is fixed.
| Simon McVittie | 2015-01-06 |
* | Document an annoying Text::Textile encoding bug. | Amitai Schlair | 2014-12-22 |
* | Add regression test for libdir/libdirs | Simon McVittie | 2014-12-09 |
* | Merge branch 'ready/html5' | Simon McVittie | 2014-11-26 |
|\ |
|
| * | We no longer have a test for DTD-valid XHTML 1.0, but at least check well-for...•••This means that people can do XSLT nonsense if they want to.
The failures are currently marked TODO because not everything in the
docwiki is in fact well-formed.
| Simon McVittie | 2014-10-16 |
| * | Remove now-redundant test-cases for a non-default html5 setting | Simon McVittie | 2014-10-16 |
| * | Now that we're always using HTML5, <base href> can be relative | Simon McVittie | 2014-10-16 |
| * | Always produce HTML5 doctype and new attributes, but not new elements•••According to caniuse.com, a significant fraction of Web users are
still using Internet Explorer versions that do not support HTML5
sectioning elements. However, claiming we're XHTML 1.0 Strict
means we can't use features invented in the last 12 years, even if
they degrade gracefully in older browsers (like the role and placeholder
attributes).
This means our output is no longer valid according to any particular
DTD. Real browsers and other non-validator user-agents have never
cared about DTD compliance anyway, so I don't think this is a real loss.
| Simon McVittie | 2014-10-16 |
* | | Work around Debian #771047: use a non-blank SVG for the regression test•••Inkscape loses the bounding box of a SVG with no content when it
converts it to EPS, and ImageMagick does not have a special case for
converting SVG to PNG with Inkscape in one step (which Inkscape can do);
it prefers to convert SVG to EPS with Inkscape, then EPS to whatever.
| Simon McVittie | 2014-11-26 |
|/ |
|
* | Extract test subs for each site. No change meant. | Amitai Schlair | 2014-10-12 |
* | Extract run_cgi(). No functional change intended. | Amitai Schlair | 2014-10-12 |
* | Extract check_generated_content(). Same output. | Amitai Schlair | 2014-10-11 |
* | Extract check_cgi_mode_bits(). No change intended. | Amitai Schlair | 2014-10-10 |
* | Extract thoroughly_rebuild(), a slight test change.•••I didn't try to parameterize when a test should fail when we can't
remove ikiwiki.cgi because there already isn't one. (Hooray, natural
language.) Instead, we stop worrying about it and always tolerate
ENOENT.
| Amitai Schlair | 2014-10-10 |
* | Extract write_setup_file(). No functional change.•••Test output differs only by the line numbers of the TODO items.
| Amitai Schlair | 2014-10-10 |
* | simplify IPC::Run check (same behavior) | Amitai Schlair | 2014-10-06 |
* | In html5 mode, generate a host- or protocol-relative <base> for the CGI•••This increases the number of situations in which we do the right thing.
| Simon McVittie | 2014-10-05 |
* | Add reverse_proxy option which hard-codes cgiurl in CGI output•••This solves several people's issues with the CGI trying to be
too clever when IkiWiki is placed behind a reverse-proxy.
| Simon McVittie | 2014-10-05 |
* | Avoid mixed content when cgiurl is https but url is not | Simon McVittie | 2014-10-05 |
* | Use protocol-relative URIs if cgiurl and url differ only by authority (hostname) | Simon McVittie | 2014-10-05 |
* | Fix a test-case that actually just repeated the previous one instead | Simon McVittie | 2014-10-05 |
* | Force use of $config{url} as top URL in w3mmode | Simon McVittie | 2014-10-05 |
* | relative URLs test: pass an appropriate PERL5LIB through•••We were previously using the system copy of IkiWiki, because the CGI
resets its environment.
| Simon McVittie | 2014-10-05 |
* | add the beginnings of a test for CGI/static URL interactions | Simon McVittie | 2014-10-05 |
* | Search $PATH for "validate", since the test does.•••"validate" is a very generic command name, and it validates against
an old standard, so the value of this test is questionable.
| Amitai Schlair | 2014-10-01 |
* | img test: skip SVG tests if unsupported by Image::Magick | Simon McVittie | 2014-09-16 |
* | Pass -templatedir to get this test passing again. | Amitai Schlair | 2014-09-15 |
* | Merge branch 'ready/templatebody' | Simon McVittie | 2014-09-15 |
|\ |
|
| * | Add templatebody plugin and directive, and enable it by default•••Also add a regression test for templatebody.
| Simon McVittie | 2014-03-05 |
* | | Merge branch 'ready/autoindex-more-often' | Simon McVittie | 2014-09-15 |
|\ \ |
|
| * | | Allow creation of transient index pages for directories outside srcdir•••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
| Simon McVittie | 2014-07-04 |
| * | | Add a regression test for autoindex_commit => 1 | Simon McVittie | 2014-07-04 |
| * | | autoindex test: check what happens to files in transient/normal underlays | Simon McVittie | 2014-07-04 |
* | | | extend rst test to cover a fixed bug | Simon McVittie | 2014-09-14 |
* | | | extend regression test for inline to cover inlining, show, reverse | Simon McVittie | 2014-09-14 |
* | | | Merge branch 'ready/imgforpdf-and-more' | Simon McVittie | 2014-09-12 |
|\ \ \ |
|
| * | | | use readfile() instead of reinventing it•••This avoids potential action-at-a-distance from locally redefining $/
but never reaching the end of the redefinition's scope.
| Simon McVittie | 2014-09-01 |
| * | | | unit test for bugs/image_rescaling_distorts_with_small_pictures | chrysn | 2014-07-15 |
| * | | | make img unittest easier to debug | chrysn | 2014-07-15 |
| * | | | img plugin: split resizing calculations and actual resizing•••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.
| chrysn | 2014-07-15 |
| * | | | drop unittest workaround for new perlmagick•••just install -extra to make it work
| chrysn | 2014-07-04 |
| * | | | drop unittest workaround for perlmagick•••this was actually http://bugs.debian.org/753770
| chrysn | 2014-07-04 |
| * | | | make unittest work with all all three packages that provide perlmagick | chrysn | 2014-07-04 |
| * | | | add unittests for img•••this focuses on the features introduced in
http://ikiwiki.info/bugs/svg_and_pdf_conversion_fails/
| chrysn | 2014-07-04 |
| | |/
| |/| |
|
* | | | inline: postform=no should take precedence over rootpage existing•••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.
| Simon McVittie | 2014-07-04 |
| |/
|/| |
|
* | | fix test case ogg mime type•••Seems that a better mime type is detected now on Debian stable.
| Joey Hess | 2014-06-13 |
|/ |
|
* | Merge remote-tracking branch 'remotes/smcv/ready/template-syntax-test' | Joey Hess | 2014-02-23 |
|\ |
|