29 Commits

Author SHA1 Message Date
Andrew Hancox
e9c46768b5 MDL-46929 mod_forum: Fix for edge cases when searching 2017-04-11 08:30:09 +01:00
Andrew Hancox
d2ba493cfe MDL-46929 mod_forum: Implement tagging 2017-04-11 08:30:09 +01:00
David Monllao
9e313e798f MDL-51784 general: Adding missing php4 style constructors
Adding them to warn people calling the php4 constructor.
2015-12-11 14:02:42 +08:00
Marina Glancy
c4d0b752a2 MDL-51784 various: use __construct() for PHP7 compatibility 2015-12-11 12:48:24 +08:00
Andrew Nicols
2f19417319 MDL-48939 core: Depreacte search_generate_text_SQL
This has never been used outside of forum, where it was introduced in
Moodle 1.8 and required manual creation of an index.
2015-01-22 15:10:00 +08:00
Petr Skoda
a2a4344910 MDL-32071 fix fatal problems in experimental forum_usetextsearches 2012-03-16 10:29:19 +01:00
Petr Skoda
e08de1b495 MDL-24079 converted searchlib to use new sql_like() 2010-09-04 12:50:23 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
samhemelryk
b37eac91cc lib MDL-19236 Added boilerplates and copyrights 2009-05-26 03:57:03 +00:00
skodak
cbc08f3bfc MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
skodak
004efe6629 MDL-15245 converted dml searchlib 2008-06-15 10:12:27 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
7e60297f54 MDL-14679 converted some sql_'s 2008-06-02 21:56:06 +00:00
scyrma
8e1bd28238 MDL-3381 - changing call to ctype_space to remove dependency on ctype (merge from 1.9) 2008-04-16 03:37:45 +00:00
stronk7
2cc0796dc1 Now documental search mimics real relational search behaviour. MDL-8884
Merged from MOODLE_18_STABLE
2007-03-13 22:40:42 +00:00
stronk7
375450a4e7 Prevent some languages without word whitespace separators to use
documental searches over MySQL.

Merged from MOODLE_18_STABLE
2007-03-09 20:58:01 +00:00
stronk7
b2964e45d9 Added the search_generate_text_SQL() function that generates
SQL clauses using documental indexes. Only MySQL for now.
Under 1.8 this isn't used officially (experimental!) but
we need it here right now (won't interfere at all). MDL-8830

Merged from MOODLE_18_STABLE
2007-03-09 18:21:06 +00:00
stronk7
bb48a53735 Some more uses of $CFG->dbfamily. MDL-7061 2007-01-13 00:09:02 +00:00
stronk7
7b3cf45951 Transform TOKEN searches into STRING searches and trim +- chars. MDL-7312
Merged from MOODLE_17_STABLE
2006-10-31 20:17:03 +00:00
martinlanghoff
7e034f29a0 searchlib can use sql_ilike too! 2006-09-26 05:08:39 +00:00
moodler
5eecb8cb57 Fixes from Mits for bug 3101 to fix multi-byte search results 2005-05-03 16:37:01 +00:00
moodler
77ffdf4b4c Finishing off search capability with the ability to search by instance,
and in this case, by forum.
2005-03-03 12:22:13 +00:00
moodler
4e471fc62a Forum searching now allows searching by date, and no longer has confusing help. 2005-02-28 12:40:29 +00:00
defacer
f99fcffeb9 Fix for bug 2648: call-time pass by reference has been deprecated, the constructor
of search_lexer now accepts the parser argument by reference all... one time it's called :)
2005-02-28 00:30:39 +00:00
moodler
e6ae4dc8dd Much better "full" search page. Still needs some polishing.
Also, you can now search for all posts by one user.  Which brings me to my
next check-in....
2005-02-27 09:57:31 +00:00
moodler
c93f852dbc Some tidying up to remove notices and format code to guidelines :-) 2005-02-12 04:12:24 +00:00
moodler
792a590da7 New libraries to support lexer-based searching. From Tony Hursh - thanks! 2005-01-31 07:39:03 +00:00