Dhruv Goel
96cb75dedb
[ticket/10936] remove PCRE and mbstring support check
...
Since PCRE UTF8 support already has a global check no need for mbstring
or PCRE check here.
PHPBB3-10936
2012-06-13 01:43:32 +05:30
Dhruv Goel
e127ba17ea
[ticket/10936] fix language key
...
Language key changes from INCOMPATIBLE_VERSION to INCOMPATIBLE_DATABASE to
make it more meaningfull.
PHPBB3-10936
2012-06-12 18:40:48 +05:30
we3b
07e946c189
[feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 3.
...
PHPBB3-9730
2012-06-08 21:28:51 +05:30
wagnerch
fa470c3792
[feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 2.
...
PHPBB3-9730
2012-06-08 21:28:45 +05:30
wagnerch
0191e1313c
[feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 1.
...
PHPBB3-9730
2012-06-08 21:28:23 +05:30
Oleg Pudeyev
35309de0b7
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count
[ticket/9813] Only get posts table row count if we detected a fulltext index.
[ticket/9813] Also use estimated row count of posts table for fulltext mysql.
[ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.
[ticket/10653] Unit tests for get_row_count() and get_estimated_row_count().
[ticket/10653] Add ability to count table rows to database abstraction layer.
[ticket/9813] Use table status row count only if greater than 100000 or exact.
[ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL.
2012-03-08 08:44:32 -05:00
Andreas Fischer
01d90e59a8
[ticket/9813] Only get posts table row count if we detected a fulltext index.
...
PHPBB3-9813
2012-03-08 14:38:59 +01:00
Andreas Fischer
785c75254e
[ticket/9813] Also use estimated row count of posts table for fulltext mysql.
...
Since this is 'only' for statistics anyway, using an estimated value does no
harm. Also, if MyISAM is the underlying storage engine for the posts table,
the value will actually be exact.
PHPBB3-9813
2012-03-05 00:29:28 +01:00
Andreas Fischer
f9953fc339
[ticket/10653] Add ability to count table rows to database abstraction layer.
...
PHPBB3-10653
2012-03-03 21:04:01 +01:00
Andreas Fischer
97cf433dea
[ticket/9813] Use table status row count only if greater than 100000 or exact.
...
PHPBB3-9813
2012-03-03 21:03:55 +01:00
Andreas Fischer
efe25a0b49
[ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL.
...
PHPBB3-9813
2012-03-03 21:03:50 +01:00
Andreas Fischer
0c3fae0f18
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10630] Use sql_like_expression() method instead of hardcoded LIKE '%x%'
[ticket/10630] Perform array_unique on authors array before creating the query
2012-02-25 19:58:03 +01:00
Joas Schilling
ef154b78a1
[ticket/10630] Use sql_like_expression() method instead of hardcoded LIKE '%x%'
...
PHPBB3-10630
2012-02-20 02:18:48 +01:00
Joas Schilling
afcf9cbc86
[ticket/10630] Perform array_unique on authors array before creating the query
...
This is needed to avoid an additional appearance for an author for every
post he made.
PHPBB3-10630
2012-02-20 02:17:13 +01:00
Oleg Pudeyev
3e36ac6678
[ticket/10579] Delete extra v2 from license block.
...
PHPBB3-10579
2012-01-12 22:25:14 -05:00
Unknown
7a04c9048c
[ticket/9916] Updating header license and removing Version $Id$
...
PHPBB3-9916
2011-12-31 13:32:52 +00:00
Nils Adermann
121cab1c29
[feature/extension-manager] Add docblocks to new search backend methods
...
PHPBB3-10323
2011-11-18 14:46:30 +01:00
Nils Adermann
dcc5ca5377
[feature/extension-manager] Make search backends loadable from extensions
...
Search backends are now required to be autoloadable. The database updater to
3.1 tries to guess the class name as phpbb_search_<oldname> which works for
the default backends we ship.
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Andreas Fischer
ac11806bf4
[ticket/10329] Add phpbb_ prefix to new pcre_utf8_support() function.
...
Introduced by 6b4d0a254218e8d40151ca1bdff8c439f89502e9.
PHPBB3-10329
2011-08-21 14:34:34 +02:00
Andreas Fischer
294c2c63c0
[ticket/9595] List min/max characters indexed by search for mysql_fulltext.
...
PHPBB3-9595
2010-10-21 20:31:00 +02:00
Andreas Fischer
d66aadc33f
Merge branch 'ticket/cs278/9760' into develop-olympus
...
* ticket/cs278/9760:
[ticket/9760] Remove unrestricted wildcards from search terms.
2010-08-10 16:04:49 +02:00
Chris Smith
76348ce43f
[ticket/9760] Remove unrestricted wildcards from search terms.
...
Wildcards without any further result restrictions will cause phpBB to search
for everything, potentially allowing a DoS attack against the DB server by any
user who can use the search system.
PHPBB3-9760
2010-08-08 14:02:34 +01:00
Josh Woody
ac56b71c3e
[ticket/9749] Fulltext mysql unexpected behavior on entering a dash in query
...
The Fulltext_mysql class had different behavior when a dash was entered in the
search query than the fulltext_native class. Specifically, a dash was
automatically turned into boolean NOT even when the user wanted to search for
legitimate hyphenated words like farty-pants
PHPBB3-9749
2010-07-29 10:13:17 -05:00
Andreas Fischer
f4aa5b7ac7
Safe us some more calls to $db->sql_escape().
...
Authorised by: naderman :-P
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10399 89ea8834-ac86-4346-8a33-228a782c2dd0
2010-01-11 23:26:56 +00:00
Nils Adermann
dd02aed6e1
Improved search query performance through sorting words by their occurance. [Bug #21555 ]
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10377 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-12-23 19:38:09 +00:00
Joas Schilling
313648f07b
Bug #54325 - Fulltext-MySQL search for keywords and username at the same time. (Regression from r9931)
...
Authorised by: bantu
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10292 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-11-26 19:23:33 +00:00
Meik Sievertsen
58b8e85c3d
correct method comment
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10075 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-31 12:07:18 +00:00
Joas Schilling
ee65d2147b
fix r9713 for #36565
...
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9931 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-08-05 15:28:46 +00:00
Joas Schilling
2854705096
Fix bug #36565 - Search by authorname does not display posts of guests and deleted users
...
Authorised by: naderman
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9713 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-07-02 10:28:32 +00:00
Meik Sievertsen
59763841b3
Search for 'topic title only' and 'first post' should work again for non-mysql dbms. (Bug #40605 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9473 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-18 17:46:34 +00:00
Meik Sievertsen
eb49218428
Fix topic title only and first post search option with the SQL_CALC_FOUND_ROWS fix
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9472 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-18 17:42:31 +00:00
Meik Sievertsen
7b07476207
erm, forgot to globalize $config. :/
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9471 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-18 17:30:58 +00:00
Meik Sievertsen
0319733ea8
[Change] Performance improvements for native fulltext search (patch by Paul)
...
(This has been tested for 2 weeks in a live environment)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9440 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-11 13:49:32 +00:00
Meik Sievertsen
4d9b106db2
New search option: Maximum number of words allowed to search for.
...
(the more words the more database load)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9438 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-11 11:09:45 +00:00
Nils Adermann
c931ce3a54
not quite
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9173 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-04 17:01:39 +00:00
Nils Adermann
945e6e1e78
Use a left join for the topics table on search to avoid trouble with FROM syntax on some databases (Bug #37005 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9172 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-04 16:56:56 +00:00
Nils Adermann
63b089f653
Tell users to recreate the search index after changing the common word threshold for fulltext_native (Bug #36345 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9126 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-26 19:17:52 +00:00
Meik Sievertsen
69a8e33d48
cleanup, related to bug #19195
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8879 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-18 14:32:15 +00:00
Meik Sievertsen
8b63049936
Fix native full text search on postgresql while using excluding keyword matches. (Bug #19195 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8878 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-18 14:31:03 +00:00
Meik Sievertsen
2fcd96ca72
Ok, story real database server info, as well as caching it
...
Store it on installation too - allows us to check the db version used on installation and used currently to warn the user about incompatibilities
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8814 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-09-04 12:01:47 +00:00
Meik Sievertsen
d7fa3f83ce
The same way we allow defining a custom template/style path we now allow this for languages too.
...
This will allow applications to define their own language folder for certain parts for example.
Callable by $user->set_custom_lang_path({new_path})
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8782 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-08-23 17:20:55 +00:00
Nils Adermann
fb1d71bd05
Topic searches by author no longer return invalid results [Bug #11777 ]
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8604 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-06-04 17:25:50 +00:00
Nils Adermann
fd57f020f7
removed executable props [Bug #6464 ]
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8598 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-06-04 15:37:06 +00:00
David M
238395a91d
#15524
...
git-svn-id: file:///svn/phpbb/trunk@8257 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-11-29 18:26:20 +00:00
Meik Sievertsen
7de5bb3498
dumdidum... sorry. ;)
...
git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-10-05 14:36:34 +00:00
Meik Sievertsen
acf0c0ddeb
err, forgot to commit
...
git-svn-id: file:///svn/phpbb/trunk@7961 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-27 17:33:27 +00:00
Henry Sudhof
dbb226f244
a little comment
...
git-svn-id: file:///svn/phpbb/trunk@7931 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-23 17:13:44 +00:00
Henry Sudhof
e8ae63daf6
#13579
...
This changes the signature of author_search. Search backends will need adjustment.
git-svn-id: file:///svn/phpbb/trunk@7930 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-23 17:03:37 +00:00
David M
e61e01a3b9
- a better way of checking PCRE property support
...
- fixed the naming of a variable or two
git-svn-id: file:///svn/phpbb/trunk@7925 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-07-23 04:14:49 +00:00
Meik Sievertsen
5aa220bcd2
tweak the sql_like_expression feature a little bit to allow correct escaping
...
git-svn-id: file:///svn/phpbb/trunk@7789 89ea8834-ac86-4346-8a33-228a782c2dd0
2007-06-24 12:49:13 +00:00