aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* 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
| |
* | Render fancy podcast enclosures.Amitai Schlair2013-02-20
| | | | | | | | | | | | | | | | | | | | | | Simple podcast feeds didn't have content tags and I made sure to keep it that way. This may be unnecessarily conservative. Changing the behavior to include empty content tags might be fine, but I don't want to think about it right now, I just want my tests to keep passing! The new fancy-podcast tests are copy-pasted-edited from the simple-podcast tests. These tests shall be refactored.
* | Make enclosures absolute (in feeds they have to be).Amitai Schlair2013-02-20
| |
* | When inlining HTML pages, render enclosures.Amitai Schlair2013-02-19
| |
* | Let tests determine whether feeds get made.Amitai Schlair2013-02-19
| |
* | Document that last enclosure wins.Amitai Schlair2013-02-19
| |
* | Make enclosure follow WikiLink LinkingRules.Amitai Schlair2013-02-19
| |
* | Rename some posts and fix wrong assumptions.Amitai Schlair2013-02-19
| |
* | Make [[!meta enclosure=foo.mp3]] "work" for HTML.Amitai Schlair2013-02-19
| |
* | Document that podcasts are text XOR enclosure.Amitai Schlair2013-02-19
| |
* | Wrap a long line.Amitai Schlair2013-02-19
| |
* | Add tests for existing podcast behavior.Amitai Schlair2013-02-19
|/