Commit Graph

2523 Commits

Author SHA1 Message Date
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
Alex Schroeder
e67f9b7f61 *** empty log message *** 2006-06-06 23:00:26 +00:00
Alex Schroeder
a577f00a6e (SearchListRule): Initialize %hash
correctly.
2006-06-06 22:59:21 +00:00
Alex Schroeder
14ff309106 (SearchFreeTextGet): Double escape [ and ]. 2006-06-06 22:56:53 +00:00
Alex Schroeder
12146dfaac (SearchFreeTextGet): Add parameter to
search for phrases as tags.
(NewSearchFreeTextTitleAndBody): Pass new parameter to
SearchFreeTextGet.
2006-06-06 22:41:35 +00:00
Alex Schroeder
cf4d05b482 (SearchListRule): Use GetPageLink. 2006-06-06 20:15:27 +00:00
Alex Schroeder
a0d986f794 ($BracketWiki): Default to 1. 2006-06-06 19:32:56 +00:00
Alex Schroeder
a7933844ea New 2006-06-06 16:45:04 +00:00
Alex Schroeder
e98df038f1 (GetDownloadLink): New. 2006-06-05 21:53:31 +00:00
Alex Schroeder
64a6672ac4 (GetPageOrEditLink): New. 2006-06-05 21:51:20 +00:00
Alex Schroeder
756451566a (NewQuestionaskerDoPost): No more
logging of Q&A.
($QuestionaskerRememberAnswer): New option.
(QuestionaskerInit): Add question parameter to cookie.
(NewQuestionaskerDoPost): Set question parameter in cookie if
answered correctly.
(NewQuestionaskerDoPost, NewQuestionaskerGetFormStart): Use new
option and parameter from cookie.
2006-06-05 21:28:14 +00:00
Alex Schroeder
f692c14b11 *** empty log message *** 2006-06-05 20:21:59 +00:00
Alex Schroeder
76e5109367 (NewQuestionaskerDoPost): No more
logging of Q&A.
2006-06-05 20:21:35 +00:00
Alex Schroeder
07397d52b3 (SearchListRule): Use <list>. 2006-06-05 00:17:01 +00:00
Alex Schroeder
c5931660a8 (ApplyRules): <search foo> no longer requires double quotes. 2006-06-05 00:12:57 +00:00
Alex Schroeder
5d4eafc9e8 (SearchListRule): No longer require double quotes around search term. 2006-06-05 00:04:27 +00:00
Alex Schroeder
1e6dc919d9 (AggregateRule, DoAggregate): Exchange position of sort and search
keywords, no longer require double quotes around search term.
2006-06-05 00:03:20 +00:00
Alex Schroeder
33e6991c8b *** empty log message *** 2006-06-04 23:54:31 +00:00
Alex Schroeder
666a877926 (GetOldPageLink, GetSearchLink, GetHistoryLink)
(GetRCLink): Removed test for $FreeLinks before translating space
to underline.
2006-06-04 23:54:13 +00:00
Alex Schroeder
e07d47fadd ($SearchFreeTextNewForm): Removed.
(SearchFreeTextIndex): Plain text response.
(SearchFreeTextNewDoSearch): Removed.
(SearchFreeTextNewGetRc): Removed.
(NewSearchFreeTextTitleAndBody): Renamed from
SearchFreeTextTitleAndBody, call OldSearchFreeTextTitleAndBody if
the old parameter is set.
(NewSearchFreeTextNewHighlightRegex): Renamed from
SearchFreeTextNewHighlightRegex, call
OldSearchFreeTextNewHighlightRegex if the old parameter is set.
2006-06-04 23:51:18 +00:00
Alex Schroeder
58a0bb2ced *** empty log message *** 2006-06-04 23:37:35 +00:00
Alex Schroeder
009c563309 (SearchListSort): Removed.
(SearchListRule): Sort if requested. Use PageSort() if defined.
2006-06-04 23:36:52 +00:00
Alex Schroeder
e4d86974be (AggregateRule, DoAggregate): Sort entries if requested. 2006-06-04 23:35:49 +00:00