aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
...
* | 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
| |_|/ |/| |
* | | extend regression test for inline to cover inlining, show, reverseSimon McVittie2014-09-14
| | |
* | | Merge branch 'ready/imgforpdf-and-more'Simon McVittie2014-09-12
|\ \ \
| * | | use readfile() instead of reinventing itSimon McVittie2014-09-01
| | | | | | | | | | | | | | | | | | | | This avoids potential action-at-a-distance from locally redefining $/ but never reaching the end of the redefinition's scope.
| * | | unit test for bugs/image_rescaling_distorts_with_small_pictureschrysn2014-07-15
| | | |
| * | | make img unittest easier to debugchrysn2014-07-15
| | | |
| * | | img plugin: split resizing calculations and actual resizingchrysn2014-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | drop unittest workaround for new perlmagickchrysn2014-07-04
| | | | | | | | | | | | | | | | just install -extra to make it work
| * | | drop unittest workaround for perlmagickchrysn2014-07-04
| | | | | | | | | | | | | | | | this was actually http://bugs.debian.org/753770
| * | | make unittest work with all all three packages that provide perlmagickchrysn2014-07-04
| | | |
| * | | add unittests for imgchrysn2014-07-04
| | |/ | |/| | | | | | | | | | this focuses on the features introduced in http://ikiwiki.info/bugs/svg_and_pdf_conversion_fails/
* | | inline: postform=no should take precedence over rootpage existingSimon McVittie2014-07-04
| |/ |/| | | | | | | | | | | | | 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.
* | fix test case ogg mime typeJoey Hess2014-06-13
|/ | | | Seems that a better mime type is detected now on Debian stable.
* Merge remote-tracking branch 'remotes/smcv/ready/template-syntax-test'Joey Hess2014-02-23
|\
| * template_syntax.t: include doc/templates/*.mdwn in testSimon McVittie2014-02-21
| | | | | | | | | | Previously, this test assigned the first glob to @templates, and evaluated the second for its (practically nonexistent) side-effects.
* | Merge remote-tracking branch 'intrigeri/fix_diffurl_vs._cgit'Joey Hess2014-02-23
|\ \
| * | Do not UTF8-escape "/" in Git's diffurl: cgit does not support this.intrigeri2013-12-31
| | |
* | | Merge remote-tracking branch 'anarcat/dev/syslog_utf8'Joey Hess2014-02-23
|\ \ \ | |_|/ |/| |
| * | don't edit config setting, but a temporary variable, complete and unbreak testsAntoine Beaupré2013-11-29
| | |
| * | failing test caseAntoine Beaupré2013-11-29
| | |
* | | avoid running this test if File:MimeInfo is not installedJoey Hess2014-01-25
| |/ |/| | | | | it's needed to get mime types in the feed
* | remove test for page state saved for disabled pluginJoey Hess2013-11-16
|/ | | | | | | | | | | | | | | | | 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.
* Fix test suite to work with perl 5.18. Closes: #719969Joey Hess2013-08-30
|
* Genericize download link for more use cases.Amitai Schlair2013-06-26
|
* Merge branch 'master' into fancypodcastAmitai Schlair2013-05-12
|\
| * avoid running test if xml::twig is not installedJoey Hess2013-05-09
| |
* | Merge branch 'master' into fancypodcastAmitai Schlair2013-03-17
|\| | | | | | | | | Conflicts: doc/todo/fancypodcast.mdwn
| * permalink test: start by deleting t/tmpSimon McVittie2013-02-24
| | | | | | | | | | 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.
| * map test: clean up after ourselvesSimon McVittie2013-02-24
| |
| * map test: print maps' source as commentsSimon McVittie2013-02-24
| |
| * extend test, some cases now failSimon McVittie2013-02-24
| |
| * Add a test for the map directiveSimon McVittie2013-02-24
| |
* | Un-copy-paste the fancy-podcast tests.Amitai Schlair2013-02-21
| |