aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'smcv/ready/limit'Simon McVittie2015-11-30
|\
| * Rename show parameter of [[!inline]] and [[!pagestats]] to limitSimon McVittie2014-09-14
| | | | | | | | | | | | | | The old name still works, if its value is numeric. This name allows a non-numeric "show" to mean the same thing it does for [[!map]] (show title, show description, etc.).
* | Add a test for unconfigured git identitySimon McVittie2015-11-30
| |
* | tests: consistently use done_testing instead of no_planSimon McVittie2015-11-30
| |
* | t/img.t: do not spuriously skipSimon McVittie2015-11-30
| |
* | Run autopkgtest tests using autodep8 and the pkg-perl team's infrastructureSimon McVittie2015-11-30
| |
* | Fix [[!meta name=foo]] by closing the open quote.Amitai Schlair2015-08-22
| |
* | Sans ImageMagick, bail gracefully.Amitai Schlair2015-08-22
| |
* | Mark a few straggling test scripts +x.Amitai Schlair2015-08-18
| |
* | Test many behaviors of the meta directive.Amitai Schlair2015-08-15
| |
* | Squelch regex deprecation warnings from Perl 5.22.Amitai Schlair2015-06-14
| | | | | | | | | | | | Specifically: "Unescaped left brace in regex is deprecated, passed through in regex"
* | img test: set old timestamp on source file that will changeSimon McVittie2015-06-14
| | | | | | | | This is so that the test will pass even if it takes less than 1 second.
* | img: stop ImageMagick trying to be clever if filenames contain a colonSimon McVittie2015-06-13
| | | | | | | | | | | | | | | | | | | | $im->Read() takes a filename-like argument with several sets of special syntax. Most of the possible metacharacters are escaped by the default `wiki_file_chars` (and in any case not particularly disruptive), but the colon ":" is not. It seems the way to force ImageMagick to treat colons within the filename as literal is to prepend a colon, so do that.
* | t/inline.t: accept translations of "Add a new post titled:" (Closes: #779365)Simon McVittie2015-03-01
| |
* | Standardize on --long-option instead of -long-optionSimon McVittie2015-03-01
| | | | | | | | | | | | | | | | | | | | [[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.
* | textile-double-escape-bug.t: tolerate any valid encodingSimon McVittie2015-01-06
| | | | | | | | | | | | | | | | | | | | 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 &#xf6 in the text and/or the href.
* | Turn positive test for wrong behaviour into a TODO test for right behaviourSimon McVittie2015-01-06
| | | | | | | | | | We don't want ikiwiki's tests to stop passing when Text::Textile is fixed.
* | Document an annoying Text::Textile encoding bug.Amitai Schlair2014-12-22
| |
* | Add regression test for libdir/libdirsSimon McVittie2014-12-09
| |
* | Merge branch 'ready/html5'Simon McVittie2014-11-26
|\ \
| * | We no longer have a test for DTD-valid XHTML 1.0, but at least check ↵Simon McVittie2014-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | well-formedness 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.
| * | Remove now-redundant test-cases for a non-default html5 settingSimon McVittie2014-10-16
| | |
| * | Now that we're always using HTML5, <base href> can be relativeSimon McVittie2014-10-16
| | |
| * | Always produce HTML5 doctype and new attributes, but not new elementsSimon McVittie2014-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Work around Debian #771047: use a non-blank SVG for the regression testSimon McVittie2014-11-26
|/ / | | | | | | | | | | | | 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.
* | Extract test subs for each site. No change meant.Amitai Schlair2014-10-12
| |
* | Extract run_cgi(). No functional change intended.Amitai Schlair2014-10-12
| |
* | Extract check_generated_content(). Same output.Amitai Schlair2014-10-11
| |
* | Extract check_cgi_mode_bits(). No change intended.Amitai Schlair2014-10-10
| |
* | Extract thoroughly_rebuild(), a slight test change.Amitai Schlair2014-10-10
| | | | | | | | | | | | | | 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.
* | Extract write_setup_file(). No functional change.Amitai Schlair2014-10-10
| | | | | | | | Test output differs only by the line numbers of the TODO items.
* | simplify IPC::Run check (same behavior)Amitai Schlair2014-10-06
| |
* | In html5 mode, generate a host- or protocol-relative <base> for the CGISimon McVittie2014-10-05
| | | | | | | | This increases the number of situations in which we do the right thing.
* | Add reverse_proxy option which hard-codes cgiurl in CGI outputSimon McVittie2014-10-05
| | | | | | | | | | This solves several people's issues with the CGI trying to be too clever when IkiWiki is placed behind a reverse-proxy.
* | Avoid mixed content when cgiurl is https but url is notSimon McVittie2014-10-05
| |
* | Use protocol-relative URIs if cgiurl and url differ only by authority (hostname)Simon McVittie2014-10-05
| |
* | Fix a test-case that actually just repeated the previous one insteadSimon McVittie2014-10-05
| |
* | Force use of $config{url} as top URL in w3mmodeSimon McVittie2014-10-05
| |
* | relative URLs test: pass an appropriate PERL5LIB throughSimon McVittie2014-10-05
| | | | | | | | | | We were previously using the system copy of IkiWiki, because the CGI resets its environment.
* | add the beginnings of a test for CGI/static URL interactionsSimon McVittie2014-10-05
| |
* | Search $PATH for "validate", since the test does.Amitai Schlair2014-10-01
| | | | | | | | | | "validate" is a very generic command name, and it validates against an old standard, so the value of this test is questionable.
* | img test: skip SVG tests if unsupported by Image::MagickSimon McVittie2014-09-16
| |
* | Pass -templatedir to get this test passing again.Amitai Schlair2014-09-15
| |
* | Merge branch 'ready/templatebody'Simon McVittie2014-09-15
|\ \
| * | Add templatebody plugin and directive, and enable it by defaultSimon McVittie2014-03-05
| | | | | | | | | | | | Also add a regression test for templatebody.
* | | Merge branch 'ready/autoindex-more-often'Simon McVittie2014-09-15
|\ \ \
| * | | Allow creation of transient index pages for directories outside srcdirSimon McVittie2014-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Add a regression test for autoindex_commit => 1Simon McVittie2014-07-04
| | | |
| * | | autoindex test: check what happens to files in transient/normal underlaysSimon McVittie2014-07-04
| | | |
* | | | extend rst test to cover a fixed bugSimon McVittie2014-09-14
| |_|/ |/| |