aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
Commit message (Collapse)AuthorAgeFilesLines
* Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin2012-01-111-26/+5
| | | | | | add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
* Bug 683644: Foreign keys aren't renamed correctly when DB tables are renamedFrédéric Buclin2011-12-261-1/+13
| | | | r=wicked a=LpSolit
* Bug 550299: User fields are left blank in buglists and whines when local ↵Frédéric Buclin2011-12-051-2/+5
| | | | | | user accounts are used (i.e. they have no @company.com suffix) r/a=mkanat
* Bug 637648 - Rename the "tags" table to "tag"Stephanie Daugherty2011-08-291-3/+11
| | | | r=LpSolit, a=LpSolit
* Bug 662070: Use say() instead of print() where appropriateFrédéric Buclin2011-08-171-8/+8
| | | | r=glob a=LpSolit
* Bug 634144: Make possible_duplicates work on PostgreSQLSam Morris2011-03-011-3/+11
| | | | r=mkanat, a=mkanat
* Bug 603127: Make checksetup.pl require DBD::Pg 2.17.2 when using Pg 9.0 orMax Kanat-Alexander2011-02-141-20/+33
| | | | | later. r=dkl, a=mkanat
* The changes to bz_create_database done by the SQLite patch broke theMax Kanat-Alexander2010-11-021-1/+1
| | | | | | | 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
* Bug 337776: Basic SQLite Support for BugzillaMax Kanat-Alexander2010-10-271-5/+9
| | | | r=LpSolit, a=mkanat
* Minor improvement for bug 451735Frédéric Buclin2010-10-161-2/+0
| | | | r=mkanat
* Bug 451735 part2: fix bz_drop_index() so that it first drops related FKs ↵Frédéric Buclin2010-10-151-0/+6
| | | | | | before deleting the index itself r/a=mkanat
* Bug 602165: Change sql_interval to sql_date_math, in preparation forMax Kanat-Alexander2010-10-071-6/+19
| | | | MS-SQL and SQLite support.
* Bug 586244: Make mod_headers and mod_expires optionalMax Kanat-Alexander2010-09-181-5/+8
| | | | r=glob, a=mkanat
* Bug 578494: We can't use "shellwords" to split words for sql_fulltext on Pg,Max Kanat-Alexander2010-08-011-6/+17
| | | | | | 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
* Bug 583645: Make $dbh->quote always detaint its output, even on DBDs thatMax Kanat-Alexander2010-08-011-0/+11
| | | | | don't normally detaint output from $dbh->quote. r=LpSolit, a=LpSolit
* Bug 578494: When doing a QuickSearch on a phrase, pass the phrase quotedMax Kanat-Alexander2010-07-221-2/+4
| | | | | to the fulltext engine, so that it knows it's a phrase. r=LpSolit, a=mkanat
* Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander2010-07-171-0/+15
| | | | | | | 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)
* Bug 578739: Instead of removing REFERENCES from _bz_real_schema and thenMax Kanat-Alexander2010-07-141-36/+84
| | | | | | | 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)
* Bug 578587: Make checksetup be way quieter when creating a new installMax Kanat-Alexander2010-07-141-16/+40
| | | | r=mkanat, a=mkanat (module owner)
* Bug 577577: Make bz_drop_fk be tolerant of SQL failureMax Kanat-Alexander2010-07-081-2/+8
| | | | r=mkanat, a=mkanat (module owner)
* Bug 577520: Make the "Adding new table..." message not appear duringMax Kanat-Alexander2010-07-081-1/+2
| | | | | xt/search.t r=mkanat, a=mkanat (module owner)
* Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,Max Kanat-Alexander2010-07-051-2/+2
| | | | | IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat
* Bug 22353: Automatic duplicate bug detection on enter_bug.cgiMax Kanat-Alexander2010-06-211-0/+5
| | | | r=glob, a=mkanat
* Bug 556422: Move the existing bug-moving functionality into an extensionMax Kanat-Alexander2010-06-181-2/+1
| | | | | called OldBugMove. r=dkl, a=mkanat
* Bug 569312: Speed up the adding of many FKs to the same table for MySQLMax Kanat-Alexander2010-06-011-14/+33
| | | | | and PostgreSQL, by adding them all in one ALTER statement r=mkanat, a=mkanat (module owner)
* Bug 561322: Make Bugzilla::DB::_connect and related functions take theirMax Kanat-Alexander2010-04-271-13/+21
| | | | | | parameters as a hashref, to improve the API and to avoid exposing the database password on error. r=mkanat, a=mkanat (module owner)
* Bug 560284: Make all errors that checksetup.pl throws be redMax Kanat-Alexander2010-04-191-14/+8
| | | | r=mkanat, a=mkanat (module owner)
* Bug 545770: Make contrib/merge-users.pl figure out what columns to mergeMax Kanat-Alexander2010-03-151-5/+14
| | | | | by tracing FKs instead of having a fixed list. r=LpSolit, a=LpSolit
* Bug 520318: Add remove_from_db to Bugzilla:Group and use it to delete groups ↵mkanat%bugzilla.org2009-12-311-0/+8
| | | | | | in editgroups.cgi Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=LpSolit
* Bug 527489: Calls to bz_alter_column were dropping the REFERENCES item from ↵mkanat%bugzilla.org2009-11-181-0/+7
| | | | | | the stored Schema object. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat
* Bug 527505: Make 001compile.t use Bugzilla->feature to determine which ↵mkanat%bugzilla.org2009-11-101-3/+2
| | | | | | modules to compile Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
* Bug 519584: Implement a framework for migrating from other bug-trackers, and ↵mkanat%bugzilla.org2009-10-241-0/+10
| | | | | | start with a GNATS importer. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
* Bug 488931: Change the default priority values to be human-readable words ↵mkanat%bugzilla.org2009-09-301-1/+1
| | | | | | instead of P1, P2, etc. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
* Bug 509497: Implement sql_group_concat for all databasesmkanat%bugzilla.org2009-08-171-1/+2
| | | | | Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat Patch by Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
* Bug 508181: UTF-8 table conversion was failing when there were FKs on the ↵mkanat%bugzilla.org2009-08-061-0/+22
| | | | | | column or on related columns Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
* Bug 491467: Make Search.pm and buglist.cgi consistently take column ids for ↵mkanat%bugzilla.org2009-07-071-1/+0
| | | | | | 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
* Bug 477459: buglist.cgi crashes for logged out users if the "Reporter" ↵lpsolit%gmail.com2009-02-201-1/+1
| | | | column is displayed - Patches by Frédéric Buclin <LpSolit@gmail.com> and Xiaoou <xiaoou.wu@oracle.com> r/a=mkanat
* Bug 219021: Only display email addresses to logged-in usersmkanat%bugzilla.org2009-01-291-0/+25
| | | | Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
* Bug 463688: editusers.cgi no longer lets you search for users using regular ↵lpsolit%gmail.com2008-12-031-7/+6
| | | | expressions - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat r=xiaoou a=LpSolit
* Oh, actually, Xiaoou was right about where the constraint is supposed to go.mkanat%bugzilla.org2008-11-051-2/+2
|
* Bug 460421: [Oracle] Adding custom fields with type FIELD_TYPE_MULTI_SELECT ↵mkanat%bugzilla.org2008-11-051-1/+1
| | | | | | requires a unique constraint on the "value" column Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
* Bug 291433: Ability to have custom fields whose visibility depends on the ↵mkanat%bugzilla.org2008-10-251-5/+9
| | | | | | values of other fields Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
* Bug 455857: [Oracle] 'Find a Specific Bug' doesn't work - Patch by Xiaoou ↵lpsolit%gmail.com2008-10-171-0/+1
| | | | <xiaoou.wu@oracle.com> r/a=mkanat
* Bug 440188: buglist.cgi should display EXPLAIN output when &debug=1mkanat%bugzilla.org2008-08-011-1/+1
| | | | Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
* Bug 442863: ON DELETE CASCADE Foreign Keys should automatically delete ↵mkanat%bugzilla.org2008-07-011-20/+39
| | | | | | invalid values during checksetup Patch By Max Kanat-Alexander (module owner) a=mkanat
* Bug 327344: Create sql_iposition and use it in Search.pm to fix the fact ↵mkanat%bugzilla.org2008-06-301-1/+15
| | | | | | that searching for Turkish characters didn't do case-insensitivity properly. Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
* Bug 429804: Add Foreign Keys to Multiselect fieldsmkanat%bugzilla.org2008-06-291-4/+10
| | | | Patch By Alex Eiser <aeiser@arc.nasa.gov> r=mkanat, a=mkanat
* Bug 157092 – Implement a checking mechanism for invalid regexpdkl%redhat.com2008-06-191-0/+9
| | | | Patch by David Lawrence <dkl@redhat.com> - r/a=mkanat
* Bug 429847: config.cgi should include additional information about custom ↵lpsolit%gmail.com2008-04-201-40/+0
| | | | fields - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
* Bug 419979: Bugzilla::DB::bz_add_field_table directly modifies the ↵mkanat%bugzilla.org2008-03-251-8/+13
| | | | | | FIELD_TABLE_SCHEMA constant Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat