Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-12-05 | no bug - reformat all the code using the new perltidy rules | Perl Tidy | 1 | -948/+1006 | |
2018-10-14 | Revert "fix stack for error messages" | Dylan William Hardison | 1 | -3/+1 | |
This reverts commit 480e3572661cc856591e0aa11b5eb023338558ed. | |||||
2018-10-14 | fix stack for error messages | Dylan William Hardison | 1 | -1/+3 | |
2018-10-09 | Bug 623384 - Use Module::Runtime instead of eval { require } or eval "use" | Dylan William Hardison | 1 | -1/+2 | |
2018-09-24 | Bug 1492926 - Handle DBIx::Connectors more appropriately | Dylan William Hardison | 1 | -13/+28 | |
This is a bigger change than I anticipated, because the way we cached DBIx::Connector objects was bad. Now we cache the Bugzilla::DB instances in connect_main() and connect_shadow(). This is for maintaining a 1:1 mapping of Bugzilla::DB objects and DBIx::Connector objects. This is important because we want be able to inspect Bugzilla::DB->bz_in_transactions() from the 'connected' event. Note that we weaken the lexical variable $self in _build_connector() because it is referenced by the callback passed to DBI. Without this there would be a memory cycle and stuff would never be freed. (tested my understanding in this gist: https://gist.github.com/dylanwh/646574a027f7b7d92cb7586676da7468) | |||||
2018-09-13 | Bug 1490708 - Ensure we always call DBIx::Connector->dbh before any DBI ↵ | Dylan William Hardison | 1 | -15/+28 | |
method (#744) The code didn't allow a way of doing this without a lot of work. So I had to take the following approach: The 'dbh' attribute is now a method that delegates to DBIx::Connector's dbh method. Per the docs, ->dbh() "Returns the connection's database handle. It will use a an existing handle if there is one, if the process has not been forked or a new thread spawned, and if the database is pingable. Otherwise, it will instantiate, cache, and return a new handle." Then there is the matter of the 'handles' on dbh. I've used Package::Stash to insert proxy methods into the class when it is loaded. | |||||
2018-07-10 | Bug 1469911 - Make user autocompletion faster | Dylan William Hardison | 1 | -0/+8 | |
2018-06-21 | Bug 1461379 - use DBIx::Connector to manage database connections | Dylan William Hardison | 1 | -13/+6 | |
2018-06-21 | Bug 1461379 - refactor Bugzilla::DB to not subclass DBI | Dylan William Hardison | 1 | -20/+29 | |
2018-03-21 | Bug 1447669 - Add localconfig parameter for changing shadowdb user and pass | Israel Madueme | 1 | -2/+7 | |
2017-07-07 | Bug 1377933 - Remove trailing whitespace from all perl files | Dylan William Hardison | 1 | -96/+96 | |
2016-09-13 | Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + ↵ | Dylan William Hardison | 1 | -52/+11 | |
local symlink to data/ directory | |||||
2016-09-12 | Revert "Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to ↵ | Dylan William Hardison | 1 | -11/+52 | |
bmo/master + local symlink to data/ directory" This reverts commit e6bf4cacb10f86077fe898349485f5c7ab9fb4b6. | |||||
2016-09-12 | Bug 1283930 - Add Makefile.PL & local/lib/perl5 support to bmo/master + ↵ | Dylan William Hardison | 1 | -52/+11 | |
local symlink to data/ directory | |||||
2015-10-31 | Bug 1218457 - Allow localconfig to override (force) certain data/params values | Dylan William Hardison | 1 | -8/+8 | |
2015-02-03 | Bug 1128832: file error - recursion into 'global/header.html.tmpl' | Byron Jones | 1 | -0/+5 | |
2015-02-03 | Bug 1128832: file error - recursion into 'global/header.html.tmpl' | Byron Jones | 1 | -9/+9 | |
2015-01-08 | Bug 1089475: Use "ThrowCodeError" when a database error occurs instead of ↵ | Jeff Fearn | 1 | -1/+14 | |
dumping a stack trace | |||||
2014-10-24 | Bug 1082106 - $dbh->bz_add_columns creates a foreign key constraint | David Lawrence | 1 | -4/+11 | |
causing failure in checksetup.pl when it tries to re-add it later | |||||
2014-03-04 | Bug 956230: improve instrumentation of bugzilla's internals | Byron Jones | 1 | -0/+8 | |
2014-01-22 | Bug 951974: backport bug 237498 to bmo (Use memcached to improve performance) | Byron Jones | 1 | -5/+12 | |
2013-06-26 | Bug 887114: Update Bugzilla/DB.pm to use SQL_CACHE for bz_schema table access | David Lawrence | 1 | -1/+1 | |
2012-11-22 | Bug 780820: Allows for multiple custom search criteria to match one field | Byron Jones | 1 | -2/+4 | |
2012-02-27 | Bug 698345: report errors and warnings to arecibo | Byron Jones | 1 | -1/+1 | |
2011-12-26 | Bug 683644: Foreign keys aren't renamed correctly when DB tables are renamed | Frédéric Buclin | 1 | -1/+13 | |
r=wicked a=LpSolit | |||||
2011-12-05 | Bug 550299: User fields are left blank in buglists and whines when local ↵ | Frédéric Buclin | 1 | -2/+5 | |
user accounts are used (i.e. they have no @company.com suffix) r/a=mkanat | |||||
2011-08-29 | Bug 637648 - Rename the "tags" table to "tag" | Stephanie Daugherty | 1 | -3/+11 | |
r=LpSolit, a=LpSolit | |||||
2011-03-01 | Bug 634144: Make possible_duplicates work on PostgreSQL | Sam Morris | 1 | -3/+11 | |
r=mkanat, a=mkanat | |||||
2011-02-14 | Bug 603127: Make checksetup.pl require DBD::Pg 2.17.2 when using Pg 9.0 or | Max Kanat-Alexander | 1 | -20/+33 | |
later. r=dkl, a=mkanat | |||||
2010-11-03 | The changes to bz_create_database done by the SQLite patch broke the | Max Kanat-Alexander | 1 | -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-27 | Bug 337776: Basic SQLite Support for Bugzilla | Max Kanat-Alexander | 1 | -5/+9 | |
r=LpSolit, a=mkanat | |||||
2010-10-16 | Minor improvement for bug 451735 | Frédéric Buclin | 1 | -2/+0 | |
r=mkanat | |||||
2010-10-15 | Bug 451735 part2: fix bz_drop_index() so that it first drops related FKs ↵ | Frédéric Buclin | 1 | -0/+6 | |
before deleting the index itself r/a=mkanat | |||||
2010-10-07 | Bug 602165: Change sql_interval to sql_date_math, in preparation for | Max Kanat-Alexander | 1 | -6/+19 | |
MS-SQL and SQLite support. | |||||
2010-09-19 | Bug 586244: Make mod_headers and mod_expires optional | Max Kanat-Alexander | 1 | -5/+8 | |
r=glob, a=mkanat | |||||
2010-08-02 | Bug 578494: We can't use "shellwords" to split words for sql_fulltext on Pg, | Max Kanat-Alexander | 1 | -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-02 | Bug 583645: Make $dbh->quote always detaint its output, even on DBDs that | Max Kanat-Alexander | 1 | -0/+11 | |
don't normally detaint output from $dbh->quote. r=LpSolit, a=LpSolit | |||||
2010-07-23 | Bug 578494: When doing a QuickSearch on a phrase, pass the phrase quoted | Max Kanat-Alexander | 1 | -2/+4 | |
to the fulltext engine, so that it knows it's a phrase. r=LpSolit, a=mkanat | |||||
2010-07-18 | Bug 579568: Search.pm: Improve the implementation and performance of | Max Kanat-Alexander | 1 | -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-15 | Bug 578739: Instead of removing REFERENCES from _bz_real_schema and then | Max Kanat-Alexander | 1 | -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-14 | Bug 578587: Make checksetup be way quieter when creating a new install | Max Kanat-Alexander | 1 | -16/+40 | |
r=mkanat, a=mkanat (module owner) | |||||
2010-07-09 | Bug 577577: Make bz_drop_fk be tolerant of SQL failure | Max Kanat-Alexander | 1 | -2/+8 | |
r=mkanat, a=mkanat (module owner) | |||||
2010-07-08 | Bug 577520: Make the "Adding new table..." message not appear during | Max Kanat-Alexander | 1 | -1/+2 | |
xt/search.t r=mkanat, a=mkanat (module owner) | |||||
2010-07-06 | Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED, | Max Kanat-Alexander | 1 | -2/+2 | |
IN_PROGRESS, RESOLVED, VERIFIED. r=LpSolit, a=mkanat | |||||
2010-06-22 | Bug 22353: Automatic duplicate bug detection on enter_bug.cgi | Max Kanat-Alexander | 1 | -0/+5 | |
r=glob, a=mkanat | |||||
2010-06-18 | Bug 556422: Move the existing bug-moving functionality into an extension | Max Kanat-Alexander | 1 | -2/+1 | |
called OldBugMove. r=dkl, a=mkanat | |||||
2010-06-01 | Bug 569312: Speed up the adding of many FKs to the same table for MySQL | Max Kanat-Alexander | 1 | -14/+33 | |
and PostgreSQL, by adding them all in one ALTER statement r=mkanat, a=mkanat (module owner) | |||||
2010-04-27 | Bug 561322: Make Bugzilla::DB::_connect and related functions take their | Max Kanat-Alexander | 1 | -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-20 | Bug 560284: Make all errors that checksetup.pl throws be red | Max Kanat-Alexander | 1 | -14/+8 | |
r=mkanat, a=mkanat (module owner) | |||||
2010-03-16 | Bug 545770: Make contrib/merge-users.pl figure out what columns to merge | Max Kanat-Alexander | 1 | -5/+14 | |
by tracing FKs instead of having a fixed list. r=LpSolit, a=LpSolit |