Commit Graph

2545 Commits

Author SHA1 Message Date
Alex Schroeder
93209e1754 *** empty log message *** 2006-06-13 19:16:31 +00:00
Alex Schroeder
6acda8b70e (ApplyRules): Allow "0" as page text.
(ApplyRules): Make search pattern in <journal> less greedy.
2006-06-13 19:15:21 +00:00
Alex Schroeder
877dc4b5c2 ($AgeParameter): New.
(NewAgeGetHeader): Use it.
2006-06-13 18:01:57 +00:00
Alex Schroeder
0f464456e9 Bugfix 2006-06-13 13:47:01 +00:00
Alex Schroeder
f554851d78 Bugfix 2006-06-13 13:42:33 +00:00
Alex Schroeder
becf215e41 Remove nonexisting sub from @MyInitVariables 2006-06-13 13:28:33 +00:00
Alex Schroeder
c6deaae4aa New 2006-06-13 13:13:21 +00:00
Alex Schroeder
cadebe4281 (NewSearchFreeTextTitleAndBody): Do
not apply limit when building rc or rss feed.
2006-06-12 20:01:09 +00:00
Alex Schroeder
b96c27f9f4 (UrlEncode): Simplify using a hash instead of a list to
avoid grepping through the same list repeatedly.
(GetRc): Simplify use of rcfilteronly parameter and rcclusteronly
using a hash as above.
(GetRcRss): Simplify excluding of pages using a hash as above.
(DoDownload, DoPost): Simplify test for allowed MIME types using a
hash as above.
(SearchNearPages): Simplify using a hash as above.
2006-06-12 19:54:21 +00:00
Alex Schroeder
108ca8f824 (NewSearchFreeTextTitleAndBody): Do
not apply limit when building rc or rss feed.
2006-06-12 18:53:37 +00:00
Alex Schroeder
3b3416f5d6 (NewSearchFreeTextTitleAndBody): Do
not apply limit when building a journal using search.
2006-06-12 16:45:01 +00:00
Alex Schroeder
b9d199baf2 (NewSearchFreeTextTitleAndBody): Do
not apply limit when building a journal using search.
2006-06-12 16:40:37 +00:00
Alex Schroeder
0968a3fe19 *** empty log message *** 2006-06-11 15:51:42 +00:00
Alex Schroeder
bda486de13 (BlogNewOpenPage): Use tag search to build journal. 2006-06-11 15:35:42 +00:00
Alex Schroeder
2d251d24d9 (BlogNewOpenPage): Use tag search to build journal. 2006-06-11 15:25:30 +00:00
Alex Schroeder
9e4758641c Bugfix when setting $SearchFreeTextTagUrl. 2006-06-11 15:22:36 +00:00
Alex Schroeder
f3d1dbd42f Bugfix when setting $SearchFreeTextTagUrl. 2006-06-11 15:22:02 +00:00
Alex Schroeder
ec87917e03 Set $SearchFreeTextTagUrl 2006-06-11 15:19:53 +00:00
Alex Schroeder
624eeccdeb (BlogMenu): New. 2006-06-11 15:13:30 +00:00
Alex Schroeder
3f655177e5 Set @UserGotoBar 2006-06-11 15:10:50 +00:00
Alex Schroeder
8d8ccc22b6 New. 2006-06-11 15:06:58 +00:00
Alex Schroeder
87cb53beb5 (SearchFreeTextIndex): Fix bug which indexed only page titles. 2006-06-10 23:57:03 +00:00
Alex Schroeder
f670cf2fb5 More indexed search + image tagging tests. 2006-06-10 23:51:12 +00:00
Alex Schroeder
fcfda8af43 *** empty log message *** 2006-06-10 23:05:09 +00:00
Alex Schroeder
e7f76ff2c4 (SearchFreeTextIndex): Index MIME
type of uploaded files, too.
2006-06-10 23:04:34 +00:00
Alex Schroeder
06d4cb7229 (SearchTitleAndBody): Search MIME type of uploaded
files, too.
2006-06-10 23:03:18 +00:00
Alex Schroeder
b85d269669 (SearchFreeTextIndex): No longer skip
files, but index only the page name for the word index, and index
everything after the encoded part for the tag index, since there
may be tags there.
(NewSearchFreePrintFooter): Print tags below uploaded file if tagged,
allow retagging of images when editing an uploaded file.
(SearchFreeDoTag): New action for retagging of uploaded files.
2006-06-10 22:44:11 +00:00
Alex Schroeder
542511da73 (DoClearCache): Touch index file after clearing the
cache.
(SearchTitleAndBody): Allow searching of page titles for uploaded
files.
(PrintSearchResult): If an uploaded file is part of the result,
print it. Do away with the ^#FILE speciality.
2006-06-10 22:31:46 +00:00
Alex Schroeder
59d7592275 *** empty log message *** 2006-06-10 18:10:29 +00:00
Alex Schroeder
04410fd687 (ApplyRules, PrintJournal): Extend journal tag with
search.
2006-06-10 18:10:02 +00:00
Alex Schroeder
64a769168b Updated copyright year. 2006-06-09 08:09:24 +00:00
Alex Schroeder
60869438f2 (SyncNewSave): Pass password along. 2006-06-09 08:03:20 +00:00
Alex Schroeder
a07a6cce56 (DoClearCache): Changed GetHttpHeader to GetHeader,
thanks to Ingo Belka for spotting it.
2006-06-09 07:45:27 +00:00
Alex Schroeder
fc463bf38d committing first version of wanted.pl, a module hosting an action to dynamically list wanted pages. makes use of links.pl. 2006-06-09 07:23:00 +00:00
Alex Schroeder
8fee3861a2 *** empty log message *** 2006-06-08 23:41:44 +00:00
Alex Schroeder
2609a5de3c (SearchFreeTextCloud): Fix URL encoding stuff. 2006-06-08 23:39:16 +00:00
Alex Schroeder
fe2e8f0dd1 Added more indexed search tests. 2006-06-08 23:34:14 +00:00
Alex Schroeder
47217a14f0 *** empty log message *** 2006-06-08 22:49:43 +00:00
Alex Schroeder
784c129b6a (SearchFreeTextGet): QuoteRegexp search terms unless they appear
to be quoted already.
2006-06-08 22:47:49 +00:00
Alex Schroeder
f6a15805a8 Added more indexed search tests. 2006-06-08 22:47:04 +00:00
Alex Schroeder
451e0f42f8 Added indexed search tests. 2006-06-08 22:34:03 +00:00
Alex Schroeder
5e03bd65b3 (process): Lowercase new words.
(SearchFreeTextIndex): UrlEncode keys because internal data
structure uses commas, so page names with commas get corrupted.
(SearchFreeTextCloud): UrlDecode keys.
(SearchFreeTextGet): No longer quotemata phrases (since backlinks
have quoted regular expressions automatically. Concatenate display
title and body before checking for phrases. UrlDecode keys.
2006-06-08 22:33:36 +00:00
Alex Schroeder
931a8d25f8 (SearchTitleAndBody): Concatenate title and body and
call SearchString once instead of once for each.
2006-06-08 22:05:07 +00:00
Alex Schroeder
04d6c641e4 (GetSearchLink): Add double-quotes around title so that titles
with spaces in them will be searched correctly.
2006-06-08 21:42:31 +00:00
Alex Schroeder
a8f23140aa fixed more search tests 2006-06-08 21:41:36 +00:00
Alex Schroeder
fd0f72e78c (DoClearCache): Add real HTML output instead of
plain/text.
(SearchString): Get rid of 'and' and 'or', instead use double
quotes to check for phrases.
(DoSearch, DoMaintain, DoShowVersion, DoSurgeProtection): Trim
some space.
2006-06-08 21:16:06 +00:00
Alex Schroeder
8c5f5b53a7 More tests fixed. 2006-06-08 21:13:00 +00:00
Alex Schroeder
36a4b4aa0c Update lots of tests: $BracketWiki default changed, ordinary search
got compatible with indexed search.
2006-06-08 08:06:38 +00:00
Alex Schroeder
31d9467412 (DoPublish): Send password along. 2006-06-08 07:51:58 +00:00
Alex Schroeder
d574a22cac ($Monolithic, DoPrintAllPages): Removed all action.
(ScriptLink): Got rid of $Monolithic.
(DoClearCache): Added clear action.
(DoAdminPage): Added clear action to menu.
(QuoteRegexp): New.
(GetSearchLink): Use it.
(DoSearch, DoEditLock, DoPageLock): Print error before printing
the header.
2006-06-07 23:09:57 +00:00