- added compatibility for oTree v3.3.x -- dropped support for older oTree versions
- better integration in session data monitor
- provide default
custom_export()
function for apps with linked custom data models
surveys
module:- made
generate_likert_field()
more flexible with parametersfield
,choices_values
andhtml_labels
- added option to pass parameters to
generate_likert_field()
forgenerate_likert_table()
- made
- adapted examples to show new features
- fixed bug in
otreeutils_example3_market
example experiment, where amount of fruit in offers was not decreased after sales - check if otreeutils is listed in
INSTALLED_APPS
- make dependency to pandas optional (only installed with
admin_extensions
option) - integrated
tox
for testing
surveys
module:- added missing "change" triggers when checkboxes are selected in Likert table via clicking/touching the table cell
- added a check to require the
survey_definitions
argument to be a tuple increate_player_model_for_survey
surveys
module:- added option
table_repeat_header_each_n_rows
togenerate_likert_table()
- fixed problem where form options like
form_help_initial
were ignored
- added option
surveys
module:- add several options to
generate_likert_table()
to adjust display and behavior of Likert tables - allow non-survey form fields on survey pages
- add several options to
- pages derived from
ExtendedPage
may setdebug_fill_forms_randomly
toTrue
so that when visiting the page, its form is filled in with random values (helpful during developement process) surveys
module: all columns in a Likert table now have the same width. The width of row header (first column) is 25% by default and can be changed viatable_row_header_width_pct
surveys
module: field labels can now contain HTML (HTML is not escaped and will be rendered)
- added class attribute
custom_name_in_url
forExtendedPage
: allows to set a custom URL for a page (instead of default class name) - several improvements in the
surveys
module:- added
other_fields
parameter tocreate_player_model_for_survey
to allow for additional (non-survey) fields - corrections when using surveys module in several apps on the same server instance
- added option to specify conditional field display via JavaScript
- added option to specify form label suffix
- added option to specify field widget HTML attributes
- added option to use custom choices (
use_likert_scale=False
) ingenerate_likert_table
- alternating row colors and hover for likert table
- added
- added new
scripts
module:- properly set up your command-line scripts to work with oTree by importing the module
- export of hierarchical data structures from collected data
- added new features to
otreeutils.surveys
:generate_likert_field
to easily create Likert scale fields from given labelsgenerate_likert_table
to easily create a table of Likert scale inputs- ability to add
help_text
for each question field as HTML - ability to split questions into several forms
- easier survey forms styling via CSS due to more structured HTML output
- fixed problem with missing sub-package
otreeutils.admin_extensions
- modified admin extensions to use pandas for data joins, removes limitation in live data viewer
- fixed issue with tests for example 1 and 2
- added example 3: market with custom data models
- fixed template error in
admin/SessionDataExtension.html
- added admin extensions:
- live session data with custom data models
- app data export with custom data models in CSV, Excel and JSON formats
- dropped support for oTree v1.x
- fixed some minor compat. issues with latest oTree version
- made compatible with oTree v2.0
- updated setuptools configuration
- added this changelog