]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Merge trunk at revision 8851
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 6 Jan 2014 23:29:51 +0000 (00:29 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 6 Jan 2014 23:29:51 +0000 (00:29 +0100)
1  2 
Bugzilla/Bug.pm
Bugzilla/DB/Schema.pm
Bugzilla/Field.pm
Bugzilla/Install/DB.pm
Bugzilla/WebService/Bug.pm
skins/standard/global.css
template/en/default/attachment/list.html.tmpl
template/en/default/bug/edit.html.tmpl
template/en/default/global/field-descs.none.tmpl
template/en/default/global/user-error.html.tmpl

diff --cc Bugzilla/Bug.pm
Simple merge
Simple merge
index f865c4929685ed1f51053971082b18adb2f223c6,82c82161af7176efe80530e54a1d294a73f08045..5437395a799eb223eb690f101d31fcb4b1426f5b
@@@ -248,8 -253,9 +253,10 @@@ use constant DEFAULT_FIELDS => 
      {name => "owner_idle_time",       desc => "Time Since Assignee Touched"},
      {name => 'see_also',              desc => "See Also",
       type => FIELD_TYPE_BUG_URLS},
-     {name => 'tag',                   desc => 'Tags', buglist => 1},
+     {name => 'tag',                   desc => 'Tags', buglist => 1,
+      type => FIELD_TYPE_KEYWORDS},
+     {name => 'comment_tag',           desc => 'Comment Tag'},
 +    {name => 'master_bug_id',         desc => 'Master Bug ID'},
  );
  
  ################
index bc3bd9092857cba3419d182658d29d1dad0e3d97,a463fe879184da646896352c77f7e635a5d979a4..5c2d249536cb0039d907671ddcb9a3c1768ac6e9
@@@ -666,9 -672,48 +672,51 @@@ sub update_table_definitions 
      $dbh->bz_alter_column('products', 'defaultmilestone',
                            {TYPE => 'varchar(64)', NOTNULL => 1, DEFAULT => "'---'"});
  
+     # 2012-04-15 Frank@Frank-Becker.de - Bug 740536
+     $dbh->bz_add_index('audit_log', 'audit_log_class_idx', ['class', 'at_time']);
+     # 2012-06-06 dkl@mozilla.com - Bug 762288
+     $dbh->bz_alter_column('bugs_activity', 'removed', 
+                           { TYPE => 'varchar(255)' });
+     $dbh->bz_add_index('bugs_activity', 'bugs_activity_removed_idx', ['removed']);
+     # 2012-06-13 dkl@mozilla.com - Bug 764457
+     $dbh->bz_add_column('bugs_activity', 'id', 
+                         {TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+     # 2012-06-13 dkl@mozilla.com - Bug 764466
+     $dbh->bz_add_column('profiles_activity', 'id', 
+                         {TYPE => 'MEDIUMSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+     # 2012-07-24 dkl@mozilla.com - Bug 776972
+     $dbh->bz_alter_column('bugs_activity', 'id', 
+                           {TYPE => 'INTSERIAL', NOTNULL => 1, PRIMARYKEY => 1});
+     # 2012-07-24 dkl@mozilla.com - Bug 776982
+     _fix_longdescs_primary_key();
+     # 2012-08-02 dkl@mozilla.com - Bug 756953
+     _fix_dependencies_dupes();
+     # 2012-08-01 koosha.khajeh@gmail.com - Bug 187753
+     _shorten_long_quips();
+     # 2012-12-29 reed@reedloden.com - Bug 785283
+     _add_password_salt_separator();
+     # 2013-01-02 LpSolit@gmail.com - Bug 824361
+     _fix_longdescs_indexes();
+     # 2013-02-04 dkl@mozilla.com - Bug 824346
+     _fix_flagclusions_indexes();
+     # 2013-08-26 sgreen@redhat.com - Bug 903895
+     _fix_components_primary_key();
 +    # 2011-08-29 rowebb@gmail.com - Bug 679547
 +    $dbh->bz_add_column('bugs', 'master_bug_id', {TYPE => 'INT3'});
 +
      ################################################################
      # New --TABLE-- changes should go *** A B O V E *** this point #
      ################################################################
index e8de777dc16a2b175d36761fc04b26466e9dead6,de78530926162ff8b49dee1b9ff5e3ffdab7c759..0396fd4a375ebda223585fc826e43a9fcbb6ed33
@@@ -2063,9 -2689,10 +2703,13 @@@ and all custom fields
  =item The C<actual_time> item was added to the C<bugs> return value
  in Bugzilla B<4.4>.
  
+ =item REST API call added in Bugzilla B<5.0>.
+ =item In Bugzilla B<5.0>, the following items were added to the bugs return value: C<assigned_to_detail>, C<creator_detail>, C<qa_contact_detail>. 
 +=item In Bugzilla B<5.0> C<sightings> and C<master_bug_id> were added to
 +the C<bugs> return value.
 +
  =back
  
  =back
index 9815bae51165fd54d92cb36810b48a3ca775a342,cf4fe57bf670de3239f4c629e9d08bb50db67e1e..ce5d0f31e39265c619d6c7a83d4fa5f330b11999
@@@ -398,31 -471,27 +471,35 @@@ dl dl > dt 
      font-size: 150%;
  }
  
 -/* Style of the attachment table and time tracking table */
 -#attachment_table {
 +/* Style of the attachment table, sightings table and time tracking table */
 +#attachment_table, #sighting_table {
      border-collapse: collapse;
      border: 1px solid #333333;
 +    margin: 2ex 0;
  }
  
- #attachment_table th, .bz_attach_footer, .bz_sighting_table th, 
- .bz_sighting_footer, .bz_time_tracking_table th {
+ #attachment_table th, .bz_attach_footer, .bz_time_tracking_table th,
 -.dependency_tree_controls {
++.dependency_tree_controls, .bz_sighting_table th, .bz_sighting_footer {
      background-color: #E0E0E0;
      color: black;
 +    padding: 0.5em;
  }
  
 -#attachment_table td, .bz_time_tracking_table th, .bz_time_tracking_table td {
 +#attachment_table td, .bz_sighting_table th, .bz_sighting_table td,
 +.bz_time_tracking_table th, .bz_time_tracking_table td {
      border: 1px solid #333333;
 +    padding: 0.5em;
 +}
 +
 +#sighting_table td {
 +    text-align: center;
  }
  
- .bz_attach_extra_info {
+ #attachment_table th, #attachment_table td {
+     padding: 0.3em;
+ }
+ .bz_attach_extra_info, .bz_info {
      font-size: smaller;
  }
  
index 3970da83bcd32ac19d84488e9a523471c506a134,3b93ebe2be7503f2595cd4a035a7a53a6b46f7f5..1fd8ee0a9561da3ab84a375e87c86c8a76bc7b8a
      </tr>
    </table>
  
-   <table id="bz_big_form_parts" cellspacing="0" cellpadding="0"><tr>
+   <table id="bz_big_form_parts">
+   <tr>
    <td>
 +    [%# *** Sightings *** %]
 +
 +    [% PROCESS sighting/list.html.tmpl
 +               bug = bug
 +    %]
 +
      [% IF user.is_timetracker %]
        [% PROCESS section_timetracking %]
      [% END %]
  
  [% BLOCK section_status %]
    <tr>
-     <td class="field_label">
-       <b><a href="page.cgi?id=fields.html#status">Status</a></b>:
-     </td>
+     <th class="field_label">
+       <a href="page.cgi?id=fields.html#bug_status">Status</a>:
+     </th>
      <td id="bz_field_status">
        <span id="static_bug_status">
 -        [% display_value("bug_status", bug.bug_status) FILTER html %]
 -        [% IF bug.resolution %]
 -          [%+ display_value("resolution", bug.resolution) FILTER html %]
 -          [% IF bug.dup_id %]
 -            of [% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]
 -          [% END %]
 -        [% END %]
 +        [% PROCESS bug/status.html.tmpl target = bug %]
          [% IF bug.user.canedit || bug.user.isreporter %]
            (<a href="#add_comment" 
                onclick="window.setTimeout(function() { document.getElementById('bug_status').focus(); }, 10)">edit</a>)
index 1a786e310b5e046481c73a12fb425ef4bab31c64,34c4dc9eda3a75d655e00eba8cafa039c227b946..7de20397d8bfb3fcd5fbd03099a719556ff8b314
       "setting"                 => "Setting",
       "settings"                => "Settings",
       "short_desc"              => "Summary",
+      "short_short_desc"        => "Summary",
 +     "sighting"                => "Sighting",
       "status_whiteboard"       => "Whiteboard",
-      "tag.name"                => "Tags",
+      "tag"                     => "Tags",
       "target_milestone"        => "Target Milestone",
       "version"                 => "Version",
       "work_time"               => "Hours Worked",