Commit Graph

31 Commits (d334d158a8e52d368e3a52a8272bb15ac6f890b2)

Author SHA1 Message Date
eric 53d98aff21 allow filter to manage access
the "answer_filter" should limit the scope of answers the user can see.
(just answers for books the user has permission to manage) so the
questionnaire.export permission is only needed for users who need to
see answers for all books.
2016-10-18 23:07:58 -04:00
eric 2c79a31933 fix bug in choice-freeform entry 2016-10-05 16:59:34 -04:00
eric e623f6d31f allow export to be customized 2016-10-05 15:35:44 -04:00
eric 2761d28fed normalize runid
duplicating runid in three tables was bad practice and made filtering
very difficult
2016-09-30 14:04:41 -04:00
eric fada8e0222 correct comments 2016-09-29 10:57:15 -04:00
eric 4ba5104e06 move UnicodeWriter to utils 2016-09-28 18:42:55 -04:00
eric fc56744371 FileWrapper not needed, is broken 2016-09-28 18:40:57 -04:00
eric c7ddfa1fed context_instance is deprecated
https://docs.djangoproject.com/en/1.9/releases/1.8/#dictionary-and-conte
xt-instance-arguments-of-rendering-functions
2016-07-27 14:49:10 -04:00
eric ac541ec1a0 patterns in urlpatterns are deprecated
https://docs.djangoproject.com/en/1.9/releases/1.8/#s-django-conf-urls-p
atterns

Also, moved edit_user to libraryauth module with the rest of our user
reg and auth.
2016-07-27 13:02:47 -04:00
eric 65007e1c9d contenttypes.generic is deprecated 2016-07-26 17:43:19 -04:00
eric e6c3b226f9 REQUEST is deprecated 2016-07-25 11:32:04 -04:00
eric 9e3fef8e9e fix models so django migrate can build an empty db 2016-07-22 18:49:19 -04:00
eric d8eb4297d9 migrations 2016-07-21 15:38:09 -04:00
eric 7f48fc9b07 make sure every input has a label 2016-06-19 20:58:42 -04:00
eric a03fdefc41 add (restore) labels 2016-06-17 12:22:03 -04:00
eric 12f298ee54 html nits 2016-06-16 18:20:48 -04:00
eric ea2f9e3e2a update bootstrap 2016-06-16 17:58:50 -04:00
eric 73c11e59e9 add title 2016-06-16 17:58:38 -04:00
eric 2b091e28e7 redirect to next on survey completion
Also, tweak style on complete page.
2016-06-13 17:34:51 -04:00
eric 8696e57498 missing changes from previous PR 2016-06-13 17:34:08 -04:00
eric c1a960dfef last page button says "finish" 2016-06-13 14:11:16 -04:00
eric e123be2780 add optional question types 2016-06-03 15:57:04 -04:00
eric 4df440ae46 fix survey completion 2016-05-31 17:46:08 -04:00
eric a40160f191 quick display and creation of landings 2016-05-26 12:19:33 -04:00
eric 3204531d50 better css tricks for required Qs 2016-05-25 10:27:22 -04:00
eric 4e2e2b1683 fix lost values on prev link
Maybe this app was converted from a non-django app, because the code to
get the runid was not django-ish
2016-05-24 18:52:18 -04:00
eric ee8fcc04e8 Merge branch 'master' into remove-tempate-workaround
# Conflicts:
#	survey/templates/survey/generic.html
2016-05-11 14:39:08 -04:00
eric c5ee01df57 its the future! 2016-05-11 10:41:50 -04:00
eric dbf7b1d6b0 clean up imports 2016-04-28 12:23:19 -04:00
eric a1d2051ab7 fix imports 2016-04-28 11:54:08 -04:00
eric cf64d43811 add the questionnaire module 2016-04-26 14:38:32 -04:00