summaryrefslogtreecommitdiffstats
path: root/xt/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01Bug 637426: Fix every boolean chart operator type for the bug_group searchMax Kanat-Alexander1-34/+8
field in Search.pm. (This also makes OR searches work against the bug_group field.) r=mkanat, a=mkanat
2011-03-01Bug 616341: Make "tag" a valid search field in Search.pm, for the newMax Kanat-Alexander3-8/+21
tagging system r=mkanat, a=mkanat (module owner)
2011-03-01Bug 490322: Fix every single keywords, multi_select, and see_also field/operatorMax Kanat-Alexander2-45/+7
combination in Search.pm. r=mkanat, a=mkanat (module owner)
2011-02-12Make the "changedfrom" xt/search.t test work with see_also, again.Max Kanat-Alexander1-3/+7
https://bugzilla.mozilla.org/show_bug.cgi?id=620827
2011-02-11Bug 620827: Refactor remove see also to use remove_from_db instead.Tiago Mello2-4/+7
r/a=mkanat
2010-12-15Bug 619466: Make searching by work_time search the total time on the bugMax Kanat-Alexander3-57/+14
instead of searching the time on individual comments. r=mkanat, a=mkanat (module owner)
2010-11-03The patch that made Bugzilla::Bug use Bugzilla::Comment to add commentsMax Kanat-Alexander1-1/+2
fixed certain work_time tests in xt/search.t.
2010-10-28Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5Frédéric Buclin1-4/+4
r=gerv a=LpSolit
2010-10-07Bug 600495: Make the "chfieldto" query parameter work all by itself, again.Max Kanat-Alexander1-0/+7
r=mkanat, a=mkanat (module owner)
2010-10-07Fix the xt/search.t test to not have a testfail (orange) result on MySQL.Max Kanat-Alexander1-2/+2
(Just some missing "this test is OK" bits for longdescs.count injection tests.)
2010-10-05Bug 26074 - Ability to limit search by number of CommentsMax Kanat-Alexander4-3/+36
r=mkanat, a=mkanat (module owner)
2010-10-05Bug 601848: Fix percentage_complete searches for all operators on both MySQLMax Kanat-Alexander2-51/+56
and PostgreSQL r=mkanat, a=mkanat (module owner)
2010-10-04Bug 601519 - Test pronouns (like %user%, %reporter%, etc.) in xt/search.tMax Kanat-Alexander3-5/+42
r=mkanat, a=mkanat (module owner)
2010-10-03Bug 601513: In xt/search.t, assure that "---" continues to work for theMax Kanat-Alexander1-0/+3
resolution field r=mkanat, a=mkanat (module owner)
2010-10-03Bug 601499 - Make xt/search.t test the email(n)* search query parametersMax Kanat-Alexander2-1/+26
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601394 - Make xt/search.t test the deadlinefrom and deadline to searchMax Kanat-Alexander1-1/+8
query parameters r=mkanat, a=mkanat (module owner)
2010-10-02Change the way that the xt/search.t injection tests look for known brokenMax Kanat-Alexander1-3/+2
tests, so that the Pg tests properly understand that they can't test creation_ts changedafter or changedbefore, *ever*. https://bugzilla.mozilla.org/show_bug.cgi?id=600496
2010-10-02Bug 601383: Test the chfield* search query parameters in xt/search.t.Max Kanat-Alexander1-1/+15
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 600496: Make searching on [Bug creation] work again, by implementingMax Kanat-Alexander1-8/+4
creation_ts for the changedafter and changedbefore operators in Search.pm. r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601376: Test the __all__, __open__, and __closed__ arguments toMax Kanat-Alexander4-7/+44
bug_status in xt/search.t r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601364: Make search.t *actually* do the basic field=value testsMax Kanat-Alexander1-9/+6
r=mkanat, a=mkanat (module owner)
2010-10-02Bug 601364: Make xt/search.t also test the normal field=value search paramsMax Kanat-Alexander4-3/+65
r=mkanat, a=mkanat (module owner)
2010-07-22Bug 580208: Search.pm: Combine all the user search types into one searchMax Kanat-Alexander1-14/+3
function r=mkanat, a=mkanat (module owner)
2010-07-18Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin1-6/+0
r/a=mkanat
2010-07-18Bug 579695: Make xt/search.t do substring tests using a more consistentMax Kanat-Alexander3-16/+41
substring length, thus fixing an intermittent failure that would show up when searching the cf_multi_select field. r=mkanat, a=mkanat (module owner)
2010-07-18Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander1-13/+3
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-16Also add NotTest.pm for the xt/search.t NOT tests.Max Kanat-Alexander1-0/+75
https://bugzilla.mozilla.org/show_bug.cgi?id=579243
2010-07-16Bug 579243: Also test NOT (negated) charts in xt/search.tMax Kanat-Alexander4-7/+281
r=mkanat, a=mkanat (module owner)
2010-07-16Bug 398308: Make Search.pm take a hashref for its "params" argumentMax Kanat-Alexander4-84/+17
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-9/+6
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 578888: Search.pm: Add and store joins as data structures instead ofMax Kanat-Alexander1-5/+0
raw SQL. r=mkanat, a=mkanat (module owner)
2010-07-14Bug 578531: Move the chfield stuff out of init, and makeMax Kanat-Alexander1-12/+5
the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577538: Mark certain tests in xt/search.t as being broken only on PgMax Kanat-Alexander2-1/+32
(and a few as being not broken at all on Pg). r=mkanat, a=mkanat (module owner)
2010-07-09Pg and MySQL had inconsistent results for flagtypes.name greaterthan,Max Kanat-Alexander1-0/+1
so I changed the values to make them consistent. (I suspect the inconsistency is a bug in Pg itself that is not actually important to normal Bugzilla usage.)
2010-07-09Bug 576670: Optimize Search.pm's "init" method for being called many timesMax Kanat-Alexander1-1/+1
in a loop r=glob, a=mkanat
2010-07-09Bug 577588: xt/seach.t was sometimes not properly translating specialMax Kanat-Alexander3-10/+30
<> values into the actual bug value, for searching r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577557: Make xt/search.t skip certain injection tests on PostgreSQL,Max Kanat-Alexander2-3/+36
because they make Pg throw an error and then be unable to run any further tests. It's OK to skip these tests because they still run on MySQL, so we'll still catch any injection vulns. r=mkanat, a=mkanat (module owner)
2010-07-08Update xt/search.t to test that anyexact trims properly.Max Kanat-Alexander1-1/+1
https://bugzilla.mozilla.org/show_bug.cgi?id=575021
2010-07-08Bug 574556: Refactor Search.pm so that we're not doing $$some_var everywhere.Max Kanat-Alexander1-91/+34
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-08Fix search.t now that negative keyword searches are working.Max Kanat-Alexander1-7/+5
https://bugzilla.mozilla.org/show_bug.cgi?id=562014
2010-07-08Bug 577388: The target milestone tests in xt/search.t were failing,Max Kanat-Alexander1-1/+1
incorrectly. r=mkanat, a=mkanat (module owner)
2010-07-07Bug 574879: Create a test that assures the correctness of Search.pm'sMax Kanat-Alexander8-0/+3019
boolean charts r=glob, a=mkanat