aboutsummaryrefslogtreecommitdiff
path: root/t/podcast.t
Commit message (Collapse)AuthorAge
* t: Consistently remove temp directory before testing, not afterSimon McVittie2019-02-03
| | | | | | When a test fails, it's useful to be able to inspect the output. Signed-off-by: Simon McVittie <smcv@debian.org>
* Exclude working directory from library path (CVE-2016-1238)Simon McVittie2016-07-28
| | | | | | | | | | | | | | | | | | | | | Current Perl versions put '.' at the end of the library search path @INC, although this will be fixed in a future Perl release. This means that when software loads an optionally-present module, it will be looked for in the current working directory before giving up. An attacker could use this to execute arbitrary Perl code from ikiwiki's current working directory. Removing '.' from the library search path in Perl is the correct fix for this vulnerability, but is not trivial to do due to backwards-compatibility concerns. Mitigate this (even if ikiwiki is run with a vulnerable Perl version) by explicitly removing '.' from the search path, and instead looking for ikiwiki's own modules relative to the absolute path of the executable when run from the source directory. In tests that specifically want to use the current working directory, use "-I".getcwd instead of "-I." so we use its absolute path, which is immune to the removal of ".".
* Run autopkgtest tests using autodep8 and the pkg-perl team's infrastructureSimon McVittie2015-11-30
|
* 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.
* fix test case ogg mime typeJoey Hess2014-06-13
| | | | Seems that a better mime type is detected now on Debian stable.
* avoid running this test if File:MimeInfo is not installedJoey Hess2014-01-25
| | | | it's needed to get mime types in the feed
* Genericize download link for more use cases.Amitai Schlair2013-06-26
|
* 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
|
* 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