Commit Graph

23 Commits

Author SHA1 Message Date
Alex Schroeder
79fbe00051 Fix link given by raw history page. 2013-06-05 16:18:10 +02:00
Alex Schroeder
af51f7fd8d Use utf8::encode when creating a directory.
There is no way to provide an encoding layer to directory names.
Therefore they need to be raw bytes and not characters. This becomes
apparent when creating namespaces containing non-ASCII characters.
2012-07-19 13:58:58 +02:00
Alex Schroeder
e533bc3915 Fix an encoding error in namespaces.pl on Debian
The Debian installation uses ext3 and therefore raw bytes for
filenames unlike the HFS filesystem of Mac OSX.

Copyright years were updated. The maintenance output of for drafts was
cleaned up.
2012-05-25 01:00:10 +02:00
Alex Schroeder
1495a29fd3 More UTF-8 fixes
All the source files containing non-ASCII characters needed to have
utf8 added. This will be necessary for user config files as well! The
regular expressions identifying page names had to be changed.
UrlEncode translates the string back to bytes before encoding it.
Cached RSS files are saved with UTF-8 encoding and therefore need
their meta-data changed (using the XML::RSS module to do this
correctly didn't work for some of the test files). The CGI object's
parameters, keywords and info_path are decoded correctly. File access
uses the UTF-8 layer (reading, writing, appending, access to the log
of recent changes, running sub processes with grep and diff).

The mac compatibility extension will also disable the use of grep if
non-ASCII characters are searched for because of an unexplained
problem with grep.
2012-05-24 18:08:42 +02:00
Alex Schroeder
1034c4a4da Add new tests for the fixed rollback in namespaces behaviour. 2012-03-17 19:33:21 +00:00
Alex Schroeder
559683a61a Handle more filesystem encoding variants. 2010-04-21 21:20:23 +00:00
Alex Schroeder
ffc902f6e2 Test for bug that prevented the oldrc.log file from being read if
rc.log was missing or empty.
2009-07-03 13:59:50 +00:00
Alex Schroeder
a022b5161e Changed one of the search texts to not mention the ns parameter. 2009-04-06 00:27:22 +00:00
Alex Schroeder
9fb318c5f4 Search tests. 2009-04-06 00:02:54 +00:00
Alex Schroeder
8c25f28dbc Added tests proving that rollbacks in namespaces are handled correctly. 2009-03-08 23:43:34 +00:00
Alex Schroeder
5f206b6439 Add a test for a namespace containing an Umlaut. 2008-12-02 23:35:15 +00:00
Alex Schroeder
19749940b4 Added a test for the author. 2008-09-22 01:24:35 +00:00
Alex Schroeder
22bb6b274a Added another tests to test the RSS item links. 2008-03-07 09:44:35 +00:00
Alex Schroeder
7d2f131beb Added three more tests to test the RSS item links. 2008-03-07 09:43:51 +00:00
Alex Schroeder
c7b61506aa Added tests for redirection to the main namespace 2007-11-17 23:56:09 +00:00
Alex Schroeder
13c6882314 Changed to GPLv3 2007-09-27 15:57:13 +00:00
Alex Schroeder
8c0267ba72 Changed test to match move from Namespace/Page to Namespace:Page. 2007-09-25 15:29:33 +00:00
Alex Schroeder
ce94f003d6 Added interlink redirection tests within namespaces. 2007-09-24 08:26:52 +00:00
Alex Schroeder
2ac340e505 Test interlink redirection. 2007-09-21 09:31:41 +00:00
Alex Schroeder
d4398a158e Copyright year update. 2007-08-03 08:30:29 +00:00
Alex Schroeder
c02bffc731 Add six new tests for the diff and history links on RecentChanges. 2007-05-30 08:03:56 +00:00
Alex Schroeder
5f7c68ba4d Updated test number. 2006-12-27 22:03:19 +00:00
Alex Schroeder
17e78fbbca Initial set of tests. 2006-12-22 15:25:58 +00:00