evap 2025.12.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (615) hide show
  1. evap-2025.12.0/.github/release.yml +7 -0
  2. evap-2025.12.0/.github/renovate.json5 +54 -0
  3. evap-2025.12.0/.github/setup_evap/action.yml +42 -0
  4. evap-2025.12.0/.github/workflows/release.yml +26 -0
  5. evap-2025.12.0/.github/workflows/tests.yml +266 -0
  6. evap-2025.12.0/.gitignore +56 -0
  7. evap-2025.12.0/LICENSE.md +38 -0
  8. evap-2025.12.0/PKG-INFO +101 -0
  9. evap-2025.12.0/README.md +79 -0
  10. evap-2025.12.0/SECURITY.md +8 -0
  11. evap-2025.12.0/evap/__init__.py +0 -0
  12. evap-2025.12.0/evap/__main__.py +18 -0
  13. evap-2025.12.0/evap/context_processors.py +26 -0
  14. evap-2025.12.0/evap/contributor/__init__.py +0 -0
  15. evap-2025.12.0/evap/contributor/forms.py +151 -0
  16. evap-2025.12.0/evap/contributor/templates/contributor_evaluation_form.html +154 -0
  17. evap-2025.12.0/evap/contributor/templates/contributor_index.html +197 -0
  18. evap-2025.12.0/evap/contributor/tests/__init__.py +0 -0
  19. evap-2025.12.0/evap/contributor/tests/test_forms.py +205 -0
  20. evap-2025.12.0/evap/contributor/tests/test_live.py +51 -0
  21. evap-2025.12.0/evap/contributor/tests/test_views.py +324 -0
  22. evap-2025.12.0/evap/contributor/urls.py +14 -0
  23. evap-2025.12.0/evap/contributor/views.py +306 -0
  24. evap-2025.12.0/evap/development/__init__.py +0 -0
  25. evap-2025.12.0/evap/development/fixtures/test_data.json +156274 -0
  26. evap-2025.12.0/evap/development/fixtures/upload/grades/1525/test_results_01.txt +1 -0
  27. evap-2025.12.0/evap/development/fixtures/upload/grades/1577/test_results_03.txt +1 -0
  28. evap-2025.12.0/evap/development/fixtures/upload/grades/1694/test_results_02.txt +1 -0
  29. evap-2025.12.0/evap/development/localsettings.template.py +59 -0
  30. evap-2025.12.0/evap/development/manage_autocompletion.sh +23 -0
  31. evap-2025.12.0/evap/development/management/__init__.py +0 -0
  32. evap-2025.12.0/evap/development/management/commands/__init__.py +0 -0
  33. evap-2025.12.0/evap/development/management/commands/dump_testdata.py +34 -0
  34. evap-2025.12.0/evap/development/management/commands/reload_testdata.py +43 -0
  35. evap-2025.12.0/evap/development/management/commands/run.py +17 -0
  36. evap-2025.12.0/evap/development/management/commands/translate.py +20 -0
  37. evap-2025.12.0/evap/development/templates/development_components.html +515 -0
  38. evap-2025.12.0/evap/development/tests/__init__.py +0 -0
  39. evap-2025.12.0/evap/development/tests/test_commands.py +78 -0
  40. evap-2025.12.0/evap/development/urls.py +8 -0
  41. evap-2025.12.0/evap/development/views.py +22 -0
  42. evap-2025.12.0/evap/evaluation/__init__.py +0 -0
  43. evap-2025.12.0/evap/evaluation/auth.py +193 -0
  44. evap-2025.12.0/evap/evaluation/forms.py +158 -0
  45. evap-2025.12.0/evap/evaluation/management/__init__.py +0 -0
  46. evap-2025.12.0/evap/evaluation/management/commands/__init__.py +0 -0
  47. evap-2025.12.0/evap/evaluation/management/commands/anonymize.py +281 -0
  48. evap-2025.12.0/evap/evaluation/management/commands/anonymize_data/first_names.txt +5163 -0
  49. evap-2025.12.0/evap/evaluation/management/commands/anonymize_data/last_names.txt +5000 -0
  50. evap-2025.12.0/evap/evaluation/management/commands/anonymize_data/lorem_ipsum.txt +1 -0
  51. evap-2025.12.0/evap/evaluation/management/commands/format.py +34 -0
  52. evap-2025.12.0/evap/evaluation/management/commands/lint.py +33 -0
  53. evap-2025.12.0/evap/evaluation/management/commands/loaddata_unlogged.py +12 -0
  54. evap-2025.12.0/evap/evaluation/management/commands/precommit.py +26 -0
  55. evap-2025.12.0/evap/evaluation/management/commands/refresh_results_cache.py +35 -0
  56. evap-2025.12.0/evap/evaluation/management/commands/scss.py +41 -0
  57. evap-2025.12.0/evap/evaluation/management/commands/send_reminders.py +116 -0
  58. evap-2025.12.0/evap/evaluation/management/commands/shell.py +28 -0
  59. evap-2025.12.0/evap/evaluation/management/commands/tools.py +60 -0
  60. evap-2025.12.0/evap/evaluation/management/commands/ts.py +66 -0
  61. evap-2025.12.0/evap/evaluation/management/commands/typecheck.py +12 -0
  62. evap-2025.12.0/evap/evaluation/management/commands/update_evaluation_states.py +12 -0
  63. evap-2025.12.0/evap/evaluation/middleware.py +32 -0
  64. evap-2025.12.0/evap/evaluation/migrations/0001_initial.py +375 -0
  65. evap-2025.12.0/evap/evaluation/migrations/0002_initial_data.py +30 -0
  66. evap-2025.12.0/evap/evaluation/migrations/0003_auto_add_course_is_graded.py +26 -0
  67. evap-2025.12.0/evap/evaluation/migrations/0004_evaluation_start_email_template.py +24 -0
  68. evap-2025.12.0/evap/evaluation/migrations/0005_auto_20150115_1717.py +17 -0
  69. evap-2025.12.0/evap/evaluation/migrations/0006_archiving_and_order_default.py +54 -0
  70. evap-2025.12.0/evap/evaluation/migrations/0007_fsmfield_python3.py +18 -0
  71. evap-2025.12.0/evap/evaluation/migrations/0008_make_course_state_protected.py +18 -0
  72. evap-2025.12.0/evap/evaluation/migrations/0009_add_textanswer_state.py +21 -0
  73. evap-2025.12.0/evap/evaluation/migrations/0010_fill_textanswer_state.py +42 -0
  74. evap-2025.12.0/evap/evaluation/migrations/0011_remove_textanswer_checked_and_hidden.py +19 -0
  75. evap-2025.12.0/evap/evaluation/migrations/0012_change_questionnaire_ordering.py +19 -0
  76. evap-2025.12.0/evap/evaluation/migrations/0013_rename_kind_to_type.py +31 -0
  77. evap-2025.12.0/evap/evaluation/migrations/0014_create_degree_model.py +24 -0
  78. evap-2025.12.0/evap/evaluation/migrations/0014_rename_lecturer.py +28 -0
  79. evap-2025.12.0/evap/evaluation/migrations/0015_initial_degrees.py +26 -0
  80. evap-2025.12.0/evap/evaluation/migrations/0016_apply_course_degrees.py +36 -0
  81. evap-2025.12.0/evap/evaluation/migrations/0017_delete_old_degrees.py +23 -0
  82. evap-2025.12.0/evap/evaluation/migrations/0018_unique_degrees.py +23 -0
  83. evap-2025.12.0/evap/evaluation/migrations/0019_merge.py +9 -0
  84. evap-2025.12.0/evap/evaluation/migrations/0020_change_vote_date_texts.py +23 -0
  85. evap-2025.12.0/evap/evaluation/migrations/0021_django_1_8_upgrade.py +28 -0
  86. evap-2025.12.0/evap/evaluation/migrations/0022_gradeanswercounter_likertanswercounter.py +46 -0
  87. evap-2025.12.0/evap/evaluation/migrations/0023_create_answer_counters.py +33 -0
  88. evap-2025.12.0/evap/evaluation/migrations/0024_remove_likertanswers_and_gradeanswers.py +33 -0
  89. evap-2025.12.0/evap/evaluation/migrations/0025_single_result_questionnaire.py +24 -0
  90. evap-2025.12.0/evap/evaluation/migrations/0026_make_result_counters_unique.py +19 -0
  91. evap-2025.12.0/evap/evaluation/migrations/0027_course_is_required_for_reward.py +16 -0
  92. evap-2025.12.0/evap/evaluation/migrations/0028_make_vote_dates_non_null.py +21 -0
  93. evap-2025.12.0/evap/evaluation/migrations/0029_user_sorting_and_related_names_to_contribution.py +45 -0
  94. evap-2025.12.0/evap/evaluation/migrations/0030_change_course_ordering.py +15 -0
  95. evap-2025.12.0/evap/evaluation/migrations/0031_add_rating_answer_counter.py +37 -0
  96. evap-2025.12.0/evap/evaluation/migrations/0032_populate_rating_answer_counters.py +23 -0
  97. evap-2025.12.0/evap/evaluation/migrations/0033_remove_likert_and_grade_answer.py +41 -0
  98. evap-2025.12.0/evap/evaluation/migrations/0034_course_gets_no_grade_documents.py +16 -0
  99. evap-2025.12.0/evap/evaluation/migrations/0035_contribution_comment_visibility.py +30 -0
  100. evap-2025.12.0/evap/evaluation/migrations/0036_contribution_label.py +16 -0
  101. evap-2025.12.0/evap/evaluation/migrations/0037_specify_on_delete.py +60 -0
  102. evap-2025.12.0/evap/evaluation/migrations/0038_questionnaire_staff_only.py +16 -0
  103. evap-2025.12.0/evap/evaluation/migrations/0039_auto_20160104_1726.py +21 -0
  104. evap-2025.12.0/evap/evaluation/migrations/0040_add_semester_is_archived.py +18 -0
  105. evap-2025.12.0/evap/evaluation/migrations/0041_populate_semester_is_archived.py +34 -0
  106. evap-2025.12.0/evap/evaluation/migrations/0042_populate_single_result_participant_count.py +46 -0
  107. evap-2025.12.0/evap/evaluation/migrations/0043_auto_20160221_1543.py +31 -0
  108. evap-2025.12.0/evap/evaluation/migrations/0044_add_course_type_model.py +55 -0
  109. evap-2025.12.0/evap/evaluation/migrations/0045_populate_course_types.py +31 -0
  110. evap-2025.12.0/evap/evaluation/migrations/0046_delete_old_course_type.py +28 -0
  111. evap-2025.12.0/evap/evaluation/migrations/0047_add_related_name_for_degrees.py +18 -0
  112. evap-2025.12.0/evap/evaluation/migrations/0048_auto_20160301_1438.py +31 -0
  113. evap-2025.12.0/evap/evaluation/migrations/0049_rename_course_states.py +28 -0
  114. evap-2025.12.0/evap/evaluation/migrations/0050_auto_20160509_1943.py +26 -0
  115. evap-2025.12.0/evap/evaluation/migrations/0051_change_question_order_verbose.py +18 -0
  116. evap-2025.12.0/evap/evaluation/migrations/0052_add_course_is_private.py +18 -0
  117. evap-2025.12.0/evap/evaluation/migrations/0053_create_cronjob_user.py +26 -0
  118. evap-2025.12.0/evap/evaluation/migrations/0054_userprofile_language.py +18 -0
  119. evap-2025.12.0/evap/evaluation/migrations/0055_reviewer_group.py +22 -0
  120. evap-2025.12.0/evap/evaluation/migrations/0056_alter_userprofile_email.py +18 -0
  121. evap-2025.12.0/evap/evaluation/migrations/0057_alter_and_rename_vote_start_date.py +23 -0
  122. evap-2025.12.0/evap/evaluation/migrations/0058_userprofile_is_active.py +18 -0
  123. evap-2025.12.0/evap/evaluation/migrations/0059_add_yes_no_questions.py +28 -0
  124. evap-2025.12.0/evap/evaluation/migrations/0060_change_text_fields_to_char_fields.py +43 -0
  125. evap-2025.12.0/evap/evaluation/migrations/0061_editor_review_reminder_template.py +33 -0
  126. evap-2025.12.0/evap/evaluation/migrations/0062_replace_textanswer_id_with_uuid.py +53 -0
  127. evap-2025.12.0/evap/evaluation/migrations/0063_add_heading_question_type.py +29 -0
  128. evap-2025.12.0/evap/evaluation/migrations/0064_questionnaire_index_rename.py +26 -0
  129. evap-2025.12.0/evap/evaluation/migrations/0065_questionnaire_type.py +46 -0
  130. evap-2025.12.0/evap/evaluation/migrations/0066_rename_course_is_required_for_reward.py +21 -0
  131. evap-2025.12.0/evap/evaluation/migrations/0067_course_is_midterm_evaluation.py +18 -0
  132. evap-2025.12.0/evap/evaluation/migrations/0068_course_can_publish_text_results.py +30 -0
  133. evap-2025.12.0/evap/evaluation/migrations/0069_delete_hidden_text_answers.py +19 -0
  134. evap-2025.12.0/evap/evaluation/migrations/0070_add_answer_field_for_textanswer.py +46 -0
  135. evap-2025.12.0/evap/evaluation/migrations/0071_remove_reviewed_answer_field_for_textanswers.py +22 -0
  136. evap-2025.12.0/evap/evaluation/migrations/0072_delete_original_answers.py +19 -0
  137. evap-2025.12.0/evap/evaluation/migrations/0073_rename_is_archived_to_participations_are_archived.py +23 -0
  138. evap-2025.12.0/evap/evaluation/migrations/0074_semester_grade_documents_are_deleted.py +18 -0
  139. evap-2025.12.0/evap/evaluation/migrations/0075_semester_results_are_archived.py +18 -0
  140. evap-2025.12.0/evap/evaluation/migrations/0076_add_semester_short_names.py +50 -0
  141. evap-2025.12.0/evap/evaluation/migrations/0077_course_is_single_result.py +31 -0
  142. evap-2025.12.0/evap/evaluation/migrations/0078_populate_voter_and_participant_count.py +34 -0
  143. evap-2025.12.0/evap/evaluation/migrations/0079_rename_staff_to_manager.py +34 -0
  144. evap-2025.12.0/evap/evaluation/migrations/0080_add_order_to_coursetype.py +22 -0
  145. evap-2025.12.0/evap/evaluation/migrations/0081_create_direct_delegation_email_template.py +27 -0
  146. evap-2025.12.0/evap/evaluation/migrations/0082_add_related_names_fix_verbose_name.py +36 -0
  147. evap-2025.12.0/evap/evaluation/migrations/0083_remove_general_contributions_on_single_results.py +31 -0
  148. evap-2025.12.0/evap/evaluation/migrations/0084_rename_course_comments_to_general_comments.py +36 -0
  149. evap-2025.12.0/evap/evaluation/migrations/0085_delete_cronjob_user.py +35 -0
  150. evap-2025.12.0/evap/evaluation/migrations/0086_downgrade_comment_visibility.py +34 -0
  151. evap-2025.12.0/evap/evaluation/migrations/0087_rename_comment_visibility_to_textanswer_visibility.py +28 -0
  152. evap-2025.12.0/evap/evaluation/migrations/0088_prepare_use_integers_and_groups_for_question_type.py +35 -0
  153. evap-2025.12.0/evap/evaluation/migrations/0089_use_integers_for_question_type.py +32 -0
  154. evap-2025.12.0/evap/evaluation/migrations/0090_add_bipolar_question_type.py +41 -0
  155. evap-2025.12.0/evap/evaluation/migrations/0091_rename_course_to_evaluation.py +100 -0
  156. evap-2025.12.0/evap/evaluation/migrations/0092_add_course.py +112 -0
  157. evap-2025.12.0/evap/evaluation/migrations/0093_move_data_from_evaluation_to_course.py +47 -0
  158. evap-2025.12.0/evap/evaluation/migrations/0094_remove_unused_evaluation_fields.py +50 -0
  159. evap-2025.12.0/evap/evaluation/migrations/0095_add_course_responsibles.py +21 -0
  160. evap-2025.12.0/evap/evaluation/migrations/0096_move_responsibilities_into_course.py +36 -0
  161. evap-2025.12.0/evap/evaluation/migrations/0097_remove_contribution_responsible.py +17 -0
  162. evap-2025.12.0/evap/evaluation/migrations/0098_remove_contributors_from_single_results.py +48 -0
  163. evap-2025.12.0/evap/evaluation/migrations/0099_multiple_evaluations_per_course.py +28 -0
  164. evap-2025.12.0/evap/evaluation/migrations/0100_clear_evaluation_names.py +52 -0
  165. evap-2025.12.0/evap/evaluation/migrations/0101_evaluation_weight.py +18 -0
  166. evap-2025.12.0/evap/evaluation/migrations/0102_individual_publishing_notice_email_template.py +28 -0
  167. evap-2025.12.0/evap/evaluation/migrations/0103_questionnaire_visibility.py +55 -0
  168. evap-2025.12.0/evap/evaluation/migrations/0104_userprofile_is_proxy_user.py +18 -0
  169. evap-2025.12.0/evap/evaluation/migrations/0105_uuids_for_ratinganswercounter.py +48 -0
  170. evap-2025.12.0/evap/evaluation/migrations/0106_add_short_long_question.py +38 -0
  171. evap-2025.12.0/evap/evaluation/migrations/0107_remove_default_evaluation_ordering.py +17 -0
  172. evap-2025.12.0/evap/evaluation/migrations/0108_remove_default_name_de_ordering.py +29 -0
  173. evap-2025.12.0/evap/evaluation/migrations/0109_questionnaire_is_locked.py +18 -0
  174. evap-2025.12.0/evap/evaluation/migrations/0110_semester_is_active.py +30 -0
  175. evap-2025.12.0/evap/evaluation/migrations/0111_move_grading_information_from_course_to_evaluation.py +33 -0
  176. evap-2025.12.0/evap/evaluation/migrations/0112_evaluation_allow_editors_to_edit.py +18 -0
  177. evap-2025.12.0/evap/evaluation/migrations/0113_import_names.py +50 -0
  178. evap-2025.12.0/evap/evaluation/migrations/0114_remove_username.py +25 -0
  179. evap-2025.12.0/evap/evaluation/migrations/0115_add_contribution_role.py +33 -0
  180. evap-2025.12.0/evap/evaluation/migrations/0116_remove_contributon_can_edit.py +15 -0
  181. evap-2025.12.0/evap/evaluation/migrations/0117_logentry.py +79 -0
  182. evap-2025.12.0/evap/evaluation/migrations/0118_remove_last_modified_fields.py +29 -0
  183. evap-2025.12.0/evap/evaluation/migrations/0119_contribution_verbose_name.py +17 -0
  184. evap-2025.12.0/evap/evaluation/migrations/0120_use_django_db_models_jsonfield.py +20 -0
  185. evap-2025.12.0/evap/evaluation/migrations/0121_add_allows_textanswers_to_question.py +33 -0
  186. evap-2025.12.0/evap/evaluation/migrations/0122_prepare_evaluation_state_fsm_int.py +17 -0
  187. evap-2025.12.0/evap/evaluation/migrations/0123_evaluation_state_fsm_int.py +81 -0
  188. evap-2025.12.0/evap/evaluation/migrations/0124_add_html_content.py +33 -0
  189. evap-2025.12.0/evap/evaluation/migrations/0125_use_lists_for_ordering.py +37 -0
  190. evap-2025.12.0/evap/evaluation/migrations/0126_add_textanswer_review_email_template.py +25 -0
  191. evap-2025.12.0/evap/evaluation/migrations/0127_fix_logentry_types.py +20 -0
  192. evap-2025.12.0/evap/evaluation/migrations/0128_django_40_noop.py +35 -0
  193. evap-2025.12.0/evap/evaluation/migrations/0129_rename_state_textanswer_review_decision.py +16 -0
  194. evap-2025.12.0/evap/evaluation/migrations/0130_alter_textanswer_review_decision.py +34 -0
  195. evap-2025.12.0/evap/evaluation/migrations/0131_userprofile_ordering.py +26 -0
  196. evap-2025.12.0/evap/evaluation/migrations/0132_textanswer_is_flagged.py +16 -0
  197. evap-2025.12.0/evap/evaluation/migrations/0133_add_infotext_model.py +56 -0
  198. evap-2025.12.0/evap/evaluation/migrations/0134_userprofile_display_name.py +45 -0
  199. evap-2025.12.0/evap/evaluation/migrations/0135_consistent_no_data_representation_on_text_fields.py +96 -0
  200. evap-2025.12.0/evap/evaluation/migrations/0136_alter_userprofile_first_name_chosen_and_more.py +28 -0
  201. evap-2025.12.0/evap/evaluation/migrations/0137_use_more_database_constraints.py +55 -0
  202. evap-2025.12.0/evap/evaluation/migrations/0138_votetimestamp.py +25 -0
  203. evap-2025.12.0/evap/evaluation/migrations/0139_userprofile_startpage.py +22 -0
  204. evap-2025.12.0/evap/evaluation/migrations/0140_alter_question_type.py +37 -0
  205. evap-2025.12.0/evap/evaluation/migrations/0141_userprofile_notes.py +17 -0
  206. evap-2025.12.0/evap/evaluation/migrations/0142_alter_evaluation_state.py +18 -0
  207. evap-2025.12.0/evap/evaluation/migrations/0143_alter_evaluation_state.py +33 -0
  208. evap-2025.12.0/evap/evaluation/migrations/0144_alter_evaluation_state.py +33 -0
  209. evap-2025.12.0/evap/evaluation/migrations/0145_rename_degree_to_program.py +49 -0
  210. evap-2025.12.0/evap/evaluation/migrations/0146_grade_reminder_template.py +33 -0
  211. evap-2025.12.0/evap/evaluation/migrations/0147_unusable_password_default.py +25 -0
  212. evap-2025.12.0/evap/evaluation/migrations/0148_course_cms_id_evaluation_cms_id.py +27 -0
  213. evap-2025.12.0/evap/evaluation/migrations/0149_evaluation_dropout_count_alter_questionnaire_type.py +44 -0
  214. evap-2025.12.0/evap/evaluation/migrations/0150_rename_degrees_to_programs.py +20 -0
  215. evap-2025.12.0/evap/evaluation/migrations/0151_migrate_single_results_to_normal_evaluations.py +61 -0
  216. evap-2025.12.0/evap/evaluation/migrations/0152_remove_evaluation_is_single_result.py +17 -0
  217. evap-2025.12.0/evap/evaluation/migrations/0153_alter_userprofile_cc_users_and_more.py +54 -0
  218. evap-2025.12.0/evap/evaluation/migrations/0154_evaluation_main_language.py +30 -0
  219. evap-2025.12.0/evap/evaluation/migrations/0155_choices_constraints.py +86 -0
  220. evap-2025.12.0/evap/evaluation/migrations/0156_alter_userprofile_options.py +38 -0
  221. evap-2025.12.0/evap/evaluation/migrations/0157_coursetype_skip_on_automated_import.py +18 -0
  222. evap-2025.12.0/evap/evaluation/migrations/0158_examtype.py +61 -0
  223. evap-2025.12.0/evap/evaluation/migrations/__init__.py +0 -0
  224. evap-2025.12.0/evap/evaluation/models.py +2448 -0
  225. evap-2025.12.0/evap/evaluation/models_logging.py +396 -0
  226. evap-2025.12.0/evap/evaluation/templates/400.html +10 -0
  227. evap-2025.12.0/evap/evaluation/templates/403.html +10 -0
  228. evap-2025.12.0/evap/evaluation/templates/404.html +10 -0
  229. evap-2025.12.0/evap/evaluation/templates/500.html +10 -0
  230. evap-2025.12.0/evap/evaluation/templates/base.html +229 -0
  231. evap-2025.12.0/evap/evaluation/templates/base_empty.html +5 -0
  232. evap-2025.12.0/evap/evaluation/templates/bootstrap_datetimepicker.html +32 -0
  233. evap-2025.12.0/evap/evaluation/templates/bootstrap_form.html +13 -0
  234. evap-2025.12.0/evap/evaluation/templates/bootstrap_form_errors.html +3 -0
  235. evap-2025.12.0/evap/evaluation/templates/bootstrap_form_field.html +21 -0
  236. evap-2025.12.0/evap/evaluation/templates/bootstrap_form_field_label.html +3 -0
  237. evap-2025.12.0/evap/evaluation/templates/bootstrap_form_field_widget.html +5 -0
  238. evap-2025.12.0/evap/evaluation/templates/bootstrap_form_pill_group.html +18 -0
  239. evap-2025.12.0/evap/evaluation/templates/choice_button.html +12 -0
  240. evap-2025.12.0/evap/evaluation/templates/confirmation_modal_template.html +33 -0
  241. evap-2025.12.0/evap/evaluation/templates/contact_modal.html +55 -0
  242. evap-2025.12.0/evap/evaluation/templates/contribution_formset.html +77 -0
  243. evap-2025.12.0/evap/evaluation/templates/course_badges.html +5 -0
  244. evap-2025.12.0/evap/evaluation/templates/custom_elements.html +9 -0
  245. evap-2025.12.0/evap/evaluation/templates/django/forms/widgets/checkbox.html +6 -0
  246. evap-2025.12.0/evap/evaluation/templates/django/forms/widgets/input.html +1 -0
  247. evap-2025.12.0/evap/evaluation/templates/django/forms/widgets/select.html +13 -0
  248. evap-2025.12.0/evap/evaluation/templates/django/forms/widgets/textarea.html +2 -0
  249. evap-2025.12.0/evap/evaluation/templates/email_base.html +62 -0
  250. evap-2025.12.0/evap/evaluation/templates/evaluation_badges.html +21 -0
  251. evap-2025.12.0/evap/evaluation/templates/evaluation_form_fields.html +33 -0
  252. evap-2025.12.0/evap/evaluation/templates/evap_evaluation_edit_js.html +78 -0
  253. evap-2025.12.0/evap/evaluation/templates/external_user_confirm_login.html +28 -0
  254. evap-2025.12.0/evap/evaluation/templates/faq.html +50 -0
  255. evap-2025.12.0/evap/evaluation/templates/footer.html +33 -0
  256. evap-2025.12.0/evap/evaluation/templates/index.html +82 -0
  257. evap-2025.12.0/evap/evaluation/templates/infobox.html +26 -0
  258. evap-2025.12.0/evap/evaluation/templates/legal_notice.html +12 -0
  259. evap-2025.12.0/evap/evaluation/templates/log/changed_fields_entry.html +29 -0
  260. evap-2025.12.0/evap/evaluation/templates/log/logentries.html +30 -0
  261. evap-2025.12.0/evap/evaluation/templates/messages.html +8 -0
  262. evap-2025.12.0/evap/evaluation/templates/multiple_checkbox_widget.html +10 -0
  263. evap-2025.12.0/evap/evaluation/templates/navbar.html +135 -0
  264. evap-2025.12.0/evap/evaluation/templates/notebook.html +42 -0
  265. evap-2025.12.0/evap/evaluation/templates/profile.html +95 -0
  266. evap-2025.12.0/evap/evaluation/templates/progress_bar.html +18 -0
  267. evap-2025.12.0/evap/evaluation/templates/progress_bar_fill.html +16 -0
  268. evap-2025.12.0/evap/evaluation/templates/questionnaires_widget.html +37 -0
  269. evap-2025.12.0/evap/evaluation/templates/role_buttons.html +12 -0
  270. evap-2025.12.0/evap/evaluation/templates/startpage_button.html +13 -0
  271. evap-2025.12.0/evap/evaluation/templates/textanswer_visibility_buttons.html +10 -0
  272. evap-2025.12.0/evap/evaluation/templates/textanswer_visibility_info.html +10 -0
  273. evap-2025.12.0/evap/evaluation/templates/user_list_with_links.html +11 -0
  274. evap-2025.12.0/evap/evaluation/templatetags/__init__.py +0 -0
  275. evap-2025.12.0/evap/evaluation/templatetags/evaluation_filters.py +232 -0
  276. evap-2025.12.0/evap/evaluation/templatetags/infotext_templatetags.py +16 -0
  277. evap-2025.12.0/evap/evaluation/templatetags/navbar_templatetags.py +34 -0
  278. evap-2025.12.0/evap/evaluation/tests/__init__.py +0 -0
  279. evap-2025.12.0/evap/evaluation/tests/test_auth.py +349 -0
  280. evap-2025.12.0/evap/evaluation/tests/test_commands.py +563 -0
  281. evap-2025.12.0/evap/evaluation/tests/test_forms.py +54 -0
  282. evap-2025.12.0/evap/evaluation/tests/test_live.py +24 -0
  283. evap-2025.12.0/evap/evaluation/tests/test_misc.py +62 -0
  284. evap-2025.12.0/evap/evaluation/tests/test_models.py +1148 -0
  285. evap-2025.12.0/evap/evaluation/tests/test_models_logging.py +207 -0
  286. evap-2025.12.0/evap/evaluation/tests/test_tools.py +244 -0
  287. evap-2025.12.0/evap/evaluation/tests/test_views.py +279 -0
  288. evap-2025.12.0/evap/evaluation/tests/tools.py +366 -0
  289. evap-2025.12.0/evap/evaluation/tools.py +363 -0
  290. evap-2025.12.0/evap/evaluation/urls.py +17 -0
  291. evap-2025.12.0/evap/evaluation/views.py +249 -0
  292. evap-2025.12.0/evap/grades/__init__.py +0 -0
  293. evap-2025.12.0/evap/grades/forms.py +53 -0
  294. evap-2025.12.0/evap/grades/migrations/0001_initial.py +55 -0
  295. evap-2025.12.0/evap/grades/migrations/0002_initial_data.py +17 -0
  296. evap-2025.12.0/evap/grades/migrations/0003_add_upload_path_and_change_last_modified_user_related_name.py +31 -0
  297. evap-2025.12.0/evap/grades/migrations/0004_rename_preliminary_to_midterm.py +30 -0
  298. evap-2025.12.0/evap/grades/migrations/0005_make_description_unique_per_course.py +15 -0
  299. evap-2025.12.0/evap/grades/migrations/0006_specify_on_delete.py +24 -0
  300. evap-2025.12.0/evap/grades/migrations/0007_semestergradedownloadactivation.py +30 -0
  301. evap-2025.12.0/evap/grades/migrations/0008_add_gradedocument_description_en.py +33 -0
  302. evap-2025.12.0/evap/grades/migrations/0009_fill_description_en.py +22 -0
  303. evap-2025.12.0/evap/grades/migrations/0010_gradedocument_description_en_add_unique.py +17 -0
  304. evap-2025.12.0/evap/grades/migrations/0011_auto_20160301_1438.py +26 -0
  305. evap-2025.12.0/evap/grades/migrations/0012_remove_semester_grade_download_activation.py +20 -0
  306. evap-2025.12.0/evap/grades/migrations/0013_prepare_rename_course_to_evaluation.py +24 -0
  307. evap-2025.12.0/evap/grades/migrations/0014_rename_course_to_evaluation.py +23 -0
  308. evap-2025.12.0/evap/grades/migrations/0015_add_grade_documents_on_course.py +42 -0
  309. evap-2025.12.0/evap/grades/migrations/0016_move_grade_documents_to_course.py +24 -0
  310. evap-2025.12.0/evap/grades/migrations/0017_remove_grade_documents_from_evaluations.py +34 -0
  311. evap-2025.12.0/evap/grades/migrations/0018_choices_constraints.py +22 -0
  312. evap-2025.12.0/evap/grades/migrations/__init__.py +0 -0
  313. evap-2025.12.0/evap/grades/models.py +68 -0
  314. evap-2025.12.0/evap/grades/templates/grade_document_file_widget.html +6 -0
  315. evap-2025.12.0/evap/grades/templates/grades_base.html +17 -0
  316. evap-2025.12.0/evap/grades/templates/grades_course_base.html +14 -0
  317. evap-2025.12.0/evap/grades/templates/grades_course_view.html +75 -0
  318. evap-2025.12.0/evap/grades/templates/grades_index.html +22 -0
  319. evap-2025.12.0/evap/grades/templates/grades_semester_base.html +16 -0
  320. evap-2025.12.0/evap/grades/templates/grades_semester_view.html +147 -0
  321. evap-2025.12.0/evap/grades/templates/grades_upload_form.html +38 -0
  322. evap-2025.12.0/evap/grades/tests.py +294 -0
  323. evap-2025.12.0/evap/grades/urls.py +17 -0
  324. evap-2025.12.0/evap/grades/views.py +217 -0
  325. evap-2025.12.0/evap/locale/__init__.py +0 -0
  326. evap-2025.12.0/evap/locale/de/LC_MESSAGES/django.mo +0 -0
  327. evap-2025.12.0/evap/locale/de/LC_MESSAGES/django.po +6068 -0
  328. evap-2025.12.0/evap/locale/de/LC_MESSAGES/djangojs.mo +0 -0
  329. evap-2025.12.0/evap/locale/de/LC_MESSAGES/djangojs.po +43 -0
  330. evap-2025.12.0/evap/locale/de/__init__.py +0 -0
  331. evap-2025.12.0/evap/locale/de/formats.py +1 -0
  332. evap-2025.12.0/evap/locale/en/__init__.py +0 -0
  333. evap-2025.12.0/evap/locale/en/formats.py +11 -0
  334. evap-2025.12.0/evap/middleware.py +73 -0
  335. evap-2025.12.0/evap/results/__init__.py +0 -0
  336. evap-2025.12.0/evap/results/exporters.py +418 -0
  337. evap-2025.12.0/evap/results/fixtures/minimal_test_data_results.json +639 -0
  338. evap-2025.12.0/evap/results/templates/distribution_widget.html +26 -0
  339. evap-2025.12.0/evap/results/templates/distribution_with_grade.html +51 -0
  340. evap-2025.12.0/evap/results/templates/distribution_with_grade_disabled.html +9 -0
  341. evap-2025.12.0/evap/results/templates/evaluation_result_widget.html +17 -0
  342. evap-2025.12.0/evap/results/templates/result_widget_tooltip.html +26 -0
  343. evap-2025.12.0/evap/results/templates/results_evaluation_detail.html +242 -0
  344. evap-2025.12.0/evap/results/templates/results_evaluation_detail_questionnaires.html +41 -0
  345. evap-2025.12.0/evap/results/templates/results_index.html +179 -0
  346. evap-2025.12.0/evap/results/templates/results_index_course.html +8 -0
  347. evap-2025.12.0/evap/results/templates/results_index_course_impl.html +30 -0
  348. evap-2025.12.0/evap/results/templates/results_index_evaluation.html +8 -0
  349. evap-2025.12.0/evap/results/templates/results_index_evaluation_impl.html +64 -0
  350. evap-2025.12.0/evap/results/templates/results_widget_range_slider.html +9 -0
  351. evap-2025.12.0/evap/results/templates/textanswer_list.html +23 -0
  352. evap-2025.12.0/evap/results/templatetags/__init__.py +0 -0
  353. evap-2025.12.0/evap/results/templatetags/results_templatetags.py +56 -0
  354. evap-2025.12.0/evap/results/tests/__init__.py +0 -0
  355. evap-2025.12.0/evap/results/tests/test_exporters.py +580 -0
  356. evap-2025.12.0/evap/results/tests/test_live.py +181 -0
  357. evap-2025.12.0/evap/results/tests/test_tools.py +593 -0
  358. evap-2025.12.0/evap/results/tests/test_views.py +959 -0
  359. evap-2025.12.0/evap/results/tools.py +515 -0
  360. evap-2025.12.0/evap/results/urls.py +11 -0
  361. evap-2025.12.0/evap/results/views.py +493 -0
  362. evap-2025.12.0/evap/rewards/__init__.py +0 -0
  363. evap-2025.12.0/evap/rewards/exporters.py +21 -0
  364. evap-2025.12.0/evap/rewards/forms.py +109 -0
  365. evap-2025.12.0/evap/rewards/migrations/0001_initial.py +101 -0
  366. evap-2025.12.0/evap/rewards/migrations/0002_django18warning.py +19 -0
  367. evap-2025.12.0/evap/rewards/migrations/0003_specify_on_delete.py +34 -0
  368. evap-2025.12.0/evap/rewards/migrations/0004_make_granting_semester_non_null.py +23 -0
  369. evap-2025.12.0/evap/rewards/migrations/0005_alter_rewardpoint_minvalue.py +23 -0
  370. evap-2025.12.0/evap/rewards/migrations/0006_rewardpointredemptionevent_step.py +20 -0
  371. evap-2025.12.0/evap/rewards/migrations/0007_localize_rewardpointredemption_name.py +42 -0
  372. evap-2025.12.0/evap/rewards/migrations/__init__.py +0 -0
  373. evap-2025.12.0/evap/rewards/models.py +61 -0
  374. evap-2025.12.0/evap/rewards/templates/rewards_index.html +96 -0
  375. evap-2025.12.0/evap/rewards/templates/rewards_reward_point_redemption_event_form.html +28 -0
  376. evap-2025.12.0/evap/rewards/templates/rewards_reward_point_redemption_event_list.html +54 -0
  377. evap-2025.12.0/evap/rewards/templates/rewards_reward_point_redemption_events.html +55 -0
  378. evap-2025.12.0/evap/rewards/tests/__init__.py +0 -0
  379. evap-2025.12.0/evap/rewards/tests/test_tools.py +110 -0
  380. evap-2025.12.0/evap/rewards/tests/test_views.py +280 -0
  381. evap-2025.12.0/evap/rewards/tools.py +162 -0
  382. evap-2025.12.0/evap/rewards/urls.py +18 -0
  383. evap-2025.12.0/evap/rewards/views.py +199 -0
  384. evap-2025.12.0/evap/settings.py +520 -0
  385. evap-2025.12.0/evap/settings_test.py +30 -0
  386. evap-2025.12.0/evap/staff/__init__.py +0 -0
  387. evap-2025.12.0/evap/staff/fixtures/__init__.py +0 -0
  388. evap-2025.12.0/evap/staff/fixtures/excel_files_test_data.py +241 -0
  389. evap-2025.12.0/evap/staff/fixtures/invalid_user_import.xlsx +0 -0
  390. evap-2025.12.0/evap/staff/fixtures/test_user_bulk_update_file.txt +4 -0
  391. evap-2025.12.0/evap/staff/fixtures/valid_user_import.xlsx +0 -0
  392. evap-2025.12.0/evap/staff/forms.py +1155 -0
  393. evap-2025.12.0/evap/staff/importers/__init__.py +13 -0
  394. evap-2025.12.0/evap/staff/importers/base.py +306 -0
  395. evap-2025.12.0/evap/staff/importers/enrollment.py +889 -0
  396. evap-2025.12.0/evap/staff/importers/json.py +639 -0
  397. evap-2025.12.0/evap/staff/importers/person.py +119 -0
  398. evap-2025.12.0/evap/staff/importers/user.py +398 -0
  399. evap-2025.12.0/evap/staff/management/commands/__init__.py +0 -0
  400. evap-2025.12.0/evap/staff/management/commands/json_import.py +29 -0
  401. evap-2025.12.0/evap/staff/staff_mode.py +72 -0
  402. evap-2025.12.0/evap/staff/templates/staff_base.html +17 -0
  403. evap-2025.12.0/evap/staff/templates/staff_course_base.html +23 -0
  404. evap-2025.12.0/evap/staff/templates/staff_course_copyform.html +44 -0
  405. evap-2025.12.0/evap/staff/templates/staff_course_form.html +54 -0
  406. evap-2025.12.0/evap/staff/templates/staff_course_type_index.html +97 -0
  407. evap-2025.12.0/evap/staff/templates/staff_course_type_merge.html +39 -0
  408. evap-2025.12.0/evap/staff/templates/staff_course_type_merge_selection.html +27 -0
  409. evap-2025.12.0/evap/staff/templates/staff_email_preview_form.html +38 -0
  410. evap-2025.12.0/evap/staff/templates/staff_evaluation_base.html +19 -0
  411. evap-2025.12.0/evap/staff/templates/staff_evaluation_email.html +51 -0
  412. evap-2025.12.0/evap/staff/templates/staff_evaluation_evaluation_period.html +21 -0
  413. evap-2025.12.0/evap/staff/templates/staff_evaluation_form.html +77 -0
  414. evap-2025.12.0/evap/staff/templates/staff_evaluation_operation.html +103 -0
  415. evap-2025.12.0/evap/staff/templates/staff_evaluation_person_management.html +226 -0
  416. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswer_edit.html +25 -0
  417. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswer_flag_radios.html +40 -0
  418. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswers.html +64 -0
  419. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswers_full.html +43 -0
  420. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswers_quick.html +205 -0
  421. evap-2025.12.0/evap/staff/templates/staff_evaluation_textanswers_section.html +68 -0
  422. evap-2025.12.0/evap/staff/templates/staff_exam_type_index.html +93 -0
  423. evap-2025.12.0/evap/staff/templates/staff_faq_index.html +76 -0
  424. evap-2025.12.0/evap/staff/templates/staff_faq_section.html +72 -0
  425. evap-2025.12.0/evap/staff/templates/staff_index.html +88 -0
  426. evap-2025.12.0/evap/staff/templates/staff_infotexts.html +40 -0
  427. evap-2025.12.0/evap/staff/templates/staff_message_rendering_template.html +48 -0
  428. evap-2025.12.0/evap/staff/templates/staff_program_index.html +90 -0
  429. evap-2025.12.0/evap/staff/templates/staff_program_merge.html +41 -0
  430. evap-2025.12.0/evap/staff/templates/staff_program_merge_selection.html +27 -0
  431. evap-2025.12.0/evap/staff/templates/staff_questionnaire_base.html +15 -0
  432. evap-2025.12.0/evap/staff/templates/staff_questionnaire_form.html +118 -0
  433. evap-2025.12.0/evap/staff/templates/staff_questionnaire_index.html +128 -0
  434. evap-2025.12.0/evap/staff/templates/staff_questionnaire_index_list.html +82 -0
  435. evap-2025.12.0/evap/staff/templates/staff_questionnaire_view.html +40 -0
  436. evap-2025.12.0/evap/staff/templates/staff_semester_base.html +20 -0
  437. evap-2025.12.0/evap/staff/templates/staff_semester_export.html +84 -0
  438. evap-2025.12.0/evap/staff/templates/staff_semester_flagged_textanswers.html +35 -0
  439. evap-2025.12.0/evap/staff/templates/staff_semester_form.html +18 -0
  440. evap-2025.12.0/evap/staff/templates/staff_semester_grade_reminder.html +26 -0
  441. evap-2025.12.0/evap/staff/templates/staff_semester_import.html +60 -0
  442. evap-2025.12.0/evap/staff/templates/staff_semester_preparation_reminder.html +111 -0
  443. evap-2025.12.0/evap/staff/templates/staff_semester_questionnaire_assign_form.html +62 -0
  444. evap-2025.12.0/evap/staff/templates/staff_semester_send_reminder.html +32 -0
  445. evap-2025.12.0/evap/staff/templates/staff_semester_view.html +643 -0
  446. evap-2025.12.0/evap/staff/templates/staff_semester_view_evaluation.html +241 -0
  447. evap-2025.12.0/evap/staff/templates/staff_template_form.html +48 -0
  448. evap-2025.12.0/evap/staff/templates/staff_text_answer_warnings.html +117 -0
  449. evap-2025.12.0/evap/staff/templates/staff_user_badges.html +28 -0
  450. evap-2025.12.0/evap/staff/templates/staff_user_bulk_update.html +32 -0
  451. evap-2025.12.0/evap/staff/templates/staff_user_form.html +145 -0
  452. evap-2025.12.0/evap/staff/templates/staff_user_import.html +59 -0
  453. evap-2025.12.0/evap/staff/templates/staff_user_index.html +43 -0
  454. evap-2025.12.0/evap/staff/templates/staff_user_list.html +77 -0
  455. evap-2025.12.0/evap/staff/templates/staff_user_merge.html +251 -0
  456. evap-2025.12.0/evap/staff/templates/staff_user_merge_grouped_list.html +14 -0
  457. evap-2025.12.0/evap/staff/templates/staff_user_merge_reward_points_list.html +16 -0
  458. evap-2025.12.0/evap/staff/templates/staff_user_merge_selection.html +57 -0
  459. evap-2025.12.0/evap/staff/templatetags/__init__.py +0 -0
  460. evap-2025.12.0/evap/staff/templatetags/staff_templatetags.py +11 -0
  461. evap-2025.12.0/evap/staff/tests/__init__.py +0 -0
  462. evap-2025.12.0/evap/staff/tests/test_forms.py +1151 -0
  463. evap-2025.12.0/evap/staff/tests/test_importers.py +1049 -0
  464. evap-2025.12.0/evap/staff/tests/test_json_importer.py +834 -0
  465. evap-2025.12.0/evap/staff/tests/test_live.py +176 -0
  466. evap-2025.12.0/evap/staff/tests/test_tools.py +427 -0
  467. evap-2025.12.0/evap/staff/tests/test_views.py +4040 -0
  468. evap-2025.12.0/evap/staff/tests/utils.py +65 -0
  469. evap-2025.12.0/evap/staff/tools.py +466 -0
  470. evap-2025.12.0/evap/staff/urls.py +103 -0
  471. evap-2025.12.0/evap/staff/views.py +2656 -0
  472. evap-2025.12.0/evap/static/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
  473. evap-2025.12.0/evap/static/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
  474. evap-2025.12.0/evap/static/css/bootstrap-datetimepicker.min.css +5 -0
  475. evap-2025.12.0/evap/static/css/evap.css +9 -0
  476. evap-2025.12.0/evap/static/css/evap.css.map +1 -0
  477. evap-2025.12.0/evap/static/css/tom-select.bootstrap5.min.css +2 -0
  478. evap-2025.12.0/evap/static/css/tom-select.bootstrap5.min.css.map +1 -0
  479. evap-2025.12.0/evap/static/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  480. evap-2025.12.0/evap/static/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  481. evap-2025.12.0/evap/static/images/evap.png +0 -0
  482. evap-2025.12.0/evap/static/images/favicon_16.png +0 -0
  483. evap-2025.12.0/evap/static/images/favicon_32.png +0 -0
  484. evap-2025.12.0/evap/static/images/favicon_64.png +0 -0
  485. evap-2025.12.0/evap/static/images/favicon_gray.png +0 -0
  486. evap-2025.12.0/evap/static/images/triangles_color.svg +160 -0
  487. evap-2025.12.0/evap/static/images/triangles_gray.svg +154 -0
  488. evap-2025.12.0/evap/static/js/.gitignore +3 -0
  489. evap-2025.12.0/evap/static/js/Sortable.min.js +2 -0
  490. evap-2025.12.0/evap/static/js/auto-form-saver.js +150 -0
  491. evap-2025.12.0/evap/static/js/base-template.js +13 -0
  492. evap-2025.12.0/evap/static/js/bootstrap-datetimepicker.min.js +2 -0
  493. evap-2025.12.0/evap/static/js/confirmation-modal.js +61 -0
  494. evap-2025.12.0/evap/static/js/contact_modal.js +52 -0
  495. evap-2025.12.0/evap/static/js/copy-to-clipboard.js +3 -0
  496. evap-2025.12.0/evap/static/js/csrf-utils.js +18 -0
  497. evap-2025.12.0/evap/static/js/custom-success-form.js +33 -0
  498. evap-2025.12.0/evap/static/js/datagrid.js +403 -0
  499. evap-2025.12.0/evap/static/js/infobox.js +32 -0
  500. evap-2025.12.0/evap/static/js/jquery-2.1.3.min.js +4 -0
  501. evap-2025.12.0/evap/static/js/moment.min.js +2 -0
  502. evap-2025.12.0/evap/static/js/moment.min.js.map +1 -0
  503. evap-2025.12.0/evap/static/js/moment_de.js +1 -0
  504. evap-2025.12.0/evap/static/js/notebook.js +64 -0
  505. evap-2025.12.0/evap/static/js/plugins/jquery.formset.js +213 -0
  506. evap-2025.12.0/evap/static/js/quick-review-slider.js +382 -0
  507. evap-2025.12.0/evap/static/js/slider.js +59 -0
  508. evap-2025.12.0/evap/static/js/sortable-form.js +75 -0
  509. evap-2025.12.0/evap/static/js/student-vote.js +157 -0
  510. evap-2025.12.0/evap/static/js/text-answer-warnings.js +47 -0
  511. evap-2025.12.0/evap/static/js/tom-select-count.js +13 -0
  512. evap-2025.12.0/evap/static/js/tom-select.complete.min.js +363 -0
  513. evap-2025.12.0/evap/static/js/tom-select.complete.min.js.map +1 -0
  514. evap-2025.12.0/evap/static/js/translation.js +1 -0
  515. evap-2025.12.0/evap/static/js/utils.js +45 -0
  516. evap-2025.12.0/evap/static/sample.xlsx +0 -0
  517. evap-2025.12.0/evap/static/sample_user.xlsx +0 -0
  518. evap-2025.12.0/evap/static/scss/_adjustments.scss +175 -0
  519. evap-2025.12.0/evap/static/scss/_bootstrap.scss +48 -0
  520. evap-2025.12.0/evap/static/scss/_colors.scss +48 -0
  521. evap-2025.12.0/evap/static/scss/_components.scss +25 -0
  522. evap-2025.12.0/evap/static/scss/_font-awesome.scss +23 -0
  523. evap-2025.12.0/evap/static/scss/_mixins.scss +67 -0
  524. evap-2025.12.0/evap/static/scss/_print.scss +52 -0
  525. evap-2025.12.0/evap/static/scss/_utilities.scss +91 -0
  526. evap-2025.12.0/evap/static/scss/_variables.scss +91 -0
  527. evap-2025.12.0/evap/static/scss/components/_badge.scss +81 -0
  528. evap-2025.12.0/evap/static/scss/components/_breadcrumb.scss +31 -0
  529. evap-2025.12.0/evap/static/scss/components/_button-group.scss +19 -0
  530. evap-2025.12.0/evap/static/scss/components/_buttons.scss +299 -0
  531. evap-2025.12.0/evap/static/scss/components/_callouts.scss +97 -0
  532. evap-2025.12.0/evap/static/scss/components/_card.scss +114 -0
  533. evap-2025.12.0/evap/static/scss/components/_close.scss +8 -0
  534. evap-2025.12.0/evap/static/scss/components/_confirmation-modal.scss +89 -0
  535. evap-2025.12.0/evap/static/scss/components/_distribution-bar.scss +109 -0
  536. evap-2025.12.0/evap/static/scss/components/_dropdown.scss +3 -0
  537. evap-2025.12.0/evap/static/scss/components/_forms.scss +73 -0
  538. evap-2025.12.0/evap/static/scss/components/_grid.scss +228 -0
  539. evap-2025.12.0/evap/static/scss/components/_jumbotron.scss +10 -0
  540. evap-2025.12.0/evap/static/scss/components/_modal.scss +31 -0
  541. evap-2025.12.0/evap/static/scss/components/_nav.scss +39 -0
  542. evap-2025.12.0/evap/static/scss/components/_notebook.scss +84 -0
  543. evap-2025.12.0/evap/static/scss/components/_progress.scss +82 -0
  544. evap-2025.12.0/evap/static/scss/components/_quick-review.scss +83 -0
  545. evap-2025.12.0/evap/static/scss/components/_range-slider.scss +51 -0
  546. evap-2025.12.0/evap/static/scss/components/_staff-index.scss +17 -0
  547. evap-2025.12.0/evap/static/scss/components/_tables.scss +129 -0
  548. evap-2025.12.0/evap/static/scss/components/_tooltip.scss +13 -0
  549. evap-2025.12.0/evap/static/scss/components/_transitions.scss +36 -0
  550. evap-2025.12.0/evap/static/scss/components/_type.scss +9 -0
  551. evap-2025.12.0/evap/static/scss/evap.scss +156 -0
  552. evap-2025.12.0/evap/static/ts/.prettierrc.json +5 -0
  553. evap-2025.12.0/evap/static/ts/eslint.config.js +54 -0
  554. evap-2025.12.0/evap/static/ts/src/auto-form-saver.ts +182 -0
  555. evap-2025.12.0/evap/static/ts/src/base-template.ts +13 -0
  556. evap-2025.12.0/evap/static/ts/src/confirmation-modal.ts +82 -0
  557. evap-2025.12.0/evap/static/ts/src/contact_modal.ts +69 -0
  558. evap-2025.12.0/evap/static/ts/src/copy-to-clipboard.ts +3 -0
  559. evap-2025.12.0/evap/static/ts/src/csrf-utils.ts +19 -0
  560. evap-2025.12.0/evap/static/ts/src/custom-success-form.ts +42 -0
  561. evap-2025.12.0/evap/static/ts/src/datagrid.ts +537 -0
  562. evap-2025.12.0/evap/static/ts/src/infobox.ts +41 -0
  563. evap-2025.12.0/evap/static/ts/src/notebook.ts +80 -0
  564. evap-2025.12.0/evap/static/ts/src/quick-review-slider.ts +454 -0
  565. evap-2025.12.0/evap/static/ts/src/slider.ts +86 -0
  566. evap-2025.12.0/evap/static/ts/src/sortable-form.ts +109 -0
  567. evap-2025.12.0/evap/static/ts/src/student-vote.ts +178 -0
  568. evap-2025.12.0/evap/static/ts/src/text-answer-warnings.ts +56 -0
  569. evap-2025.12.0/evap/static/ts/src/tom-select-count.ts +14 -0
  570. evap-2025.12.0/evap/static/ts/src/translation.ts +16 -0
  571. evap-2025.12.0/evap/static/ts/src/utils.ts +54 -0
  572. evap-2025.12.0/evap/static/ts/tests/unit/csrf-utils.ts +23 -0
  573. evap-2025.12.0/evap/static/ts/tests/unit/text-answer-warnings.ts +36 -0
  574. evap-2025.12.0/evap/static/ts/tests/utils/constants.ts +7 -0
  575. evap-2025.12.0/evap/static/ts/tsconfig.compile.json +15 -0
  576. evap-2025.12.0/evap/static/ts/tsconfig.json +10 -0
  577. evap-2025.12.0/evap/student/__init__.py +0 -0
  578. evap-2025.12.0/evap/student/forms.py +79 -0
  579. evap-2025.12.0/evap/student/migrations/0001_text_answer_warnings.py +34 -0
  580. evap-2025.12.0/evap/student/migrations/__init__.py +0 -0
  581. evap-2025.12.0/evap/student/models.py +23 -0
  582. evap-2025.12.0/evap/student/templates/student_global_reward.html +53 -0
  583. evap-2025.12.0/evap/student/templates/student_index.html +33 -0
  584. evap-2025.12.0/evap/student/templates/student_index_evaluate_or_drop.html +24 -0
  585. evap-2025.12.0/evap/student/templates/student_index_evaluation_period.html +28 -0
  586. evap-2025.12.0/evap/student/templates/student_index_semester_evaluations_list.html +162 -0
  587. evap-2025.12.0/evap/student/templates/student_index_unfinished_evaluations_list.html +34 -0
  588. evap-2025.12.0/evap/student/templates/student_text_answer_warnings.html +10 -0
  589. evap-2025.12.0/evap/student/templates/student_vote.html +453 -0
  590. evap-2025.12.0/evap/student/templates/student_vote_questionnaire_group.html +90 -0
  591. evap-2025.12.0/evap/student/templatetags/__init__.py +0 -0
  592. evap-2025.12.0/evap/student/templatetags/student_filters.py +8 -0
  593. evap-2025.12.0/evap/student/tests/__init__.py +0 -0
  594. evap-2025.12.0/evap/student/tests/test_live.py +123 -0
  595. evap-2025.12.0/evap/student/tests/test_views.py +728 -0
  596. evap-2025.12.0/evap/student/tools.py +26 -0
  597. evap-2025.12.0/evap/student/urls.py +11 -0
  598. evap-2025.12.0/evap/student/views.py +395 -0
  599. evap-2025.12.0/evap/tools.py +42 -0
  600. evap-2025.12.0/evap/urls.py +30 -0
  601. evap-2025.12.0/evap/wsgi.py +21 -0
  602. evap-2025.12.0/flake.lock +131 -0
  603. evap-2025.12.0/flake.nix +140 -0
  604. evap-2025.12.0/manage.py +6 -0
  605. evap-2025.12.0/nix/nix-python +4 -0
  606. evap-2025.12.0/nix/services.nix +81 -0
  607. evap-2025.12.0/nix/setup-nix +29 -0
  608. evap-2025.12.0/nix/shell.nix +70 -0
  609. evap-2025.12.0/package-lock.json +6287 -0
  610. evap-2025.12.0/package.json +35 -0
  611. evap-2025.12.0/pyproject.toml +230 -0
  612. evap-2025.12.0/tools/__init__.py +0 -0
  613. evap-2025.12.0/tools/check_dist.py +46 -0
  614. evap-2025.12.0/tools/enrollment_preprocessor.py +155 -0
  615. evap-2025.12.0/uv.lock +1506 -0
@@ -0,0 +1,7 @@
1
+ # .github/release.yml
2
+
3
+ changelog:
4
+ exclude:
5
+ authors:
6
+ - dependabot
7
+ - renovate-bot
@@ -0,0 +1,54 @@
1
+ {
2
+ $schema: "https://docs.renovatebot.com/renovate-schema.json",
3
+ extends: ["config:recommended"],
4
+ schedule: ["* * 1 * *"],
5
+ nix: {
6
+ enabled: true,
7
+ },
8
+ separateMajorMinor: false,
9
+ ignoreDeps: ["@types/sortablejs"], // we use a static version
10
+ packageRules: [
11
+ {
12
+ groupName: "python dependencies",
13
+ groupSlug: "python",
14
+ matchManagers: ["pep621"],
15
+ },
16
+ {
17
+ matchPackageNames: ["django-fsm"],
18
+ allowedVersions: "!/^3.0.0$/", // 3.0.0 adds deprecation warnings without functional changes
19
+ },
20
+ {
21
+ matchManagers: ["npm"],
22
+ matchUpdateTypes: ["patch"],
23
+ enabled: false,
24
+ },
25
+ {
26
+ matchManagers: ["npm"],
27
+ matchUpdateTypes: ["patch", "minor"],
28
+ matchDepNames: ["sass"], // causes deprecation warnings in bootstrap
29
+ enabled: false
30
+ },
31
+ {
32
+ groupName: "node dependencies",
33
+ groupSlug: "node",
34
+ matchManagers: ["npm"],
35
+ },
36
+ {
37
+ groupName: "github actions",
38
+ groupSlug: "actions",
39
+ matchManagers: ["github-actions"],
40
+ },
41
+ {
42
+ groupName: "ubuntu & python upgrade",
43
+ groupSlug: "ubuntu",
44
+ matchDepNames: ["ubuntu", "python"],
45
+ dependencyDashboardApproval: true, // manual update when deployment is updated
46
+ },
47
+ {
48
+ groupName: "nix flakes",
49
+ groupSlug: "nix",
50
+ matchManagers: ["nix"],
51
+ schedule: ["* * 1 */3 *"],
52
+ },
53
+ ],
54
+ }
@@ -0,0 +1,42 @@
1
+ name: "Setup EvaP Testing Environment"
2
+ description: "Sets up the nix environment with caching and copy localsettings"
3
+
4
+ inputs:
5
+ shell:
6
+ description: "name of development shell to use"
7
+ required: false
8
+ default: .#evap-dev
9
+ start-db:
10
+ description: "whether or not to run the database in the background"
11
+ required: false
12
+ default: false
13
+ npm-ci:
14
+ description: "whether or not to run `npm ci`"
15
+ required: false
16
+ default: false
17
+
18
+ runs:
19
+ using: "composite"
20
+ steps:
21
+ - uses: DeterminateSystems/nix-installer-action@main
22
+ - uses: nicknovitski/nix-develop@v1
23
+ with:
24
+ arguments: "${{ inputs.shell }}"
25
+
26
+ - name: Add localsettings
27
+ run: cp evap/settings_test.py evap/localsettings.py
28
+ shell: bash
29
+
30
+ - name: Create data/ directory
31
+ run: mkdir -p data/
32
+ shell: bash
33
+
34
+ - name: Install Node dependencies
35
+ run: npm ci
36
+ shell: bash
37
+ if: ${{ inputs.npm-ci == 'true' }}
38
+
39
+ - name: Start database
40
+ run: nix run .#services -- --detached && nix run .#wait-for-pc
41
+ shell: bash
42
+ if: ${{ inputs.start-db == 'true' }}
@@ -0,0 +1,26 @@
1
+ name: EvaP Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ pypi-publish:
8
+ name: upload release to PyPI
9
+ runs-on: ubuntu-latest
10
+ environment: release
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - run: |
15
+ RUN_ID=$(gh run --repo ${{ github.repository }} list --commit ${{ github.sha }} --status success --workflow "EvaP Test Suite" --json databaseId --jq '.[].databaseId')
16
+ if [ -z "$RUN_ID" ]; then
17
+ echo "No run found"
18
+ exit 1
19
+ fi
20
+ gh run --repo ${{ github.repository }} download "$RUN_ID" --name wheel --dir dist
21
+ env:
22
+ GH_TOKEN: ${{ github.token }}
23
+ - run: tar tvf dist/*.tar.gz
24
+ - run: unzip -l dist/*.whl
25
+ - name: Publish package distributions to PyPI
26
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,266 @@
1
+ name: EvaP Test Suite
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ test:
12
+ name: Test + Coverage
13
+
14
+ runs-on: ubuntu-22.04
15
+
16
+ permissions:
17
+ contents: read
18
+ id-token: write
19
+
20
+ steps:
21
+ - uses: actions/checkout@v6
22
+ - uses: ./.github/setup_evap
23
+ with:
24
+ start-db: true
25
+
26
+ - name: Run tests
27
+ run: coverage run manage.py test
28
+ - name: Upload coverage
29
+ uses: codecov/codecov-action@v5
30
+ with:
31
+ token: ${{ secrets.CODECOV_TOKEN }}
32
+
33
+ test_shuffled:
34
+ name: Test (shuffled order)
35
+
36
+ runs-on: ubuntu-22.04
37
+
38
+ steps:
39
+ - uses: actions/checkout@v6
40
+ - uses: ./.github/setup_evap
41
+ with:
42
+ start-db: true
43
+
44
+ - name: Run tests
45
+ run: python manage.py test --shuffle
46
+
47
+ test_testdata:
48
+ name: Test if testdata is up to date
49
+
50
+ runs-on: ubuntu-22.04
51
+
52
+ steps:
53
+ - uses: actions/checkout@v6
54
+ - uses: ./.github/setup_evap
55
+ with:
56
+ start-db: true
57
+ - name: Create new test_data.json
58
+ run: |
59
+ python manage.py reload_testdata --noinput
60
+ python manage.py dump_testdata
61
+ - name: Check if test_data.json changed
62
+ run: git diff --exit-code
63
+ - name: Create new minimal_test_data_results.json
64
+ run: |
65
+ python manage.py reload_testdata --mode minimal --noinput
66
+ python manage.py dump_testdata --mode minimal
67
+ - name: Check if minimal_test_data_results.json changed
68
+ run: git diff --exit-code
69
+
70
+ build_wheel:
71
+ name: Build wheel
72
+ runs-on: ubuntu-22.04
73
+ steps:
74
+ - uses: actions/checkout@v6
75
+ with:
76
+ submodules: true
77
+ - uses: DeterminateSystems/nix-installer-action@main
78
+ - run: nix run .#build-dist
79
+ - run: tar tvf dist/*.tar.gz
80
+ - run: unzip -l dist/*.whl
81
+ - run: nix run .#check_dist -- pyproject.toml dist/*.whl
82
+ - uses: actions/upload-artifact@v5
83
+ with:
84
+ name: wheel
85
+ path: dist/
86
+
87
+ install_wheel:
88
+ name: Install wheel with system Python
89
+ needs: build_wheel
90
+ runs-on: ubuntu-22.04
91
+ steps:
92
+ - uses: actions/setup-python@v6
93
+ with:
94
+ python-version: "3.11"
95
+ - uses: actions/download-artifact@v6
96
+ with:
97
+ name: wheel
98
+ - run: pip install *.whl
99
+ - name: Check that "evaluation" section appears in help string
100
+ run: python -m evap --help | grep --fixed-strings "[evaluation]"
101
+
102
+ test_frontend:
103
+ name: Test Frontend
104
+
105
+ runs-on: ubuntu-22.04
106
+
107
+ permissions:
108
+ contents: read
109
+ id-token: write
110
+
111
+ steps:
112
+ - uses: actions/checkout@v6
113
+ with:
114
+ submodules: true
115
+
116
+ - uses: ./.github/setup_evap
117
+ with:
118
+ shell: .#evap-frontend-dev
119
+ npm-ci: true
120
+ start-db: true
121
+
122
+ - name: Compile assets
123
+ run: |
124
+ python manage.py ts compile
125
+ python manage.py scss
126
+
127
+ - name: Run tests (shuffled)
128
+ run: coverage run manage.py test --shuffle --tag selenium
129
+ - name: Upload coverage
130
+ uses: codecov/codecov-action@v5
131
+ with:
132
+ flags: frontend-tests
133
+ token: ${{ secrets.CODECOV_TOKEN }}
134
+
135
+ mypy:
136
+ runs-on: ubuntu-22.04
137
+
138
+ name: MyPy
139
+
140
+ steps:
141
+ - uses: actions/checkout@v6
142
+ - uses: ./.github/setup_evap
143
+ - name: Run MyPy
144
+ run: mypy
145
+
146
+ typescript:
147
+ runs-on: ubuntu-22.04
148
+ name: Test Typescript
149
+
150
+ steps:
151
+ - uses: actions/checkout@v6
152
+ with:
153
+ submodules: true
154
+ - uses: ./.github/setup_evap
155
+ with:
156
+ npm-ci: true
157
+
158
+ - name: Run tests
159
+ run: python manage.py ts test
160
+
161
+ linter:
162
+ runs-on: ubuntu-22.04
163
+
164
+ name: Linter
165
+
166
+ steps:
167
+ - uses: actions/checkout@v6
168
+ - uses: ./.github/setup_evap
169
+ with:
170
+ npm-ci: "true"
171
+
172
+ - name: Run ruff
173
+ run: ruff check .
174
+ - name: Run pylint
175
+ run: pylint evap tools
176
+ - name: Run ESLint
177
+ run: |
178
+ cd evap/static/ts
179
+ npx eslint
180
+
181
+ formatter:
182
+ runs-on: ubuntu-22.04
183
+
184
+ name: Formatting
185
+
186
+ steps:
187
+ - uses: actions/checkout@v6
188
+ - uses: ./.github/setup_evap
189
+ with:
190
+ npm-ci: true
191
+
192
+ - name: Check code formatting
193
+ run: black --check .
194
+ - name: Check imports formatting
195
+ run: isort . --check --diff
196
+ - run: ls -laR evap/static/ts
197
+ - name: Check TypeScript formatting
198
+ run: npx prettier --list-different --log-level debug 'evap/static/ts/**/*.ts'
199
+
200
+ backup-process:
201
+ runs-on: ubuntu-22.04
202
+
203
+ name: Backup process
204
+ needs: build_wheel
205
+
206
+ steps:
207
+ - uses: actions/checkout@v6
208
+ with:
209
+ path: main
210
+
211
+ - uses: actions/checkout@v6
212
+ with:
213
+ repository: e-valuation/evap-deployment
214
+ path: deployment
215
+
216
+ - uses: DeterminateSystems/nix-installer-action@main
217
+ - name: Start database
218
+ working-directory: deployment
219
+ run: nix run ../main#services -- --detached
220
+
221
+ - uses: actions/setup-python@v6
222
+ with:
223
+ python-version: "3.11"
224
+
225
+ - uses: actions/download-artifact@v6
226
+ with:
227
+ name: wheel
228
+
229
+ - name: Install wheel
230
+ run: |
231
+ WHEEL=$(echo *.whl)
232
+ pip install $WHEEL[psycopg-binary]
233
+
234
+ - name: Load test data
235
+ working-directory: deployment
236
+ run: |
237
+ cat <(echo 'from evap.settings import *') ../main/evap/settings_test.py | tee deployment_settings.py
238
+ python -m evap migrate
239
+ python -m evap loaddata test_data
240
+ env:
241
+ DJANGO_SETTINGS_MODULE: deployment_settings
242
+ - name: Backup database
243
+ working-directory: deployment
244
+ run: ./update_production.sh backup.json
245
+ env:
246
+ EVAP_OVERRIDE_BACKUP_FILENAME: true
247
+ EVAP_SKIP_UPDATE: true
248
+ EVAP_SKIP_APACHE_STEPS: true
249
+ DJANGO_SETTINGS_MODULE: deployment_settings
250
+ - name: Reload backup
251
+ working-directory: deployment
252
+ run: echo "yy" | ./load_production_backup.sh backup.json
253
+ env:
254
+ EVAP_SKIP_APACHE_STEPS: true
255
+ DJANGO_SETTINGS_MODULE: deployment_settings
256
+
257
+ macos-nix-build:
258
+ runs-on: macos-15
259
+ name: Build nix environment on MacOS
260
+ steps:
261
+ - uses: actions/checkout@v6
262
+ with:
263
+ submodules: true
264
+ - uses: ./.github/setup_evap
265
+ with:
266
+ start-db: true
@@ -0,0 +1,56 @@
1
+ # editor leftovers
2
+ *~
3
+ *.bak
4
+ *.orig
5
+ *.swp
6
+ TAGS
7
+ .*
8
+ !.gitignore
9
+ !.github
10
+ *.kpf
11
+ *.komodoproject
12
+
13
+ *.sublime-workspace
14
+
15
+ # python files
16
+ *.py[cod]
17
+ dist/
18
+
19
+ # gettext binaries
20
+ *.mo
21
+
22
+ # operating system junk
23
+ .DS_Store
24
+ thumbs.db
25
+
26
+ evap/localsettings.py
27
+ evap/static/css/evap.css
28
+ evap/static/css/evap.css.map
29
+ evap/static/ts/rendered
30
+
31
+ docs/_build
32
+
33
+ coverage.xml
34
+ htmlcov
35
+
36
+ # pip puts editable packages here
37
+ src
38
+ !evap/static/ts/.prettierrc.json
39
+ !evap/static/ts/src
40
+
41
+ node_modules
42
+
43
+ # python env subdir
44
+ env/
45
+ venv/
46
+
47
+ # notes to self
48
+ todo.txt
49
+ todo
50
+
51
+ # flake8 configuration
52
+ setup.cfg
53
+
54
+ /data/
55
+ /result
56
+ .envrc
@@ -0,0 +1,38 @@
1
+ # License
2
+
3
+ The software is licensed under the MIT license. The source code includes other
4
+ components in whole or in part, used under these licenses:
5
+ * [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0): Bootstrap Datetimepicker, Tom Select
6
+ * [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode): Font Awesome Icons
7
+ * [OFL-1.1](https://scripts.sil.org/OFL): Font Awesome Fonts
8
+ * [MIT](https://opensource.org/licenses/MIT): Bootstrap, Font Awesome Code, jQuery, Moment, Sisyphus, Sortable
9
+ * [BSD-2-Clause](https://opensource.org/licenses/bsd-license.php): jQuery Formset
10
+
11
+ The source repository may include logos, names or other trademarks of the
12
+ Hasso Plattner Institute, the Fachschaftsrat Digital Engineering or other
13
+ entities; potential usage restrictions for these elements still apply and are
14
+ not touched by the software license.
15
+
16
+ ```
17
+ EvaP – Evaluation Platform
18
+ Copyright (C) 2011-2023 by Johannes Wolf, Johannes Linke, Michael Grünewald,
19
+ Stefan Richter, and Richard Ebeling
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining a copy
22
+ of this software and associated documentation files (the "Software"), to deal
23
+ in the Software without restriction, including without limitation the rights
24
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25
+ copies of the Software, and to permit persons to whom the Software is
26
+ furnished to do so, subject to the following conditions:
27
+
28
+ The above copyright notice and this permission notice shall be included in
29
+ all copies or substantial portions of the Software.
30
+
31
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
37
+ THE SOFTWARE.
38
+ ```
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: evap
3
+ Version: 2025.12.0
4
+ Summary: EvaP
5
+ License-File: LICENSE.md
6
+ Requires-Python: >=3.11.0
7
+ Requires-Dist: django-extensions~=4.1.0
8
+ Requires-Dist: django-fsm~=2.8.2
9
+ Requires-Dist: django~=5.2.0
10
+ Requires-Dist: mozilla-django-oidc~=4.0.1
11
+ Requires-Dist: openpyxl~=3.1.5
12
+ Requires-Dist: psycopg~=3.2.3
13
+ Requires-Dist: pydantic~=2.11.7
14
+ Requires-Dist: redis~=6.4.0
15
+ Requires-Dist: typing-extensions~=4.15.0
16
+ Requires-Dist: xlwt~=1.3.0
17
+ Provides-Extra: psycopg-binary
18
+ Requires-Dist: psycopg[binary]; extra == 'psycopg-binary'
19
+ Provides-Extra: psycopg-c
20
+ Requires-Dist: psycopg[c]; extra == 'psycopg-c'
21
+ Description-Content-Type: text/markdown
22
+
23
+ # EvaP - Evaluation Platform
24
+
25
+ [![Build Status](https://github.com/e-valuation/EvaP/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/e-valuation/EvaP/actions?query=workflow%3A%22EvaP+Test+Suite%22)
26
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2cf538781fdc4680a7103bcf96417a9a)](https://app.codacy.com/gh/e-valuation/EvaP/dashboard)
27
+ [![codecov](https://codecov.io/gh/e-valuation/EvaP/branch/main/graph/badge.svg)](https://codecov.io/gh/e-valuation/EvaP)
28
+
29
+
30
+ ## What is EvaP?
31
+
32
+ EvaP is the course evaluation system used internally at Hasso Plattner Institute at the University of Potsdam.
33
+
34
+ For the documentation, please see our [wiki](https://github.com/e-valuation/EvaP/wiki).
35
+
36
+ ## Development Setup
37
+
38
+ We use [nix](https://nixos.org/) to manage the development environment.
39
+
40
+ 1. Windows only: Install the Windows Subsystem for Linux (WSL) using `wsl --install -d Ubuntu-24.04` (you may have to restart your computer and run this command again). Enter the WSL environment using the `wsl` command. On your first entry, you need to choose a username and password - anything works (for example: username "evap", password "evap"). Perform the next step outside of `/mnt`, for example by going to your home directory (`cd ~`).
41
+ 2. Install [git](https://git-scm.com/downloads). Run the following commands to clone and enter the EvaP repository:
42
+ ```
43
+ git clone --recurse-submodules https://github.com/e-valuation/EvaP.git
44
+ cd EvaP
45
+ ```
46
+ 3. On Linux and WSL, install nix by running `./nix/setup-nix`. On MacOS, install nix using the [Determinate Nix Installer](https://install.determinate.systems/). Afterwards, if you get a permission error when running nix, restart your computer.
47
+ 4. Start the needed background services for EvaP:
48
+ ```
49
+ nix run .#services-full
50
+ ```
51
+ 5. Open a new terminal. Enter the development shell and start EvaP:
52
+ ```
53
+ cd EvaP
54
+ nix develop
55
+ ./manage.py run
56
+ ```
57
+ 6. Open your web browser at http://localhost:8000/ and login with email `evap@institution.example.com` and password `evap`.
58
+
59
+ To stop EvaP or the background services, press `Ctrl-C`.
60
+ To exit the development shell, press `Ctrl-D` or type `exit`.
61
+
62
+ Inside the development shell, after quitting the background services, you can run the command `clean-setup` to remove persistent state (database, node modules, localsettings).
63
+ Afterwards, `nix run .#services-full` will recreate a default development environment on startup.
64
+
65
+ ## Contributing
66
+
67
+ We'd love to see contributions! PRs solving existing issues are most helpful to us. It's best if you ask to be assigned for the issue so we won't have multiple people working on the same issue. Feel free to open issues for bugs, setup problems, or feature requests. If you have other questions, feel free to contact the [organization members](https://github.com/orgs/e-valuation/people). You should probably branch off `main`, the branch `release` is used for stable revisions.
68
+
69
+ Before committing, run the following commands:
70
+ - `./manage.py test` (runs the test suite)
71
+ - `./manage.py lint` (runs linting)
72
+ - `./manage.py format` (applies automatic code formatting)
73
+
74
+ or, to combine all three, simply run `./manage.py precommit`.
75
+
76
+ You can also set up `pylint`, `isort`, `black` and `prettier` in your IDE to avoid doing this manually all the time.
77
+
78
+ ### Creating a Pull Request (Workflow Suggestion)
79
+ 1. (once) [Fork](https://github.com/e-valuation/EvaP/fork) the repository so you have a GitHub repo that you have write access to.
80
+
81
+ 2. (once) Set up some authentication for GitHub that allows push access. A common option is using [SSH keys](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh), the remaining instructions assume an SSH key setup. An alternative is using the [GitHub CLI tool](https://cli.github.com/).
82
+
83
+ 3. (once) Ensure your [git remotes](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) are setup to use SSH. To fetch the up-to-date state of the official repo, it's useful to have an "upstream" remote configured:
84
+ ```bash
85
+ git remote set-url origin git@github.com:<your-username>/EvaP.git
86
+ git remote add upstream git@github.com:e-valuation/EvaP.git
87
+ ```
88
+
89
+ 4. Create a branch (`git switch -c <your-branch-name>`), commit your changes (`git add` and `git commit`), and push them (`git push`). "Push" will ask you to specify an upstream branch (`git push -u origin <your-branch-name>`).
90
+
91
+ 5. GitHub should now ask you whether you want to open a pull request ("PR"). If the PR solves an issue, use one of GitHub's [magic keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) (like "fixes") in the pull request description to create a link between your PR and the issue. If necessary, please also provide a short summary of your changes in the description.
92
+
93
+
94
+ ## License
95
+
96
+ MIT, see [LICENSE.md](LICENSE.md).
97
+
98
+
99
+ ## Supported Browsers
100
+
101
+ The platform is only tested in Mozilla Firefox and Google Chrome. Other browsers might not render all pages correctly.
@@ -0,0 +1,79 @@
1
+ # EvaP - Evaluation Platform
2
+
3
+ [![Build Status](https://github.com/e-valuation/EvaP/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/e-valuation/EvaP/actions?query=workflow%3A%22EvaP+Test+Suite%22)
4
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2cf538781fdc4680a7103bcf96417a9a)](https://app.codacy.com/gh/e-valuation/EvaP/dashboard)
5
+ [![codecov](https://codecov.io/gh/e-valuation/EvaP/branch/main/graph/badge.svg)](https://codecov.io/gh/e-valuation/EvaP)
6
+
7
+
8
+ ## What is EvaP?
9
+
10
+ EvaP is the course evaluation system used internally at Hasso Plattner Institute at the University of Potsdam.
11
+
12
+ For the documentation, please see our [wiki](https://github.com/e-valuation/EvaP/wiki).
13
+
14
+ ## Development Setup
15
+
16
+ We use [nix](https://nixos.org/) to manage the development environment.
17
+
18
+ 1. Windows only: Install the Windows Subsystem for Linux (WSL) using `wsl --install -d Ubuntu-24.04` (you may have to restart your computer and run this command again). Enter the WSL environment using the `wsl` command. On your first entry, you need to choose a username and password - anything works (for example: username "evap", password "evap"). Perform the next step outside of `/mnt`, for example by going to your home directory (`cd ~`).
19
+ 2. Install [git](https://git-scm.com/downloads). Run the following commands to clone and enter the EvaP repository:
20
+ ```
21
+ git clone --recurse-submodules https://github.com/e-valuation/EvaP.git
22
+ cd EvaP
23
+ ```
24
+ 3. On Linux and WSL, install nix by running `./nix/setup-nix`. On MacOS, install nix using the [Determinate Nix Installer](https://install.determinate.systems/). Afterwards, if you get a permission error when running nix, restart your computer.
25
+ 4. Start the needed background services for EvaP:
26
+ ```
27
+ nix run .#services-full
28
+ ```
29
+ 5. Open a new terminal. Enter the development shell and start EvaP:
30
+ ```
31
+ cd EvaP
32
+ nix develop
33
+ ./manage.py run
34
+ ```
35
+ 6. Open your web browser at http://localhost:8000/ and login with email `evap@institution.example.com` and password `evap`.
36
+
37
+ To stop EvaP or the background services, press `Ctrl-C`.
38
+ To exit the development shell, press `Ctrl-D` or type `exit`.
39
+
40
+ Inside the development shell, after quitting the background services, you can run the command `clean-setup` to remove persistent state (database, node modules, localsettings).
41
+ Afterwards, `nix run .#services-full` will recreate a default development environment on startup.
42
+
43
+ ## Contributing
44
+
45
+ We'd love to see contributions! PRs solving existing issues are most helpful to us. It's best if you ask to be assigned for the issue so we won't have multiple people working on the same issue. Feel free to open issues for bugs, setup problems, or feature requests. If you have other questions, feel free to contact the [organization members](https://github.com/orgs/e-valuation/people). You should probably branch off `main`, the branch `release` is used for stable revisions.
46
+
47
+ Before committing, run the following commands:
48
+ - `./manage.py test` (runs the test suite)
49
+ - `./manage.py lint` (runs linting)
50
+ - `./manage.py format` (applies automatic code formatting)
51
+
52
+ or, to combine all three, simply run `./manage.py precommit`.
53
+
54
+ You can also set up `pylint`, `isort`, `black` and `prettier` in your IDE to avoid doing this manually all the time.
55
+
56
+ ### Creating a Pull Request (Workflow Suggestion)
57
+ 1. (once) [Fork](https://github.com/e-valuation/EvaP/fork) the repository so you have a GitHub repo that you have write access to.
58
+
59
+ 2. (once) Set up some authentication for GitHub that allows push access. A common option is using [SSH keys](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh), the remaining instructions assume an SSH key setup. An alternative is using the [GitHub CLI tool](https://cli.github.com/).
60
+
61
+ 3. (once) Ensure your [git remotes](https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes) are setup to use SSH. To fetch the up-to-date state of the official repo, it's useful to have an "upstream" remote configured:
62
+ ```bash
63
+ git remote set-url origin git@github.com:<your-username>/EvaP.git
64
+ git remote add upstream git@github.com:e-valuation/EvaP.git
65
+ ```
66
+
67
+ 4. Create a branch (`git switch -c <your-branch-name>`), commit your changes (`git add` and `git commit`), and push them (`git push`). "Push" will ask you to specify an upstream branch (`git push -u origin <your-branch-name>`).
68
+
69
+ 5. GitHub should now ask you whether you want to open a pull request ("PR"). If the PR solves an issue, use one of GitHub's [magic keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) (like "fixes") in the pull request description to create a link between your PR and the issue. If necessary, please also provide a short summary of your changes in the description.
70
+
71
+
72
+ ## License
73
+
74
+ MIT, see [LICENSE.md](LICENSE.md).
75
+
76
+
77
+ ## Supported Browsers
78
+
79
+ The platform is only tested in Mozilla Firefox and Google Chrome. Other browsers might not render all pages correctly.
@@ -0,0 +1,8 @@
1
+ # Security Policy
2
+
3
+ Please do not open GitHub issues for anything you think might have a security implication.
4
+
5
+ Security issues and bugs should be reported privately by emailing any of the [organization members](https://github.com/orgs/e-valuation/people).
6
+
7
+ We will try to acknowledge your messages within 48 hours.
8
+ If for some reason you do not receive an acknowledgement, please follow up to ensure we received your original message.
File without changes