Commit Graph

48 Commits (3f0c65a2cf78fcc5ddbc6992371bc3b88ea1756f)

Author SHA1 Message Date
Griffin Caprio 3068791744 Adding sort id to question display within questionset 2015-03-10 17:47:13 -05:00
Griffin Caprio 81136d8ac3 Adding property to Question to determine if it's a comment 2015-02-27 07:01:39 -06:00
Griffin Caprio 978bae6e97 Increase column size 2015-01-07 17:52:12 -06:00
Daniel Rozenberg 5fef81a1ef Perform natural sort on question number using Python instead of relying on DB implementation specifics 2014-11-03 12:01:26 -08:00
Daniel Rozenberg f3317badaf Perform natural sort on question number. 2014-11-02 14:01:03 -08: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 e8347d3815 fixes for Page model translation into admin, fix for Dj1.6 compatibility 2014-10-04 11:22:47 +02:00
Piotr Szachewicz 340d50dee1 Removed unnecessary print statements in the Answer model. 2014-07-18 17:57:21 +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 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 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 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
Çağıl Uluşahin 410410025a Query using id from instance instead using object instance 2013-09-05 12:44:37 +03: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 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 671a68465e Adds an optional footer text for each question with textile markup 2012-01-31 16:22:00 +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 a2edba3b55 Doubled the possible length of checks 2012-01-21 13:22:26 +01:00
Denis Krienbühl 1cf8331a38 Removes unused Tag model 2012-01-18 10:28:22 +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 314ea0d788 Adds questionnaire to RunInfoHistory (with foreign key) 2012-01-04 16:22:18 +01:00
Denis Krienbühl 57eb0af4d4 Removes cookie size limit on RunInfo and ensures that answered values always override default values 2011-12-30 13:41:09 +01:00
Denis Krienbühl 2e6d344680 Adds method to subject returning the latest completed run 2011-12-22 16:30:38 +01:00
Denis Krienbühl d92f42ce72 Adds tags to models 2011-12-21 14:52:35 +01:00
Denis Krienbühl b7f997dc10 Gets rid of the newline / nobreak feature.
With the newline / nobreak feature a user could align multiple questions horizontally.

Apart from the fact that I'm not sure if it is even used I would rather implement it by using css instead of <br/> calls in different widgets. As it was it didn't really work well with twitter bootstrap, so I'd rather take it out of the equation for now and concentrate on good default rendering.
2011-12-15 14:13:17 +01:00
Denis Krienbühl 400257058a Switched from /media/ to /static/ as Django seems to be in favor of the latter 2011-12-14 15:34:24 +01:00
Denis Krienbühl 10d475ea31 Merge branch 'master' of git://github.com/pegpe/seantis-questionnaire into pegpe 2011-11-29 16:25:03 +01:00
Denis Krienbühl 6520315670 Resets the Questionnaire redirect_url to the default used before the merge with wardis branch 2011-11-29 15:43:39 +01:00
Per-Erik Persson 51207cc5c8 Merge remote branch 'wardi/master' 2011-09-28 13:18:57 +02:00
Per-Erik Persson 5f26adffda Enable questions to reference the anser of a previous answered question. The magic string subst_with_ans_1 will insert the answer from question one into your current question. 2011-09-28 12:32:23 +02:00
Ian Ward 1743d0950b if sameas doesn't find a match, treat the question like a comment 2010-12-01 10:14:10 -05:00
Ian Ward 64f194980f default sameas questions to same survey 2010-12-01 10:08:11 -05:00
Ian Ward c9ac9ce707 fix missing ) 2010-05-05 09:46:27 -04:00
Ian Ward b1ad3dc9b2 describe some of the available requiredif parameters in question admin 2010-05-05 09:06:24 -04:00
Ian Ward c3e14048d2 more help text for question number, choices; Less help for question additional checks 2010-04-19 17:06:28 -04:00
Ian Ward db90300a95 fix for Answer.choice_str and modified answer format 2010-04-18 13:20:11 -04:00
Ian Ward d5a48c1624 better default complete url for our page-cms integration 2010-03-16 13:33:17 -04:00
Robert M. Thomson da00f1b082 New permissions + small bugfix
* stricter permission check on export_csv (questionnaire.export)
* stricter permission check on send_email (questionnaire.management)
* small bugfix for case when runcode is empty
2009-12-23 09:42:53 +01:00
Robert M. Thomson 4659c8d471 bugfix - emailsent column should be nullable & blankable 2009-07-02 11:45:55 +02:00
Robert M. Thomson 14fd06b8f4 merge in some changes 2009-06-15 18:07:14 +02:00
Robert Thomson 5c3d9ca1a0 Initial Checkin of Seantis Questionnaire 2009-05-17 13:34:55 +02:00