FIX: bug 1083965

Bug 1083965 - [test run]In run detail page, using 'comment-add' link to add
comment, system does not record author.

Change-Id: I544976c3d087d0e353fd91aee6f5ed7d289c98b5
FIX: recover to use comment.user.email instead of comment.user_email

Consider for backward compatibility due to migration of lots of data is
required but data is not clean.

Change-Id: Iab54914960865ec55eeb7575edd4f2cb3d0454b4
FIX bug 1083958

Change-Id: Ib32f3f57248bec627fc49c649294d39fab3f4a19
FIX bug 1083958

Change-Id: Ib32f3f57248bec627fc49c649294d39fab3f4a19
Revert "FIX bug 1083958"

This reverts commit 72d2d6b298b85ccd54b8bcd3b6f3a1239bbd8f62
FIX: the caserun only remove self's bug

Change-Id: Id83f56e29f05c5d209f6b46e154afcc251b26077
REV: bump release to 3.8.7-2

Change-Id: I8ac0376ab4e8dff22a45b0f749f0ec6dee2ea8ca
Merge branch 'release-3.8.7' into fedora-dev

Merge 3.8.7-2
REV: display more XMLRPC log information in admin page

TCMS-224 [XMLRPC] Display more XMLRPC log information in admin page

Change-Id: I183644da6ada63f099b3fc000fed5faab9cc3194
REV: filter xmlrpc log by insert datetime

TCMS-225 [XMLRPC] As a developer or sysadmin, I can filter XMLRPC logs by
insert datetime in the admin page

Change-Id: I2b663f38c2f9a938d977a04fb1688e70d0c9b1f6
REV: speed up text history page

Change-Id: I9498f133389bd11348fa2fe0b52212cd59998fb6
FIX: get wrong logs when enter a case page

TCMS-239 - Get wrong logs when enter a case page

Change-Id: Iaceaa4e333c41b0205f4c5f67f6755796accbdd7
REV: add utils app

Change-Id: Id979e45a9feb621c6f795aac7d9a163e25e7e994
SQL: convert column type, add composite index and add migrate sql for each release version.

[TCMS-240] Change object_pk of all content type models to PositiveIntegerField rather than TextField

1.Alter tables tcms_logs, tcms_bookmarks, tcms_contacts, tcms_linkrefs column object_pk type from Text to Int and add a composite index on content_type_id, object_pk and site_id.
2.Separate the upgrade or downgrade DDL sql from nitrate_db_setup.sql for migrating from different release version.
  For example:
      * nitrate_db_upgrade_vA.B.C_vD.E.F means that upgrade the database schemas from vA.B.C to vD.E.F
      * nitrate_db_downgrade_vA.B.C_vD.E.F means that downgrade the database schemas from vA.B.C to vD.E.F

Change-Id: I3842a5464b5c8d96c48fccd53c68d0bb1991b975
FIX: Add BUGZILLA_EXTERNAL_TRACKER in settings.

TCMS-264 Temp workaround to avoid updates automatically bugzilla with TCMS test case ID.
Change-Id: I5707800c2ce6fae5c22ba2f3719d98f68e2e366d
 REV: bump release to 3.8.7-3

Change-Id: I423e2bbd8b2542de32ad1f55071114d2d315787d
FIX: optimize /run/<run_id>/

TCMS-259 - [Performance] optimize SQL queries while opening a run page

First try to optimization, reduce the number of queries on test_case_runs from
6 to only 1.

Problem still there so far. The original implementation uses
QuerySet.select_related to get all related objects, such as tested_by,
assignee, priority, this leads to generate a big SQL query that joins many
tables and big data will be sent back from MySQL sever.

Change-Id: I27098104e8b352dea33056544b1f085526b7dbd2
REV: avoid store whole QuerySet data in memory during serialization

Change-Id: Icbdd0ef720d5f0f2f750daadc2d33e27254f2447
REV: add missing index in TestCasePlan model

Change-Id: Ic05d8d02ff30b4f7a9a0fa54847e56c973909e2a
FIX: remove unnecessary ordering in meta

This commit aims to avoid unnecessary ordering operation in db server. If need
such ordering ability in Admin site, modify related Admin class in admin.py

Change-Id: I52bdfba7e8fa4cc375ebed2aae9b8beeaadb8815