Commit Graph

2900 Commits

Author SHA1 Message Date
Alex Schroeder
d29cb41e21 *** empty log message *** 2006-09-30 20:10:26 +00:00
Alex Schroeder
933b8c3f7c Test $EditAllowed. 2006-09-30 20:10:05 +00:00
Alex Schroeder
66c6381d5d (DoCss): Report missing LWP::UserAgent or wrong URL.
(GetCommentForm): Pass comment parameter to UserCanEdit();
(UserCanEdit): New comment parameter, enable $EditAllowed = 3.
2006-09-30 20:09:19 +00:00
Alex Schroeder
e275271666 *** empty log message *** 2006-09-30 18:04:06 +00:00
Alex Schroeder
c26fee7911 (DoCss): Report missing LWP::UserAgent or wrong URL. 2006-09-30 18:03:25 +00:00
Alex Schroeder
73bbd12f17 *** empty log message *** 2006-09-29 21:36:24 +00:00
Alex Schroeder
b154c6978e Skip one test if LWP::UserAgent is not installed. 2006-09-29 09:04:23 +00:00
Alex Schroeder
9eda79fd65 *** empty log message *** 2006-09-29 08:43:17 +00:00
Alex Schroeder
49d8c0f7fb Skip tests if LWP::UserAgent is not available. 2006-09-29 08:42:38 +00:00
Alex Schroeder
8fc01d4f77 Less specific text matching. 2006-09-29 08:42:24 +00:00
Alex Schroeder
ccc4f65930 (DraftCleanup): Use mtime instead of ctime when deleting files. 2006-09-28 07:09:47 +00:00
Alex Schroeder
5e266f2e7c Fixed deletion test. 2006-09-28 07:08:39 +00:00
Alex Schroeder
41531a7f06 More tests for maintenance, but deleting files seems not to work. 2006-09-28 00:46:01 +00:00
Alex Schroeder
a95660fa9b (DoDraft): Added status code to error.
(DraftNewGetEditForm): New.
2006-09-28 00:44:53 +00:00
Alex Schroeder
a5b5bb5a1b Added tests for new module. 2006-09-27 21:03:23 +00:00
Alex Schroeder
8b58e0403e Removed garbage characters. 2006-09-27 20:44:14 +00:00
Alex Schroeder
7e852f6c82 New 2006-09-27 20:43:48 +00:00
Alex Schroeder
7aca50f29b (DoEdit, GetEditForm): Moved code from DoEdit into the
new GetEditForm, which returns a string that can be modified by
wrapper code.
2006-09-27 20:15:34 +00:00
Alex Schroeder
2730954e78 *** empty log message *** 2006-09-22 23:35:15 +00:00
Alex Schroeder
c831590106 (GetSummary): Fix aftertext modifies summary. 2006-09-22 23:34:53 +00:00
Alex Schroeder
7373ffa991 Add test for comment summary. 2006-09-22 23:33:32 +00:00
Charles Mauch
fad97b937b fixed bug in smarttitles where freelinks were not being detected correctly
due to an incorrect use of the $name and $id variables.
2006-09-22 04:36:00 +00:00
Alex Schroeder
b8bf662b7c *** empty log message *** 2006-09-20 22:45:11 +00:00
Alex Schroeder
8441a93060 (update_page): Add quotes around the arguments. 2006-09-20 22:44:56 +00:00
Alex Schroeder
e76c5a6841 More tests to check whether diffs can be served even if the page
itself is too large.
2006-09-20 22:44:12 +00:00
Alex Schroeder
1df85746f9 (QuoteHtml): Replace control characters with space.
(PageHtml): Print diff if possible, even if the page itself is too
large.
(GetRcRss): Conditionalize some prints to avoid empty elements.
(TimeToRFC822): Rewrote to not use sprintf such as to avoid
localized names.
2006-09-20 22:43:43 +00:00
Alex Schroeder
a3ca4b1f98 (PageHtml): At least return the diff if small enough. 2006-09-20 18:27:13 +00:00
Alex Schroeder
391c2f354d Added tests about size limits to the RSS feed. 2006-09-20 18:25:57 +00:00
Alex Schroeder
00ddef7e81 *** empty log message *** 2006-09-20 17:44:00 +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
ab9d5d8daf (GetCommentForm): Don't show comment form when the
comment page is locked.
2006-09-20 17:43:08 +00:00
Alex Schroeder
98f31c8a2d More docs 2006-09-20 10:56:18 +00:00
Alex Schroeder
8fd82c25e6 More documentation. 2006-09-20 10:52:28 +00:00
Alex Schroeder
558af917a1 Added license. 2006-09-20 00:11:31 +00:00
Alex Schroeder
92660aa025 Removed old test target. 2006-09-19 23:56:28 +00:00
Alex Schroeder
abd6167cf7 *** empty log message *** 2006-09-19 23:49:22 +00:00
Alex Schroeder
4c386d3b1d Moved here from ../test.pl 2006-09-19 23:48:31 +00:00
Alex Schroeder
46d35f8afc Moved into t subdirectory 2006-09-19 23:47:55 +00:00
Alex Schroeder
b164e0f874 Moved here from ../test.pl 2006-09-19 23:18:34 +00:00
Alex Schroeder
c510afb7c6 Moved here from ../test.pl 2006-09-19 23:16:43 +00:00
Alex Schroeder
3b7dd7aa00 (GetRcAtom): Add link element. 2006-09-19 21:05:43 +00:00
Alex Schroeder
34d89d9556 (GetRcRss): Use cc for the creative commons namespace.
(ReportError): Don't return non-zero so that FCGI does not warn
about abnormal exit.
2006-09-19 21:02:01 +00:00
Alex Schroeder
dfcb999f57 add double quotes around one of the tests. 2006-09-19 19:41:00 +00:00
Alex Schroeder
663b03d2a9 Removed diag messages. 2006-09-19 19:26:05 +00:00
Alex Schroeder
15f7c02c45 *** empty log message *** 2006-09-19 19:05:03 +00:00
Alex Schroeder
a68b33150d Moved many tests into the t subdirectory. 2006-09-19 18:50:41 +00:00
Alex Schroeder
6ad81eff67 Moved tests here from ../test.pl 2006-09-19 18:50:09 +00:00
Alex Schroeder
38504ac6ce Moved tests here from ../test.pl 2006-09-19 18:36:46 +00:00
Alex Schroeder
a323be5259 fix number of tests 2006-09-19 18:29:50 +00:00
Alex Schroeder
edf917be44 Make $redirect public. 2006-09-19 18:27:20 +00:00