Commit Graph

296 Commits (2f117f79ceb5a9fd9628a594bd24e823d0a1f792)

Author SHA1 Message Date
Denis Krienbühl 9b73ec25ea hide the progressbar percentage value 2012-01-11 11:25:55 +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
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 97c6ffdeb3 Adds qvalue to simple yesno questions which makes the javascript dependency scripts kick in on load rather than on first select 2011-12-27 10:28:29 +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 12d252fba1 Ensures that the progressbar is not being overlapped by questionset title text 2011-12-22 10:29:29 +01:00
Denis Krienbühl fbd96f9778 Adds tests for the tags and simplifies progress code 2011-12-22 10:22:33 +01:00
Denis Krienbühl d5498d9cb1 Adds tags questionset for further testing 2011-12-21 17:37:56 +01:00
Denis Krienbühl ca97ab6abb Adds hiding of questions depending on tags 2011-12-21 16:50:24 +01:00
Denis Krienbühl b830aaa196 Makes progress bar take hidden questionsets into account 2011-12-21 16:35:44 +01:00
Denis Krienbühl 0fbb438b78 Adds tag check to questions as well, not hiding single questions, but only 'empty' questionsets for now 2011-12-21 16:09:56 +01:00
Denis Krienbühl e793488183 Fixes tag check function to work with boolean expressions 2011-12-21 15:35:13 +01:00
Denis Krienbühl 429ea5f12d Removes unused code from views.py 2011-12-21 14:58:27 +01:00
Denis Krienbühl ae3567f71c Adds questionset check function 2011-12-21 14:53:00 +01:00
Denis Krienbühl d92f42ce72 Adds tags to models 2011-12-21 14:52:35 +01:00
Denis Krienbühl d40b2469a2 Changes test to use assertEqual instead of simple asserts 2011-12-21 12:31:30 +01:00
Denis Krienbühl 979ecb6c2c Fixes tests which should all pass again now 2011-12-21 12:23:51 +01:00
Denis Krienbühl 51df6020cb Fixes css style and adds build to gitignore 2011-12-17 11:25:22 +01:00
Denis Krienbühl ecdb8b2e06 Moves page module from example to questionnaire and adds csrf protection 2011-12-17 11:21:42 +01:00
Denis Krienbühl dd5f94f6bf Merges the css from base and questionset 2011-12-16 10:28:23 +01:00
Denis Krienbühl e60b9c2814 Moves styles to a separate file 2011-12-16 10:23:50 +01:00
Denis Krienbühl e523b67136 Adds css only progressbar 2011-12-15 17:31:50 +01:00
Denis Krienbühl b5b0021db2 Removes blueprint files 2011-12-15 16:41:36 +01:00
Denis Krienbühl 8b1b897e6b Updates the readme 2011-12-15 16:39:52 +01:00
Denis Krienbühl 2eed37c0d6 Changes style to better fit in with bootstrap 2011-12-15 16:21:45 +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 23b943d8bc Adds default comment template to avoid errors if it is not defined by the site 2011-12-15 14:07:51 +01:00
Denis Krienbühl 493385a0a0 Updates questionset template for bootstrap 2011-12-15 14:06:38 +01:00
Denis Krienbühl 33d373fa60 Updates multi freeform choice widget for bootstrap 2011-12-15 11:29:00 +01:00
Denis Krienbühl e8d1dbe9f8 Updates the timeperiod widget for bootstrap and increases the open answers widget's width 2011-12-15 11:01:22 +01:00
Denis Krienbühl b0710ae2e4 Updates the number range widget for bootstrap 2011-12-15 10:45:58 +01:00
Denis Krienbühl 6057f1f32d Updates the open answers widgets for bootstrap 2011-12-15 10:39:17 +01:00
Denis Krienbühl 8ab6cf5edc Updates choice freeform widget for bootstrap 2011-12-15 10:31:18 +01:00
Denis Krienbühl 43eaae333c Updates choice widget for bootstrap 2011-12-15 10:16:18 +01:00
Denis Krienbühl 128faa91a5 Changes some widgets to work with twitter bootstrap 2011-12-15 09:51:12 +01:00
Denis Krienbühl cff4af2521 Switch from blueprint to twitter bootstrap 2011-12-14 16:46:28 +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 545a926e15 Improves example html formatting and gets rid of the xhtml stuff 2011-12-14 15:15:12 +01:00
Denis Krienbühl 77fad0f554 Removes invalid links from example data 2011-12-14 14:49:04 +01:00
Denis Krienbühl b54c86e3e6 Fixes typo 2011-12-14 14:17:31 +01:00
Denis Krienbühl f946ca1a3b Makes admin urls work with Django 1.3 and adds a hint if no index page is defined 2011-12-14 14:14:09 +01:00
Denis Krienbühl db8113014c Removes local transmeta dump, using the one defined in setup.py instead 2011-12-14 14:13:07 +01:00
Denis Krienbühl 7f396a3d62 Removes local pyparsing, adding it as a dependency in setup.py instead 2011-12-14 13:41:27 +01:00
Denis Krienbühl a7131de000 Removes deprecated settings from example 2011-12-14 13:38:00 +01:00
Denis Krienbühl 0fbf4c1239 Adds pyyaml to the setup.py dependencies.
Pyyaml is needed for the tests to run.
2011-12-14 13:34:12 +01:00
Michael Trier 5813c78734 Unable to read the version number because of the way the init is being used in questionnaire. 2011-12-14 18:28:20 +08:00
Michael Trier 5802e01221 Make it installable. 2011-12-14 18:27:56 +08:00