Commit Graph

17 Commits

Author SHA1 Message Date
Alex Schroeder
4d8b028e2d test for wiping comments with "0" and fix 2015-08-29 11:57:29 +02:00
Aleks-Daniel Jakimenko
0642fad8f8 Afterfix for 5462b21 (disallow minor comments)
Test added as well
2015-08-19 10:17:49 +03:00
Alex Schroeder
b054fa463d Default message for empty comment pages. 2015-07-20 08:12:46 +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 Jakimenko
f4e551111a Executable flag is only useful when shebang is specified 2014-09-03 14:23:20 +03:00
Alex Schroeder
e0d18c31e2 Homepage URL fixing works recognizes https.
When leaving a comment, users are given the option of providing a
homepage to link their name to. A common error is to just provide a
domain like "oddmuse.org" instead of a real URL. The resulting markup
used to be [oddmuse.org YourName] which doesn't do what the user
expected. That's why a piece of code used to check whether the homepage
starts with "http://" and if it doesn't, it prefixes it, resulting in
"[http://oddmuse.org YourName]". If the homepage started with
"https://", however, the code did the wrong thing. That's why we're now
checking whether the homepage starts with any known URL-protocol and a
colon.
2014-03-17 09:50:32 +01:00
Alex Schroeder
4a5f1214a7 With $EditAllowed = 1 using aftertext will append the comment. 2007-10-06 21:53:51 +00:00
Alex Schroeder
c9cce41b82 Removed page name to tests for local links again. 2007-10-06 20:22:36 +00:00
Alex Schroeder
be23baee54 Describe the new page here -> This page is empty 2007-10-06 14:30:34 +00:00
Alex Schroeder
d07e1e7ccf Added page name to tests for local links. 2007-10-06 14:27:10 +00:00
Alex Schroeder
58e4172bbc Convert to Unix EOL.
Fix the reinitialization after the creation of InterMap pages.
2006-10-10 01:17:23 +00:00
Alex Schroeder
e5ad543b27 Fixed all the tests checking EditAllowed = 2 and 3. 2006-10-01 15:44:46 +00:00
Alex Schroeder
933b8c3f7c Test $EditAllowed. 2006-09-30 20:10:05 +00:00
Alex Schroeder
7373ffa991 Add test for comment summary. 2006-09-22 23:33:32 +00:00
Alex Schroeder
1c0a475436 Don't show comment form when the comment page is locked. 2006-09-20 17:43:29 +00:00
Alex Schroeder
558af917a1 Added license. 2006-09-20 00:11:31 +00:00
Alex Schroeder
ab3d9e8b99 Moved tests here from ../test.pl 2006-09-19 14:22:58 +00:00