286 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
374dc95f9a Bug 58179: End date not included in the Search By Change History section
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263639 18797224-902f-48f8-a5cc-f745e15eee43
2012-04-04 18:16:22 +00:00
mkanat%bugzilla.org
9e266cbd15 Search for start-of-time-interval in date fields is (partially?) broken.
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263624 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-31 13:01:59 +00:00
mkanat%bugzilla.org
a12b4b5875 Bug 730984: A single whitespace in the Status Whiteboard field generates an invalid SQL query
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263609 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-27 22:46:22 +00:00
mkanat%bugzilla.org
a42ad026c0 Bug 731163: Search.pm can use undefined alias in ORDER BY clause
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263550 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-10 15:01:24 +00:00
mkanat%bugzilla.org
be88e64cd1 Bug 331925: Unable to use pronouns (%user%, %reporter%, ...) in boolean charts when searching for the flag requestee or the flag setter
r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263459 18797224-902f-48f8-a5cc-f745e15eee43
2012-02-21 12:01:52 +00:00
mkanat%bugzilla.org
a27d46f1cd Bug 574577: commenter_pronoun, cc_pronoun, and contact_pronoun should all be merged
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@263304 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-24 17:46:51 +00:00
mkanat%bugzilla.org
3b5e8524aa Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and add it to files which miss one
r=kiko r=mkanat r=mrbball a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263258 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-11 22:48:45 +00:00
mkanat%bugzilla.org
0f867e6195 Forgot to fix all occurences of $cache->{search_columns}->{$user->id}, see bug 550299
git-svn-id: svn://10.0.0.236/trunk@263132 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-05 18:01:50 +00:00
mkanat%bugzilla.org
c3a2ec142d Bug 550299: User fields are left blank in buglists and whines when local user accounts are used (i.e. they have no @company.com suffix)
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@263131 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-05 17:16:26 +00:00
mkanat%bugzilla.org
62dd0eae57 Bug 297382: Move sort order validation from buglist.cgi to Bugzilla::Search
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@263117 18797224-902f-48f8-a5cc-f745e15eee43
2011-11-30 09:46:20 +00:00
mkanat%bugzilla.org
ef209bdb4b Bug 255606: Do not let buglist.cgi return all bugs by default
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@263104 18797224-902f-48f8-a5cc-f745e15eee43
2011-11-26 13:01:37 +00:00
mkanat%bugzilla.org
52b3c47039 Bug 637648 - Rename the "tags" table to "tag"
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262743 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-29 21:31:20 +00:00
mkanat%bugzilla.org
f779231d78 Bug 674497: (CVE-2011-2979) [SECURITY] Custom searches let you determine if a group exists or not
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262587 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-04 21:06:13 +00:00
mkanat%bugzilla.org
475396de4f Bug 671964: Move old field names conversion from do_search_function
to _handle_chart().
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262505 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-19 01:31:40 +00:00
mkanat%bugzilla.org
70546d0b9b Bug 660866: Allow editing of old "boolean chart" searches using the new
"custom search" UI controls on the advanced search form.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@262391 18797224-902f-48f8-a5cc-f745e15eee43
2011-06-14 03:21:52 +00:00
mkanat%bugzilla.org
38608c3d5f Fixes several bugs at once related to New Charts:
Bug 610739: YUI-generated tabular reports do not work if only one axis is set
Bug 617676: Wrong URLs in the "Total" row at the bottom of tabular reports when JS is enabled
Bug 655848: Use of uninitialized value $tbl in string eq at /var/www/html/bugzilla/report.cgi line 162
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262380 18797224-902f-48f8-a5cc-f745e15eee43
2011-06-11 10:51:03 +00:00
mkanat%bugzilla.org
f43afb901d Allow searches to specify whether the top-level criteria will be joined
together with AND or OR. (This is part of bug 647649 but fixes a test failure
caused by bug 656994 so is being checked in now.)


git-svn-id: svn://10.0.0.236/trunk@262317 18797224-902f-48f8-a5cc-f745e15eee43
2011-05-13 20:47:15 +00:00
mkanat%bugzilla.org
928667689d Bug 313726: When searching by relative dates, don't make them go to the
"beginning" of the specified period unless the user explicitly requests
that.
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262140 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-06 02:32:20 +00:00
mkanat%bugzilla.org
828bb54e29 Bug 647466: Allow Search.pm to take the new URL syntax for custom search
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@262132 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-02 19:02:29 +00:00
mkanat%bugzilla.org
362e058aa3 Bug 640045: Convert Search.pm to use the new AND/OR system internally.
This includes creating new Search::Clause and Search::Condition objects.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@262131 18797224-902f-48f8-a5cc-f745e15eee43
2011-04-02 17:02:25 +00:00
mkanat%bugzilla.org
b46fc05f6c Remove _join_flag_tables from Search.pm, which was dead code.
git-svn-id: svn://10.0.0.236/trunk@262002 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-04 00:31:38 +00:00
mkanat%bugzilla.org
d27eae89e9 Bug 240398: Make flagtypes.name work properly with all the boolean chart
operators.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@262000 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 22:01:52 +00:00
mkanat%bugzilla.org
6594c171c5 Bug 638555: Make the fields in the bugs table that can be NULL work with all
the boolean chart operators
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261999 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 21:17:00 +00:00
mkanat%bugzilla.org
8a66db8563 Bug 638518: Make all boolean chart operators work with attach_data.thedata
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261996 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 19:46:40 +00:00
mkanat%bugzilla.org
9ff40283cf Bug 638509 - Make all boolean charts work with all attachment fields except
for "Attachment data"
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261995 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 19:31:53 +00:00
mkanat%bugzilla.org
ff43875968 Bug 366306: Allow "attachments.thedata" as a boolean chart field name for
backwards-compatibility
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261993 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 18:46:47 +00:00
mkanat%bugzilla.org
16c3494b01 Bug 638489 - Make all boolean charts work with longdescs.isprivate
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261992 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-03 18:31:47 +00:00
mkanat%bugzilla.org
7a6be4d48a Bug 632718: Only return 500 search results unless the user specifically
requests to see more.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261989 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-02 08:50:28 +00:00
mkanat%bugzilla.org
900ac4641e Bug 617641: Using any of the _realname columns in Search.pm all by themselves
wasn't working properly.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261987 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-02 08:46:56 +00:00
mkanat%bugzilla.org
99ff21922c Bug 45862: Make searching comments behave sensibly for all boolean charts,
including "nowordssubstr" and "notequals".
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261982 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 17:04:12 +00:00
mkanat%bugzilla.org
b26c15a718 Bug 637662: Make all the boolean charts work as expected for the "blocks"
and "dependson" fields.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261981 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 16:02:56 +00:00
mkanat%bugzilla.org
b7d96d8080 Bug 637426: Fix every boolean chart operator type for the bug_group search
field in Search.pm. (This also makes OR searches work against the bug_group
field.)
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261980 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 15:46:46 +00:00
mkanat%bugzilla.org
0358fd918a Bug 616341: Make "tag" a valid search field in Search.pm, for the new
tagging system
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261979 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 15:32:08 +00:00
mkanat%bugzilla.org
6f5e915c08 Bug 634144: Make possible_duplicates work on PostgreSQL
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261977 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 13:50:26 +00:00
mkanat%bugzilla.org
aafeae3417 Bug 490322: Fix every single keywords, multi_select, and see_also field/operator
combination in Search.pm.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261976 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-01 13:17:22 +00:00
mkanat%bugzilla.org
e3f5f3655d Bug 632717: Limit the total number of results that a search can ever return.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261954 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-20 07:46:41 +00:00
mkanat%bugzilla.org
8febf24400 Bug 535571: Allow Search.pm to accept "limit" and "offset" as parameters.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261925 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-12 02:16:46 +00:00
mkanat%bugzilla.org
9077cfb040 Bug 619466: Make searching by work_time search the total time on the bug
instead of searching the time on individual comments.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261660 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-15 22:17:03 +00:00
mkanat%bugzilla.org
8865f16c44 Bug 602456: Make Search.pm not quote numeric input for numeric fields
when generating SQL.
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261491 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-28 22:46:45 +00:00
mkanat%bugzilla.org
69002b97f4 Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5
r=gerv a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261490 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-28 15:35:02 +00:00
mkanat%bugzilla.org
5bc3f02411 Bug 337776: Basic SQLite Support for Bugzilla
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261471 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-27 08:06:00 +00:00
mkanat%bugzilla.org
74e0d8bfb4 Bug 600495: Make the "chfieldto" query parameter work all by itself, again.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261362 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-07 13:03:13 +00:00
mkanat%bugzilla.org
623b6f94cc Bug 26074 - Ability to limit search by number of Comments
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261348 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-05 08:47:02 +00:00
mkanat%bugzilla.org
5c5f882c9d Bug 601848: Fix percentage_complete searches for all operators on both MySQL
and PostgreSQL
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261347 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-05 06:01:56 +00:00
mkanat%bugzilla.org
7eb10ff7f3 Bug 585031: Searching using the "People" section was only using one of the
selected checkboxes in each column.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261331 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-03 21:47:08 +00:00
mkanat%bugzilla.org
8eafebf36a Bug 600495: Make searching using "chfieldto" actually work again, for finding
bugs that were also updated after the particular change that's being looked
for.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261318 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-02 19:32:32 +00:00
mkanat%bugzilla.org
4211f37acd Bug 600496: Make searching on [Bug creation] work again, by implementing
creation_ts for the changedafter and changedbefore operators in Search.pm.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261316 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-02 18:47:04 +00:00
mkanat%bugzilla.org
1b8239aa5c Bug 601371: Make bug_status_type work as a search query parameter
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261313 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-02 16:32:32 +00:00
mkanat%bugzilla.org
b8deca1bdf Make content_type work as a buglist.cgi parameter, for setting the
search operator for the "content" field.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261312 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-02 16:17:04 +00:00
mkanat%bugzilla.org
1f43f2c556 Bug 583243: Add a new hook 'search_operator_field_override'.
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261093 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-24 21:17:10 +00:00