General Updates
- #3776 Add platform config variable T_USER_SHORT_CODE_LENGTH to set the length of the user short code
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
.
- Add shared csv template parameter to generate csv data sets script and API
The /api/create/csvDataSets/
API and script called generate-csv-data-sets 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.
- Format Form Titles in Tangerine Web UI to show the form title or form id with translations
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.
- Tangy Audio Recording and Audio Playback Inputs
Two new inputs are available for recording and playing back audio.
<tangy-audio-recording name="test-audio" label="Record Audio"></tangy-audio-recording>
<tangy-audio-playback name="test-playback" label="Audio Playback" src="assets/sounds/fewtimes_Eng.mp3"></tangy-audio-playback>
- Add Modern Standard Arabic (MSA) to the list of supported languages
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
- 3811 Documentation Overhaul
Libraries and Dependencies
- translation-web-component: Update
t-select
with acurrentLanguageDirection
property to enable RTL support. - tangy-form: Updates and fixes for Audio Recording and Playback inputs
- tangy-form-editor: Updates and fixes for Audio Recording and Playback widgets
Server upgrade instructions
See the Server Upgrade Instructions.
Special Instructions for this release:
Once the Tangerine and CouchDB are running, run the upgrade script for v3.32.1:
docker exec -it tangerine /tangerine/server/src/upgrade/v3.32.1.js