Commit graph

90 commits

Author SHA1 Message Date
Graham Eames
e76b6dac9b Changes to the search code
- Add a configurable flood control limit to searching
- Change the way old search results are removed to deal with an issue with mysql 5 crashing on large queries
Note to translators: This adds new language variables
Note to designers: This changes a template file
There are also database changes assosciated with this change, these will follow later


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5528 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 15:59:48 +00:00
Graham Eames
b5490a243f Changes to the way the limits are enforced on username length when searching
This should now allow you to search for a specific user with a name < 3 chars long, whilst still preventing wildcard searchs with less than 3 chars


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5447 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 20:25:39 +00:00
Meik Sievertsen
b4d5539758 ok, bugfixing phase #1 finished. There will be more bugfixes coming and those knowing CVS/php/mysql are encouraged to implement the fixes. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5204 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-09-14 18:14:30 +00:00
Meik Sievertsen
dfd0fd39fd - try some matching against server intensive searches...
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5102 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-03-15 18:34:34 +00:00
Meik Sievertsen
c835b7e909 2.0.11
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5028 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-11-18 17:49:48 +00:00
Meik Sievertsen
2d7e662fca *** empty log message ***
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4933 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-17 13:48:33 +00:00
Meik Sievertsen
572ee7994a prepare new release - see changelog for changes
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4926 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-07-11 16:46:20 +00:00
Meik Sievertsen
0ec75e5c4d security fix
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4868 89ea8834-ac86-4346-8a33-228a782c2dd0
2004-03-18 18:16:45 +00:00
Ludovic Arnaud
f51bf61478 Fixed: better input validation, thanks to Niels Teusink for pointing this one out
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4680 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-11-22 22:36:13 +00:00
Paul S. Owen
1e9c5321c7 Legacy var ... potential XSS
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4221 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-07-11 17:04:31 +00:00
Meik Sievertsen
efe6ed8753 Some updates... username updates are now finished (no more changing here). Please review the changes to search.php (at the moment not active).
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4066 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-05-29 14:23:48 +00:00
Meik Sievertsen
b76e7f7022 fixed bugs #1286, #1337 and #1153
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3587 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-03 20:53:43 +00:00
Meik Sievertsen
d6bdd83306 - fixed bugs #1395, #1177, fixed floating point assignment bug within older php versions ($fraction), adjusted search a little bit by implementing a workaround for database timeouts (hopefully Paul will not slap me for this. :D) - should be tested within high-traffic boards or those affected by the database timeout.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3585 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-03-02 23:16:19 +00:00
Paul S. Owen
b22e1663d1 ERROR => GENERAL_ERROR and set s_hidden_fields to nowt in search
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3289 89ea8834-ac86-4346-8a33-228a782c2dd0
2003-01-09 00:17:23 +00:00
Paul S. Owen
4ef1441bea redirect header changes
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3154 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-11-30 21:37:45 +00:00
Paul S. Owen
9fe7c358a1 More fixes and updates
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2572 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-05-13 01:30:59 +00:00
Paul S. Owen
3101e28241 Fix issue with URI sid and post subject links
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2507 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-07 19:18:04 +00:00
Paul S. Owen
76e7a50813 Fix missing $phpEx in search redirections
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2506 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-07 18:33:12 +00:00
Paul S. Owen
0e21269487 Fix ordering problem for topics
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2498 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-04-07 00:41:55 +00:00
dougk_ff7
c1762ef6c1 Fixing bug 536812: search.php - total_match_count
Thanks acydburn!
Not a big deal, just did what acydburn recommended.


git-svn-id: file:///svn/phpbb/trunk@2455 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-31 19:13:06 +00:00
Paul S. Owen
ae429f8477 I'm sooo bored with re-fixing things
git-svn-id: file:///svn/phpbb/trunk@2454 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-31 16:08:06 +00:00
Paul S. Owen
c191a04a9d search_id change broke various other search options, fixed
git-svn-id: file:///svn/phpbb/trunk@2452 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-31 13:47:53 +00:00
Paul S. Owen
e1f7400b8d pre-freeze on main templates, various bug fixes (highlighting search results, various search related issues, blah blah). These updates need _thorough_ checking, quickly
git-svn-id: file:///svn/phpbb/trunk@2448 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-31 00:06:34 +00:00
Paul S. Owen
93ab935dc8 Update goto page code
git-svn-id: file:///svn/phpbb/trunk@2385 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-21 01:38:58 +00:00
Paul S. Owen
8e7ca2ed10 Fix enter does not submit problems for username searching, all bow down before Matthijs ... no, not in that way you perverts
git-svn-id: file:///svn/phpbb/trunk@2378 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-20 15:57:21 +00:00
Paul S. Owen
4ad31e50fc Broke bbcode removal when displaying incomplete posts ... fixed
git-svn-id: file:///svn/phpbb/trunk@2355 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-19 18:59:50 +00:00
Paul S. Owen
0fb594ca58 Fix default AND for word concaten..blah blah
git-svn-id: file:///svn/phpbb/trunk@2326 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-18 22:59:39 +00:00
Paul S. Owen
e22ee22470 Loads'a changes including fix for security issue, thanks to Matthijs for checking this out and confirming
git-svn-id: file:///svn/phpbb/trunk@2305 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-03-18 13:35:43 +00:00
Paul S. Owen
508b6d60ef Fix issues with view posts since last visit, errors on next page, re-introduce external stopword list, examine feasibility of stemmer, tidy ups ...
git-svn-id: file:///svn/phpbb/trunk@2205 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-02-25 01:00:48 +00:00
James Atkinson
721207ef48 Fixed bug #509335
git-svn-id: file:///svn/phpbb/trunk@2048 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-02-03 18:54:56 +00:00
Bart van Bragt
0c95dffd8a Fixed pagination bug on search results ( #509852 )
git-svn-id: file:///svn/phpbb/trunk@2010 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-28 23:12:31 +00:00
Paul S. Owen
617008810f Fixed stripslashing problem which would lead to incorrect search results in some cases
git-svn-id: file:///svn/phpbb/trunk@1964 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-27 02:24:05 +00:00
Paul S. Owen
9348f7f4b3 Fix bug #502174, show Guest post usernames correctly ... well as correct as they currently are
git-svn-id: file:///svn/phpbb/trunk@1947 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-25 02:34:49 +00:00
Paul S. Owen
cc8be01b33 Change ego search back to topic output rather than posts (as was till last update) .. even though it does say view own posts ..
git-svn-id: file:///svn/phpbb/trunk@1941 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-25 01:46:35 +00:00
Paul S. Owen
c8c850f104 Various updates to fix problems with large result sets ... code is quite messy, will clean up
git-svn-id: file:///svn/phpbb/trunk@1938 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-25 00:48:46 +00:00
Paul S. Owen
8e642d5d60 Finished implementation of title searching ... this will please at least one person :)
git-svn-id: file:///svn/phpbb/trunk@1867 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-14 14:16:54 +00:00
Paul S. Owen
64dc7345b1 Changes to topic/forum tracking ... tested for several days on test board and all seems fine, give feedback in forums
git-svn-id: file:///svn/phpbb/trunk@1851 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-12 17:00:32 +00:00
Bart van Bragt
f02324d2cb Moved all search functions to includes/search.php Paul; please review
git-svn-id: file:///svn/phpbb/trunk@1781 89ea8834-ac86-4346-8a33-228a782c2dd0
2002-01-03 11:06:22 +00:00
Paul S. Owen
520f3ceb55 Fix bug #497740
git-svn-id: file:///svn/phpbb/trunk@1742 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-30 13:31:34 +00:00
Paul S. Owen
4c98870751 Fix bug #496943
git-svn-id: file:///svn/phpbb/trunk@1741 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-29 16:48:30 +00:00
Paul S. Owen
6c2e3922b1 Hopefully this addresses the \' and '' problems with MSSQL, etc. ... I'd like opinions on the security of doing this.
git-svn-id: file:///svn/phpbb/trunk@1661 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-21 15:51:31 +00:00
Paul S. Owen
ef2a6fa2b1 Fix bug #495250 and various other issues
git-svn-id: file:///svn/phpbb/trunk@1644 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-20 01:25:00 +00:00
Paul S. Owen
55b0c6eabe Fix bug #495130 and remove unnecessary free_result
git-svn-id: file:///svn/phpbb/trunk@1641 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-20 00:39:22 +00:00
Paul S. Owen
515b97f5b3 Fix for bug #494740
git-svn-id: file:///svn/phpbb/trunk@1636 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-19 17:15:08 +00:00
Paul S. Owen
219b7c152c Various changes to accompany session updates ... MSSQL users should be prepared to alter or remove the session_last_visit field or face potential problems
git-svn-id: file:///svn/phpbb/trunk@1594 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-15 17:50:28 +00:00
Bart van Bragt
04916f4377 Sped up searching for posts from a specific user a lot
git-svn-id: file:///svn/phpbb/trunk@1586 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-15 16:15:45 +00:00
Paul S. Owen
880013144e Remove guest user topic tracking via cookies, update viewtopic to re-fix highlighting of search terms, add lang capability to images, various other issues, removed remote avatar size reduction
git-svn-id: file:///svn/phpbb/trunk@1566 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-14 02:41:33 +00:00
natec
95679a6932 bug #489842 -- some pages were doing bbencode_second and make_click in a bad order.
git-svn-id: file:///svn/phpbb/trunk@1555 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-11 09:13:04 +00:00
natec
f0bf32c5c1 bug #488067: no, preg_quote() didn't always have 2 args.
git-svn-id: file:///svn/phpbb/trunk@1553 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-11 08:43:05 +00:00
Paul S. Owen
cd33d8e40f Added another image name for 'goto post'
git-svn-id: file:///svn/phpbb/trunk@1528 89ea8834-ac86-4346-8a33-228a782c2dd0
2001-12-10 00:17:20 +00:00