https://github.com/oat-sa/extension-tao-itemqti
extension to create QTI items for TAO
https://github.com/oat-sa/extension-tao-itemqti
Last synced: about 2 months ago
JSON representation
extension to create QTI items for TAO
- Host: GitHub
- URL: https://github.com/oat-sa/extension-tao-itemqti
- Owner: oat-sa
- License: gpl-2.0
- Created: 2014-07-22T16:28:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T10:09:12.000Z (7 months ago)
- Last Synced: 2024-10-29T12:13:12.172Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 235 MB
- Stars: 7
- Watchers: 45
- Forks: 13
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
extension-tao-itemqti
=====================[](https://codecov.io/gh/oat-sa/extension-tao-itemqti)
extension to create QTI items for TAO
## How to import items
- [Importing items](./model/import/README.md)
## Environment Variables
### QTI Identifier Validator Pattern - `ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN`
QTI Item identifiers by default are normalized strings that accepts everything in the pattern
`/^[a-zA-Z_]{1}[a-zA-Z0-9_\.-]*$/u`. If for some reason you want to change this behavior, it's
possible by using the environment variable `ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN`
with a different pattern. Example:```shell script
# Do not accept dots on the QTI Item identifier
ENV_QTI_IDENTIFIER_VALIDATOR_PATTERN='/^[a-zA-Z_]{1}[a-zA-Z0-9_-]*$/u'
```
This would mean that case the user tries to save or import an item with an identifier with dots, this would return an
error:
After that, please always run `taoUpdate` to make sure that all the configurations were successfully applied.
```shell script
cd /path/to/tao/appphp tao/scripts/taoUpdate.php
```### Feature Flags
| Variable | Description | Default value |
|---------------------------------------------|---------------------------------------------------------------------------|---------------|
| FEATURE_FLAG_FLA | Toggles certain media-interaction options' availability in item authoring | false |
| FEATURE_FLAG_UNIQUE_NUMERIC_QTI_IDENTIFIER | This will replace Item Qti Identifier to 9 digits non editable field | - |