Commit Graph

151 Commits (89b7019a58fe0da6bb0e2f4788ed59787cc0b0aa)

Author SHA1 Message Date
matteo.cafarotti e96772542a fixes displaying of sub Questions i.e 1a 2014-10-10 13:15:46 +02:00
matteo.cafarotti ac6768017a fixes search for Answer into admin section 2014-10-10 12:50:58 +02:00
matteo.cafarotti b7057b299a fixes bug in questions ordering 2014-10-08 12:28:08 +02:00
matteo.cafarotti 396e91c564 fixes broken link 2014-10-07 11:37:31 +02:00
matteo.cafarotti 30b83abb42 simple fix for having QuestionSet model correctly displayed into admin 2014-10-07 11:25:23 +02:00
matteo.cafarotti 002f8995b4 fixes inconsistency in finish_questionnaire method 2014-10-04 12:42:21 +02:00
matteo.cafarotti e8347d3815 fixes for Page model translation into admin, fix for Dj1.6 compatibility 2014-10-04 11:22:47 +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 340d50dee1 Removed unnecessary print statements in the Answer model. 2014-07-18 17:57:21 +02: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 fb0e97c03b Made Question#extra field max_length larger (128 -> 512).
Conflicts:
	questionnaire/models.py
2014-07-13 16:30:31 +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 be73a2f7e0 It is possible to filter questions depending on the questionnaire in the Django Admin interface. 2014-07-13 16:17:41 +02:00
Piotr Szachewicz a09d5102f2 Added verbose_name to Question text.
Other wise it showed as "None [Languaage]" in Django Admin.
2014-07-13 16:15:43 +02:00
Piotr Szachewicz 3b1f945b2d Added 'Export to CSV' functionality to the Django Admin interface. 2014-07-13 16:14:42 +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 9e8605d851 Same as Another Question can be selected using question number of question id.
If you use sameas, you need to use question number within the current questionnaire.
If you use sameasid - the question ID is expected.
2014-07-13 16:12:03 +02:00
Piotr Szachewicz 234167b4a8 Fixed and changed the "Same as Another Question field".
This field didn't work, because there were check parse errors.
Currently, to use this field, you need to put "sameas=question.id"
in the checks field. We used the question id in order to be able
to use this functionality between different questionnaires.
2014-07-13 16:10:57 +02:00
Piotr Szachewicz af9192fed6 Added custom field to the question type dropdown list in Django Admin. 2014-07-13 15:52:07 +02:00
Piotr Szachewicz ac530cebda Fixed jquery import in questionset.html (the path did not match the actual file). 2014-07-13 15:51:48 +02:00
Piotr Szachewicz f77421d2ce Added a NUMBER question type.
(Uses the same code as the already implemented RANGE question type).
2014-07-13 15:50:53 +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 f00f2480f1 Clean up django.utils.simplejson warning. 2013-12-28 22:21:08 -05:00
Adam Hill 777a667d68 Clean up md5 warning. 2013-12-28 22:20:55 -05:00
Adam Hill 186f7a2d8d Remove textile code. Use static. 2013-12-28 22:09:00 -05:00
Adam Hill 46bdf72250 Fix removed django.conf.urls.defaults import. 2013-12-28 21:59:14 -05:00
Adam Hill 52b785ae1b Remove unused html5.js. 2013-12-28 21:58:45 -05:00
Çağıl Uluşahin 410410025a Query using id from instance instead using object instance 2013-09-05 12:44:37 +03:00
Victor Safronovich de157906f0 added russian translation 2012-08-24 09:26:37 +06:00
Victor Safronovich d2b4c97bee support django 1.4 2012-08-23 14:20:46 +06:00
Victor Safronovich 29065c62c0 fix import settings 2012-08-23 13:15:29 +06:00
root 4d04359e7a Merge branch 'master' of git://github.com/seantis/seantis-questionnaire 2012-04-20 14:39:11 +02:00
Matteo Atti a414ca1ec8 fix bad import for Django 1.3 and fixed save() with args in RunInfo models 2012-04-20 14:21:08 +02:00
Denis Krienbühl 423a2e30ea Adds dollar sign to all urls which is more canonical 2012-02-21 13:37:45 +01:00
Denis Krienbühl f432f6b785 Adds extra to all question types 2012-02-21 10:09:21 +01: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 5469a1d82a Adjusts lineheight of question texts so they look better with longer texts 2012-02-16 13:22:08 +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 41de584223 Adds ability to store floats in the cookiedict 2012-02-03 10:12:50 +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 671a68465e Adds an optional footer text for each question with textile markup 2012-01-31 16:22:00 +01:00
Denis Krienbühl f36c2ce220 Adds extra text to range input 2012-01-31 12:27:40 +01:00
Denis Krienbühl 25e85b3a80 Removes console.log call from progress 2012-01-30 15:43:13 +01:00
Denis Krienbühl 50e26e1a3e Makes error class only apply to divs 2012-01-27 11:59:22 +01:00
Denis Krienbühl 3e4691dee4 Adds method to easily clear the request cache (for testing) 2012-01-26 15:57:55 +01:00