aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/soft-delete] Add unit tests for get_global_visibility_sql()Joas Schilling2012-10-011-2/+2
| | | | PHPBB3-9657
* [feature/soft-delete] Fix some more usages of _approved column namesJoas Schilling2012-08-301-17/+1
| | | | PHPBB3-9657
* [feature/soft-delete] Update search to use $post_visibilityJoas Schilling2012-08-301-10/+10
| | | | | | Todo: Sphinx currently does not respect this setting at all. PHPBB3-9657
* [feature/soft-delete] Try to fix search.phpJoas Schilling2012-08-301-14/+14
| | | | | | at least it's running now, but the performance is not very good. PHPBB3-9657
* [feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibilityJosh Woody2012-08-291-1/+1
| | | | | | Rename the class to more accurately reflect what it does. PHPBB3-9657
* [feature/soft-delete] I told you I was going to rename the class!Josh Woody2012-08-291-1/+1
| | | | | | Rename topic_visibility class to phpbb_visibility. Also a bit of work to the class itself, mostly cleanup and adding the comments that I'd previously written. PHPBB3-9657
* [feature/soft-delete] Lay the groundwork for a soft-delete featureJosh Woody2012-08-291-7/+12
| | | | | | So far, I've added no new functionality. The biggest change here is adjusting the DB column names to "visibility" rather than "approved". Some things here are pretty likely to change, for example the name and location of the topic_visibility class. Happy birthday phpBB :) PHPBB3-9657
* [ticket/11011] pass $auth to search backend constructorDhruv2012-08-081-1/+1
| | | | | | | $auth global var is passed to search backend constructor, as it is used by sphinx backend. PHPBB3-11011
* [ticket/11011] passing global variablesDhruv2012-07-281-1/+1
| | | | | | Pass global variables to class constructor when making a new object. PHPBB3-11011
* [feature/pagination-as-list] New parameter for name of start varDrae2012-07-181-2/+2
| | | | | | | Add a new parameter to hold the name of the start variable. This fulfills ticket PHPBB3-8535. PHPBB3-10968
* [feature/pagination-as-list] Updates for nils commentsDrae2012-07-181-3/+3
| | | | | | | Re-remove deprecated functions, change on_page to phpbb_on_page, add null returns, remove globals and pass as params. PHPBB3-10968
* [feature/pagination-as-list] Rename and deprecate functionsDrae2012-07-181-2/+2
| | | | | | | Returned and marked deprecated topic_generate_pagination. Rename new function in line with coding guidelines. PHPBB3-10968
* [feature/pagination-as-list] Various fixes and improvementsDrae2012-07-181-3/+3
| | | | | | | | | | Extracted common template code for prosilver as per subsilver2. Various other fixups and oversight corrections, changed name of the "new" template function and re-introduced existing version. Altered on_page to compensate for removal of some templating vars from pagination routine. PHPBB3-10968
* [ticket/10968] Render pagination within the templateDrae2012-07-181-2/+7
| | | | | | | | | | | | | | Since phpBB 2 pagination has been rendered mostly within the source. This limits just what designers can do with pagination. The current form is also questionable in terms of "best practice". The aim is to move rendering completely to the template via the use of a block element. Enabling S_ template vars also allows for control over specific aspects of the pagination output such as next, previous, active and ellipsis. Related to this - merging the capabilities of the topic_generate_pagination with generate_pagination removes an element of duplication. PHPBB3-10968
* Merge PR #854 branch 'dhruvgoel92/ticket/10943' into developOleg Pudeyev2012-07-071-1/+2
|\ | | | | | | | | | | * dhruvgoel92/ticket/10943: [ticket/10943] displays searched query in search result [ticket/10943] use keywords variable to display in search box
| * [ticket/10943] displays searched query in search resultDhruv Goel2012-07-081-0/+1
| | | | | | | | | | | | | | Search backend displays an additional normalized search query just above the ignored words. PHPBB3-10943
| * [ticket/10943] use keywords variable to display in search boxDhruv Goel2012-07-081-1/+1
| | | | | | | | | | | | | | $keywords which contains the string as entered by the user should be used to display in search box instead of search_query. PHPBB3-10943
* | [feature/postgresql-fulltext-search] supports_phrase_search functionDhruv Goel2012-07-081-2/+2
| | | | | | | | | | | | function to return the value of the the private property phrase_search PHPBB3-9730
* | [feature/postgresql-fulltext-search] use proper variable nameDhruv Goel2012-07-081-3/+3
| | | | | | | | PHPBB3-9730
* | [feature/postgresql-fulltext-search] fix formattingDhruv Goel2012-07-051-1/+1
| | | | | | | | | | | | adds proper spaces after control keywords and comment symbol PHPBB3-9730
* | [feature/postgresql-fulltext-search] remove phrase search codeDhruv Goel2012-07-051-0/+10
|/ | | | | | | Unused Code for phrase search removed as pgsql doesnt support it. An added message is displayed if user tries to perform exact phrase search. PHPBB3-9730
* Merge branch 'develop-olympus' into developAndreas Fischer2012-02-261-12/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10532] Remove unnecessary parentheses around calculations of addition. [ticket/10532] Remove one unnecessary level of if block nesting. [ticket/10532] Get rid of inline calculation of $start, remove duplicated check [ticket/10532] Put $total_match_count assignment onto its own line. [ticket/10532] Adjust total match count and limit [ticket/10532] Fix $start out of range for pre-made searches Conflicts: phpBB/search.php
| * [ticket/10532] Remove unnecessary parentheses around calculations of addition.Andreas Fischer2012-02-261-2/+2
| | | | | | | | PHPBB3-10532
| * [ticket/10532] Remove one unnecessary level of if block nesting.Andreas Fischer2012-02-261-37/+34
| | | | | | | | PHPBB3-10532
| * [ticket/10532] Get rid of inline calculation of $start, remove duplicated checkAndreas Fischer2012-02-261-2/+7
| | | | | | | | PHPBB3-10532
| * [ticket/10532] Put $total_match_count assignment onto its own line.Andreas Fischer2012-02-261-1/+2
| | | | | | | | PHPBB3-10532
| * [ticket/10532] Adjust total match count and limitrxu2012-01-141-6/+21
| | | | | | | | | | | | | | | | Set a variable for the limit of total matches count. Adjust total match count to limit to provide proper $start value calculation. Adjust $start value if no matches were found. PHPBB3-10532
| * [ticket/10532] Fix $start out of range for pre-made searchesrxu2012-01-141-15/+22
| | | | | | | | PHPBB3-10532
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | [ticket/10345] Use the plural function in some more places.Joas Schilling2011-11-251-1/+1
| | | | | | | | | | | | | | I added two function avatar_explanation_string() and avatar_error_wrong_size() for easier handling of the "pixels"-languages, as they are used quite often. PHPBB3-10345
* | [ticket/10345] Make use of the plural function in some basic placesJoas Schilling2011-11-251-3/+3
| | | | | | | | PHPBB3-10345
* | [feature/extension-manager] Make search backends loadable from extensionsNils Adermann2011-09-291-7/+4
| | | | | | | | | | | | | | | | 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
* | [feature/remove-imagesets] Adjustments to php filesVjacheslav Trushkin2011-09-041-3/+0
| | | | | | | | | | | | Removing imagesets. Adjustments to php files PHPBB3-10336
* | [ticket/9684] Fix Forum/Topic-Tracking for global announcementsJoas Schilling2011-04-071-2/+2
| | | | | | | | | | | | Should be ready for intensive testing now. PHPBB3-9684
* | [ticket/9684] Remove code for global announcement in root-filesJoas Schilling2011-04-071-30/+1
| | | | | | | | PHPBB3-9684
* | Merge branch 'ticket/hanakin/10001' into developIgor Wiedler2011-02-281-0/+1
|\ \ | | | | | | | | | | | | | | | * ticket/hanakin/10001: [ticket/10001] Created the new styles within colours.css to handle the displaying of the forum & topic images [ticket/10001] Created new Template variable to house class names based on $folder_img value, Modified prosilver template files to utilize class for forum & topic images through out template via the newly created Template variable, Created the new styles within colours.css to handle the displaying of the forum & topic images
| * | [ticket/10001] Created new Template variable to house class names based on ↵hanakin2011-01-181-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $folder_img value, Modified prosilver template files to utilize class for forum & topic images through out template via the newly created Template variable, Created the new styles within colours.css to handle the displaying of the forum & topic images * Created new Template variable to house class names based on $folder_img value in functions_display.php. * Created new Template variable to house class names based on $folder_img value in mcp_forums.php. * Created new Template variable to house class names based on $folder_img value in ucp_main.php. * Created new Template variable to house class names based on $folder_img value in search.php. * Created new Template variable to house class names based on $folder_img value in ucp_pm_viewfolder.php. * Created new Template variable to house class names based on $folder_img value in search.php. * Created new Template variable to house class names based on $folder_img value in viewforum.php. * Modified forumlist_body.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified mcp_forum.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified search_results.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified ucp_main_bookmarks.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified ucp_main_subscribed.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified ucp_main_front.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified ucp_pm_viewfolder.html to utilize class for forum & topic images through out template via the newly created Template variable * Modified viewforum_body.html to utilize class for forum & topic images through out template via the newly created Template variable * Created the new styles within colours.css to handle the displaying of the forum & topic images - NOTES: This changes are the first step in the revamp of prosilver initiative, this provides the ground work to handle the images via sprites to reduce the amount of HTTP requests by the server PHPBB3-10001
* | Merge branch 'feature/igorw/request-class' into developAndreas Fischer2010-12-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | * feature/igorw/request-class: [feature/request-class] Convert some remaining cookies [feature/request-class] Adjust misleading comment [feature/request-class] Remove direct access to _REQUEST in acp_search [feature/request-class] Special case of direct access to _REQUEST
| * | [feature/request-class] Convert some remaining cookiesIgor Wiedler2010-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Convert some remaining accesses to cookie to use the request class instead. Thanks to bantu for the note. PHPBB3-9716
* | | Merge branch 'develop-olympus' into developNils Adermann2010-12-131-22/+34
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9851] "Search new posts" should require login. [task/phpdoc] Added a phpdoc task to the build process [task/phpdoc] Added a configuration file for phpDocumentor. [feature/acm-wincache] Adding caching module for WinCache's User Cache. [ticket/9939] Fix JavaScript error in admin recaptcha template [ticket/9575] Also change 'administrate' to 'administer' in templates [ticket/8736] guest can have 255 chars long username [ticket/9928] Do not link "login to your board" to the "send statistics" page. [ticket/9575] Change 'administrate' to 'administer' [ticket/9921] Adding sample configuration file for the lighttpd webserver. [ticket/9932] Add the Bing bot when converting [ticket/9930] Redirect failes with open_basedir enabled. [ticket/9910] Make sure S_BBCODE_ALLOWED exists when viewing PMs
| * | [ticket/9851] "Search new posts" should require login.rxu2010-12-131-22/+34
| |/ | | | | | | | | | | The newposts search uses user_lastvisit, so it should require user to log in. PHPBB3-9851
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* Merge branch 'ticket/bantu/9613' into develop-olympusIgor Wiedler2010-09-161-3/+11
|\ | | | | | | | | | | | | * ticket/bantu/9613: [ticket/9613] Slightly update language strings. [ticket/9613] Fix missing database part for unread posts search load switch. [ticket/9613] Implement a load switch for unread posts search feature.
| * [ticket/9613] Implement a load switch for unread posts search feature.rxu2010-08-291-3/+11
| | | | | | | | | | | | | | | | Since unread posts search can produce a high server load in certain circumstances, we implement a switch for ACP "Load settings" to have an option to disable this type of search. PHPBB3-9613
* | Merge branch 'ticket/bantu/9754' into develop-olympusIgor Wiedler2010-09-121-1/+1
|\ \ | | | | | | | | | | | | * ticket/bantu/9754: [ticket/9754] Populate S_USER_POSTED variable with correct value in search.php
| * | [ticket/9754] Populate S_USER_POSTED variable with correct value in search.phpAndreas Fischer2010-07-261-1/+1
| |/ | | | | | | PHPBB3-9754
* | [ticket/9662] Search flood interval no longer applies to non-keyword searchesJosh Woody2010-08-201-2/+3
|/ | | | | | | | The search interval was not consistently applied to "special" searches like "unread posts" and "view your topics." Now the special searches are always exempt from the flood interval. PHPBB3-9662
* [ticket/9606] Optimize unread search option.rxu2010-05-171-12/+7
| | | | | | Get rid of redundant SQL query in search.php that should increase performance slightly. PHPBB3-9606
* [ticket/9582] Advanced search cannot be accessed using MSSQL native.Rob House2010-05-031-0/+1
| | | | | PHPBB3-9562 PHPBB3-9582
* Fix bug #51585 - Search loginbox or auth message differsRuslan Uzdenov2010-01-181-18/+20
| | | | | | Authorised by: ToonArmy git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10426 89ea8834-ac86-4346-8a33-228a782c2dd0