Bug 578739: Instead of removing REFERENCES from _bz_real_schema and then
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)
The changes to accept positional parameters in XML-RPC meant that sometimes
$params wouldn't just be undef, but actually missing, so validate() was
getting @keys where $params should have been.
Bug 578531: Move the chfield stuff out of init, and make
the changedbefore/after charts include the date specified
(they previously did exclusive searches)
r=mkanat, a=mkanat (module owner)
Bug 578310: Search.pm: Move the special parsing of bug_status and resolution
out of init and into some _special_parse_* functions.
r=mkanat, a=mkanat (module owner)
Bug 578197: [PostgreSQL] When associating sequences with columns, also
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)
Bug 577881 - Add missing space before 'class' parameter in global/textarea.html.tmpl so class and previous parameters don't run into each other.
[r=LpSolit a=LpSolit]
Bug 577807: Convert the hard-coded stuff that adds map_* tables to @supptables
in Search.pm into a data structure and a series of functions that parse the
data structure.
r=mkanat, a=mkanat (module owner)
Bug 577602: Don't put multi-select fields into the GROUP BY in Search.pm,
because they are created by an aggregate. (This fixes multi-select buglist
columns on Pg.)
r=mkanat, a=mkanat (module owner)
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)
Bug 577538: Mark certain tests in xt/search.t as being broken only on Pg
(and a few as being not broken at all on Pg).
r=mkanat, a=mkanat (module owner)
Pg and MySQL had inconsistent results for flagtypes.name greaterthan,
so I changed the values to make them consistent. (I suspect the inconsistency
is a bug in Pg itself that is not actually important to normal Bugzilla
usage.)
Bug 577588: xt/seach.t was sometimes not properly translating special
<> values into the actual bug value, for searching
r=mkanat, a=mkanat (module owner)
Bug 577582: longdescs.isprivate "changedfrom" and "changedto" weren't
working on PostgreSQL, because Search.pm always converted the value
into 1 or 0 and passed that as a number to the database, and Pg didn't
support numeric comparison with a text column.
r=mkanat, a=mkanat
Bug 577575: If percentage_complete is a column in the buglist, remaining_time
must also be selected from the database for PostgreSQL.
r=mkanat, a=mkanat (module owner)
Bug 577569: [PostgreSQL] Make sql_position explicitly cast both its arguments
to text, to avoid an error when searching "longdescs.isprivate" with the
"casesubstring" operator in Search.pm.
r=mkanat, a=mkanat (module owner)
Bug 577557: Make xt/search.t skip certain injection tests on PostgreSQL,
because they make Pg throw an error and then be unable to run any further
tests. It's OK to skip these tests because they still run on MySQL, so
we'll still catch any injection vulns.
r=mkanat, a=mkanat (module owner)
Bug 574556: Refactor Search.pm so that we're not doing $$some_var everywhere.
Instead, we pass around a hashref and update the hashref. This patch also
includes some cleanup for bugs surrounding percentage_complete,
attachments.isobsolete, attachments.ispatch, and owner_idle_time.
r=mkanat, a=mkanat
Bug 490930: Always store attachments locally if they are over X size (and below some threshold!), don't ever display "Big File" checkbox
r=mkanat a=LpSolit
Bug 452761: Make the Date header of bugmail and requestmail always be
equal to the delta_ts of the bug. This makes emails have the right Date
even when they are sent much later by jobqueue.pl.
r=mkanat, a=mkanat
Bug 576911 The admin/components/list.html template was using "component"
as a variable name, but "component" is a reserved word in Template Toolkit.
This caused a warning from the template hook code.
r=LpSolit, a=LpSolit
Bug 577053: When upgrading from a version earlier than 4.0,
change the logic on how we check to see if we need to populate
the status_workflow table for an upgrading installation, because
it was broken for upgrades from 2.18 and earlier.
Bug 574892: [SECURITY] Add EXTRA_REQUIRED_FIELDS to Bugzilla::Object, which
allows specifying that certain fields have validator defaults even if they
also have a database default or are in another table.
r=LpSolit, a=LpSolit
Bug 562014: Fix negative keyword searches like "contains none of the words"
to properly find bugs with *none* of the listed keywords, and also to find
bugs with no keywords at all.
r=LpSolit, a=LpSolit