196 Commits

Author SHA1 Message Date
lpsolit%gmail.com
9f425f17e8 Bug 293015: PostgreSQL: GROUP BY error when searching for bugs - Patch by Olivier Sirven <osirven@elma.fr> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@173269 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 21:05:19 +00:00
mkanat%kerio.com
b483941cbf Bug 284599: Use of REGEXP search is not consistent wrt case sensitivity
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@172462 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 23:44:03 +00:00
mkanat%kerio.com
9286c3cf61 Bug 286360: ANSI SQL does not allow aliases to be used in HAVING clause
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=myk, r=joel, a=myk


git-svn-id: svn://10.0.0.236/trunk@172324 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-16 00:37:23 +00:00
bugreport%peshkin.net
bf70c557ac Bug 286461:Add products table to search if classification are needed
Patch by joel
r=gerv, a=justdave


git-svn-id: svn://10.0.0.236/trunk@171615 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 23:02:16 +00:00
mkanat%kerio.com
03db8d0a41 Bug 284125: PostgreSQL cannot call SUM on a boolean (Boolean Charts)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170830 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 06:50:44 +00:00
mkanat%kerio.com
fda3b0dd8f Bug 174295: ANSI SQL requires all columns in SELECT to be in GROUP BY, unless they are in "aggregate" functions
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=myk


git-svn-id: svn://10.0.0.236/trunk@170751 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-16 00:27:15 +00:00
travis%sedsystems.ca
7351a5b76b Bug 283581 : Move UserInGroup out of globals.pl
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>   r=mkanat  a=justdave


git-svn-id: svn://10.0.0.236/trunk@170734 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 22:10:14 +00:00
mkanat%kerio.com
7013b8fba9 Bug 251960: Search.pm uses DB dependent comma operator
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=joel, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170664 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 23:17:47 +00:00
mkanat%kerio.com
e0d71a3fe8 Bug 281582: Replace CONCAT and MATCH with Bugzilla::DB function call (Note: This patch also creates a database-agnostic fulltext search method.)
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=myk


git-svn-id: svn://10.0.0.236/trunk@170407 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 23:23:30 +00:00
mkanat%kerio.com
174b0b2d34 Bug 284598: INSTR function is not supported by postgres
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170201 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 07:36:08 +00:00
mkanat%kerio.com
d7c4f4e167 Bug: 284244: DATE_SUB and DATE_ADD are not ANSI SQL
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=wicked, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170128 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 07:19:10 +00:00
mkanat%kerio.com
2943ee11e1 Bug 284172: checksetup cannot run CREATE DATABASE on PostgreSQL
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=glob, a=justdave


git-svn-id: svn://10.0.0.236/trunk@170127 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 07:15:03 +00:00
bugreport%peshkin.net
665ae2ce13 Bug 264192: Fix search where BugsThisDependsOn or OtherBugsDependingOnThis is empty
Patch by Joel Peshkin <bugreport@peshkin.net> r=mkanat, a=myk


git-svn-id: svn://10.0.0.236/trunk@169822 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 03:40:03 +00:00
mkanat%kerio.com
f7471cbb97 Bug 283237: Move DBname_to_id out of globals.pl
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=myk


git-svn-id: svn://10.0.0.236/trunk@169799 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 23:42:48 +00:00
mkanat%kerio.com
758dc178e5 Bug 17453: Enumerators in Bugzilla are not cross-DB compatible. This removes all 'enum' types in the database from Bugzilla.
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=joel, a=justdave


git-svn-id: svn://10.0.0.236/trunk@169792 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 22:43:28 +00:00
mkanat%kerio.com
4366849e89 Bug 280502: Replace "INTERVAL" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@169516 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 08:02:07 +00:00
mkanat%kerio.com
744343cdb5 Bug 280499: Replace "TO_DAYS()" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@169514 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 07:53:17 +00:00
bugreport%peshkin.net
aceb55c482 Bug 282705: Remove newlines from LEFT JOIN parts of SQL in Search.pm
r=lpsolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@169466 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 02:04:04 +00:00
erik%dasbistro.com
670b6254a0 Bug 253721: Add group-based lists to whining
Patch by Erik Stambaugh <erik@dasbistro.com>
r=joel, r,a=justdave


git-svn-id: svn://10.0.0.236/trunk@169438 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 22:42:07 +00:00
mkanat%kerio.com
fe14d8a2d1 Bug 280497: Replace "LIMIT" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat,a=justdave


git-svn-id: svn://10.0.0.236/trunk@169390 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:14:27 +00:00
mkanat%kerio.com
4f73e1f64b Bug 280495: Replace "REGEXP" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=wurblzap, a=myk


git-svn-id: svn://10.0.0.236/trunk@169274 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-16 18:40:13 +00:00
travis%sedsystems.ca
9cce6a4285 Bug 189366 : real name columns should fall back to e-mail name
Patch by Marc Schumann <wurblzap@gmail.com>   r=LpSolit,jpeshkin  a=justdave


git-svn-id: svn://10.0.0.236/trunk@169205 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 17:16:08 +00:00
travis%sedsystems.ca
ffb7672f1a Bug 179451 : Move order-by generation from buglist.cgi into search.pm
Patch by Max K-A <mkanat@kerio.com>
r=Joel Peshkin <bugreport@peshkin.net>      a=myk


git-svn-id: svn://10.0.0.236/trunk@167946 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 17:25:02 +00:00
jocuri%softhome.net
297b1c2147 Patch for bug 103636: Support specifying a date on which a bug is expected to be resolved; patch by Alexandre Michetti Manduca <michetti@grad.icmc.usp.br>, r=jouni, a=myk.
git-svn-id: svn://10.0.0.236/trunk@167817 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-16 13:36:05 +00:00
jocuri%softhome.net
378b821e00 Patch for bug 275788: Provide a line of code that defines legal query formats for other scripts to use; patch by Colin S. Ogilvie <colin.ogilvie@gmail.com>, r=vladd, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@167132 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 08:01:17 +00:00
jocuri%softhome.net
4a13f4b7a6 Patch for bug 275523: Replace INNER JOIN in flag searches with LEFT JOIN; patch by me, r=joel, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@167131 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 07:52:59 +00:00
jocuri%softhome.net
3858cc3b95 Patch for bug 270823: Remove failure on search 'time since owner touched bug' (remove linebreaks from middle join clause); patch by Joel Peshkin <bugreport@peshkin.net>, r=justdave, r=vladd, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@166695 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 02:31:56 +00:00
jocuri%softhome.net
721f79fa1b Patch for bug 252889: Change Search.pm activity log joins to LEFT JOINS; patch by Joel Peshkin <bugreport@peshkin.net>, r=justdave, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@166693 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 02:25:15 +00:00
justdave%bugzilla.org
28b3852d60 Bug 255663: Query on [Bug creation] and anything to do with attachments no longer crashes
r=joel, a=myk


git-svn-id: svn://10.0.0.236/trunk@162134 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:20:00 +00:00
myk%mozilla.org
fdccab9ae8 Fix for bug 215319: changes "flag requester" field in boolean charts to "flag requestee" field, which is what it should have been ("flag requester" can be queried via the "flag setter" field)
r=justdave


git-svn-id: svn://10.0.0.236/trunk@162124 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 23:38:46 +00:00
bugreport%peshkin.net
967204e8ec Bug 224208 Add a higher level of categorization (.ie departments, locations, etc.)
patch by Albert Ting
r=joel, glob
a=myk


git-svn-id: svn://10.0.0.236/trunk@161078 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 21:49:20 +00:00
bugreport%peshkin.net
12e5e8c5f9 Bug 244239: Add group-based pronouns to query
r=erik,justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@160666 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 14:00:34 +00:00
bugreport%peshkin.net
9f826706c4 Bug 253588: Change Bugzilla->user to be usable even for a logged-out user
patch by erik,joel
r=kiko
a=justdave


git-svn-id: svn://10.0.0.236/trunk@160163 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 02:27:26 +00:00
bugreport%peshkin.net
4d039a4c95 Bug 204903: Enable searches to match NULL aliases, missing qa_contact, and search on CC even when cc-list is empty
r=jouni
a=myk


git-svn-id: svn://10.0.0.236/trunk@160009 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 00:46:57 +00:00
bugreport%peshkin.net
418761147e Bug 238544: Emit appropriate error if content and matches are used in
invalid search combinations.
r=jouni
a=justdave


git-svn-id: svn://10.0.0.236/trunk@159636 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 06:48:59 +00:00
bugreport%peshkin.net
0ed8232524 Bug 245272: Add per-chart negation to boolean searches
r=justdave,myk,timeless
a=myk


git-svn-id: svn://10.0.0.236/trunk@159555 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 21:46:47 +00:00
bugreport%peshkin.net
26e1d25123 Bug 251567: Make sure "find a specific bug" doesn't miss exact matches in summary
r=justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@159377 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 01:33:51 +00:00
bugreport%peshkin.net
3e8fa8cd6c Bug 226434: Add %reporter%, %user%, and %assignee% pronouns to boolean charts
r=jouni
a=justdave


git-svn-id: svn://10.0.0.236/trunk@159119 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 01:52:06 +00:00
bugreport%peshkin.net
b95653cb87 Bug 245158: Combine multiple redundant LEFT JOINs into a single LEFT JOIN in Search.pm
r=zach,justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@159036 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-11 23:08:39 +00:00
jouni%heikniemi.net
7fd5078c36 Bug 223878: Flag system dies when changing a deleted flag.
r=joel, justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@158788 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 07:08:02 +00:00
bugreport%peshkin.net
6800dd8a15 Bug 244927: Add search on time owner has left the bug idle
r=jouni
a=myk


git-svn-id: svn://10.0.0.236/trunk@157259 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 20:29:05 +00:00
bugreport%peshkin.net
6d9c9459a7 Bug 243351: Fix mysql version sensitivity in case-sensitive search
r=jouni
a=justdave


git-svn-id: svn://10.0.0.236/trunk@157000 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 02:40:18 +00:00
bugreport%peshkin.net
162f54a027 Bug 244650: Fix query on commentor in combination with other email-based criteria
r=justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@156950 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-26 06:51:52 +00:00
myk%mozilla.org
89be897808 Fix for bug 237176: allows power users to display relevance values as a column in the search results for a fulltext search
r=justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@154526 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-06 00:11:26 +00:00
myk%mozilla.org
a208bb13db Fix for bug 234100: removes redundant longdescs table join criterion
r=justdave


git-svn-id: svn://10.0.0.236/trunk@152741 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-13 01:45:21 +00:00
myk%mozilla.org
f4d5a1d8b8 Fix for bug 232164: Adds backwards-compatibility hack for changedin queries for newly created bugs and simplifies the code.
r=bbaetz


git-svn-id: svn://10.0.0.236/trunk@151843 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 12:09:40 +00:00
myk%mozilla.org
2efe3b6b4e Fix for bug 232150: Corrects "field changed" queries including [Bug creation] as one of the fields so that they actually work instead of taking forever. The query was structured as "[Bug creation] clause OR (bugs_activity JOIN clause OR (other field clauses))" when it should have been "bugs_activity JOIN CLAUSE AND ([Bug creation] clause OR other field clauses)"
r=bbaetz
a=myk


git-svn-id: svn://10.0.0.236/trunk@151837 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 04:04:28 +00:00
bugreport%peshkin.net
41be22cdae Bug 225075: Fix exact case search so it only selects bugs with matching case strings.
r=bbaetz, a=justdave


git-svn-id: svn://10.0.0.236/trunk@151638 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 14:01:08 +00:00
bbaetz%acm.org
733d4fcc05 Bug 226284 - slow queries for creation_ts
r,a=justdave


git-svn-id: svn://10.0.0.236/trunk@149649 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-23 09:31:44 +00:00
gerv%gerv.net
281bcb9f15 Bu 210735 - collectstats.pl broken. Removes "uninitialised value" warning. Patch by gerv; r=bbaetz, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@148727 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 15:22:42 +00:00