Ona This Month April 2017 Newsletter

Posted:

image

What’s new?

Tableau connector for data visualization

We are excited to announce the Tableau App for Ona. Tableau is a data visualization tool that can create visually appealing reports, charts, graphs, and dashboards using your data from Ona. Here is an example:

image

 Continue reading Ona This Month April 2017 Newsletter...


Redirecting HTTP traffic while using AWS Target Groups

Posted:

A few months ago we received a support query from a user who was unable to log in. We couldn’t replicate the issue and they weren’t able to work with us to get it fixed. We concluded that they were doing something unique and had ended up fixing it from their end somehow.

Fast forward to March 5th, when we sent email invitations for a Nairobi Linux Users Group meet-up with an HTTP—not HTTPS—link to the login page, http://ona.io/login, and got a complaint that the site did not redirect to HTTPS on the /login or /join routes. This was a serious problem because we only perform sign-ups, log-ins or any other form of data exchange over HTTPS, including setting cookies.

When we find the user’s authentication cookies are not set, or are expired, we reload the page so that they can get a new authentication cookie. We implemented this as shown below, by checking for a 401 status from the OnaData API. More of that code is here.

(defn http-request
  "Wraps cljs-http.client/request and redirects if status is 401"
  [request-fn & args]
  (let [response-channel (chan)]
    (go
      (let [original-response-channel (apply request-fn args)
            {:keys [status] :as response} (<! original-response-channel)]
        (if (= status 401)
          (set! js/window.location (.href js/window.location))
          (put! response-channel response))))
response-channel))

As a consequence of this setup, when a user connects over HTTP and is not redirected to HTTPS they can end up in an endless loop of reloads when they try to sign-up, log-in or submit data in any other way. When we tried it ourselves, HTTP redirected to HTTPS just fine. However, we noticed that it didn’t redirect on a fresh Firefox install, assuming this fresh install didn’t have add-ons like HTTPS Everywhere.

 Continue reading Redirecting HTTP traffic while using AWS Target Groups...


3,725 Health Posts Mapped in Jakarta in a Massive Grassroots Empowerment Effort

Posted:

Health posts in Jakarta mapped by PKK.

We caught up with Renold Lim, a volunteer at Jakarta-based grassroots organization Pemberdayaan Kesejahteraan Keluarga (PKK), which aims to improve health services to the urban poor by sharing data about the realities of street-level health services. It is a colossal effort. Given that the city of 10 million has 400,000 poor residents, it requires coordinating and training over 1,200 volunteer data collectors to map data from 3,725 health facilities. They’ve managed to do this successfully — so far their efforts have resulted in more funding, new equipment, and government buy-in. In this short interview, Renold shares some tips for making the process go smoothly and what works at scale.

ONA: Please tell us about your organization and what you’re trying to do

RENOLD LIM: PKK is a non-governmental, non-profit organization based in Jakarta. Our mission is empowerment for family welfare and we have existed for over 45 years. Our activities include organizing pre-school education for the poor, running vocational classes for women, and advocating for public spaces in low-income areas. An ex-government official runs it. I got involved in March 2016. I was a volunteer at the Office of the [Jakarta] Governor and was introduced to the governor’s wife, who is involved with PKK.

 Continue reading 3,725 Health Posts Mapped in Jakarta in a Massive Grassroots Empowerment Effort...


How to Increase Security by Encrypting Form Data

Posted:

Encrypting form data incorporates an added level of security by making your data private, unreadable, and tamper-proof. This security mechanism can help you meet strict data privacy requirements sometimes set by ethical review boards for research studies. For example, you should encrypt data if you have surveys on highly sensitive topics like domestic violence and want to take all precautions so data isn’t available to unintended people. This article will show you how to encrypt form data and how to decrypt the data for analysis.

 Continue reading How to Increase Security by Encrypting Form Data...


Ona This Month March 2017 Newsletter

Posted:

image

What’s new?

New Pricing Plans

We launched new pricing plans last week. To celebrate, we are giving out 14 extra days free when you upgrade your account to any paid plan. The new plans are configured to provide more value at a competitive price. For example, filtered datasets and Ona App integrations can be had for as low as $99. Check out our new pricing plans and send an email to sales@ona.io to claim your 14 free days.

 Continue reading Ona This Month March 2017 Newsletter...