summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
AgeCommit message (Collapse)AuthorFilesLines
2016-02-23Bug 1246528 - Use Makefile.PL and allow Bugzilla use cpanm-compatible local ↵Dylan Hardison1-25/+0
dependencies r=dkl,a=dylan
2015-09-23Bug 1184431: Bug searching is slow on PostgreSQLMatt Tyson1-0/+92
r=LpSolit
2015-07-29Bug 1174560 - DBI link in API docs broken.Simon Green1-4/+5
r=gerv, a=simon
2015-06-03Bug 1089475: Use "ThrowCodeError" when a database error occurs instead of ↵Jeff Fearn1-0/+8
dumping a stack trace r=glob,a=glob
2015-04-08Backout bug 1089475, it causes deep recursions when the DB server is not ↵Frédéric Buclin1-5/+0
accessible
2014-12-17Bug 1089475: Use "ThrowCodeError" when a database error occurs instead of ↵Jeff Fearn1-0/+5
dumping a stack trace r=glob,a=glob
2014-10-29Bug 1081675 - remove unused variables. r=gerv, a=glob.Matt Selsky1-1/+0
2014-10-24Bug 1082106: $dbh->bz_add_columns creates a foreign key constraint causing ↵David Lawrence1-4/+11
failure in checksetup.pl when it tries to re-add it later r=glob,a=glob
2014-08-13Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modulesFrédéric Buclin1-0/+1
r=dkl a=sgreen
2014-08-10Bug 448574 - Let $dbh->bz_commit_transaction send emails which are generated ↵Simon Green1-1/+3
during a transaction r=dkl, a=sgreen
2013-12-19Bug 237498: Add memcached integrationByron Jones1-5/+12
r=dkl, a=sgreen
2013-12-02Bug 938300: vers_cmp() incorrectly compares module versionsFrédéric Buclin1-1/+2
r=sgreen a=justdave
2012-12-01Bug 787668: Use |use parent| instead of |use base|Matt Selsky1-1/+1
r/a=LpSolit
2012-11-30Bug 816747 - Add dummy POD for unPODded methods.Marc Schumann1-0/+60
r/a=LpSolit
2012-11-22Bug 780820: Allows for multiple custom search criteria to match one fieldByron Jones1-2/+4
r=dkl,a=LpSolit
2012-09-01Bug 787529: Use |use 5.10.1| everywhereFrédéric Buclin1-0/+1
r=wicked a=LpSolit
2012-08-31Bug 655477: Bugzilla now requires Perl 5.10.1Frédéric Buclin1-5/+3
r=mkanat a=LpSolit
2012-01-11Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and ↵Frédéric Buclin1-26/+5
add it to files which miss one r=kiko r=mkanat r=mrbball a=LpSolit
2011-12-26Bug 683644: Foreign keys aren't renamed correctly when DB tables are renamedFrédéric Buclin1-1/+13
r=wicked a=LpSolit
2011-12-05Bug 550299: User fields are left blank in buglists and whines when local ↵Frédéric Buclin1-2/+5
user accounts are used (i.e. they have no @company.com suffix) r/a=mkanat
2011-08-29Bug 637648 - Rename the "tags" table to "tag"Stephanie Daugherty1-3/+11
r=LpSolit, a=LpSolit
2011-08-17Bug 662070: Use say() instead of print() where appropriateFrédéric Buclin1-8/+8
r=glob a=LpSolit
2011-03-01Bug 634144: Make possible_duplicates work on PostgreSQLSam Morris1-3/+11
r=mkanat, a=mkanat
2011-02-14Bug 603127: Make checksetup.pl require DBD::Pg 2.17.2 when using Pg 9.0 orMax Kanat-Alexander1-20/+33
later. r=dkl, a=mkanat
2010-11-03The changes to bz_create_database done by the SQLite patch broke theMax Kanat-Alexander1-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
2010-10-27Bug 337776: Basic SQLite Support for BugzillaMax Kanat-Alexander1-5/+9
r=LpSolit, a=mkanat
2010-10-16Minor improvement for bug 451735Frédéric Buclin1-2/+0
r=mkanat
2010-10-15Bug 451735 part2: fix bz_drop_index() so that it first drops related FKs ↵Frédéric Buclin1-0/+6
before deleting the index itself r/a=mkanat
2010-10-07Bug 602165: Change sql_interval to sql_date_math, in preparation forMax Kanat-Alexander1-6/+19
MS-SQL and SQLite support.
2010-09-19Bug 586244: Make mod_headers and mod_expires optionalMax Kanat-Alexander1-5/+8
r=glob, a=mkanat
2010-08-02Bug 578494: We can't use "shellwords" to split words for sql_fulltext on Pg,Max Kanat-Alexander1-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
2010-08-02Bug 583645: Make $dbh->quote always detaint its output, even on DBDs thatMax Kanat-Alexander1-0/+11
don't normally detaint output from $dbh->quote. r=LpSolit, a=LpSolit
2010-07-23Bug 578494: When doing a QuickSearch on a phrase, pass the phrase quotedMax Kanat-Alexander1-2/+4
to the fulltext engine, so that it knows it's a phrase. r=LpSolit, a=mkanat
2010-07-18Bug 579568: Search.pm: Improve the implementation and performance ofMax Kanat-Alexander1-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)
2010-07-15Bug 578739: Instead of removing REFERENCES from _bz_real_schema and thenMax Kanat-Alexander1-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)
2010-07-14Bug 578587: Make checksetup be way quieter when creating a new installMax Kanat-Alexander1-16/+40
r=mkanat, a=mkanat (module owner)
2010-07-09Bug 577577: Make bz_drop_fk be tolerant of SQL failureMax Kanat-Alexander1-2/+8
r=mkanat, a=mkanat (module owner)
2010-07-08Bug 577520: Make the "Adding new table..." message not appear duringMax Kanat-Alexander1-1/+2
xt/search.t r=mkanat, a=mkanat (module owner)
2010-07-06Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,Max Kanat-Alexander1-2/+2
IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat
2010-06-22Bug 22353: Automatic duplicate bug detection on enter_bug.cgiMax Kanat-Alexander1-0/+5
r=glob, a=mkanat
2010-06-18Bug 556422: Move the existing bug-moving functionality into an extensionMax Kanat-Alexander1-2/+1
called OldBugMove. r=dkl, a=mkanat
2010-06-01Bug 569312: Speed up the adding of many FKs to the same table for MySQLMax Kanat-Alexander1-14/+33
and PostgreSQL, by adding them all in one ALTER statement r=mkanat, a=mkanat (module owner)
2010-04-27Bug 561322: Make Bugzilla::DB::_connect and related functions take theirMax Kanat-Alexander1-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)
2010-04-20Bug 560284: Make all errors that checksetup.pl throws be redMax Kanat-Alexander1-14/+8
r=mkanat, a=mkanat (module owner)
2010-03-16Bug 545770: Make contrib/merge-users.pl figure out what columns to mergeMax Kanat-Alexander1-5/+14
by tracing FKs instead of having a fixed list. r=LpSolit, a=LpSolit
2009-12-31Bug 520318: Add remove_from_db to Bugzilla:Group and use it to delete groups ↵mkanat%bugzilla.org1-0/+8
in editgroups.cgi Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=LpSolit
2009-11-18Bug 527489: Calls to bz_alter_column were dropping the REFERENCES item from ↵mkanat%bugzilla.org1-0/+7
the stored Schema object. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=ghendricks, a=mkanat
2009-11-10Bug 527505: Make 001compile.t use Bugzilla->feature to determine which ↵mkanat%bugzilla.org1-3/+2
modules to compile Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
2009-10-24Bug 519584: Implement a framework for migrating from other bug-trackers, and ↵mkanat%bugzilla.org1-0/+10
start with a GNATS importer. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
2009-09-30Bug 488931: Change the default priority values to be human-readable words ↵mkanat%bugzilla.org1-1/+1
instead of P1, P2, etc. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat