Skip to content

Commit fa6fa63

Browse files
authored
Merge pull request #3784 from Tangerine-Community/release/v3.32.1
Release/v3.32.1
2 parents 1c625c7 + e9017b7 commit fa6fa63

170 files changed

Lines changed: 2709 additions & 513 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ scripts/apk-build.sh
6363
.angular
6464
.secrets
6565
._.DS_Store
66+
/.lh

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# What's new
22

3+
## v3.32.1
4+
5+
__General Updates__
6+
7+
- [#3776](https://github.com/Tangerine-Community/Tangerine/issues/3776) Add platform config variable T_USER_SHORT_CODE_LENGTH to set the length of the user short code
8+
9+
Enables configuration of the length of the user profile short code, which are used in Tangerine Sync Protocol 1 to import existing responses into a device. The default length in 6 characters. Tangerine users with custom userProfileIds should consider increasing the value to avoid duplicate ids. To change the value, set `T_USER_SHORT_CODE_LENGTH` in the `config.sh` file to set the length of the user short code, then run `docker exec -it tangerine push-all-groups-views`.
10+
11+
- Add shared csv template parameter to generate csv data sets script and API
12+
13+
The `/api/create/csvDataSets/` API and script called [generate-csv-data-sets](./server/src/scripts/generate-csv-data-sets/bin.js) are useful to generate CSV Data Sets (Spreadsheets) across all forms in all groups. This change adds a second parameter called `sharedCsvTemplateId` which is the CouchDB Id of a Spreadsheet Template stored in the groups database named `group-<id>-csv-templates`. When the parameter is provided to the script or API, the CSV Template will be applied to control the headers on the CSV datasets produced by the process. Only CSVs will be produced for groups that have the `sharedCsvTemplateId` template in the `group-<id>-csv-templates` database.
14+
15+
- Format Form Titles in Tangerine Web UI to show the form title or form id with translations
16+
- Fixes [#3735](https://github.com/Tangerine-Community/Tangerine/issues/3735)
17+
- Closes [#3751](https://github.com/Tangerine-Community/Tangerine/issues/3751)
18+
19+
Form Titles will now appear in more places in the Tangerine Web UI for improved readability. If the form title doesn't contain `t-lang` tag, return the text. Otherwise, it will use the English translation if it exists or the first translation if there's no English version of the title. Use the same heuristic in the pipe when creating and naming csv files.
20+
21+
- Tangy Audio Recording and Audio Playback Inputs
22+
23+
Two new inputs are available for recording and playing back audio.
24+
25+
```html
26+
<tangy-audio-recording name="test-audio" label="Record Audio"></tangy-audio-recording>
27+
<tangy-audio-playback name="test-playback" label="Audio Playback" src="assets/sounds/fewtimes_Eng.mp3"></tangy-audio-playback>
28+
```
29+
30+
- Add Modern Standard Arabic (MSA) to the list of supported languages
31+
32+
Users can set the language of the tablet to Modern Standard Arabic (MSA) by selecting the 'Arabic' in the client and add `t-lang ar` tags to text labels in forms
33+
34+
- [3811](https://github.com/Tangerine-Community/Tangerine/pull/3811) Documentation Overhaul
35+
36+
__Libraries and Dependencies__
37+
- [translation-web-component](https://github.com/Tangerine-Community/translation-web-component): Update `t-select` with a `currentLanguageDirection` property to enable RTL support.
38+
- tangy-form: Updates and fixes for Audio Recording and Playback inputs
39+
- tangy-form-editor: Updates and fixes for Audio Recording and Playback widgets
40+
41+
__Server upgrade instructions__
42+
43+
See the [Server Upgrade Instructions](https://docs.tangerinecentral.org/system-administrator/upgrade-instructions).
44+
45+
*Special Instructions for this release:*
46+
47+
Once the Tangerine and CouchDB are running, run the upgrade script for v3.32.1:
48+
49+
`docker exec -it tangerine /tangerine/server/src/upgrade/v3.32.1.js`
50+
351
## v3.32.0
452

553
Tangerine v3.32.0 contains a major update to the deployment and fuctionality of Online Surveys including the introduction of authentication and case association.

client/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@
7575
"rxjs-compat": "^6.5.5",
7676
"sanitize-filename-ts": "^1.0.2",
7777
"spark-md5": "^3.0.2",
78-
"tangy-form": "^4.46.1",
79-
"translation-web-component": "1.1.1",
78+
"tangy-form": "^4.48.2",
8079
"tslib": "^1.10.0",
8180
"underscore": "^1.9.1",
8281
"uuid-browser": "^3.1.0",

client/src/polyfills.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import 'tangy-form/input/tangy-toggle.js';
4949
import 'tangy-form/input/tangy-radio-blocks.js';
5050
import 'tangy-form/input/tangy-video-capture.js';
5151
import 'tangy-form/input/tangy-prompt-box.js';
52+
import 'tangy-form/input/tangy-audio-recording.js';
53+
import 'tangy-form/input/tangy-audio-playback.js';
5254
// import 'tangy-form/input/tangy-scan-image.js';
5355

5456

config.defaults.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ T_REGISTRATION_REQUIRES_SERVER_USER="false"
8686
# This setting only works with new groups being created.
8787
T_CENTRALLY_MANAGED_USER_PROFILE="false"
8888

89+
# User Short Code Length: The length of the short code that is used to import data to a device from the user id. Default is 6.
90+
T_USER_SHORT_CODE_LENGTH=6
91+
8992
# Sync Protocol 1 Only: Don't do a GET before a PUT when uploading.
9093
T_UPLOAD_WITHOUT_UPDATING_REV="true"
9194

develop.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ OPTIONS="--link $T_COUCHDB_CONTAINER_NAME:couchdb \
184184
--env \"T_LEGACY=$T_LEGACY\" \
185185
--env \"T_REGISTRATION_REQUIRES_SERVER_USER=$T_REGISTRATION_REQUIRES_SERVER_USER\" \
186186
--env \"T_CENTRALLY_MANAGED_USER_PROFILE=$T_CENTRALLY_MANAGED_USER_PROFILE\" \
187+
--env \"T_USER_SHORT_CODE_LENGTH=$T_USER_SHORT_CODE_LENGTH\" \
187188
--env \"T_CATEGORIES=$T_CATEGORIES\" \
188189
--env \"T_ORIENTATION=$T_ORIENTATION\" \
189190
--env \"T_REPORTING_MARK_OPTIONAL_NO_ANSWER_WITH=$T_REPORTING_MARK_OPTIONAL_NO_ANSWER_WITH\" \

docs/.pages

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
arrange:
2-
- index.md
3-
- about.md
4-
- guides.md
5-
- getting-started.md
6-
- whats-new.md
7-
- navigation.md
8-
- CONTRIBUTING.md
9-
- editor
10-
- data-collector
11-
- data-manager
12-
- developer
13-
- system-administrator
1+
nav:
2+
- index.md
3+
- Get Started:
4+
- Form Editor: editor
5+
- Data Collector: data-collector
6+
- System Administrator: system-administrator
7+
8+
9+
- Get Involved:
10+
- developer
11+
- Product Suite: ./product-suite
12+
- Learn: https://moodle.tangerinecentral.org/course/index.php?categoryid=14
13+
- Setup your Platform: system-administrator/installation
14+
- Sign up: https://www.tangerinecentral.org/pricing
15+
16+
- about.md

docs/CONTRIBUTING.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,3 @@ Now you have everything installed, get started viewing content by running the fo
4242
mkdocs serve
4343
```
4444

45-
## Contribution Guide
46-
47-
TODO: Replace this video with an updated version to reflect the new process
48-
49-
<iframe width="560" height="315" src="https://www.youtube.com/embed/EyQz44EvdZI" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

docs/about.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# About Tangerine
22

3-
Tangerine is electronic data collection software designed for use on Android mobile devices. Its primary use is to enable offline data capture in low-resource areas.
3+
Tangerine is an electronic data collection platform designed for use on Android mobile devices. Its primary use is to enable offline data capture in low-resource areas. It is used in education, health, agriculture, and other areas.
44

5-
Tangerine was first developed to capture student responses in in oral early grade reading and mathematics skills assessments, specifically Early Grade Reading Assessment (EGRA) and Early Grade Mathematics Assessment (EGMA). As well as capture interview responses from students, teachers and principals on home and school context information. Tangerine's capabilities have been expanded for data capture and management for rural health intervention projects.
5+
Tangerine was first developed to capture student responses in in oral early grade reading and mathematics skills assessments, specifically Early Grade Reading Assessment (EGRA) and Early Grade Mathematics Assessment (EGMA). As well as capture interview responses from students, teachers and principals on home and school context information. Tangerine's capabilities have been expanded for data capture and management for rural health intervention projects.
66

7-
Using Tangerine improves data quality and the efficiency of data collection and analysis by simplifying the preparation and implementation of field work, reducing measurement and data entry errors, and eliminating manual data entry from paper forms.
7+
Using Tangerine improves data quality and the efficiency of data collection and analysis by simplifying the preparation and implementation of field work, reducing measurement and data entry errors, and eliminating manual data entry from paper forms.
88

9-
Tangerine was developed in 2011 by RTI International with its own internal research funds, and made available to the public through a GNU General Public License. RTI redesigned Tangerine and developed a new codebase using latest technologies in 2018 with funding support from Google.org. As an open source software platform Tangerine's source code is available for anyone who wishes to install and use Tangerine on their own web server. Tangerine's source code and related documentation is available on Github, a commonly used repository for open source software. To learn more and have a look under the hood, check out Tangerine's Code Repositories on Github.
9+
Tangerine was developed in 2011 by RTI International with its own internal research funds and made available to the public through a GNU General Public License. RTI redesigned Tangerine and developed a new codebase using latest technologies in 2018 with funding support from Google.org. As an open-source software platform Tangerine's source code is available for anyone who wishes to install and use Tangerine on their own web server. Tangerine's source code and related documentation is available on Github, a commonly used repository for open-source software. To learn more and have a look under the hood, check out Tangerine's Code Repositories on Github.
10+
11+
12+
## Get in touch
13+
14+
[Get in Touch](https://www.tangerinecentral.org/contact)
1015

11-
## How it works
12-
![How it works](how-it-works.png)
1316

docs/data-collector/.pages

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
title: "Data Collector"
2-
arrange:
2+
nav:
33

4-
- data-collector-overview.md
5-
- README.md
4+
- README.md
5+
- Tangerine app Installation: install-app.md
6+
- registration.md
7+
- data-collector.md
8+
- data-sync.md
9+
- App Update: update-app.md

0 commit comments

Comments
 (0)