Commit Graph

2913 Commits

Author SHA1 Message Date
Alex Schroeder
85b3e332da (PrintJournal): Use action=more. 2006-10-05 23:23:43 +00:00
Alex Schroeder
f4035ebda0 Use 'more' instead of 'journal'. 2006-10-05 23:16:10 +00:00
Alex Schroeder
7d5edd9854 (%Action): Added journal.
(DoJournal): New, calls PrintJournal.
(PrintJournal): Addd "More..." link if appropriate. No longer
print horizontal lines before pages.
2006-10-05 22:58:10 +00:00
Alex Schroeder
e0ada04520 *** empty log message *** 2006-10-04 15:12:18 +00:00
Alex Schroeder
d9f0ea4c34 (Cal): Allow the $id substring anywhere in
the pagename, not just right after the date. This also handles
hours and minutes between the date and $id.
2006-10-04 15:12:10 +00:00
Alex Schroeder
a63d848ae1 *** empty log message *** 2006-10-01 15:46:03 +00:00
Alex Schroeder
7d53ef1219 (DoPost): Only check mime type when one was provided. 2006-10-01 15:45:47 +00:00
Alex Schroeder
b36956cc43 Fixed all the tests checking EditAllowed = 2 and 3. 2006-10-01 15:44:46 +00:00
Alex Schroeder
a6364adc33 Skip tests if atom extension was not installed. 2006-10-01 15:44:25 +00:00
Alex Schroeder
f1567dd145 (DoPost): Rearranged tests such that MIME type is tested
even when uploading a file via text posting.
2006-10-01 08:25:23 +00:00
Alex Schroeder
2836ec417a Set $UploadAllowed. 2006-10-01 08:24:35 +00:00
Alex Schroeder
8bccb64475 Added two tests that check mime-types even when uploading via text paste. 2006-10-01 08:24:02 +00:00
Alex Schroeder
91d80fb14f Added #SUBTITLE support to smarttitles, made backlinks generation a little
more script and human friendly.
2006-10-01 04:26:11 +00:00
Alex Schroeder
f06164a3c7 *** empty log message *** 2006-09-30 20:10:26 +00:00
Alex Schroeder
93114b5534 Test $EditAllowed. 2006-09-30 20:10:05 +00:00
Alex Schroeder
bbb9ba56c7 (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
2c85540147 *** empty log message *** 2006-09-30 18:04:06 +00:00
Alex Schroeder
264472854e (DoCss): Report missing LWP::UserAgent or wrong URL. 2006-09-30 18:03:25 +00:00
Alex Schroeder
1317bdd8af *** empty log message *** 2006-09-29 21:36:24 +00:00
Alex Schroeder
2913c7e418 Skip one test if LWP::UserAgent is not installed. 2006-09-29 09:04:23 +00:00
Alex Schroeder
865ad4ec27 *** empty log message *** 2006-09-29 08:43:17 +00:00
Alex Schroeder
62b2ac8464 Skip tests if LWP::UserAgent is not available. 2006-09-29 08:42:38 +00:00
Alex Schroeder
546ab32e76 Less specific text matching. 2006-09-29 08:42:24 +00:00
Alex Schroeder
17c7d8d804 (DraftCleanup): Use mtime instead of ctime when deleting files. 2006-09-28 07:09:47 +00:00
Alex Schroeder
2dfede6ec2 Fixed deletion test. 2006-09-28 07:08:39 +00:00
Alex Schroeder
c59c353478 More tests for maintenance, but deleting files seems not to work. 2006-09-28 00:46:01 +00:00
Alex Schroeder
dfebe839cd (DoDraft): Added status code to error.
(DraftNewGetEditForm): New.
2006-09-28 00:44:53 +00:00
Alex Schroeder
068fbd1d0d Added tests for new module. 2006-09-27 21:03:23 +00:00
Alex Schroeder
cde992e13b Removed garbage characters. 2006-09-27 20:44:14 +00:00
Alex Schroeder
84ace65a41 New 2006-09-27 20:43:48 +00:00
Alex Schroeder
67617fa91c (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
59c6d83552 *** empty log message *** 2006-09-22 23:35:15 +00:00
Alex Schroeder
d7c361a443 (GetSummary): Fix aftertext modifies summary. 2006-09-22 23:34:53 +00:00
Alex Schroeder
c88495f9a3 Add test for comment summary. 2006-09-22 23:33:32 +00:00
Alex Schroeder
e8e9df12db 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
62cd3eb806 *** empty log message *** 2006-09-20 22:45:11 +00:00
Alex Schroeder
6f5a2f1717 (update_page): Add quotes around the arguments. 2006-09-20 22:44:56 +00:00
Alex Schroeder
30a4dc60ff 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
0ac7991028 (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
135b02aa0a (PageHtml): At least return the diff if small enough. 2006-09-20 18:27:13 +00:00
Alex Schroeder
34b8a5f25c Added tests about size limits to the RSS feed. 2006-09-20 18:25:57 +00:00
Alex Schroeder
9bc12d04d3 *** empty log message *** 2006-09-20 17:44:00 +00:00
Alex Schroeder
e17abb1dff Don't show comment form when the comment page is locked. 2006-09-20 17:43:29 +00:00
Alex Schroeder
781b9be467 (GetCommentForm): Don't show comment form when the
comment page is locked.
2006-09-20 17:43:08 +00:00
Alex Schroeder
2715c749ff More docs 2006-09-20 10:56:18 +00:00
Alex Schroeder
b922e2298a More documentation. 2006-09-20 10:52:28 +00:00
Alex Schroeder
1eb2ba9aa3 Added license. 2006-09-20 00:11:31 +00:00
Alex Schroeder
01c69b9933 Removed old test target. 2006-09-19 23:56:28 +00:00
Alex Schroeder
9ef39f1b50 *** empty log message *** 2006-09-19 23:49:22 +00:00
Alex Schroeder
6ba969cfc2 Moved here from ../test.pl 2006-09-19 23:48:31 +00:00