summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15Additional fix for bug 619016: The FK adding/removing code for SQLite didn'tMax Kanat-Alexander1-9/+26
work when it was modifying tables to have their first FK or removing all the FKs on a table. r=mkanat, a=mkanat (module owner)
2010-12-15Bug 619016: Make SQLite installations able to alter an existing schema,Max Kanat-Alexander2-20/+218
meaning that SQLite installations can now upgrade and add custom fields. r=mkanat, a=mkanat (module owner)
2010-11-14Bug 611974: collectstats.pl --regenerate fails with PostgreSQL 8.4.x ↵Sam Morris1-1/+1
(sql_from_days() doesn't accept integers as argument) r/a=LpSolit
2010-11-03The changes to bz_create_database done by the SQLite patch broke theMax Kanat-Alexander1-0/+9
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. https://bugzilla.mozilla.org/show_bug.cgi?id=337776
2010-10-29Bug 602456: Make Search.pm not quote numeric input for numeric fieldsMax Kanat-Alexander1-0/+2
when generating SQL. r=glob, a=mkanat
2010-10-27Bug 337776: Basic SQLite Support for BugzillaMax Kanat-Alexander3-13/+363
r=LpSolit, a=mkanat
2010-10-20Bug 605663: For MySQL, use information_schema instead of SHOW TABLE STATUSMax Kanat-Alexander1-53/+23
to get table information during checksetup, because it's much faster. This also bumps our MySQL requirement to 5.0.15. r=mkanat, a=mkanat (module owner)
2010-10-16Minor improvement for bug 451735Frédéric Buclin1-1/+1
r=mkanat
2010-10-15Bug 451735 part2: fix bz_drop_index() so that it first drops related FKs ↵Frédéric Buclin1-0/+16
before deleting the index itself r/a=mkanat
2010-10-14Bug 451735: Wrong index for the series tableFrédéric Buclin1-3/+3
r/a=mkanat
2010-10-14Bug 505165: The flags.setter_id DB column cannot be NULLFrédéric Buclin1-1/+1
r/a=mkanat
2010-10-07Bug 602165: Change sql_interval to sql_date_math, in preparation forMax Kanat-Alexander3-10/+12
MS-SQL and SQLite support.
2010-08-31Bug 77193 - Add the ability to retire (disable) old versions, components and ↵Dave Lawrence1-0/+6
milestones r/a=mkanat
2010-08-27Bug 479400: Add the ability to show or hide particular custom fieldsTiago Mello1-1/+19
based on multiple values of another field (visibility controllers) r/a=mkanat
2010-08-11Bug 586210: Make every important string printed by checksetup.pl localizable,Max Kanat-Alexander1-46/+8
including the localconfig parameter descriptions r=mkanat, a=mkanat (module owner)
2010-07-18Bug 119703: Create an attachment by pasting it into a text fieldFrédéric Buclin1-2/+0
r/a=mkanat
2010-07-15Bug 578739: Instead of removing REFERENCES from _bz_real_schema and thenMax Kanat-Alexander3-13/+47
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)
2010-07-14Bug 578587: Make checksetup be way quieter when creating a new installMax Kanat-Alexander1-2/+3
r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578197: [PostgreSQL] When associating sequences with columns, alsoMax Kanat-Alexander1-0/+6
fix the default of the columns so that it's identical to what a new checksetup run would create. r=mkanat, a=mkanat (module owner)
2010-07-13Bug 578197: [PostgreSQL] Properly associate sequences that had noMax Kanat-Alexander1-0/+21
column association r=mkanat, a=mkanat (module owner)
2010-07-10Bug 451219: Allow altering from one SERIAL type to another on PostgreSQL,Max Kanat-Alexander1-1/+2
for people upgrading Testopia from 1.3 to 2.0+. r=mkanat, a=mkanat (module owner)
2010-07-10Bug 577793: Improve the Pg SERIAL-altering code now that we require 8.3Max Kanat-Alexander1-10/+8
r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577569: [PostgreSQL] Make sql_position explicitly cast both its argumentsMax Kanat-Alexander1-1/+1
to text, to avoid an error when searching "longdescs.isprivate" with the "casesubstring" operator in Search.pm. r=mkanat, a=mkanat (module owner)
2010-07-07Bug 552919: Sort group_concat results so that they sort correctly for buglistsMax Kanat-Alexander3-9/+31
r=mkanat, a=mkanat (module owner)
2010-07-06Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,Max Kanat-Alexander1-1/+1
IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat
2010-06-22The DB::Schema alter_column default fix also needed to be separatelyMax Kanat-Alexander1-2/+5
applied to DB::Schema::Oracle, since it has a full override of get_alter_column_ddl. https://bugzilla.mozilla.org/show_bug.cgi?id=573441
2010-06-22When doing bz_alter_column, if Max Kanat-Alexander1-2/+5
https://bugzilla.mozilla.org/show_bug.cgi?id=573441
2010-06-22Bug 573454: Make the products.description field be NOT NULL in theMax Kanat-Alexander1-1/+1
database r=timello, a=mkanat
2010-06-22Bug 573450: Make the keyworddefs.description column be NOT NULL in theMax Kanat-Alexander1-1/+1
database r=timello, a=mkanat
2010-06-22Bug 573441: Add a DEFAULT and NOTNULL to the attachments.ispatch columnMax Kanat-Alexander1-1/+2
r=timello, a=mkanat
2010-06-22Bug 22353: Automatic duplicate bug detection on enter_bug.cgiMax Kanat-Alexander2-6/+4
r=glob, a=mkanat
2010-06-16Bug 24896: Make the First/Last/Prev/Next navigation on bugs work withMax Kanat-Alexander1-0/+12
multiple buglists at once r=glob, a=mkanat
2010-06-01Bug 569312: Speed up the adding of many FKs to the same table for MySQLMax Kanat-Alexander2-33/+56
and PostgreSQL, by adding them all in one ALTER statement r=mkanat, a=mkanat (module owner)
2010-05-19Bug 494395: Implement the ability to mark custom fields as mandatory whenTiago Mello1-0/+3
creating/changing bugs r=mkanat, a=mkanat
2010-05-07Bug 463945: Add default values for membercontrol and othercontrolEdmund Wong1-2/+4
in group_control_map, and fix their DB type to be correct r=mkanat, a=mkanat
2010-04-27Bug 561322: Make Bugzilla::DB::_connect and related functions take theirMax Kanat-Alexander3-6/+15
parameters as a hashref, to improve the API and to avoid exposing the database password on error. r=mkanat, a=mkanat (module owner)
2010-04-22Bug 560009: Use firstidx from List::MoreUtils instead of lsearchMax Kanat-Alexander1-3/+4
r=timello, a=mkanat
2010-04-22Add a comment above BOOLEAN_MAP to make it crystal clear that it doesMax Kanat-Alexander1-0/+3
not now need to be updated.
2010-04-20Bug 560284: Make all errors that checksetup.pl throws be redMax Kanat-Alexander1-2/+1
r=mkanat, a=mkanat (module owner)
2010-04-08Bug 69621: Remove the keyword cache (which is not updated on keyword ↵Frédéric Buclin1-4/+0
rename/delete) r/a=mkanat
2010-03-02Bug 541553: [Oracle] Drop triggers when dropping columns, and drop theXiaoou Wu2-0/+24
left-behind PRODUCTS_MILESTONEURL trigger that currently exists in 3.6/trunk. r=mkanat, a=mkanat
2010-02-20Bug 519035: Make the FK for series.creator have ON DELETE CASCADE insteadMax Kanat-Alexander1-1/+1
of ON DELETE SET NULL r=LpSolit, a=LpSolit
2010-02-16Bug 372979: Make voting into an extensionMax Kanat-Alexander1-27/+0
r=mkanat, a=mkanat, a=LpSolit
2010-02-10Bug 310450 - Bugzilla should send an email when a comment becomes private ↵Dave Lawrence1-0/+4
or un-private r=mkanat, a=mkanat
2010-02-08Bug 251556: Allow "Bug ID" fields to have one-way mutual relationships (like ↵Jesse Clark1-0/+1
blocks/dependson) r=mkanat, a=mkanat
2010-02-01Bug 538705: Assure that Bugzilla->dbh doesn't become invalid under MySQL ↵Max Kanat-Alexander1-2/+6
during long jobqueue.pl runs. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2010-02-01Bug 533363: [PostgreSQL] Using "Bug ID contains foo" in boolean charts or ↵Frédéric Buclin1-2/+14
"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
2009-12-31Bug 531841: Change all hour-related database fields to decimal(7,3) so that ↵mkanat%bugzilla.org1-3/+3
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
2009-12-31Bug 520318: Add remove_from_db to Bugzilla:Group and use it to delete groups ↵mkanat%bugzilla.org1-2/+4
in editgroups.cgi Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=LpSolit
2009-12-18Bug 162060: Remove the relationship between "votestoconfirm" and whether or ↵mkanat%bugzilla.org1-0/+2
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