This project uses Semantic Versioning (2.0).
- Fix percentage complete calculation to handle proportion fields.
- Update templates to add important class and use a base template.
- Update django-orderable>=4.0.5,<4.1 and django-parler>=1.7.0,<1.8.
- Update survey completion percentage calculation to only calculate important questions.
- Add new boolean field (important) to SurveyField.
- bugfix: Fix null values in proportion fields.
- Don't require the answers field in the admin for non-choice fields
- Change proportion title from h4 to span
- Fix a bug where answers could not have commas in them
- bugfix: Prevent calculate percentage directive setting percentageComplete to infinity.
- bugfix: Update proportion field display text.
- Fix proportion field for rzSlider
- Change proportion field to a slider group
- The response create serializer will now correctly return the instance created
- Exclude
test_project
and web folders from distribution.
- Added translation to the following model fields:
- Survey
- name
- description
- SurveyField
- name
- help_text
- answers
- SurveyFieldset
- name
- description
- Survey
- Add missing translate
- Hide submit button until form is set
- bugfix: Remove getForm() api method and dry with api.get
- bugfix: Avoid fatal error when api promise fails but there are no errors
- Compile templates with swig.
- Add proportion / field.
- Handle blank and invalid integers.
- Set up base templates that can be extended locally so blocks can be overwritten
- Modify proportion templates for styling
- Amend percentage calculation to include value of 0
- Amend HTML structure of calculate-percentage to provide class and wrapper
- Allow null responses to survey fields.
- New feature: Calculate and display the survey completion percentage.
- Add classes to radio.html for styling
- BUGFIX: Fix serializer to cope with response data that does not match the form.
- BUGFIX: add missing hyphen in
drf-form-field
in radio.html
- Add a wrapper template to wrap field groups with a separate header and body
- Add ordered m2m accessors for Survey.get_ordered_fieldsets() SurveyFieldset.get_ordered_fields().
- Add
not-empty
class to field wrapper, for styling purposes. - Add classes to fieldset header
- Remove field-id from checkbox and slider template
- Add surveys-form directive on-success and on-failure callbacks
- Add default
sort_order
ordering to Orderable models. - Add admin fields and filtering.
- Escape twig templates.
- Ensure field ids are unique across fieldsets.
- Rename
admin.py
tobase_admin.py
.
- Fix potential frontend bug using fiedset index rather than id.
- Simplify internal frontend model representation to match api survey response get.
- Fix survey-form directive import to include template.
- Move post api_description to match urls.
- Add survey list view.
- Add optional
start_date
andend_date
forSurvey
.
- Add web API.post service to post form data to a url.
- Update web survey-form to use urls to get the form and get and post response data.
- Move user_id from the api serializer to the url.
- Add create method to the get latest endpoint.
- Add date_created to the output of latest_response() and its helpers.
- Refactor and expand UserResponseQuerySet.
- Make sure npm package only installs web folder
- Expose es5 files and make deafault entrypoint to them
- Make a wrapping directive for
formly-form
- Initial release to test dependency install
- Add
web
folder with basicgrunt
setup - Add frontend test setup
- Add angular dependency and json fixtures loading for frontend tests
- Add an angular service for api communication
- Use a
ProjectConfig
provider to set theapiRoot
- Set up the API