171 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
4fed7368a0 Bug 1081675 - remove unused variables. r=gerv, a=glob.
git-svn-id: svn://10.0.0.236/trunk@265649 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-29 16:30:50 +00:00
bzrmirror%bugzilla.org
898ddc56b5 Bug 1082106: $dbh->bz_add_columns creates a foreign key constraint causing failure in checksetup.pl when it tries to re-add it later
r=glob,a=glob


git-svn-id: svn://10.0.0.236/trunk@265636 18797224-902f-48f8-a5cc-f745e15eee43
2014-10-24 15:30:49 +00:00
bzrmirror%bugzilla.org
84c5be6eb5 Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265490 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-13 11:01:07 +00:00
bzrmirror%bugzilla.org
4e39726070 Bug 448574 - Let $dbh->bz_commit_transaction send emails which are generated during a transaction
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265487 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-10 08:01:36 +00:00
bzrmirror%bugzilla.org
01efd2530d Bug 237498: Add memcached integration
r=dkl, a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265148 18797224-902f-48f8-a5cc-f745e15eee43
2013-12-19 06:00:50 +00:00
bzrmirror%bugzilla.org
f94dc407ee Bug 938300: vers_cmp() incorrectly compares module versions
r=sgreen a=justdave


git-svn-id: svn://10.0.0.236/trunk@265126 18797224-902f-48f8-a5cc-f745e15eee43
2013-12-02 16:15:49 +00:00
mkanat%bugzilla.org
1764f0df90 Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264508 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-01 01:31:00 +00:00
mkanat%bugzilla.org
f6af30d002 Bug 816747 - Add dummy POD for unPODded methods.
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264502 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-30 14:45:59 +00:00
mkanat%bugzilla.org
d59efd7af8 Bug 780820: Allows for multiple custom search criteria to match one field
r=dkl,a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264476 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-22 08:30:47 +00:00
mkanat%bugzilla.org
8e47ba629a Bug 787529: Use |use 5.10.1| everywhere
r=wicked a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264195 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-01 21:45:59 +00:00
mkanat%bugzilla.org
746ac953a2 Bug 655477: Bugzilla now requires Perl 5.10.1
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264188 18797224-902f-48f8-a5cc-f745e15eee43
2012-08-31 10:45:54 +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
209e131eeb Bug 683644: Foreign keys aren't renamed correctly when DB tables are renamed
r=wicked a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263193 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-26 10:46:44 +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
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
445178c2c6 Bug 662070: Use say() instead of print() where appropriate
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@262709 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-17 11:31:30 +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
70d34e05ff Bug 603127: Make checksetup.pl require DBD::Pg 2.17.2 when using Pg 9.0 or
later.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261936 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-14 20:16:54 +00:00
mkanat%bugzilla.org
0606c01a01 The changes to bz_create_database done by the SQLite patch broke the
creation of databases on other systems. This restores the original
behavior while still retaining the correct error-throwing behavior
for systems that can't create a SQLite database.


git-svn-id: svn://10.0.0.236/trunk@261507 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-02 23:46:48 +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
699ab97fe8 Minor improvement for bug 451735
r=mkanat


git-svn-id: svn://10.0.0.236/trunk@261420 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-16 12:51:06 +00:00
mkanat%bugzilla.org
8375b33638 Bug 451735 part2: fix bz_drop_index() so that it first drops related FKs before deleting the index itself
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261403 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-15 00:17:05 +00:00
mkanat%bugzilla.org
9285e338dd Bug 602165: Change sql_interval to sql_date_math, in preparation for
MS-SQL and SQLite support.


git-svn-id: svn://10.0.0.236/trunk@261360 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-07 11:02:21 +00:00
mkanat%bugzilla.org
048a4fa74a Bug 586244: Make mod_headers and mod_expires optional
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261239 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-18 23:40:15 +00:00
mkanat%bugzilla.org
7765f561eb Bug 578494: We can't use "shellwords" to split words for sql_fulltext on Pg,
because it doesn't work with unbalanced single quotes. So we just do a hack
to make Quicksearch work right, for Pg.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260938 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-02 01:34:28 +00:00
mkanat%bugzilla.org
f09b813e00 Bug 583645: Make $dbh->quote always detaint its output, even on DBDs that
don't normally detaint output from $dbh->quote.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260936 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-02 01:02:01 +00:00
mkanat%bugzilla.org
066b0d12b4 Bug 578494: When doing a QuickSearch on a phrase, pass the phrase quoted
to the fulltext engine, so that it knows it's a phrase.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260851 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-23 02:07:49 +00:00
mkanat%bugzilla.org
dcf37601ba Bug 579568: Search.pm: Improve the implementation and performance of
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)


git-svn-id: svn://10.0.0.236/trunk@260807 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-18 01:01:41 +00:00
mkanat%bugzilla.org
c501f77423 Bug 578739: Instead of removing REFERENCES from _bz_real_schema and then
populating FKs from _bz_schema at the end of checksetup, store REFERENCES
in _bz_real_schema with a special "created => 0" key that tells us that
we still need to create the FK.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260775 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-14 22:46:37 +00:00
mkanat%bugzilla.org
ff2c251501 Bug 578587: Make checksetup be way quieter when creating a new install
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260772 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-14 19:01:37 +00:00
mkanat%bugzilla.org
970784abc3 Bug 577577: Make bz_drop_fk be tolerant of SQL failure
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260688 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 23:50:06 +00:00
mkanat%bugzilla.org
31fb7ecfb2 Bug 577520: Make the "Adding new table..." message not appear during
xt/search.t
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260675 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 18:18:29 +00:00
mkanat%bugzilla.org
1228ba5d93 Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,
IN_PROGRESS, RESOLVED, VERIFIED.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260637 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 00:47:25 +00:00
mkanat%bugzilla.org
e8ffd81794 Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260499 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:16:36 +00:00
mkanat%bugzilla.org
a3d7656f23 Bug 556422: Move the existing bug-moving functionality into an extension
called OldBugMove.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260491 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 21:16:53 +00:00
mkanat%bugzilla.org
1e41f9330d Bug 569312: Speed up the adding of many FKs to the same table for MySQL
and PostgreSQL, by adding them all in one ALTER statement
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260407 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-01 20:46:34 +00:00
mkanat%bugzilla.org
557a991e59 Bug 561322: Make Bugzilla::DB::_connect and related functions take their
parameters as a hashref, to improve the API and to avoid exposing the
database password on error.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260233 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-27 19:16:31 +00:00
mkanat%bugzilla.org
23e215a381 Bug 560284: Make all errors that checksetup.pl throws be red
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260208 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-19 23:31:37 +00:00
mkanat%bugzilla.org
dde7c3f173 Bug 545770: Make contrib/merge-users.pl figure out what columns to merge
by tracing FKs instead of having a fixed list.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259990 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-16 05:46:02 +00:00
mkanat%bugzilla.org
0c4b8ff3b5 Bug 520318: Add remove_from_db to Bugzilla:Group and use it to delete groups in editgroups.cgi
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259325 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-31 12:48:23 +00:00
mkanat%bugzilla.org
6cf51770ad Bug 527489: Calls to bz_alter_column were dropping the REFERENCES item from the stored Schema object.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259011 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-18 07:08:33 +00:00
mkanat%bugzilla.org
24cf7a5563 Bug 527505: Make 001compile.t use Bugzilla->feature to determine which modules to compile
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258958 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 21:19:48 +00:00
mkanat%bugzilla.org
9a2d53ce3a Bug 519584: Implement a framework for migrating from other bug-trackers, and start with a GNATS importer.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258777 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-24 05:31:42 +00:00
mkanat%bugzilla.org
f3324728b4 Bug 488931: Change the default priority values to be human-readable words instead of P1, P2, etc.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258531 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-30 08:55:28 +00:00
mkanat%bugzilla.org
452ba29d66 Bug 509497: Implement sql_group_concat for all databases
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Patch by Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258129 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-17 21:31:40 +00:00
mkanat%bugzilla.org
722cbcaa84 Bug 508181: UTF-8 table conversion was failing when there were FKs on the column or on related columns
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@257957 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-06 14:54:22 +00:00
mkanat%bugzilla.org
9228ac1a1d Bug 491467: Make Search.pm and buglist.cgi consistently take column ids for the "fields" and "order" arguments, to prevent problems with using SQL fragments in the order and columnlist.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@257649 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-07 18:20:16 +00:00
lpsolit%gmail.com
8b94c0234d Bug 477459: buglist.cgi crashes for logged out users if the "Reporter" column is displayed - Patches by Frédéric Buclin <LpSolit@gmail.com> and Xiaoou <xiaoou.wu@oracle.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256260 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-20 14:12:54 +00:00
mkanat%bugzilla.org
4088e2081f Bug 219021: Only display email addresses to logged-in users
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@255976 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-29 21:22:39 +00:00
lpsolit%gmail.com
2b969c6577 Bug 463688: editusers.cgi no longer lets you search for users using regular expressions - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=xiaoou a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@255320 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-03 07:00:46 +00:00