Skip to content

Commit

Permalink
Merge pull request #6 from EyeSeeTea/feature/dashboard-mappings-import
Browse files Browse the repository at this point in the history
Integrating functionalities: Dashboard page + Mapping edition + GEE Import
  • Loading branch information
ifoche authored Apr 2, 2020
2 parents fc0219e + 52a2c11 commit 547a5f4
Show file tree
Hide file tree
Showing 35 changed files with 2,605 additions and 228 deletions.
685 changes: 685 additions & 0 deletions ee_api_js.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions foo-dhis2-gee-app-09be93975aeb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "service_account",
"project_id": "foo-dhis2-gee-app",
"private_key_id": "09be93975aeb24620c7186a0b0f0c450bd5e1c4b",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCZmnsPMHZRLnJq\nrNYoiieFNxUZnoe4ERLVkePqDW/uXomxbNhRhb+FezQ+ps6GDX0ToxbQyQb5/v5b\nh7E7gPcPsvGWJQeooildsMLBoHUL9A0bpJSmkM/rK+GkaM1p37vx4Oap9Sg21hIe\nPaJD/7hn3z2276js8npGPgCcancmhHPx0YtMaOvJvl49NUo7h3OfKAIKd07dL05a\nFCRTreZ8V9u0EDODKgMIeeXBx2kbif+2JhGzPp/sx5l0U88xhoIWs4q5OH5pAsCa\nBjxZe/RKq0PYNAzwO3JgyZr82NAazofsHTD0s0YTz9+FpVPGUDDp2BLfgEBAO8aN\nK7PiD65tAgMBAAECggEAAguSaU2RdKRmSuy7/J6bkppxT/UVNiBSEk+A9IjerV5R\nGuTVdhCaFdczXlxHiwFCSoPlDqAePemWnJAnn4lFuCUt7J806w7qmjjS0NmwhgIy\nzsE2cnwicmeljsiPc3Cvn1aD4kg25QVLoCULoAnAAjXfZg8Ncq/bj51HaWUHDcvJ\nLap5AQCdbqyVmaVVpDc33WNfZXG/pmK3OgnsiGXOtljjcenRbTJmDhC9ZQUea7aJ\nRCd9lKQ8r9mMqYSfEk4kC8UBWxhKktLxtc/GIbm1wmQjxdyknPqNVTlC5QZadmQP\nlskTV8KH33tzmDNO7rwChVDRbbXZPjuZylxtmre0YQKBgQDM3pA9J4DWB8ZCE/tt\nlmJqR3FHUt/rRQ7R1JtQBU6RGuuacUi5e2q+YbvImVpN2VeVjdjunY/BigNtaQco\n7n07bZggPkQGSBjK7DhFePsVOfW2oJwaAxEJHcOSgURftDCGsHfInM/8N+kkoFyH\n+tQZEqW2N1LMJhCmQk6r11NUzQKBgQC/8HPy3cMvncJy/4bCzpdavEAk0WfSZV3J\nwbxS42YOMwHcreH13mEzufIBdvqpi+LFOFdnHxkIZ+JhDtLH2Qbdsyqsqotuzo7Y\nLheyfrJ0opPplrXp2Xs11Y/KKf1jyZ3YEpzNW6pZSl+yViyZnaRv1iny/q5MG0Eg\n+9XtY5jAIQKBgAqQ3/eHdgmT1RHLXghE3UaF8L2w9IN5yE3iHTB/VZH+RXBtr0aB\nqvuuprSt1A53yyCXdDy6O5PLvmmCJTBjPGo4OMRQ8ckxJrYwgKZ0mt55YsbMecCN\nr+88bb28lP4qmOYZa9QY4lErwQZ2js8kjJPOdmVzbP3CaNFqUgxiypVxAoGAdhv4\nvZJI8Zwac7lZq7aE3IjKz90sDgPiWqykvjzAKCyrEKjPSwS0u6fIi64zQPGbcdDh\nt8sjFFEYtLDyc5fQ6cu+jtHDS0RAEjcKzgO4vJzud+cNugDiGJZ6DOUZz7XZM4UA\niD3H7XoeuRbeCwk+jrMyzRx7FMoQocNWOOX4sQECgYA2G02GQ1cbGMnpGw0d0g4g\nEA+/N1dxmtahaQ91eEio0nDyM7DxeKvC6JfQSpsZaq89DFJ+Hu012X9M8yZAvuHB\ndpbN0XblfFULjgRTuUtc1/nwtK6EAZsHlY9b0bXfdvxP7Pf0vSCc6cErZQQxrhs9\nmRgBb5FP5/46q/j2K583tA==\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "104223615335491334761",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/test-63%40foo-dhis2-gee-app.iam.gserviceaccount.com"
}
165 changes: 133 additions & 32 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,58 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2020-03-30T07:07:17.941Z\n"
"PO-Revision-Date: 2020-03-30T07:07:17.941Z\n"
"POT-Creation-Date: 2020-04-02T14:50:37.733Z\n"
"PO-Revision-Date: 2020-04-02T14:50:37.733Z\n"

msgid "Select organisation unit"
msgid "Mapping for attribute {{attr}}"
msgstr ""

msgid "Save"
msgid "Cancel"
msgstr ""

msgid "Fixed period"
msgid "Disable mapping"
msgstr ""

msgid "Today"
msgid "Are you sure you want to disable mapping for {{total}} attributes?"
msgstr ""

msgid "Yesterday"
msgid "Please select at least one item to disable mapping"
msgstr ""

msgid "Last 7 days"
msgid "Google Attribute"
msgstr ""

msgid "Last 14 days"
msgid "Mapped Id"
msgstr ""

msgid "This week"
msgid "Set mapping"
msgstr ""

msgid "Last week"
msgid "Mapped Name"
msgstr ""

msgid "This month"
msgid "Mapped Code"
msgstr ""

msgid "Last month"
msgid "Ok"
msgstr ""

msgid "This quarter"
msgid "Search by name / code"
msgstr ""

msgid "Last quarter"
msgid "Name"
msgstr ""

msgid "This year"
msgid "Code"
msgstr ""

msgid "Last year"
msgid "Select"
msgstr ""

msgid "Select organisation unit"
msgstr ""

msgid "Save"
msgstr ""

msgid "Select period interval"
Expand All @@ -68,6 +74,33 @@ msgstr ""
msgid "<No value>"
msgstr ""

msgid "Cancel mapping?"
msgstr ""

msgid "All your changes will be lost. Are you sure you want to proceed?"
msgstr ""

msgid "Yes"
msgstr ""

msgid "No"
msgstr ""

msgid "General info"
msgstr ""

msgid "Google Earth Engine variables mapping"
msgstr ""

msgid "Summary and save"
msgstr ""

msgid "Field cannot be blank"
msgstr ""

msgid "Dataset"
msgstr ""

msgid "Help"
msgstr ""

Expand All @@ -82,16 +115,19 @@ msgid ""
"to proceed?"
msgstr ""

msgid "Yes"
msgid "Id"
msgstr ""

msgid "No"
msgid "Comment"
msgstr ""

msgid "Id"
msgid "Data element id"
msgstr ""

msgid "Name"
msgid "Data element code"
msgstr ""

msgid "Data element name"
msgstr ""

msgid "Description"
Expand All @@ -106,18 +142,50 @@ msgstr ""
msgid "Selected query period"
msgstr ""

msgid "{{n}} data values from {{name}} google data set."
msgstr ""

msgid "No effective import into DHIS2, file download"
msgstr ""

msgid "Import config failed"
msgstr ""

msgid "Instance Dataset"
msgstr ""

msgid "Instance DataSet"
msgstr ""

msgid "G.E.E Dataset"
msgstr ""

msgid "Created at"
msgstr ""

msgid "Attribute mappings"
msgstr ""

msgid "Google Band mapping with Data Element.q"
msgstr ""

msgid "Click to show feedback"
msgstr ""

msgid "Import successful \n"
msgstr ""

msgid "New import request"
msgstr ""

msgid ""
"This operation will collect and import data from Google Earth Engine to the "
"instance. Are you sure you want to proceed?"
msgstr ""

msgid "Importing..."
msgstr ""

msgid "Import"
msgstr ""

Expand Down Expand Up @@ -145,7 +213,7 @@ msgstr ""
msgid "List"
msgstr ""

msgid "Data set"
msgid "Dataset id"
msgstr ""

msgid "Created"
Expand All @@ -163,7 +231,7 @@ msgstr ""
msgid "{{n}} mappings deleted"
msgstr ""

msgid "Delete project"
msgid "Delete mapping"
msgstr ""

msgid ""
Expand All @@ -177,29 +245,62 @@ msgstr ""
msgid "Proceed"
msgstr ""

msgid "Cancel"
msgid "Search by name or code"
msgstr ""

msgid "Search by name or code"
msgid "New mapping"
msgstr ""

msgid "General info"
msgid "Edit mapping"
msgstr ""

msgid "Summary and save"
msgid "Fixed period"
msgstr ""

msgid "New mapping"
msgid "Today"
msgstr ""

msgid "Edit mapping"
msgid "Yesterday"
msgstr ""

msgid "Cancel mapping creation"
msgid "Last 7 days"
msgstr ""

msgid "Cancel mapping edition"
msgid "Last 14 days"
msgstr ""

msgid "Ok"
msgid "This week"
msgstr ""

msgid "Last week"
msgstr ""

msgid "This month"
msgstr ""

msgid "Last month"
msgstr ""

msgid "This quarter"
msgstr ""

msgid "Last quarter"
msgstr ""

msgid "This year"
msgstr ""

msgid "Last year"
msgstr ""

msgid "Field {{field}} cannot be blank"
msgstr ""

msgid "This URL and username combination already exists"
msgstr ""

msgid "You need to select at least one {{element}}"
msgstr ""

msgid "Start and end dates are not a valid period"
msgstr ""
Loading

0 comments on commit 547a5f4

Please sign in to comment.