aboutsummaryrefslogtreecommitdiffstats
path: root/xt
Commit message (Collapse)AuthorAgeFilesLines
* Bug 580208: Search.pm: Combine all the user search types into one searchMax Kanat-Alexander2010-07-211-14/+3
| | | | | function r=mkanat, a=mkanat (module owner)
* Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin2010-07-181-6/+0
| | | | r/a=mkanat
* Bug 579695: Make xt/search.t do substring tests using a more consistentMax Kanat-Alexander2010-07-183-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)
* Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander2010-07-171-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)
* Also add NotTest.pm for the xt/search.t NOT tests.Max Kanat-Alexander2010-07-151-0/+75
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=579243
* Bug 579243: Also test NOT (negated) charts in xt/search.tMax Kanat-Alexander2010-07-154-7/+281
| | | | r=mkanat, a=mkanat (module owner)
* Bug 398308: Make Search.pm take a hashref for its "params" argumentMax Kanat-Alexander2010-07-154-84/+17
| | | | | instead of taking a CGI object. r=mkanat, a=mkanat (module owner)
* Bug 577800: Finish the cleanup of Search.pm's "init" function by removingMax Kanat-Alexander2010-07-151-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)
* Bug 578888: Search.pm: Add and store joins as data structures instead ofMax Kanat-Alexander2010-07-141-5/+0
| | | | | raw SQL. r=mkanat, a=mkanat (module owner)
* Bug 578531: Move the chfield stuff out of init, and makeMax Kanat-Alexander2010-07-131-12/+5
| | | | | | the changedbefore/after charts include the date specified (they previously did exclusive searches) r=mkanat, a=mkanat (module owner)
* Bug 577538: Mark certain tests in xt/search.t as being broken only on PgMax Kanat-Alexander2010-07-082-1/+32
| | | | | (and a few as being not broken at all on Pg). r=mkanat, a=mkanat (module owner)
* Pg and MySQL had inconsistent results for flagtypes.name greaterthan,Max Kanat-Alexander2010-07-081-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.)
* Bug 576670: Optimize Search.pm's "init" method for being called many timesMax Kanat-Alexander2010-07-081-1/+1
| | | | | in a loop r=glob, a=mkanat
* Bug 577588: xt/seach.t was sometimes not properly translating specialMax Kanat-Alexander2010-07-083-10/+30
| | | | | <> values into the actual bug value, for searching r=mkanat, a=mkanat (module owner)
* Bug 577557: Make xt/search.t skip certain injection tests on PostgreSQL,Max Kanat-Alexander2010-07-082-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)
* Update xt/search.t to test that anyexact trims properly.Max Kanat-Alexander2010-07-081-1/+1
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=575021
* Bug 574556: Refactor Search.pm so that we're not doing $$some_var everywhere.Max Kanat-Alexander2010-07-081-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
* Fix search.t now that negative keyword searches are working.Max Kanat-Alexander2010-07-071-7/+5
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=562014
* Bug 577388: The target milestone tests in xt/search.t were failing,Max Kanat-Alexander2010-07-071-1/+1
| | | | | incorrectly. r=mkanat, a=mkanat (module owner)
* Bug 574879: Create a test that assures the correctness of Search.pm'sMax Kanat-Alexander2010-07-0710-0/+3133
boolean charts r=glob, a=mkanat