Commit Graph

23 Commits

Author SHA1 Message Date
Alex Schroeder
0a6cbfa20d Fix link given by raw history page. 2013-06-05 16:18:10 +02:00
Alex Schroeder
f27ec6c142 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
3174e184f9 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
67650e3dc8 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
90a912e391 Add new tests for the fixed rollback in namespaces behaviour. 2012-03-17 19:33:21 +00:00
Alex Schroeder
34f2d66b37 Handle more filesystem encoding variants. 2010-04-21 21:20:23 +00:00
Alex Schroeder
b3b1ae13c8 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
db993cfb7b Changed one of the search texts to not mention the ns parameter. 2009-04-06 00:27:22 +00:00
Alex Schroeder
1483906c28 Search tests. 2009-04-06 00:02:54 +00:00
Alex Schroeder
d84b1dc8ef Added tests proving that rollbacks in namespaces are handled correctly. 2009-03-08 23:43:34 +00:00
Alex Schroeder
29d2e19678 Add a test for a namespace containing an Umlaut. 2008-12-02 23:35:15 +00:00
Alex Schroeder
55f2f5fc40 Added a test for the author. 2008-09-22 01:24:35 +00:00
Alex Schroeder
81f31204ba Added another tests to test the RSS item links. 2008-03-07 09:44:35 +00:00
Alex Schroeder
5dcc5b52ea Added three more tests to test the RSS item links. 2008-03-07 09:43:51 +00:00
Alex Schroeder
2cfea6f7e6 Added tests for redirection to the main namespace 2007-11-17 23:56:09 +00:00
Alex Schroeder
9594fbded6 Changed to GPLv3 2007-09-27 15:57:13 +00:00
Alex Schroeder
4da97d75c9 Changed test to match move from Namespace/Page to Namespace:Page. 2007-09-25 15:29:33 +00:00
Alex Schroeder
2620f54d96 Added interlink redirection tests within namespaces. 2007-09-24 08:26:52 +00:00
Alex Schroeder
f5e79d40fc Test interlink redirection. 2007-09-21 09:31:41 +00:00
Alex Schroeder
5916e0eaae Copyright year update. 2007-08-03 08:30:29 +00:00
Alex Schroeder
c48f398c5f Add six new tests for the diff and history links on RecentChanges. 2007-05-30 08:03:56 +00:00
Alex Schroeder
0e58f2ba6d Updated test number. 2006-12-27 22:03:19 +00:00
Alex Schroeder
d17ff80f0c Initial set of tests. 2006-12-22 15:25:58 +00:00