Skip to main content

Speeding up your Program Indicators with Tracker-to-Aggregate

6 min read
Claude Mamo
DHIS2 Core Team

Tracker-to-Aggregate, or T2A for short, is a pattern that has been used with great success when improving the performance of program indicators in DHIS2. Program indicators are expressions based on data elements and attributes of tracked entities which can be used to calculate values based on a formula. T2A can solve the problem where it鈥檚 computationally expensive to calculate program indicators in real-time. A common symptom to this recurring problem is an endless spinning circle when opening a dashboard that computes a program indicator over millions of tracked entity instances:

Automating tests for DHIS2 integrations with JUnit 5

9 min read
Claude Mamo
DHIS2 Core Team

DHIS2 is a platform that can receive and host data from different sources, while it can also share data with other systems and reporting mechanisms. Integrating with DHIS2, or building any integration for that matter, requires manual or automated testing of the integration itself. The growth of container technology, and in particular Docker, has reduced the pain of automating the testing of integrations. By automating, I mean self-contained integration test suites that run out-of-the-box and require no manual setup of their external runtime dependencies (Docker Engine is assumed to be installed on the machine running the tests).

Introducing PWA in the App Platform

11 min read
Kai Vandivier
DHIS2 Core Team

The DHIS2 App Platform now supports PWA capabilities in apps made with the platform! The Dashboard App will be the first core app to take advantage of these features to enable offline capability, and it will be used as an example in this article to describe the details of these features.

This article will give a brief overview of the new features available and some examples that illustrate how they can be used. A future article will go into detail about the technical decisions behind these features and their designs.

Hacktoberfest 2021 - Contribute to DHIS2 and win a t-shirt (or plant a tree)

One min read
Austin McGee
DHIS2 Core Team

Every year, DigitalOcean and other partners sponsor Hacktoberfest to encourage open-source contributions. Contributors who make 4 or more useful pull-requests will be eligible to receive a free Hacktoberfest t-shirt. We also encourage you to consider the environmentally-conscious option of planting trees instead 馃尦馃帀

If you contribute (by opening a pull request which gets approved) to any open-source DHIS2 repository during the month of October, your contribution will count towards the 4 pull-request minimum required to claim your reward. Get hacking!

SameSite Cookie Policies and DHIS2 Applications

6 min read
Austin McGee
DHIS2 Core Team

As of mid-July 2020, the Chrome (and Chromium) stable release channel has started to disable cross-site cookies by default. Mozilla Firefox has pushed this change to their beta channel and will likely release it to the stable channel soon. This change affects any DHIS2 application running on a different domain than the DHIS2 server instance, including applications running on localhost in development. It does not affect cross-site API requests which use Basic or OAuth authentication headers, as those do not rely on cookies for authentication.

UI 5 release

14 min read
DHIS2 Core Team
DHIS2 Core Team

We've recently released @dhis2/ui version 5. It unifies ui-core, ui-widgets and ui-forms to simplify the user experience and allow for some architectural changes. In this post we'll go through the most important changes to try and help you with the upgrading process. To view a complete list of all the changes see the changelog.