Skip to content

Releases: kiwitcms/Kiwi

Kiwi TCMS 7.2.1 (23 Dec 2019)

07 Jan 11:28
Compare
Choose a tag to compare

IMPORTANT: this is an internal release which will be shipped only as
a PyPI package. It includes changes needed for testing and development
of Kiwi TCMS add-ons and future migration to Django 3.0.

Improvements


- Update python-gitlab from 1.13.0 to 1.15.0
- Bump django-uuslug from 1.1.9 to 1.2.0
- Bump django-attachments from 1.4.1 to 1.5
- Bump django-vinaigrette from 1.2.0 to 1.2.1
- Update marked to version 0.8.0
- Generalize existing ``kiwitcms.telemetry.plugins`` handling code by
  renaming the entry point to ``kiwitcms.plugins``
- Refactor views to class based (Svetlozar Stoyanov)

Database
~~~~~~~~

- When migrating from the older ``Bug`` model to ``LinkReference`` skip
  bugs which are attached directly to test cases instead of test executions.
  See `SO #59321756 <https://stackoverflow.com/questions/59321756/>`_

Kiwi TCMS 7.2 (08 Dec 2019)

09 Dec 11:12
Compare
Choose a tag to compare

IMPORTANT: this is an improvement & bug fix release which includes
new database migrations and API methods, internal refactoring and updated
translations.

Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Improvements

  • Base docker image to new CentOS 8
  • Update Django from 2.2.6 to 2.2.8
  • Update django-contrib-comments from 1.9.1 to 1.9.2
  • Update django-grappelli from 2.13.1 to 2.13.2
  • Update django-modern-rpc from 0.11.1 to 0.12.0
  • Update django-simple-history from 2.7.3 to 2.8.0
  • Update mysqlclient from 1.4.4 to 1.4.6
  • Update pygithub from 1.44 to 1.44.1
  • Update python-gitlab from 1.12.1 to 1.13.0
  • Several documentation updates

Database migrations

  • Add new database fields weight, icon and color to
    TestExecutionStatus and adjust existing code to work with them.
    This is a necessary step before allowing customization of test execution
    statuses, see
    Issue #236 <https://github.com/kiwitcms/Kiwi/issues/236>_

API

  • RPC method TestExecution.add_comment() now requires
    django_comments.add_comment permission
  • Add new RPC method TestExecution.remove_comment()
  • Add new RPC method TestCase.add_comment()
  • Add new RPC method TestCase.remove_comment()

Bug fixes

  • testplans.views.DeleteCasesView now requires testplans.change_testplan
    permission (Svetlomir Balevski)
  • testplans.views.ReorderCasesView now requires testplans.change_testplan
    permission (Svetlomir Balevski)
  • Fix counting bug in execution trends telemetry
  • Fix several telemetry queries to still show data in the corner case
    where test cases have been deleted from a TestPlan but test runs
    are still available
  • Fix broken bulk menu in TestRun page when (translated) status names
    are too long
  • Automatically expand TestExecution comment history if there are comments
    present. Fixes
    Issue #349 <https://github.com/kiwitcms/Kiwi/issues/349>_ (Matt Porter)
  • Document timezone settings and show current server time in navbar. Fixes
    Issue #1206 <https://github.com/kiwitcms/Kiwi/issues/1206>_
  • Check for permissions in HTML template. Closes
    Issue #961 <https://github.com/kiwitcms/Kiwi/issues/961>_
  • Document bug tracker integration support. Fixes
    Issue #698 <https://github.com/kiwitcms/Kiwi/issues/698>_
  • Delete comments when TestCase and TestExecution are removed. Closes
    Issue #1028 <https://github.com/kiwitcms/Kiwi/issues/1028>_

Refactoring

  • Pylint fixes (Mariyan Garvanski)
  • Use django.utils.timezone.now() instead of datetime.now(). Closes
    Issue #545 <https://github.com/kiwitcms/Kiwi/issues/545>_
  • Use JSON-RPC instead of backend views when working with comments. Resolves
    Issue #960 <https://github.com/kiwitcms/Kiwi/issues/960>_
  • Remove tcms.core.contrib.comments module. Closes
    Issue #959 <https://github.com/kiwitcms/Kiwi/issues/959>_
  • Remove label= attribute from form field. Fixes
    Issue #652 <https://github.com/kiwitcms/Kiwi/issues/652>_
  • Move and rename XML-RPC forms. Resolves
    Issue #681 <https://github.com/kiwitcms/Kiwi/issues/681>_
  • Convert testplans.views.DeleteCasesView to JSON-RPC
  • Refactor more views from function based to class based
  • Remove duplicate JavaScript

Translations

  • Updated Bulgarian translation <https://crowdin.com/project/kiwitcms/bg#>_
  • Updated Chinese Traditional translation <https://crowdin.com/project/kiwitcms/zh-TW#>_
  • Updated French translation <https://crowdin.com/project/kiwitcms/fr#>_

Kiwi TCMS 7.1 (29 Oct 2019)

10 Nov 18:14
Compare
Choose a tag to compare

IMPORTANT: this is a small improvement update which includes
database schema and API changes, several other improvements,
internal refactoring and updated translations.

Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Improvements


- Update django from 2.2.5 to 2.2.6
- Update python-gitlab from 1.11.0 to 1.12.1
- Update pygithub from 1.43.8 to 1.44
- Update psycopg2 from 2.8.3 to 2.8.4
- Add help tooltips in all telemetry pages
- Better styling for checkboxes in 'Add hyperlink' dialog,
  part of TestRun page
- Add hyperlink validation. Fixes
  `Issue #1147 <https://github.com/kiwitcms/Kiwi/issues/1147>`_

Database migrations
  • Add bugs permissions to Tester group. Will make any difference
    only if upgrading from existing installation

API


- New method ``Bug.remove()``


Bug fixes
  • Always build with the latest versions of translations
  • Add 'Delete' menu item in Bugs page. Fixes #1153
    Issue #1153 <https://github.com/kiwitcms/Kiwi/issues/1153>_
  • When deleting hyperlink from TestExecution hide the actual UI
    elements from the page
  • Fix failure to delete TCs when the number of TCs inside TP is greater
    than 100. Fixes
    Issue #1149 <https://github.com/kiwitcms/Kiwi/issues/1149>_ and
    Sentry KIWI-TCMS-8F <https://sentry.io/organizations/open-technologies-bulgaria-ltd/issues/1245504316/>_

Refactoring


- Rename directory ``xmlrpc`` to ``rpc`` and pylint updates. Refs
  `Issue #682 <https://github.com/kiwitcms/Kiwi/issues/682>`_
  (Matej Aleksandrov, Sinergise)
- Remove labels from form fields, Refs
  `Issue #652 <https://github.com/kiwitcms/Kiwi/issues/652>`_ (Azmi YÜKSEL)
- New base class for tests around permissions (Svetlomir Balevski)
- New "blueprint" test case around permissions to make testing in this area more
  robust
- Refactor many views from function based to class based
- Update stale tests in ``tcms/core/tests/`` and make sure they aren't ignored
  by the test runner
- Remove empty class ``XMLRPCBaseCaseForm``
- Remove ``XMLRPCNewCaseForm``, duplicate of ``NewCaseForm``
- Remove ``rpc.forms.UpdateCaseForm`` in favor of ``XMLRPCUpdateCaseForm``
- Update only English sources with new strings as a temporary workaround b/c
  Crowdin uses different formatting heuristics than gettext. This will minimize
  the number of .po format changes
- A few pylint fixes


Translations
  • Updated Albanian translation <https://crowdin.com/project/kiwitcms/sq#>_ - 97%
  • Updated Bulgarian translation <https://crowdin.com/project/kiwitcms/bg#>_ - 91%
  • Updated Chinese Simplified <https://crowdin.com/project/kiwitcms/zh-CN#>_ - 71%
  • Updated Greek translation <https://crowdin.com/project/kiwitcms/el#>_ - 44%
  • Updated Italian translation <https://crowdin.com/project/kiwitcms/it#>_ - 97%
  • Updated Japanese translation <https://crowdin.com/project/kiwitcms/ja#>_ - 0%
  • Updated Macedonian translation <https://crowdin.com/project/kiwitcms/mk#>_ - 11%
  • Updated Russian translation <https://crowdin.com/project/kiwitcms/ru#>_ - 97%
  • Updated Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>_ - 100%
  • Updated Spanish translation <https://crowdin.com/project/kiwitcms/es-ES#>_ - 96%
  • Updated Turkish translation <https://crowdin.com/project/kiwitcms/tr#>_ - 97%

Kiwi TCMS 7.0 (24 Sep 2019)

10 Nov 18:14
Compare
Choose a tag to compare

IMPORTANT: this is a major release which includes security updates,
significant database schema and API changes, many improvements,
removed functionality, bug fixes, substantial internal refactoring and
several new languages.

Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Security


- API method ``BugSystem.filter()`` has been removed (now unused) but
  it was possible to use this method to steal passwords or keys used for
  Issue Tracker integration. This vulnerability could be exploited by
  users logged into Kiwi TCMS and is classified as medium severity!
  We advise you to change your integration API keys and passwords
  immediately!


Improvements
  • Update Django from 2.2.4 to 2.2.5

  • Update django-uuslug from 1.1.8 to 1.1.9

  • Update mysqlclient from 1.4.2.post1 to 1.4.4

  • Update python-bugzilla from 2.2.0 to 2.3.0

  • Update python-gitlab from 1.10.0 to 1.11.0

  • Update patternfly from 3.59.3 to 3.59.4

  • Reduce docker image size from 1.01 GB to 577 MB

  • Add TestCase Health telemetry

  • Add support for Redmine issue tracker. Fixes
    Issue #41 <https://github.com/kiwitcms/Kiwi/issues/41>_ (Jesse C. Lin)

  • Add breathing room around HTML form's submit buttons (Rady Madjev)

  • New TestRun page action: bulk-add hyperlinks to TestExecution(s)

  • Make it possible to disable HTTPS by specifying the
    KIWI_DONT_ENFORCE_HTTPS environment variable! Fixes
    Issue #1036 <https://github.com/kiwitcms/Kiwi/issues/1036>_ (Marco Descher)

  • Documentation updates, including internal style checker. Fixes
    Issue #1000 <https://github.com/kiwitcms/Kiwi/issues/1000>_ (Prome88)

  • When linking a TestExecution to a defect and choosing to update the
    Issue Tracker Kiwi TCMS will not add a comment pointing back to
    TR ID/summary/URL and TE ID/summary. This provides more detailed information
    about the reproducer instead of just linking to a TestCase without any
    specific execution details like we did in the past

  • Display additional defect information via Issue Tracker integration.
    On Patternfly pages which show defect URLs this is accessible via a
    small info icon. Fixes
    Issue #117 <https://github.com/kiwitcms/Kiwi/issues/117>_

  • Add minimalistic defect tracker functionality. Fixes
    Issue #699 <https://github.com/kiwitcms/Kiwi/issues/699>_

    • integrated with Issue Tracker integration layer as if it was
      an external system
    • when adding hyperlink to TestExecition (also via API method
      TestExecution.add_link()) this is special cased and the
      references between Bug and TestExecution are always updated
    • when clicking 'Report bug' from inside Test Execution the new
      defect is reported automatically and a new browser window opens to
      display the information

Database migrations


- Tell the migration planner to apply
  ``testruns.0006_rename_test_case_run_to_test_execution`` after
  ``linkreference.0001_squashed``. This enables subsequent migrations
  and new functionality to be applied without crashing.

    .. warning::

        Django should be able to handle this automatically both for
        existing installations and for new ones. In any case make sure
        you backup your data first and make a dry-run to verify that
        nothing breaks!

- Remove fields ``url_reg_exp``, ``validate_reg_exp`` and ``description`` from
  ``BugSystem`` model
- Update the following fields in ``LinkReference`` model:

  - rename ``test_case_run`` to ``execution``
  - add indexing for ``created_on`` and ``url``
  - add ``is_defect`` field

- Apply ``LinkReference`` permissions to default group ``Tester``. Fixes
  `Issue #881 <https://github.com/kiwitcms/Kiwi/issues/881>`_

    .. warning::

        Administrators of existing applications will need to
        apply these permissions by hand via the Admin section.

- Remove ``testcases.Bug`` model, replaced with ``LinkReference``.
  Closes `Issue #1029 <https://github.com/kiwitcms/Kiwi/issues/1029>`_ and
  obsoletes `Issue #320 <https://github.com/kiwitcms/Kiwi/issues/320>`_.

    .. note::

        Linking bugs to TestExecution is now performed via URLs instead of
        keeping a reference to BUG-ID and trying to reconstruct the URL
        on the fly.

    .. warning::

        The model named ``Bug`` which is added by subsequent migrations
        refers to defects reported into Kiwi TCMS minimalistic defect tracker!

- New model ``bugs.Bug`` is now available. Permissions of type
  ``bugs | bug | Can ...`` will be applied to the default group named
  ``Tester`` only for new installations.

    .. warning::

        Administrators of existing applications will need to
        apply these permissions by hand via the Admin section.


API
~~~

- ``TestExecution.add_link()`` method now returns serialized
  ``LinkReference`` object.
- ``TestExecution.remove_link()`` method now accepts one parameter of type
  ``dict`` used to filter the objects which to remove
- ``TestExecution.get_links()`` method now accepts one parameter of type
  ``dict`` instead of ``int``
- ``TestExecution.add_link()`` method signature changed from
  (int, str, str) to (dict), where the single parameter holds field values for
  the ``LinkReference`` model
- Remove ``TestExecution.add_bug()`` method, use ``TestExecution.add_link()``
- Remove ``TestExecution.remove_bug()`` method, use
  ``TestExecution.remove_link()``
- Remove ``TestCase.add_bug()`` method
- Remove ``TestCase.remove_bug()`` method
- Remove ``Bug.remove()`` method, use ``TestExecution.remove_link()``
- Remove ``Bug.create()`` method, use ``TestExecution.add_link()``
- Add method ``Bug.details()`` which together with the underlying
  ``IssueTracker.details()`` is the foundation of how Kiwi TCMS fetches
  extra details from the issue tracking system. The default implementation
  uses OpenGraph protocol to collect the data that will be shown. You may
  override ``.details()`` for each issue tracker (or add your own IT) to
  extend this functionality. Information is cached for 1 hour by default.
  References
  `Issue #117 <https://github.com/kiwitcms/Kiwi/issues/117>`_
- Add methods ``Bug.add_tag()`` and ``Bug.remove_tag()``
- Existing method with name ``Bug.filter()`` has changed behavior. It is
  now used to query objects from Kiwi TCMS minimalistic defect tracker


Removed functionality
  • Remove IssueTrackerType.all_issues_link() method. This was used in
    TestRun Report page to show a single link that will open all bugs in the
    Issue Tracker. Most trackers don't support this and the UI portion has
    been rewritten
  • Remove LinkOnly issue tracker - obsolete because all defects are
    now added to TestExecutions via their URLs
  • Remove bulk-add/bulk-remove of bugs in TestRun page, replaced by bulk-add
    for hyperlinks

Settings


- Respect the ``CACHES`` setting, see
  `Django docs <https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-CACHES>`_
  for more info. Initially this setting is used to cache defect details received
  via Issue Tracker integration. See
  `Issue #117 <https://github.com/kiwitcms/Kiwi/issues/117>`_


Bug fixes
  • Don't auto-download FontAwesome for SimpleMDE. Resolves icons disappearing
    on pages which have the markdown editor. Fixes
    Issue #905 <https://github.com/kiwitcms/Kiwi/issues/905>_
  • Reorder HTML elements so Delete button is still visible in TestCase review
    comment section. Fixes
    Issue #1013 <https://github.com/kiwitcms/Kiwi/issues/1013>_ (Rady Madjev)
  • Remove section that displays bugs in TestExecution container. Bugs are now
    denoted by a small icon next to their hyperlink. Closes
    Issue #475 <https://github.com/kiwitcms/Kiwi/issues/475>_
  • Cache Issue Tracker connections per base_url. Fixes
    Issue #290 <https://github.com/kiwitcms/Kiwi/issues/290>_

Refactoring


- Lots of refactoring from function based views to class based views (Rady Madjev)
- Use JavaScript and the API to remove case execution instead of dedicated
  backend function (Rady Madjev)
- Update pylint directives around missing permissions (Svetlomir Balevski)
- Fix typo in identifier. Fixes
  `CID 344186 <https://scan4.coverity.com/reports.htm#v38579/p14953/fileInstanceId=65904319&defectInstanceId=11526612&mergedDefectId=344186&eventId=1>`_
- Use ``TestExecution.add_link()`` and ``TestExecution.remove_link()`` in UI
  instead of dedicated backend function.
- Remove unused LinkReference views, forms and tests modules


Translations
  • Introduce a translation mode where you can translate the interface via
    in-context editor. For more information see
    Translation guide <https://kiwitcms.readthedocs.io/en/latest/contribution.html#translation>.
    Fixes Issue #1098 <https://github.com/kiwitcms/Kiwi/issues/1098>
  • Updated Albanian translation <https://crowdin.com/project/kiwitcms/sq#>_
  • Updated Bulgarian translation <https://crowdin.com/project/kiwitcms/bg#>_
  • Updated Chinese Traditional translation <https://crowdin.com/project/kiwitcms/zh-TW#>_
  • Updated French translation <https://crowdin.com/project/kiwitcms/fr#>_
  • Updated Greek translation <https://crowdin.com/project/kiwitcms/el#>_
  • Updated Italian translation <https://crowdin.com/project/kiwitcms/it#>_
  • Updated Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>_
  • Updated Turkish translation <https://crowdin.com/project/kiwitcms/tr#>_

For more information check-out
all supported languages <https://crowdin.com/project/kiwitcms>_.
To request new ...

Read more

Kiwi TCMS 6.11 (02 Aug 2019)

10 Nov 18:13
Compare
Choose a tag to compare

IMPORTANT: this is a security and improvement update which updates
many internal dependencies, adds 2 new Telemetry reports, updates
TestPlan and TestCase cloning pages and provides several other
improvements and bug fixes. Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Security


- Update Django from 2.2.2 to 2.2.4, see
  `2.2.4 release notes <https://docs.djangoproject.com/en/2.2/releases/2.2.4/>`_
- Update marked to version 0.7.0, see
  `0.7.0 release notes <https://github.com/markedjs/marked/releases/tag/v0.7.0>`_


Improvements
  • Update python-gitlab from 1.8.0 to 1.10.0

  • Update django-grappelli from 2.12.3 to 2.13.1

  • Update django-simple-history from 2.7.2 to 2.7.3

  • Update django-attachments to 1.4.1

  • Update PyGithub from 1.43.7 to 1.43.8

  • Update patternfly to version 3.59.3

  • Update prismjs to version 1.17.0

  • Add Testing Status Matrix telemetry

  • Add Testing Execution Trends telemetry

  • Make it possible to attach files directly inside Test Plan page

  • Make it possible to attach files directly inside Test Execution widget

  • Convert Clone TestPlan page to Patternfly, greatly simplify the UI
    and update behavior:

    • Cloned TP author will always be set to the current user
    • Cloned TC author will always be set to the current user
    • Always keep the original default tester for test cases when cloning
    • Refactor to class based view
    • Fix a problem where Version values failed form validation b/c
      we've been trying to filter based on non-existing field
      product_id instead of just product
    • Fixes a problem where erroneous Version value was shown in the UI
  • Convert Clone TestCase page to Patternfly, greatly simplify the UI
    and update behavior. Fixes
    Issue #838 <https://github.com/kiwitcms/Kiwi/issues/838/>_:

    • Allow cloning into multiple test plans
    • Remove 'Filter another plan' option. Will be replaced by
      'Add TP to TC', see
      Issue #1021 <https://github.com/kiwitcms/Kiwi/issues/1021>_
    • Always update sortkey. Cloned TC will show at the bottom of the
      TestPlan
    • Cloned TC author will always be set to the current user
    • Always keep the original default tester

API


- First parameter of RPC method ``Bug.report()``
  has been renamed from ``test_case_run_id`` to ``execution_id``. This may
  break existing API scripts which try to pass this argument by name
  instead of by position!


Settings
  • Allow ENV variables KIWI_USE_TZ and KIWI_TIME_ZONE to control
    settings USE_TZ and TIME_ZONE. Fixes
    Issue #982 <https://github.com/kiwitcms/Kiwi/issues/982/>_ (Jason Yi)

Bug fixes


- Fix wrong permission label when deleting comments. Fixes
  `Issue #1010 <https://github.com/kiwitcms/Kiwi/issues/1010/>`_


Refactoring
  • Disable unnecessary pylint messages for missing-permission-required
    checker (Svetlomir Balevski)
  • Remove unnecessary from_plan URL variable making cleaner URLs
  • kiwi_lint: Don't check nested functions for permissions
  • Remove and regroup JavaScript functions
  • Instruct pyup-bot to monitor requirements/tarballs.txt for updates

Translations


- Updated `French translation <https://crowdin.com/project/kiwitcms/fr#>`_
- Updated `Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>`_

Kiwi TCMS 6.10 (18 June 2019)

10 Nov 18:12
Compare
Choose a tag to compare

IMPORTANT: this is a small security and improvement update.
Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Security


- Update Django from 2.2.1 to 2.2.2 for medium severity
  CVE-2019-12308 (XSS), CVE-2019-11358 (jQuery).
  `More info <https://docs.djangoproject.com/en/2.2/releases/2.2.2/>`_
- Add missing permission checks for menus in Test run page UI template.
  Permission check added for TestExecution status and comment menu.
  References `Issue #716 <https://github.com/kiwitcms/Kiwi/issues/716>`_
- Re-enable static analysis with ``bandit`` and ``Coverity Scan`` in
  Travis CI (Svetlomir Balevski)


Improvements
  • Update psycopg2 from 2.8.2 to 2.8.3
  • Update markdown from 3.1 to 3.1.1
  • Update patternfly to version 3.59.2
  • Override PasswordResetForm because Site.objects.get_current()
    didn't produce correct results when working with kiwitcms-tenants
  • Show column is_active in user admin page

Refactoring


- Add test for ``email_case_deletion()`` (Rik)
- New linter to warn about usage of ``AutoField``. Fixes
  `Issue #737 <https://github.com/kiwitcms/Kiwi/issues/737>`_ (Ivo Donchev, HackSoft)
- New linter to discover empty classed. Fixes
  `Issue #739 <https://github.com/kiwitcms/Kiwi/issues/739>`_ (Daniel Goshev)
- New linter to warn about usage of ``OneToOneField``. Fixes
  `Issue #735 <https://github.com/kiwitcms/Kiwi/issues/735>`_ (George Goranov)
- New linter to warn about usage of function based views. Fixes
  `Issue #734 <https://github.com/kiwitcms/Kiwi/issues/734>`_ (Yavor Lulchev, Uber)
- New linter to discover Python files in directories without ``__init__.py``. Fixes
  `Issue #790 <https://github.com/kiwitcms/Kiwi/issues/790>`_

Kiwi TCMS 6.9 (15 May 2019)

10 Nov 18:12
Compare
Choose a tag to compare

IMPORTANT: this is a small improvement and bug-fix update which introduces
our first telemetry report: testing breakdown. Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Improvements


- Update mysqlclient from 1.4.2 to 1.4.2.post1
- Ship with prism.js so it can be used for syntax highlighting
- Add Testing Breakdown telemetry
- Mark more strings for translations
- Add ``delete_user()`` function which can delete data across
  Postgre schemas (if kiwitcms-tenants add-on is installed)


API
~~~

- Remove deprecated ``TestCaseRun.`` API methods. Use the new
  ``TestExecution.`` methods introduced in v6.7. Fixes
  `Issue #889 <https://github.com/kiwitcms/Kiwi/issues/889/>`_


Bug fixes
~~~~~~~~~

- Fix typos in documentation (@Prome88)
- Fix ``TemplateParseError`` in email templates when removing test cases.
  On-delete email notification is now sent properly


Refactoring
~~~~~~~~~~~

- Add more tests around TestRun/TestExecution menu permissions
- Minor pylint fixes


Translations
  • Updated French translation <https://crowdin.com/project/kiwitcms/fr#>_
  • Updated Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>_

Kiwi TCMS 6.8 (03 May 2019)

10 Nov 18:11
Compare
Choose a tag to compare

IMPORTANT: this is a small improvement and bug-fix update.
Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Improvements


- Update Django from 2.2 to 2.2.1
- Update django-simple-history from 2.7.0 to 2.7.2
- Update django-grappelli from 2.12.2 to 2.12.3
- Update psycopg2 from 2.8 to 2.8.2
- Update pygithub from 1.43.6 to 1.43.7
- Upgrade pip and setuptools inside Docker image
- Update documentation with newer screenshots and updated Tutotial. Fixes
  `Issue #837 <https://github.com/kiwitcms/Kiwi/issues/837/>`_ (@Prome88)
- Document how to enable public read-only views
- Remove deprecated documentation section about Bugzilla authentication
- Install PostgreSQL libraries in Docker image which makes it easier to
  switch the DB backend without rebuilding the entire image
- Remove npm, libxml2-devel and libxslt-devel from Docker image
- Database engine configuration now respects the ``KIWI_DB_ENGINE`` environment
  variable which defaults to ``django.db.backends.mysql``. This will make it
  easier for admins to change DB engine by updating their ``docker-compose.yml``


Bug fixes
~~~~~~~~~

- Pin bootstrap-switch to version 3.3.4 in ``package.json``. Fixes
  `Issue #916 <https://github.com/kiwitcms/Kiwi/issues/916/>`_


Translations
  • Updated French translation <https://crowdin.com/project/kiwitcms/fr#>_
  • Updated Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>_
  • Updated Russian translation <https://crowdin.com/project/kiwitcms/ru#>_
  • New language Czech <https://crowdin.com/project/kiwitcms/cz#>_

Refactoring


- Don't use ``Site.objects.get_current()`` because it has an internal cache
  and causes email notifications from tenants to use the wrong URL
- More changes around renaming of TestCaseRun to TestExecution

Kiwi TCMS 6.7 (06 April 2019)

10 Nov 18:11
Compare
Choose a tag to compare

IMPORTANT: this is a small improvement and bug-fix update.
Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Improvements


- Update Django from 2.1.7 to 2.2
- Update markdown from 3.0.1 to 3.1
- Update psycopg2 from 2.7.7 to 2.8
- Update pygithub from 1.43.5 to 1.43.6
- Update bleach-whitelist from 0.0.9 to 0.0.10
- Update marked(.js) to version 0.6.2
- Support arbitrary depth for ``MENU_ITEMS`` setting
- Support auto-discovery of 3rd party Telemetry plugins, see
  `documentation <https://kiwitcms.readthedocs.io/en/latest/telemetry/index.html>`_


Database migrations
  • Rename TestCaseRun to TestExecution including renaming existing
    permissions
  • Rename TestCaseRunStatus to TestExecutionStatus

API


- Rename ``TestCaseRun.*`` to ``TestExecution.*``
- Rename ``TestCaseRunStatus.*`` to ``TestExecution.*``
- This version keeps the old names for backwards compatibility reasons


Bug fixes
  • Prompt user before deleting attachments. Fixes
    Issue #867 <https://github.com/kiwitcms/Kiwi/issues/867>_ (Martin Jordanov)
  • email_case_deletion() format error fixed so notifications when
    test cases are deleted are not sent (Rik)

Refactoring


- Remove unused images
- Install ``node_modules/`` under ``tcms/`` and include it inside PyPI tarball


Translations
  • Updated Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>_

Kiwi TCMS 6.6 (19 Mar 2019)

10 Nov 18:10
Compare
Choose a tag to compare

IMPORTANT: this is a medium severity security update, improvement and
bug-fix update. Supported upgrade paths::

5.3   (or older) -> 5.3.1
5.3.1 (or newer) -> 6.0.1
6.0.1            -> 6.1
6.1              -> 6.1.1
6.1.1            -> 6.2 (or newer)

After upgrade don't forget to::

./manage.py migrate

Security


- Explicitly require marked v0.6.1 to fix medium severity ReDoS vulnerability. See
  `SNYK-JS-MARKED-73637 <https://snyk.io/vuln/SNYK-JS-MARKED-73637>`_


Improvements
  • Update python-gitlab from 1.7.0 to 1.8.0

  • Update django-contrib-comments from 1.9.0 to 1.9.1

  • More strings marked as translatable (Christophe CHAUVET)

  • When creating new TestCase you can now change notification settings.
    Previously this was only possible during editing

  • Document import-export approaches. Closes
    Issue #795 <https://github.com/kiwitcms/Kiwi/issues/795>_

  • Document available test automation plugins

  • Improve documentation around Docker customization and SSL termination

  • Add documentation example of reverse rroxy configuration for HAProxy (Nicolas Auvray)

  • TestPlan.add_case() will now set the sortkey to highest in plan + 10 (Rik)

  • Add LinkOnly issue tracker. Fixes
    Issue #289 <https://github.com/kiwitcms/Kiwi/issues/289>_

  • Use the same HTML template for both TestCase new & edit

  • New API methods for adding, removing and listing attachments. Fixes
    Issue #446 <https://github.com/kiwitcms/Kiwi/issues/446>_:

    • TestPlan.add_attachment()
    • TestCase.add_attachment()
    • TestPlan.list_attachments()
    • TestCase.list_attachments()
    • Attachments.remove_attachment()

Database migrations


- Populate missing ``TestCase.text`` history.
  In version 6.5 the ``TestCase`` model was updated to store the text
  into a single field called ``text`` instead of 4 separate fields.
  During that migration historical records were updated to have
  the new ``text`` field but values were not properly assigned.

  The "effect" of this is that in TestCaseRun records you were not
  able to see the actual text b/c it was None.

  This change ammends ``0006_merge_text_field_into_testcase_model`` for
  installations which have not yet migrated to 6.5 or later. We also
  provide the data-only migration ``0009_populate_missing_text_history``
  which will inspect the current state of the DB and copy the text to
  the last historical record.


Removed functionality
  • Remove legacy reports. Closes
    Issue #657 <https://github.com/kiwitcms/Kiwi/issues/657>_

  • Remove "Save & Continue" functionality from TestCase edit page

  • Renamed API methods:

    • TestCaseRun.add_log() -> TestCaseRun.add_link()
    • TestCaseRun.remove_log() -> TestCaseRun.remove_link()
    • TestCaseRun.get_logs() -> TestCaseRun.get_links()

    These methods work with URL links, which can be added or removed to
    test case runs.

Bug fixes


- Remove hard-coded timestamp in TestCase page template, References
  `Issue #765 <https://github.com/kiwitcms/Kiwi/issues/765>`_
- Fix handling of ``?from_plan`` URL parameter in TestCase page
- Make ``TestCase.text`` occupy 100% width when rendered. Fixes
  `Issue #798 <https://github.com/kiwitcms/Kiwi/issues/798>`_
- Enable ``markdown.extensions.tables``. Fixes
  `Issue #816 <https://github.com/kiwitcms/Kiwi/issues/816>`_
- Handle form erros and default values for TestPlan new/edit. Fixes
  `Issue #864 <https://github.com/kiwitcms/Kiwi/issues/864>`_
- Tests + fix for failing TestCase rendering in French
- Show color-coded statuses on dashboard page when seen with non-English
  language
- Refactor check for confirmed test cases when editting to work with
  translations
- Fix form values when filtering test cases inside TestPlan. Fixes
  `Issue #674 <https://github.com/kiwitcms/Kiwi/issues/674>`_ (@marion2016)
- Show delete icon for attachments. Fixes
  `Issue #847 <https://github.com/kiwitcms/Kiwi/issues/847>`_


Refactoring
  • Remove unused .current_user instance attribute
  • Remove EditCaseForm and use NewCaseForm instead, References
    Issue #708 <https://github.com/kiwitcms/Kiwi/issues/708>,
    Issue #812 <https://github.com/kiwitcms/Kiwi/issues/812>
  • Fix "Select All" checkbox. Fixes
    Issue #828 <https://github.com/kiwitcms/Kiwi/issues/828>_ (Rady)

Translations


- Updated `Chinese Simplified translation <https://crowdin.com/project/kiwitcms/zh-CN#>`_
- Updated `Chinese Traditional translation <https://crowdin.com/project/kiwitcms/zh-TW#>`_
- Updated `German translation <https://crowdin.com/project/kiwitcms/de#>`_
- Updated `French translation <https://crowdin.com/project/kiwitcms/fr#>`_
- Updated `Slovenian translation <https://crowdin.com/project/kiwitcms/sl#>`_
- Changed misspelled source string ``Requirments`` -> ``Requirements`` (@Prome88)