Skip to content

Commit

Permalink
Merge branch 'main' into reward-point-redemption-events
Browse files Browse the repository at this point in the history
  • Loading branch information
hansegucker committed Nov 11, 2024
2 parents fa90080 + cf24a89 commit efb90e8
Show file tree
Hide file tree
Showing 60 changed files with 86,352 additions and 95,773 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ updates:
update-types: ["version-update:semver-minor"]
- dependency-name: "sass"
update-types: ["version-update:semver-minor"]
- dependency-name: "@types/sortablejs"
labels:
- "[T] Dependencies"
- package-ecosystem: "github-actions"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# EvaP - Evaluation Platform

[![Build Status](https://github.com/e-valuation/EvaP/workflows/EvaP%20Test%20Suite/badge.svg?branch=main)](https://github.com/e-valuation/EvaP/actions?query=workflow%3A%22EvaP+Test+Suite%22)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/2cf538781fdc4680a7103bcf96417a9a)](https://www.codacy.com/gh/e-valuation/EvaP/dashboard)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/2cf538781fdc4680a7103bcf96417a9a)](https://app.codacy.com/gh/e-valuation/EvaP/dashboard)
[![codecov](https://codecov.io/gh/e-valuation/EvaP/branch/main/graph/badge.svg)](https://codecov.io/gh/e-valuation/EvaP)


Expand Down
2 changes: 1 addition & 1 deletion deployment/load_production_backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fi
./manage.py reset_db "$CONDITIONAL_NOINPUT"
./manage.py migrate
./manage.py flush "$CONDITIONAL_NOINPUT"
./manage.py loaddata "$1"
./manage.py loaddata_unlogged "$1"

./manage.py clear_cache --all -v=1
./manage.py refresh_results_cache
Expand Down
2 changes: 1 addition & 1 deletion deployment/manage_autocompletion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# generated using
# ./manage.py | grep -v -E "^\[|^$" | tail -n +3 | sort | xargs
COMMANDS="admin_generator anonymize changepassword check clean_pyc clear_cache clearsessions collectstatic compile_pyc compilemessages create_command create_jobs create_template_tags createcachetable createsuperuser dbshell delete_squashed_migrations describe_form diffsettings drop_test_database dump_testdata dumpdata dumpscript export_emails find_template findstatic flush format generate_password generate_secret_key graph_models inspectdb lint list_model_info list_signals loaddata mail_debug makemessages makemigrations merge_model_instances migrate notes pipchecker precommit print_settings print_user_for_session refresh_results_cache reload_testdata remove_stale_contenttypes reset_db reset_schema run runjob runjobs runprofileserver runscript runserver runserver_plus scss send_reminders sendtestemail set_default_site set_fake_emails set_fake_passwords shell shell_plus show_template_tags show_urls showmigrations sqlcreate sqldiff sqldsn sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject sync_s3 syncdata test testserver tools translate ts typecheck unreferenced_files update_evaluation_states update_permissions validate_templates"
COMMANDS="admin_generator anonymize changepassword check clean_pyc clear_cache clearsessions collectstatic compile_pyc compilemessages create_command create_jobs create_template_tags createcachetable createsuperuser dbshell delete_squashed_migrations describe_form diffsettings drop_test_database dump_testdata dumpdata dumpscript export_emails find_template findstatic flush format generate_password generate_secret_key graph_models inspectdb lint list_model_info list_signals loaddata loaddata_unlogged mail_debug makemessages makemigrations managestate merge_model_instances migrate notes optimizemigration pipchecker precommit print_settings print_user_for_session raise_test_exception refresh_results_cache reload_testdata remove_stale_contenttypes reset_db reset_schema run runjob runjobs runprofileserver runscript runserver runserver_plus scss send_reminders sendtestemail set_default_site set_fake_emails set_fake_passwords shell shell_plus show_template_tags show_urls showmigrations sqlcreate sqldiff sqldsn sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject sync_s3 syncdata test testserver tools translate ts typecheck unreferenced_files update_evaluation_states update_permissions validate_templates"
TS_COMMANDS="compile test render_pages"

_managepy_complete()
Expand Down
3 changes: 1 addition & 2 deletions evap/contributor/tests/test_forms.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from django.forms.models import inlineformset_factory
from django.test import TestCase
from model_bakery import baker

from evap.contributor.forms import EditorContributionForm, EvaluationForm
from evap.evaluation.models import Contribution, Evaluation, Program, Questionnaire, UserProfile
from evap.evaluation.tests.tools import WebTest, get_form_data_from_instance
from evap.evaluation.tests.tools import TestCase, WebTest, get_form_data_from_instance
from evap.staff.forms import ContributionFormset


Expand Down
2 changes: 1 addition & 1 deletion evap/contributor/tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import xlrd
from django.core import mail
from django.urls import reverse
from django_webtest import WebTest
from model_bakery import baker

from evap.evaluation.models import Contribution, Course, Evaluation, Questionnaire, UserProfile
from evap.evaluation.tests.tools import (
WebTest,
WebTestWith200Check,
create_evaluation_with_responsible_and_editor,
render_pages,
Expand Down
Loading

0 comments on commit efb90e8

Please sign in to comment.