Skip to content

Releases: Stanford-Online/xblock-free-text-response

Update xblock for Hawthorn version of Platform

22 Jan 21:40
01369ad
Compare
Choose a tag to compare
  • switches from get_template() to render_django_template()
  • pushes xblock-utils requirement to v1.1.1
  • updates tests

No Peer Responses display Bugfix

11 Dec 21:23
c8f49f9
Compare
Choose a tag to compare

Text to be displayed in cases of incorrect answer or when there are no responses wasn't being put in the template properly. This fixes that.

Fix Peer Responses

04 Dec 22:53
6ada03b
Compare
Choose a tag to compare
  • Show peer responses on page load if answer was correct
  • Change "Show"/"Hide" link for peer responses to show current and next states
  • Allow text in HTML to be translated
  • Fix pep8/pylint on modified files

Makes comparison between TZ naive UTC dates

17 Nov 22:18
ea71468
Compare
Choose a tag to compare

Dates are stored on platform in UTC.

This release makes this xblock compare platform duedates as UTC timezone naive objects to the current UTC time.

Makes xblock due_date & graceperiod aware

15 Nov 23:08
8a0c322
Compare
Choose a tag to compare

XBlocks do not follow platform due dates by default.

This release amends this XBlock to make it close submissions if the platform's subsection due-date has passed. The courses graceperiod is taken into account.

Move cached data from body to seq_content

04 Aug 18:13
Compare
Choose a tag to compare

Previously, some future update or rogue script could easily tamper with
our cached data attributes on the body element. We moved these data
attributes to be slightly less widely accessible.

Dev: @potsui

Suppress IntegrityError exception

25 Jul 22:41
Compare
Choose a tag to compare
  • Fix the IntegrityError that occurs when publishing a score in _compute_score
  • Added a unit test to check the IntegrityError Exception

Add cache to display answer after submit or save

25 Jul 18:04
Compare
Choose a tag to compare

Feature by @potsui

Previously in the free-text response xblock, when a user submits or
saves an answer, navigates to another page, and navigates back to the
original page, the user's answer disappears. Refreshing the webpage will
restore the answer, but this was nonetheless a disconcerting experience
for the user.

This fix caches the user's answer to display after submit or save, so
that when the user navigates away and back, the user can still view
their answer without having to manually refresh the page.

Fix html tags studio prompt bug introduced in v0.1.3

26 Jun 22:22
Compare
Choose a tag to compare

Updating the html templates to use Django's templateing broke the User's ability to add html tags to the prompt box in Studio settings. This adds the needed tag, 'safe', to the html element. This also removes an line in the Gruntfile that is not needed since html templates are not monitored during grunt watch.

Localize xblock with vietnamese translations

15 Jun 22:00
Compare
Choose a tag to compare
Merge pull request #16 from caseylitton/update-to-version-0.1.3

Update to version 0.1.3