Commit Graph

82 Commits (8a63e8e89cbf0aa968adbfcc3e6cc75668ae855e)

Author SHA1 Message Date
Jamie Campbell ac17da206d changed the back button to use fully qualified url instead of simply history.back() 2015-11-30 03:36:00 -06:00
Jamie Campbell cad2bd3cfb shownif is shown if 2015-11-29 02:46:50 -06:00
eugena 4df2cc6c7c Solving problem of compatibility (commit, rollback & Django > 1.6) 2015-08-15 22:36:18 +05:00
eugena 00b937176f Solving problem of compatibility (commit, rollback & Django > 1.6) 2015-08-15 22:34:03 +05:00
eugena 5c32cc574f Solving problem of compatibility (commit_on_success & Django > 1.6) 2015-08-04 10:28:20 +05:00
Griffin Caprio 3b752628ba Fixing crash when not debugging questionanires; 2015-04-13 22:13:15 -05:00
Griffin Caprio 552104d075 Whitespace & cleanup 2015-02-13 17:42:41 -06:00
Griffin Caprio 4e24bbd336 Adding debug processing for including current questionnaire answers when rendering questionsets 2015-01-08 19:24:23 -06:00
Griffin Caprio 7cb9dbbb2e Starting to add new functioning tests, beginning with dependency checker 2015-01-06 16:45:49 -06:00
Griffin Caprio 1d4608ff40 Rolling back 2015-01-03 22:15:23 -06:00
Griffin Caprio a3b12d7e54 Moving from commit_on_success to atomic for upgrade path 2014-12-22 13:12:55 -02:00
Griffin Caprio 000431b208 cleaning up answer parsing for free form fields 2014-12-09 18:12:29 -06:00
Griffin Caprio 79ba0cfdb6 Fixing case where freeform question answer is checked against dependency for question 2014-12-09 16:39:47 -06:00
Griffin Caprio 67c245bf50 Fixing case where freeform question answer is checked against dependency for question 2014-12-09 16:37:12 -06:00
Griffin Caprio df3b1ea088 Fixing case where negative condition is being evaluated for skipped question 2014-12-05 18:32:33 -06:00
Alex Tsai 2cc0fea6ab fix the null subject case 2014-12-02 16:28:51 -08:00
Griffin Caprio e8db551c9e Moving error handling to use get_object_or_404 for more explicit workflow 2014-11-11 09:26:00 -06:00
Griffin Caprio fd4351e693 Adding optional check 2014-11-10 15:58:37 -06:00
Griffin Caprio e7db80b16e Merging latest from master 2014-11-10 15:52:59 -06:00
Daniel Rozenberg 223ac4862b Added questionnaire_start and questionset_start signals. 2014-11-04 18:00:10 -08:00
Griffin Caprio 17a03ff44e Merging upstream 2014-11-02 17:08:35 -06:00
Daniel Rozenberg 2ee0710a6f Replaces mimetype= with content_type= in calls to HttpResponse, updated for Django 1.6+ 2014-10-28 15:20:41 -07:00
Griffin Caprio a0e0c73f6c Adding optional subject id 2014-10-20 11:52:56 -05:00
matteo.cafarotti 002f8995b4 fixes inconsistency in finish_questionnaire method 2014-10-04 12:42:21 +02:00
Julio C. Menendez 245ae4e15c Fixes returning to previous page when using sessions. 2014-09-14 09:36:08 -06:00
Julio C. Menendez e3ee50530e Allows keeping track of current questionnaire and questionnaire set with sessions instead of url args. 2014-09-14 08:51:29 -06:00
Piotr Szachewicz f8e3744b9e Substitute_answer throwed an exception for empty answer values. 2014-07-13 19:30:45 +02:00
Piotr Szachewicz e61d1e4de2 Bugfix - iftag="" did not work for a question that is in a questionset, in which other questions should be visible.
In that case, even though the question did not fulfill the iftag requirement it was shown.

Conflicts:
	questionnaire/views.py
2014-07-13 16:35:54 +02:00
Piotr Szachewicz fab1c8b37a It is possible to show all questionniare questions when adding show_all=1 GET parameter.
It is useful for debugging purposes, when you want to see all questions rendered
on one screen.

Conflicts:
	questionnaire/views.py
2014-07-13 16:21:03 +02:00
Piotr Szachewicz 68a3825612 Fixed errors when converting choice to unicode, if choice is an Integer. 2014-07-13 16:13:13 +02:00
Carlos Solsona 6eb641fdaf Remove distinct filter, this option is not supported by all database backends, and two questions with same number don't work well 2014-07-13 16:12:19 +02:00
Piotr Szachewicz b96855de90 Tags are added/removed according to the selected CHOICEs.
It is now possible to set tags that need to be enabled if
a user selects some choice from the choice questions.
The tags from the other, non-selected choices are deleted
(in case of somebody changing the previously saved values).
2014-07-13 15:37:39 +02:00
Adam Hill 777a667d68 Clean up md5 warning. 2013-12-28 22:20:55 -05:00
Denis Krienbühl 191e70ae72 Merge branch 'master' of github.com:seantis/seantis-questionnaire 2012-02-21 09:48:13 +01:00
Denis Krienbühl 9d5ed2aeec Made QUESTIONNAIRE_PROGRESS setting optional 2012-02-21 09:47:56 +01:00
Denis Krienbühl ca2846c06f Removes <any> tag as it does no longer make sense to me :) 2012-02-07 15:44:04 +01:00
Denis Krienbühl 5c2ddd4bd4 Adds ability to define questions to be skipped on the runinfo 2012-02-02 16:02:35 +01:00
Denis Krienbühl ae8768e2ff Makes async progress work with IE (by generating a new url each time to avoid caching) 2012-02-02 11:03:49 +01:00
Denis Krienbühl df35954cc1 Makes dep_check work with RunInfoHistory if that is provided instead of the usual RunInfo 2012-01-26 15:32:25 +01:00
Denis Krienbühl 85787629ee Undoes last request_cache change as it leads to errors 2012-01-24 13:21:19 +01:00
Denis Krienbühl 9d34dcf55f Adds progressbar configurations default, async and none. The configuration values are explained in the example/settings.py file 2012-01-24 11:51:11 +01:00
Denis Krienbühl a574ebc2f5 Makes request_cache of questions check more explicit and fixes a small lint warning in the models 2012-01-24 10:39:30 +01:00
Denis Krienbühl 2cda706ac5 Adds current runinfo to the active request object and fixes a bug in dep_check which led to some answers being read from the database even if they were in the checkdict 2012-01-21 16:28:38 +01:00
Denis Krienbühl 775595a67c Adds answer subtitution in questionsets texts (before it was questions only) and enables it to work with questions that have non-numericals in their number (bugfix) 2012-01-17 12:06:21 +01:00
Denis Krienbühl 226daafb24 Adds ability to add a catch-all tag 2012-01-17 11:34:06 +01:00
Denis Krienbühl ab5d9b5097 Fixes a bug in dep_check 2012-01-17 11:23:36 +01:00
Denis Krienbühl 9945ecae79 Adds a number of performance improvements
* progress calculation could get very slow with large questionnaires. Though
  it still is the method that takes the longest it is considerably faster now.
* improved has_tag and dep_check functions (now considering default values)
* more request caching
2012-01-13 13:49:31 +01:00
Denis Krienbühl c5c47e869b Adds middleware enabling caches on a per-request basis 2012-01-06 14:50:32 +01:00
Denis Krienbühl bdfedf608a stores tags on runhistory once the questionnaire is over 2012-01-05 16:45:55 +01:00
Denis Krienbühl 68eb28da3f skips the first questionset if it doesn't pass the checks 2012-01-05 16:21:28 +01:00