summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
AgeCommit message (Collapse)AuthorFilesLines
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
2010-07-01Bug 545766: Figure out what columns can be reported on from the database,Max Kanat-Alexander1-0/+28
instead of from a static list r=glob, a=mkanat
2010-06-25One-character fix in Bugzilla::Search--in OPERATOR_FIELD_OVERRIDE,Max Kanat-Alexander1-1/+1
"anyword" for keywords should have been "anywords".
2010-06-25Bug 574566: Add "reporter" to OPERATOR_FIELD_OVERRIDE (it was missing)Max Kanat-Alexander1-0/+3
r=timello, a=mkanat
2010-06-24Bug 309952: (CVE-2010-1204) [SECURITY] Make boolean chart searches with timeMax Kanat-Alexander1-0/+6
tracking fields no longer work for everybody r=LpSolit, a=mkanat
2010-06-12Bug 476722: Refactor Search.pm's funcdefs into a series of constantsMax Kanat-Alexander1-327/+424
and functions for interpreting search charts. r=jjclark, a=mkanat
2010-06-06Bug 450301: What Simplify searching UI, initial improvements to the advanced ↵Guy Pyrzak1-1/+1
search ui. r=mkanat, a=mkanat
2010-05-07Bug 478771: Bugzilla::Search should drop invalid bug statuses from the ↵David Lawrence1-1/+11
search criteria r/a=mkanat
2010-05-06Bug 180812: Make boolean charts involving both flags and attachments Jesse Clark1-5/+28
limit the flag search based on the attachment criteria r=mkanat, a=mkanat
2010-04-22Bug 561129: Various warnings thrown by Search.pm: Perl 5.12 complains for ↵Frédéric Buclin1-4/+3
lc(undef) and uc(undef) r/a=mkanat
2010-04-09Bug 558199: Unused variables in Search.pmFrédéric Buclin1-3/+0
r=justdave a=LpSolit
2010-04-08Bug 69621: Remove the keyword cache (which is not updated on keyword ↵Frédéric Buclin1-1/+8
rename/delete) r/a=mkanat
2010-03-29Bug 554986: Add a "notmatches" search type, which allows the minus signMax Kanat-Alexander1-7/+10
operator to start working for bare words in Quicksearch again r=LpSolit, a=LpSolit
2010-03-24Bug 504946: Fix "Use of uninitialized value $strs in split atJesse Clark1-0/+1
Bugzilla/Search.pm line 1038" r=mkanat, a=mkanat
2010-03-18Bug 395461: Allow multi-select fields to show up in buglist.cgiMax Kanat-Alexander1-2/+18
r=dkl, a=mkanat
2010-03-15Fix Rémi Zara's first name (wasn't a valid UTF8 string)Frédéric Buclin1-1/+1