353 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
1a4d14c903 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


git-svn-id: svn://10.0.0.236/trunk@260643 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 02:31:41 +00:00
mkanat%bugzilla.org
1228ba5d93 Bug 486292: Change the default workflow to UNCONFIRMED, CONFIRMED,
IN_PROGRESS, RESOLVED, VERIFIED.
r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260637 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 00:47:25 +00:00
mkanat%bugzilla.org
53343dad0b Bug 514618: Allow restricting the visibility and values of fields by
classification.
r=mkanat, r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260630 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-05 22:02:05 +00:00
mkanat%bugzilla.org
c9e120508d Bug 573173: Make Bugzilla::Bug's add_group and remove_group take group
names instead of ids
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260582 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-25 21:31:44 +00:00
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
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
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
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
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
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
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
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
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
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
7ac3108fd0 Bug 559398 - "Old incomplete data warning showing on activity view due to custom field value of '?'"
[r=LpSolit a=LpSolit]


git-svn-id: svn://10.0.0.236/trunk@260302 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 12:32:53 +00:00
mkanat%bugzilla.org
54430b4b68 Backing out bug 271913: comments are no longer displayed, see also bug 565794
git-svn-id: svn://10.0.0.236/trunk@260299 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 00:01:26 +00:00
mkanat%bugzilla.org
41076df053 Bug 565314: Cannot edit FIXED bugs when a blocker is open, when "noresolveonopenblockers" is on
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260294 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-13 13:46:19 +00:00
mkanat%bugzilla.org
2598638c61 Bug 271913: Do not force the user to comment when adding Hours Worked
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260292 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-13 06:46:23 +00:00
mkanat%bugzilla.org
28c94463c8 Bug 556123: process_bug.cgi: move the setting of comments and work_time
into Bugzilla::Bug::set_all
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260291 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-13 06:35:03 +00:00
mkanat%bugzilla.org
ee678ea1c7 Bug 395451 - "Bugzilla::BugMail needs to use Bug objects internally instead of direct SQL"
[r=mkanat a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@260272 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-07 03:47:31 +00:00
mkanat%bugzilla.org
f7e990146a Bug 560009: Use firstidx from List::MoreUtils instead of lsearch
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260217 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-22 18:16:55 +00:00
mkanat%bugzilla.org
3ec724b4ea Bug 558318: "Invalid Parameter for keywords" error thrown when creating a new bug
r=timello a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260177 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-09 14:31:33 +00:00
mkanat%bugzilla.org
9c0458a85c Bug 69621: Remove the keyword cache (which is not updated on keyword rename/delete)
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260168 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-08 10:23:12 +00:00
mkanat%bugzilla.org
e632d19e27 Bug 532350 - "Can't add Debian bug URLs to a bug using "See Also""
[r=LpSolit r=mkanat a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@260156 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-06 03:32:52 +00:00
mkanat%bugzilla.org
274232bd59 Bug 556736: Make the bug_end_of_update hook also send $old_bug to the hook
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@260122 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-02 12:03:13 +00:00
mkanat%bugzilla.org
377b7375bb Follow-up to bug 533121 -- make regex for matching "code.google.com" case-insensitive
[r=mkanat over IRC]


git-svn-id: svn://10.0.0.236/trunk@260101 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-30 01:32:42 +00:00
mkanat%bugzilla.org
1101120d5a Bug 533121 - "Support Google Code for see_also urls"
[r=LpSolit a=mkanat]


git-svn-id: svn://10.0.0.236/trunk@260099 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-30 01:17:46 +00:00
mkanat%bugzilla.org
4aa7fb0cb3 Bug 544332 - New bug_check_can_change_field hook for Bugzilla/Bug.pm
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260022 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-23 20:01:25 +00:00
mkanat%bugzilla.org
3a08c53603 Bug 526189: Refactor the way that groups are checked for being validly
settable in a particular product, to eliminate the possibility of ever
setting an inactive or invalid group on a product.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259989 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-16 05:45:48 +00:00
mkanat%bugzilla.org
d864c35ccd Bug 552168: Speed up comment display by pre-loading all Bugzilla::User
objects for the comment authors, for the whole list, all at once.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259960 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-14 00:46:27 +00:00
mkanat%bugzilla.org
913bf84f3e Bug 526184: Allow groups to be specified when creating bugs using email_in.pl
or the WebService Bug.create method.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259796 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-23 00:31:25 +00:00
mkanat%bugzilla.org
1d74ea3fa3 Bug 329637: Add a Calendar widget to the Deadline field
r=ghendricks, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259734 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-17 22:04:13 +00:00
mkanat%bugzilla.org
a68210b184 Bug 372979: Make voting into an extension
r=mkanat, a=mkanat, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259709 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-15 23:32:10 +00:00
mkanat%bugzilla.org
fe4c8eab48 Bug 545524: New Hook: object_validators
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@259681 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-11 00:16:29 +00:00
mkanat%bugzilla.org
3874c50aec Bug 310450 - Bugzilla should send an email when a comment becomes private or un-private
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259674 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-10 18:01:31 +00:00
mkanat%bugzilla.org
3dd9232495 Bug 251556: Allow "Bug ID" fields to have one-way mutual relationships (like blocks/dependson)
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259643 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-08 00:21:04 +00:00
lpsolit%gmail.com
6b6c6a632f Bug 532493: [SECURITY] Restricting a bug to a group while moving it to another product has no effect if the group is not used by both products - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@259533 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-01 00:21:45 +00:00
mkanat%bugzilla.org
7ec4e12560 Bug 162060: Remove the relationship between "votestoconfirm" and whether or not the UNCONFIRMED status is available, by adding a checkbox to enable the UNCONFIRMED status in editproducts.cgi.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259248 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-17 23:31:56 +00:00
mkanat%bugzilla.org
66be7eb48d Bug 525420: Cache Bugzilla::Bug::VALIDATORS so that the same hash is returned every time within a single page call
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259222 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-14 23:08:55 +00:00
mkanat%bugzilla.org
19291a798d Bug 369489: Remove the milestoneurl feature and link "Target Milestone" to the fields.html page
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259215 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-13 22:07:50 +00:00
mkanat%bugzilla.org
973d0f1499 Bug 512606: Make statuses currently available for the user to change this bug to be controlled by Bugzilla::Bug, not the template
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@259204 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-12 21:55:15 +00:00