Commit Graph

2933 Commits

Author SHA1 Message Date
Alex Schroeder
a3f46292a6 *** empty log message *** 2006-10-09 21:31:29 +00:00
Alex Schroeder
46ecdfc13a (LoadLanguage): Consider en the default language (no translation
file and no extra config file to be loaded), use lang paramater if
available (already stored in the cookie).
2006-10-09 12:49:44 +00:00
Alex Schroeder
1fc7223a80 *** empty log message *** 2006-10-09 10:34:34 +00:00
Alex Schroeder
53533666f7 (LoadLanguage): Load language-specific
config file if it exists.
2006-10-09 10:18:57 +00:00
Alex Schroeder
ff83ca8535 New. 2006-10-08 15:59:54 +00:00
Alex Schroeder
7a183eb908 (RSS): Eliminate unused variable $counter. 2006-10-08 12:57:58 +00:00
Alex Schroeder
9033e46925 (DelayRequired): Simplified.
(GetLanguages): Simplified.
(ParseData): Hand-written to optimize for speed. By getting rid of
some regular expressions used for parsing, the code is now more
than 10x faster. This is important for default searching, and for
indexed search using double-quotes.
2006-10-08 00:24:54 +00:00
Alex Schroeder
e306df909e *** empty log message *** 2006-10-08 00:21:41 +00:00
Alex Schroeder
7e5eff75aa (ApplyRules, PrintJournal): Add past and future
keywords.
(PrintJournal): Removed comment with journal metadata because the
attempt to write an AJAX "more" implementation for journals using
journal.js has been abandoned.
($Today): New option.
(JournalSort): Add one-liner explicitly so that we don't need to
test using defined later.
(GetSummary): Fix code that added " . . . " to summaries that are
being cut off.
(AddRecentVisitor): Simplified.
2006-10-07 12:29:06 +00:00
Alex Schroeder
905ba2cc49 Added tests for the stripping of newlines and the addition of the elipsis. 2006-10-07 12:20:20 +00:00
Alex Schroeder
3098c6b702 Undid changes to journal-rss.pl 2006-10-06 14:54:36 +00:00
Alex Schroeder
102cb6f50c Revert to revision 1.7. 2006-10-06 14:53:54 +00:00
Alex Schroeder
88cb86eb03 no longer needed 2006-10-06 14:52:31 +00:00
Alex Schroeder
59aa2768fa More journal tests with a setup that doesn't use ISO dates. 2006-10-06 14:03:44 +00:00
Alex Schroeder
a63633425c *** empty log message *** 2006-10-06 12:13:54 +00:00
Alex Schroeder
7e6438149a Updated with past and future tests. 2006-10-06 12:13:39 +00:00
Alex Schroeder
ea7c25b0ff (test_page_negative, xpath_do): Print a "not" prefix
for negative tests.
2006-10-06 12:13:18 +00:00
Alex Schroeder
61341ece8b (DoJournalRss): Fix parameter handling. 2006-10-06 09:57:29 +00:00
Alex Schroeder
7632cb1562 (DoJournalRss): Handle past and future
keywords.
2006-10-06 09:54:39 +00:00
Alex Schroeder
0ea6687b4f *** empty log message *** 2006-10-05 23:24:21 +00:00
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