2080 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
1be00a65d9 Bug 572602: Change the way that Bugzilla::Object determines what fields
are required for create(). It now assumes that any column that is NOT NULL
and has not DEFAULT in the database is required. We also shift the burden
of throwing errors about empty values to the validators. This fixes the bug
that Bugzilla::Bug->create() wasn't populating default values for fields
if they weren't specified in the create() parameters.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260542 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-24 00:47:53 +00:00
mkanat%bugzilla.org
7d0c9310fe Bug 509303: Update the CGI.pm requirement to 3.49 to make redirection
work properly when Bugzilla is behind a proxy.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260541 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-24 00:46:33 +00:00
mkanat%bugzilla.org
794b782269 Bug 573172: Prepare set_all for being used in a context other than
process_bug.cgi
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260535 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-23 21:17:56 +00:00
mkanat%bugzilla.org
4a741dfdfd Bug 573170: Make set_all set keywords consistently with how other multi-valued
fields are set
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260534 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-23 21:16:33 +00:00
mkanat%bugzilla.org
29564ffa8f The DB::Schema alter_column default fix also needed to be separately
applied to DB::Schema::Oracle, since it has a full override of
get_alter_column_ddl.


git-svn-id: svn://10.0.0.236/trunk@260519 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 05:46:34 +00:00
mkanat%bugzilla.org
562ffb7a6d When doing bz_alter_column, if
git-svn-id: svn://10.0.0.236/trunk@260512 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 03:46:31 +00:00
mkanat%bugzilla.org
cef841b0d8 Bug 573454: Make the products.description field be NOT NULL in the
database
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260510 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:58:32 +00:00
mkanat%bugzilla.org
7728bdd36b Bug 573450: Make the keyworddefs.description column be NOT NULL in the
database
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260509 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:57:11 +00:00
mkanat%bugzilla.org
e1337c3103 Bug 573441: Add a DEFAULT and NOTNULL to the attachments.ispatch column
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260508 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:55:42 +00:00
mkanat%bugzilla.org
9ce8a44a0b Bug 567281: Make Bugzilla::Field use VALIDATOR_DEPENDENCIES instead of
UPDATE_VALIDATORS
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260503 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:48:08 +00:00
mkanat%bugzilla.org
c3a4987c43 Bug 398473: User preference for the position of the comment box
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260502 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:46:38 +00:00
mkanat%bugzilla.org
de328ea904 Bug 252005: Allow changing the captialization of a group name
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260500 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:34:17 +00:00
mkanat%bugzilla.org
e8ffd81794 Bug 22353: Automatic duplicate bug detection on enter_bug.cgi
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260499 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-22 02:16:36 +00:00
mkanat%bugzilla.org
bbceabc320 Bug 548198: Add a method of limiting the User.get results by group name or id
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260492 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 21:18:16 +00:00
mkanat%bugzilla.org
a3d7656f23 Bug 556422: Move the existing bug-moving functionality into an extension
called OldBugMove.
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260491 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 21:16:53 +00:00
mkanat%bugzilla.org
41e31c6183 Bug 572949: Update YUI to 2.8.1
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260490 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 08:17:38 +00:00
mkanat%bugzilla.org
3601af213e Bug 413215: Move the sending of email notifications from process_bug.cgi
to Bugzilla::Bug
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260478 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-17 22:01:29 +00:00
mkanat%bugzilla.org
e2c46e0470 A few tinderbox bustage fixes from the checkin of bug 24896.
git-svn-id: svn://10.0.0.236/trunk@260473 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-16 06:31:26 +00:00
mkanat%bugzilla.org
6add188323 Bug 24896: Make the First/Last/Prev/Next navigation on bugs work with
multiple buglists at once
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260472 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-16 01:46:23 +00:00
mkanat%bugzilla.org
e578692577 Bug 476722: Refactor Search.pm's funcdefs into a series of constants
and functions for interpreting search charts.
r=jjclark, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260465 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-12 02:17:19 +00:00
mkanat%bugzilla.org
33a07dae31 Bug 450301: What Simplify searching UI, initial improvements to the advanced search ui.
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260429 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-06 08:46:26 +00:00
mkanat%bugzilla.org
05f390461e Bug 567846: Modify set_status, set_resolution, and set_dup_id to use
VALIDATOR_DEPENDENCIES, so that they don't need custom code in set_all.


git-svn-id: svn://10.0.0.236/trunk@260420 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-03 19:31:22 +00:00
mkanat%bugzilla.org
3d490d7c91 Bug 567296: Make Bugzilla::Bug use VALIDATOR_DEPENDENCIES instead of
UPDATE_VALIDATORS
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260419 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-03 15:46:41 +00:00
mkanat%bugzilla.org
1e41f9330d Bug 569312: Speed up the adding of many FKs to the same table for MySQL
and PostgreSQL, by adding them all in one ALTER statement
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260407 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-01 20:46:34 +00:00
mkanat%bugzilla.org
fb04606a63 Bug 569302: Make sure that Install::DB functions always print out a message
if they are conditionally doing something to the database.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260404 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-01 05:46:25 +00:00
mkanat%bugzilla.org
70d271ce9a Bug 561379: Upgrading from 3.4.4 to 3.6 would fails with ORA-01400,
because checksetup.pl was trying to run code that should never run on
Oracle.
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260402 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-01 04:01:27 +00:00
mkanat%bugzilla.org
f368112876 Bug 568500 - teach Bugzilla about correct Content Type for JSON ctype. r=mkanat.
git-svn-id: svn://10.0.0.236/trunk@260387 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-28 10:31:38 +00:00
mkanat%bugzilla.org
3fdf5991bb There is no released stable version of List::MoreUtils higher than 0.22.
git-svn-id: svn://10.0.0.236/trunk@260377 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-26 20:31:27 +00:00
mkanat%bugzilla.org
878eaa7fa9 Bug 271913: Don't force the user to comment when adding Hours Worked
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260374 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-26 02:01:28 +00:00
mkanat%bugzilla.org
d2b49e580d Bug 567780: When closing a bug as a duplicate, the error "There is no field 'dup_id'" is displayed
r=timello,a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260373 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-25 21:46:23 +00:00
mkanat%bugzilla.org
980d27c51a "part" can return "undef" for a list, so sometimes $has_deps or $no_deps
in Bugzilla::Object::_sort_by_deps were undef.


git-svn-id: svn://10.0.0.236/trunk@260371 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-25 03:31:27 +00:00
mkanat%bugzilla.org
29d1c47764 Bug 567303: Implement a working algorithm for sorting fields based on
VALIDATOR_DEPENDENCIES in Bugzilla::Object. (The previous code did not
actually sort fields correctly.)
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260370 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-24 23:01:27 +00:00
mkanat%bugzilla.org
50b1a08e7c Bug 556901: Move the code for setting status, resolution, and dup_id
from process_bug.cgi into Bugzilla::Bug::set_all


git-svn-id: svn://10.0.0.236/trunk@260366 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-24 20:02:48 +00:00
mkanat%bugzilla.org
16abe9e085 Bug 556407: Move the code for setting product and checking strict_isolation
from process_bug.cgi into Bugzilla::Bug::set_all


git-svn-id: svn://10.0.0.236/trunk@260365 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-24 20:01:28 +00:00
mkanat%bugzilla.org
e19d63b749 Bug 556403: Move adding/removing of CCs from process_bug.cgi into
Bugzilla::Bug::set_all


git-svn-id: svn://10.0.0.236/trunk@260362 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-23 05:19:30 +00:00
mkanat%bugzilla.org
d249233ee3 Bug 556397: Move the setting of single-bug fields from process_bug.cgi
into Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260361 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-23 05:18:07 +00:00
mkanat%bugzilla.org
27a8b1b24b Bug 560733: Move the base .htaccess file into bzr instead of having it
generated by checksetup.pl
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260360 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-23 05:16:41 +00:00
mkanat%bugzilla.org
8af02031cf Bug 566560: Make checksetup.pl explicitly check that List::MoreUtils
is installed
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260340 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-19 17:34:24 +00:00
mkanat%bugzilla.org
265b1534e0 Bug 565899: Make the html_linebreak filter safe by having it first call the
"html" filter
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260339 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-19 17:33:03 +00:00
mkanat%bugzilla.org
13ffc24ddd Bug 563641: Make bugzilla-queue init script support SuSE
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260338 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-19 17:31:36 +00:00
mkanat%bugzilla.org
676317f3b2 Bug 494395: Implement the ability to mark custom fields as mandatory when
creating/changing bugs
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260336 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-19 16:34:06 +00:00
mkanat%bugzilla.org
e756b7dff3 Bug 566499 - "#c0 links have the wrong href"
[r=LpSolit a=LpSolit]


git-svn-id: svn://10.0.0.236/trunk@260333 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-18 13:17:46 +00:00
mkanat%bugzilla.org
2ec6e2c468 Bug 556373: Move the adding/removing of groups from process_bug.cgi to
Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260328 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-17 17:01:21 +00:00
mkanat%bugzilla.org
468ee042b8 Bug 556167: Move the setting of dependson/blocked from process_bug.cgi
into Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260322 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-16 22:34:11 +00:00
mkanat%bugzilla.org
2bdc8d3d8b Bug 428452: Move code to set/modify keywords from process_bug.cgi into
Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260321 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-16 22:32:55 +00:00
mkanat%bugzilla.org
6885e19ebe Bug 556154: process_bug.cgi: move the stuff in the loop after $b->set_all
into Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260320 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-16 22:31:35 +00:00
mkanat%bugzilla.org
de34e60cb7 Bug 561296: A fix allowing updating a field value's name when it is
the default value
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260309 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 14:34:34 +00:00
mkanat%bugzilla.org
79a5fd7406 Bug 556731 - Make Bugzilla::Milestone, Bugzilla::Version, and
Bugzilla::Component use VALIDATOR_DEPENDENCIES instead of UPDATE_VALIDATORS
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260308 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 14:32:41 +00:00
mkanat%bugzilla.org
557a8ef428 Bug 372537: Improve CodeErrors: show the traceback (without function
arguments)
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260307 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 14:16:24 +00:00
mkanat%bugzilla.org
24a1aa979c Bug 565880: Do not throw an error when obsoleting an already obsolete attachment
a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260306 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 13:46:25 +00:00