483 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
160ef05099 Bug 595410: Make it faster to display a bug that has a lot of dependencies.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261706 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-04 02:16:57 +00:00
mkanat%bugzilla.org
7f5ff145d4 Bug 593539: Fix the bugs activity for the see_also field.
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261681 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-21 12:46:49 +00:00
mkanat%bugzilla.org
74670536b4 Bug 593539: Refactor See Also to use separate modules for each type of URL
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261680 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-20 23:02:00 +00:00
mkanat%bugzilla.org
1caec144d2 Bug 617477: Fix numerous consistency and behavior issues surroudning Bug.update
and Bugzilla::Bug. See https://bugzilla.mozilla.org/show_bug.cgi?id=617477#c2
for details.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261653 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-13 21:02:10 +00:00
mkanat%bugzilla.org
8b3f5f3a8e Bug 607909: Hours worked / work_time is marked as changing when commenting even when you don't enter a value
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261520 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-03 15:46:49 +00:00
mkanat%bugzilla.org
b69530d474 When inserting comments during Bug->update, make sure that the comment
timestamp is identical to the timestamp passed in to update().


git-svn-id: svn://10.0.0.236/trunk@261508 18797224-902f-48f8-a5cc-f745e15eee43
2010-11-03 00:31:46 +00:00
mkanat%bugzilla.org
69002b97f4 Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5
r=gerv a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@261490 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-28 15:35:02 +00:00
mkanat%bugzilla.org
c375e92b68 Bug 585802: Change the cc/user autocomplete (and backend) usermatching to ignore spaces / search on space separated names
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261489 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-28 13:33:38 +00:00
mkanat%bugzilla.org
4ad732e672 Bug 578513: Rename cc_accessible and reporter_accessible to is_cc_accessible
and is_reporter_accessible in the WebService.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261448 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-23 00:02:07 +00:00
mkanat%bugzilla.org
2a70cfc7e4 Bug 598014: Document how to mark the initial comment as private when using Bug.create()
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261438 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-20 23:33:55 +00:00
mkanat%bugzilla.org
0f6811ce30 Bug 590334: Change Bug.pm to use the comment object (Bugzilla::Comment)
when creating or updating bug comment
r=mkanat, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261388 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-13 23:37:31 +00:00
mkanat%bugzilla.org
5c5f882c9d Bug 601848: Fix percentage_complete searches for all operators on both MySQL
and PostgreSQL
r=mkanat, a=mkanat (module owner)


git-svn-id: svn://10.0.0.236/trunk@261347 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-05 06:01:56 +00:00
mkanat%bugzilla.org
d8417e5736 Bug 600123 - Eliminate Bugzilla::Bug's AUTOLOAD
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261306 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-01 11:32:13 +00:00
mkanat%bugzilla.org
0cf96b01ee Bug 597772: Make add_see_also check for undef input
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261292 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-28 03:37:55 +00:00
mkanat%bugzilla.org
8e4120e694 Bug 593173: Make See Also recognize both "http" and "https" links for local
bugs as being the same bug.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261249 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-19 00:05:54 +00:00
mkanat%bugzilla.org
be322b3b21 Bug 593170: Disallow urls like "show_bug.cgi?id=2323" (with no domain) in
the See Also field.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261248 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-19 00:04:04 +00:00
mkanat%bugzilla.org
f24bdb09fd Bug 271758: noresolveonopenblockers = on doesn't allow removing open blockers and resolve the bug in a single change
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261187 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-08 12:03:44 +00:00
mkanat%bugzilla.org
972dfdd02c If an installation had not yet set the urlbase parameter, then inserting
*any* URL into the see_also field would cause it to think you were linking
a local bug.


git-svn-id: svn://10.0.0.236/trunk@261177 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-02 22:31:35 +00:00
mkanat%bugzilla.org
820ec2906a Bug 549586: Allow the See Also field to take an integer or a local
bugzilla url and treat them as a link to the local Bugzilla.
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261164 18797224-902f-48f8-a5cc-f745e15eee43
2010-09-01 23:47:11 +00:00
mkanat%bugzilla.org
398bac7dca Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@261092 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-24 20:32:19 +00:00
mkanat%bugzilla.org
2e044913df Bug 584036: _sync_fulltext() not called when (un)setting an existing comment as private
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260965 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-04 00:49:23 +00:00
mkanat%bugzilla.org
6b00d3908f Bug 583165: Un(setting) a comment as private doesn't update bugs.delta_ts
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260941 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-02 23:17:59 +00:00
mkanat%bugzilla.org
bee431048b Bug 583622: email_in.pl doesn't let me set timetracking fields
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260939 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-02 01:49:26 +00:00
mkanat%bugzilla.org
c0fa695e18 Bug 396558: Dependency change e-mails should only include status changes that happened right now
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260899 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-28 17:16:46 +00:00
mkanat%bugzilla.org
1e9ece0681 Bug 578324: The "Hours Worked" field in show_bug.cgi rejects all values passed to it if it would make the Remaining Time negative
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260750 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 23:05:56 +00:00
mkanat%bugzilla.org
ffd9f09c9d Bug 415813: Implement Bug.update() as an API for WebServices
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260726 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-13 01:51:32 +00:00
mkanat%bugzilla.org
ac502cce7f 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


git-svn-id: svn://10.0.0.236/trunk@260676 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-08 18:31:53 +00:00
mkanat%bugzilla.org
c35963979d Bug 574879: Create a test that assures the correctness of Search.pm's
boolean charts
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260658 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-07 21:47:00 +00:00
mkanat%bugzilla.org
782a4a185f Bug 519835: Remove Bugzilla::Product::check_product() in favor of Bugzilla::Product->check()
r=mkanat a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260656 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-07 02:01:50 +00:00
mkanat%bugzilla.org
7b163c4a83 Bug 574995: Make the WebService return reporter, attachment submitter, and
commenter all as "creator"
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260653 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-06 22:16:34 +00:00
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