286 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
02d012ed6a Fix POD to make tests happy
git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@265334 18797224-902f-48f8-a5cc-f745e15eee43
2014-04-17 17:00:41 +00:00
mkanat%bugzilla.org
07e4f1d919 Bug 852560: Bugzilla cannot be installed with MySQL 5.6, because the have_innodb variable no longer exists
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@264804 18797224-902f-48f8-a5cc-f745e15eee43
2013-03-20 12:16:19 +00:00
mkanat%bugzilla.org
4400d3c7bb Bug 746547: SMALLSERIAL is of type INT2, not INT1
r=timello a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@263709 18797224-902f-48f8-a5cc-f745e15eee43
2012-04-18 15:04:18 +00:00
mkanat%bugzilla.org
6df13f362e 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=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@263136 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-06 12:04:13 +00:00
mkanat%bugzilla.org
c6d56a2e9e Bug 701350: Oracle crashes if the 'maxattachmentsize' parameter is set to a too small value
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@263129 18797224-902f-48f8-a5cc-f745e15eee43
2011-12-05 16:17:32 +00:00
mkanat%bugzilla.org
a0ab02e077 Bug 654496: Duplicate bug detection doesn't work when using Oracle
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262662 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-16 01:48:50 +00:00
mkanat%bugzilla.org
60e9f66f35 Bug 582209: Bugzilla::DB::Oracle::adjust_statement() LIMIT code corrupts sub-selects
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262661 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-16 01:32:37 +00:00
mkanat%bugzilla.org
125ef08b3d Bug 673702: Undefined get_add_fk_sql in Bugzilla/DB/Schema.pm
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@262556 18797224-902f-48f8-a5cc-f745e15eee43
2011-07-31 12:18:21 +00:00
mkanat%bugzilla.org
297384c75f Remove tabs and fix some formatting in Bugzilla::DB::Pg.
git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261940 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-14 20:36:14 +00:00
mkanat%bugzilla.org
9a04575284 Bug 616981: Make whine.pl work with PostgreSQL 8.4+ by fixing sql_string_until
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261938 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-14 20:27:00 +00:00
mkanat%bugzilla.org
122b71491f 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/branches/BUGZILLA-4_0-BRANCH@261935 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-14 20:05:48 +00:00
mkanat%bugzilla.org
88509a0a82 Bug 625190: Typo and Missing FK in Bugzilla::DB::Schema
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261748 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-15 00:19:58 +00:00
mkanat%bugzilla.org
ca80e77285 Bug 611974: collectstats.pl --regenerate fails with PostgreSQL 8.4.x (sql_from_days() doesn't accept integers as argument)
r/a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261564 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-14 19:23:27 +00:00
mkanat%bugzilla.org
c96bdf17ee Bug 505165: The flags.setter_id DB column cannot be NULL
r/a=mkanat


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261385 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-13 23:18:49 +00:00
mkanat%bugzilla.org
662196cf91 Bug 451219: Allow altering from one SERIAL type to another on PostgreSQL,
for people upgrading Testopia from 1.3 to 2.0+.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@260703 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-10 04:23:40 +00:00
mkanat%bugzilla.org
a079ad7712 Bug 552919: Sort group_concat results so that they sort correctly for buglists
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260654 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-07 00:16:41 +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
29564ffa8f The DB::Schema alter_column default fix also needed to be separately
applied to DB::Schema::Oracle, since it has a full override of
get_alter_column_ddl.


git-svn-id: svn://10.0.0.236/trunk@260519 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 05:46:34 +00:00
mkanat%bugzilla.org
562ffb7a6d When doing bz_alter_column, if
git-svn-id: svn://10.0.0.236/trunk@260512 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 03:46:31 +00:00
mkanat%bugzilla.org
cef841b0d8 Bug 573454: Make the products.description field be NOT NULL in the
database
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260510 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:58:32 +00:00
mkanat%bugzilla.org
7728bdd36b Bug 573450: Make the keyworddefs.description column be NOT NULL in the
database
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260509 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:57:11 +00:00
mkanat%bugzilla.org
e1337c3103 Bug 573441: Add a DEFAULT and NOTNULL to the attachments.ispatch column
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260508 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:55:42 +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
6add188323 Bug 24896: Make the First/Last/Prev/Next navigation on bugs work with
multiple buglists at once
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260472 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-16 01:46:23 +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
676317f3b2 Bug 494395: Implement the ability to mark custom fields as mandatory when
creating/changing bugs
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260336 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-19 16:34:06 +00:00
mkanat%bugzilla.org
f53abead9c Bug 463945: Add default values for membercontrol and othercontrol
in group_control_map, and fix their DB type to be correct
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260271 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-07 03:46:21 +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
f7e990146a Bug 560009: Use firstidx from List::MoreUtils instead of lsearch
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260217 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 18:16:55 +00:00
mkanat%bugzilla.org
9a75e5c87e Add a comment above BOOLEAN_MAP to make it crystal clear that it does
not now need to be updated.


git-svn-id: svn://10.0.0.236/trunk@260215 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 01:01:27 +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
9c0458a85c Bug 69621: Remove the keyword cache (which is not updated on keyword rename/delete)
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260168 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-08 10:23:12 +00:00
mkanat%bugzilla.org
48f263c753 Bug 541553: [Oracle] Drop triggers when dropping columns, and drop the
left-behind PRODUCTS_MILESTONEURL trigger that currently exists in 3.6/trunk.
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259861 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-01 23:33:44 +00:00
mkanat%bugzilla.org
7bdfb063ad Bug 519035: Make the FK for series.creator have ON DELETE CASCADE instead
of ON DELETE SET NULL
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259769 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-20 20:05:10 +00:00
mkanat%bugzilla.org
a68210b184 Bug 372979: Make voting into an extension
r=mkanat, a=mkanat, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259709 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-15 23:32:10 +00:00
mkanat%bugzilla.org
3874c50aec Bug 310450 - Bugzilla should send an email when a comment becomes private or un-private
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259674 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-10 18:01:31 +00:00
mkanat%bugzilla.org
3dd9232495 Bug 251556: Allow "Bug ID" fields to have one-way mutual relationships (like blocks/dependson)
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259643 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-08 00:21:04 +00:00
mkanat%bugzilla.org
4a0127ef6c Bug 538705: Assure that Bugzilla->dbh doesn't become invalid under MySQL during long jobqueue.pl runs.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259529 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-31 23:39:14 +00:00
lpsolit%gmail.com
b69be1d0f2 Bug 533363: [PostgreSQL] Using "Bug ID contains foo" in boolean charts or "Exclude bug numbered" charts crash PostgreSQL 8.3 and newer (non-character data types are no longer automatically cast to TEXT) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@259519 18797224-902f-48f8-a5cc-f745e15eee43
2010-01-31 18:06:27 +00:00
mkanat%bugzilla.org
bed67cf652 Bug 531841: Change all hour-related database fields to decimal(7,3) so that they can store numbers greater than 999.99 in modern versions of MySQL.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259327 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-31 13:01:48 +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
7ec4e12560 Bug 162060: Remove the relationship between "votestoconfirm" and whether or not the UNCONFIRMED status is available, by adding a checkbox to enable the UNCONFIRMED status in editproducts.cgi.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259248 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-17 23:31:56 +00:00
mkanat%bugzilla.org
19291a798d Bug 369489: Remove the milestoneurl feature and link "Target Milestone" to the fields.html page
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259215 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-13 22:07:50 +00:00
mkanat%bugzilla.org
4dcdf133fb Bug 505826: Allow boolean searches on the Comment field in Oracle.
Patch by Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259213 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-13 21:13:27 +00:00
mkanat%bugzilla.org
15546c7c25 Bug 355283: Lock out a user account on a particular IP for 30 minutes if they fail to log in 5 times from that IP.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259208 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-13 20:46:28 +00:00
mkanat%bugzilla.org
98a5bbf59c Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259069 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-24 06:09:55 +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
lpsolit%gmail.com
c89b589751 Bug 399073: Remove the 'loginnetmask' parameter - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@258717 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-18 23:35:01 +00:00
lpsolit%gmail.com
260fb11a59 Bug 519032: Remove the unused "last_viewed" column from the "series" DB table - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@258512 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-28 09:04:40 +00:00
mkanat%bugzilla.org
066bd5f837 Bug 516157: MySQL 6.x/5.2/5.4 uses "ENGINE", not "TYPE", for altering tables to InnoDB
Patch by Gerard J. Cerchio <gjpc@circlesoft.com> r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258424 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-20 22:34:33 +00:00