summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
AgeCommit message (Collapse)AuthorFilesLines
2011-02-12Bug 535571: Allow Search.pm to accept "limit" and "offset" as parameters.Max Kanat-Alexander1-1/+31
r=mkanat, a=mkanat (module owner)
2010-12-15Bug 619466: Make searching by work_time search the total time on the bugMax Kanat-Alexander1-5/+2
instead of searching the time on individual comments. r=mkanat, a=mkanat (module owner)
2010-10-29Bug 602456: Make Search.pm not quote numeric input for numeric fieldsMax Kanat-Alexander1-5/+59
when generating SQL. r=glob, a=mkanat
2010-10-28Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5Frédéric Buclin1-1/+1
r=gerv a=LpSolit
2010-10-27Bug 337776: Basic SQLite Support for BugzillaMax Kanat-Alexander1-1/+1
r=LpSolit, a=mkanat
2010-10-07Bug 600495: Make the "chfieldto" query parameter work all by itself, again.Max Kanat-Alexander1-5/+11
r=mkanat, a=mkanat (module owner)
2010-10-05Bug 26074 - Ability to limit search by number of CommentsMax Kanat-Alexander1-7/+37
r=mkanat, a=mkanat (module owner)
2010-10-05Bug 601848: Fix percentage_complete searches for all operators on both MySQLMax Kanat-Alexander1-36/+20
and PostgreSQL r=mkanat, a=mkanat (module owner)
2010-10-03Bug 585031: Searching using the "People" section was only using one of theMax Kanat-Alexander1-1/+1
selected checkboxes in each column. r=mkanat, a=mkanat (module owner)
2010-10-02Bug 600495: Make searching using "chfieldto" actually work again, for findingMax Kanat-Alexander1-4/+5
bugs that were also updated after the particular change that's being looked for. r=mkanat, a=mkanat (module owner)
2010-10-02Bug 600496: Make searching on [Bug creation] work again, by implementingMax Kanat-Alexander1-14/+13
creation_ts for the changedafter and changedbefore operators in Search.pm. r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601371: Make bug_status_type work as a search query parameterMax Kanat-Alexander1-0/+6
r=mkanat, a=mkanat (module owner)
2010-10-02Make content_type work as a buglist.cgi parameter, for setting theMax Kanat-Alexander1-2/+2
search operator for the "content" field. r=mkanat, a=mkanat (module owner) https://bugzilla.mozilla.org/show_bug.cgi?id=601370
2010-08-24Bug 583243: Add a new hook 'search_operator_field_override'.Tiago Mello1-3/+20
r/a=mkanat
2010-08-24Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fieldsTiago Mello1-3/+4
r/a=mkanat
2010-08-04Bug 417048: (CVE-2010-2756) [SECURITY] Boolean charts let me query for users ↵Frédéric Buclin1-0/+7
being in any given group r=mkanat a=LpSolit
2010-08-04Bug 583614: Simple Search no longer worksFrédéric Buclin1-1/+1
r/a=mkanat
2010-08-02Bug 581327: The patch to allow commas in Product (etc.) names broke theMax Kanat-Alexander1-1/+15
entering of comma-separated values in other search fields, like bug_id. So now we split on commas in text fields, but not for <select> fields. r=mkanat, a=mkanat (module owner)
2010-07-22Bug 580208: Search.pm: Combine all the user search types into one searchMax Kanat-Alexander1-143/+150
function r=mkanat, a=mkanat (module owner)
2010-07-20Bug 580174: Search.pm: Move special parsing functions around, to be moreMax Kanat-Alexander1-157/+164
orderly r=mkanat, a=mkanat (module owner)
2010-07-18Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander1-57/+63
substring and "words" searches, improve the formatting of generated SQL, and use real subselects instead of performing the subselect and using its results in an IN. r=mkanat, a=mkanat (module owner)
2010-07-16Bug 67036: Allow searching for product, component, etc. names that containMax Kanat-Alexander1-24/+73
commas r=mkanat, a=mkanat (module owner)
2010-07-16Bug 398308: Make Search.pm take a hashref for its "params" argumentMax Kanat-Alexander1-56/+78
instead of taking a CGI object. r=mkanat, a=mkanat (module owner)
2010-07-15Bug 577800: Finish the cleanup of Search.pm's "init" function by removingMax Kanat-Alexander1-216/+240
it and having its work be done by a new "sql" accessor instead. Also adds some comments, moves functions around into sections, and creates a new _user accessor. r=mkanat, a=mkanat (module owner)
2010-07-15Bug 578904: Search.pm: Fully generate the FROM clause inside of an accessorMax Kanat-Alexander1-92/+154
r=mkanat, a=mkanat (module owner)
2010-07-15Bug 578888: Search.pm: Add and store joins as data structures instead ofMax Kanat-Alexander1-174/+264
raw SQL. r=mkanat, a=mkanat (module owner)
2010-07-15Bug 578602: Search.pm: Move the parsing of boolean charts out of initMax Kanat-Alexander1-122/+194
r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578308: Move the parsing of special fields and the creation ofMax Kanat-Alexander1-37/+34
@specialcharts out of init in Search.pm r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578594: Search.pm: Move deadlinefrom and deadlineto parsing into aMax Kanat-Alexander1-33/+17
special method r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578531: Move the chfield stuff out of init, and makeMax Kanat-Alexander1-135/+87
the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578323: Remove the special parsing of "changedin" from Search.pm.Max Kanat-Alexander1-31/+12
r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578316: Search.pm: Move the parsing of email* fields into a methodMax Kanat-Alexander1-42/+38
r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578313: Search.pm: Move the parsing of basic fields (ones that map toMax Kanat-Alexander1-35/+28
fielddefs) into methods r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578310: Search.pm: Move the special parsing of bug_status and resolutionMax Kanat-Alexander1-45/+79
out of init and into some _special_parse_* functions. r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578299: Search.pm: Generate the GROUP BY clause in a methodMax Kanat-Alexander1-35/+67
r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578275: Search.pm: Fully generate the ORDER BY clause inside of anMax Kanat-Alexander1-96/+57
accessor r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578278: Search.pm: Fully generate the SELECT clause inside of an accessorMax Kanat-Alexander1-45/+79
r=mkanat, a=mkanat
2010-07-13Bug 578266: Clean up the SPECIAL_ORDER code and make it into an accessor,Max Kanat-Alexander1-32/+48
in Search.pm r=mkanat, a=mkanat (module owner)
2010-07-10Bug 577807: Convert the hard-coded stuff that adds map_* tables to @supptablesMax Kanat-Alexander1-84/+165
in Search.pm into a data structure and a series of functions that parse the data structure. r=mkanat, a=mkanat (module owner)
2010-07-10Bug 577805: Make chart_fields into an accessor in Search.pmMax Kanat-Alexander1-23/+29
r=mkanat, a=mkanat (module owner)
2010-07-10Bug 577803 - Make multi_select_fields into an accessor in Search.pmMax Kanat-Alexander1-7/+22
r=mkanat, a=mkanat
2010-07-10Bug 577602: Don't put multi-select fields into the GROUP BY in Search.pm,Max Kanat-Alexander1-2/+6
because they are created by an aggregate. (This fixes multi-select buglist columns on Pg.) r=mkanat, a=mkanat (module owner)
2010-07-09Bug 576670: Optimize Search.pm's "init" method for being called many timesMax Kanat-Alexander1-27/+34
in a loop r=glob, a=mkanat
2010-07-09Bug 577582: longdescs.isprivate "changedfrom" and "changedto" weren'tMax Kanat-Alexander1-1/+0
working on PostgreSQL, because Search.pm always converted the value into 1 or 0 and passed that as a number to the database, and Pg didn't support numeric comparison with a text column. r=mkanat, a=mkanat
2010-07-09Bug 577575: If percentage_complete is a column in the buglist, remaining_timeMax Kanat-Alexander1-0/+9
must also be selected from the database for PostgreSQL. r=mkanat, a=mkanat (module owner)
2010-07-08Bug 575021: Make the anyexact operator in Search.pm properly trim itsMax Kanat-Alexander1-0/+1
input values r=mkanat, a=mkanat (module owner)
2010-07-08Bug 574556: Refactor Search.pm so that we're not doing $$some_var everywhere.Max Kanat-Alexander1-794/+705
Instead, we pass around a hashref and update the hashref. This patch also includes some cleanup for bugs surrounding percentage_complete, attachments.isobsolete, attachments.ispatch, and owner_idle_time. r=mkanat, a=mkanat
2010-07-07Bug 574879: Create a test that assures the correctness of Search.pm'sMax Kanat-Alexander1-1/+1
boolean charts r=glob, a=mkanat
2010-07-07Bug 552919: Sort group_concat results so that they sort correctly for buglistsMax Kanat-Alexander1-5/+4
r=mkanat, a=mkanat (module owner)
2010-07-06Bug 562014: Fix negative keyword searches like "contains none of the words"Max Kanat-Alexander1-7/+20
to properly find bugs with *none* of the listed keywords, and also to find bugs with no keywords at all. r=LpSolit, a=LpSolit