Commit Graph

15 Commits

Author SHA1 Message Date
Aleks-Daniel Jakimenko-Aleksejev
8a36970b24 static-copy.pl: Fix non-ascii links
It seems like it is operating on url-encoded strings, so all we have to
do is to decode it. This, however, does not mean that we should print
decoded strings. ‘href’ attribute still has to be encoded (or so it seems).
2016-02-02 20:22:06 +02:00
Alex Schroeder
22bf1e8df3 static-copy.t skips a test without HTTPS support
The static.css file is copied from https://oddmuse.org/ -- so if
LWP::Protocol::https is not installed, this cannot work.
2015-07-21 12:42:06 +02:00
Aleks-Daniel Jakimenko
c4671a8909 Removing clear_pages() from the beginning of tests (part 1)
This script was used:
perl -0pi -e 's/(use Test[^\n]+)\n+clear_pages\(\);[^\n]*\n+/$1\n\n/' *.t
2015-07-05 03:28:46 +03:00
Alex Schroeder
9529850a08 Fix the statix-copy test after the CSS change
The change of the default CSS file caused a test to fail. In order to
fix the test, the new CSS file has to be installed as
http://www.oddmuse.org/default.css.
2015-04-10 17:20:15 +02:00
Alex Schroeder
f8360bebad Produce static.css as well when exporting 2014-03-18 12:47:16 +01:00
Alex Schroeder
45a0558fcc Fixing the UTF-8 encoding issues for static export 2014-03-18 11:49:28 +01:00
Alex Schroeder
0d7236c047 More tests regarding local links in static exports 2014-03-18 10:32:22 +01:00
Alex Schroeder
686f24251b Fix static export of HTML pages
Apparently the html=1 parameter got lost so that you could not force an
export of all the pages.
2014-03-18 09:26:04 +01:00
Alex Schroeder
8e1f6c92e3 Static action now takes $StaticAlways into account. 2013-10-25 08:49:13 +02:00
Alex Schroeder
3cda03cba4 test svgz 2011-10-13 23:46:33 +00:00
Alex Schroeder
cd9564984b Add a test to prove that an edit link is created correctly when
linking to a local image that doesn't exist, yet.
2009-05-15 20:26:18 +00:00
Alex Schroeder
f6d01bba51 Verify that spaces in local image names are translated to underscores
(analogous to the recent change to image.pl)
2008-12-14 23:58:44 +00:00
Alex Schroeder
ca96d342f2 Added sleep 1 to prevent occasional error. 2008-09-19 23:52:32 +00:00
Alex Schroeder
d41cc02ff2 Add /m to regular expression matching. 2007-08-19 10:25:19 +00:00
Alex Schroeder
ecd6c597aa New. 2007-08-12 11:38:15 +00:00