aboutsummaryrefslogtreecommitdiffstats
path: root/xt/lib/Bugzilla
Commit message (Collapse)AuthorAgeFilesLines
* Fix TODO tests which now passFrédéric Buclin2012-01-311-4/+0
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=574577
* Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin2012-01-1110-193/+53
| | | | | | add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
* Bug 399080: Remove the 'usebugaliases' parameter (turned on permanently)Matt Selsky2011-12-261-1/+0
| | | | r/a=LpSolit
* Bug 657542: Make the AND/OR tests for xt/search.t function properly andMax Kanat-Alexander2011-05-166-94/+64
| | | | | catch known-broken tests as it's supposed to. r=mkanat, a=mkanat (module owner)
* Bug 656994: Test custom search more thoroughly in xt/search.t.Max Kanat-Alexander2011-05-132-6/+135
| | | | r=mkanat, a=mkanat (module owner)
* Bug 656790 - Create a basic framework for testing custom searchMax Kanat-Alexander2011-05-133-1/+131
| | | | r=mkanat, a=mkanat (module owner)
* Bug 240398: Make flagtypes.name work properly with all the boolean chartMax Kanat-Alexander2011-03-032-84/+1
| | | | | operators. r=mkanat, a=mkanat (module owner)
* Bug 638555: Make the fields in the bugs table that can be NULL work with allMax Kanat-Alexander2011-03-031-40/+14
| | | | | the boolean chart operators r=mkanat, a=mkanat (module owner)
* Bug 638518: Make all boolean chart operators work with attach_data.thedataMax Kanat-Alexander2011-03-032-32/+1
| | | | r=mkanat, a=mkanat (module owner)
* Bug 638509 - Make all boolean charts work with all attachment fields exceptMax Kanat-Alexander2011-03-031-14/+0
| | | | | for "Attachment data" r=mkanat, a=mkanat (module owner)
* Bug 638489 - Make all boolean charts work with longdescs.isprivateMax Kanat-Alexander2011-03-031-28/+8
| | | | r=mkanat, a=mkanat (module owner)
* Bug 617641: Using any of the _realname columns in Search.pm all by themselvesMax Kanat-Alexander2011-03-021-1/+13
| | | | | wasn't working properly. r=mkanat, a=mkanat (module owner)
* Bug 45862: Make searching comments behave sensibly for all boolean charts,Max Kanat-Alexander2011-03-011-22/+1
| | | | | including "nowordssubstr" and "notequals". r=mkanat, a=mkanat (module owner)
* Bug 637662: Make all the boolean charts work as expected for the "blocks"Max Kanat-Alexander2011-03-011-9/+0
| | | | | and "dependson" fields. r=mkanat, a=mkanat (module owner)
* Bug 637426: Fix every boolean chart operator type for the bug_group searchMax Kanat-Alexander2011-03-011-34/+8
| | | | | | field in Search.pm. (This also makes OR searches work against the bug_group field.) r=mkanat, a=mkanat
* Bug 616341: Make "tag" a valid search field in Search.pm, for the newMax Kanat-Alexander2011-03-013-8/+21
| | | | | tagging system r=mkanat, a=mkanat (module owner)
* Bug 490322: Fix every single keywords, multi_select, and see_also field/operatorMax Kanat-Alexander2011-03-012-45/+7
| | | | | combination in Search.pm. r=mkanat, a=mkanat (module owner)
* Make the "changedfrom" xt/search.t test work with see_also, again.Max Kanat-Alexander2011-02-111-3/+7
| | | https://bugzilla.mozilla.org/show_bug.cgi?id=620827
* Bug 620827: Refactor remove see also to use remove_from_db instead.Tiago Mello2011-02-102-4/+7
| | | | r/a=mkanat
* Bug 619466: Make searching by work_time search the total time on the bugMax Kanat-Alexander2010-12-153-57/+14
| | | | | instead of searching the time on individual comments. r=mkanat, a=mkanat (module owner)
* The patch that made Bugzilla::Bug use Bugzilla::Comment to add commentsMax Kanat-Alexander2010-11-021-1/+2
| | | | fixed certain work_time tests in xt/search.t.
* Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5Frédéric Buclin2010-10-281-4/+4
| | | | r=gerv a=LpSolit
* Bug 600495: Make the "chfieldto" query parameter work all by itself, again.Max Kanat-Alexander2010-10-071-0/+7
| | | | r=mkanat, a=mkanat (module owner)
* Fix the xt/search.t test to not have a testfail (orange) result on MySQL.Max Kanat-Alexander2010-10-071-2/+2
| | | | (Just some missing "this test is OK" bits for longdescs.count injection tests.)
* Bug 26074 - Ability to limit search by number of CommentsMax Kanat-Alexander2010-10-054-3/+36
| | | | r=mkanat, a=mkanat (module owner)
* Bug 601848: Fix percentage_complete searches for all operators on both MySQLMax Kanat-Alexander2010-10-042-51/+56
| | | | | and PostgreSQL r=mkanat, a=mkanat (module owner)
* Bug 601519 - Test pronouns (like %user%, %reporter%, etc.) in xt/search.tMax Kanat-Alexander2010-10-033-5/+42
| | | | r=mkanat, a=mkanat (module owner)
* Bug 601513: In xt/search.t, assure that "---" continues to work for theMax Kanat-Alexander2010-10-031-0/+3
| | | | | resolution field r=mkanat, a=mkanat (module owner)
* Bug 601499 - Make xt/search.t test the email(n)* search query parametersMax Kanat-Alexander2010-10-032-1/+26
| | | | r=mkanat, a=mkanat (module owner)
* Bug 601394 - Make xt/search.t test the deadlinefrom and deadline to searchMax Kanat-Alexander2010-10-021-1/+8
| | | | | query parameters r=mkanat, a=mkanat (module owner)
* Change the way that the xt/search.t injection tests look for known brokenMax Kanat-Alexander2010-10-021-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
* Bug 601383: Test the chfield* search query parameters in xt/search.t.Max Kanat-Alexander2010-10-021-1/+15
| | | | r=mkanat, a=mkanat (module owner)
* Bug 600496: Make searching on [Bug creation] work again, by implementingMax Kanat-Alexander2010-10-021-8/+4
| | | | | creation_ts for the changedafter and changedbefore operators in Search.pm. r=mkanat, a=mkanat (module owner)
* Bug 601376: Test the __all__, __open__, and __closed__ arguments toMax Kanat-Alexander2010-10-024-7/+44
| | | | | bug_status in xt/search.t r=mkanat, a=mkanat (module owner)
* Bug 601364: Make search.t *actually* do the basic field=value testsMax Kanat-Alexander2010-10-021-9/+6
| | | | r=mkanat, a=mkanat (module owner)
* Bug 601364: Make xt/search.t also test the normal field=value search paramsMax Kanat-Alexander2010-10-024-3/+65
| | | | r=mkanat, a=mkanat (module owner)
* 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)