diff --git a/intervention/forms/modalForms.py b/intervention/forms/modalForms.py index 36667f89..7adc6864 100644 --- a/intervention/forms/modalForms.py +++ b/intervention/forms/modalForms.py @@ -36,7 +36,7 @@ class ShareModalForm(BaseModalForm): user_select = forms.ModelMultipleChoiceField( label=_("Add user to share with"), label_suffix="", - help_text=_("Multiple selection possible - You can only select users which do not already have access"), + help_text=_("Multiple selection possible - You can only select users which do not already have access. Enter the full username."), required=False, queryset=User.objects.all(), widget=autocomplete.ModelSelect2Multiple( diff --git a/konova/autocompletes.py b/konova/autocompletes.py index f0fb0fe0..58844f3e 100644 --- a/konova/autocompletes.py +++ b/konova/autocompletes.py @@ -79,7 +79,7 @@ class ShareUserAutocomplete(Select2QuerySetView): ) if self.q: qs = qs.filter( - username__istartswith=self.q + username=self.q ) return qs diff --git a/konova/settings.py b/konova/settings.py index 1355fbae..b6306e45 100644 --- a/konova/settings.py +++ b/konova/settings.py @@ -51,8 +51,8 @@ PAGE_DEFAULT = 1 # SSO settings SSO_SERVER_BASE = "http://127.0.0.1:8000/" SSO_SERVER = f"{SSO_SERVER_BASE}sso/" -SSO_PRIVATE_KEY = "CHANGE_ME" -SSO_PUBLIC_KEY = "CHANGE_ME" +SSO_PRIVATE_KEY = "U7OjCbElNDchUvh9WVzfOfC4juJQC9HGZI9tSdjmeFe0MDTw7BCNBv4MigJ79dlJ" +SSO_PUBLIC_KEY = "PnxIZFewXVoL0FG2wMr3DCGgLCHOwR6JE9GYJCZHazVjlDgOZFl3qiB4dWsAZRF5" # MAPS DEFAULT_LAT = 50.00 diff --git a/locale/de/LC_MESSAGES/django.mo b/locale/de/LC_MESSAGES/django.mo index bea21be2..94f1f426 100644 Binary files a/locale/de/LC_MESSAGES/django.mo and b/locale/de/LC_MESSAGES/django.mo differ diff --git a/locale/de/LC_MESSAGES/django.po b/locale/de/LC_MESSAGES/django.po index b194437a..fdf4fc98 100644 --- a/locale/de/LC_MESSAGES/django.po +++ b/locale/de/LC_MESSAGES/django.po @@ -1289,10 +1289,10 @@ msgstr "Nutzer direkt hinzufügen" #: intervention/forms/modalForms.py:39 msgid "" "Multiple selection possible - You can only select users which do not already " -"have access" +"have access. Enter the full username." msgstr "" "Mehrfachauswahl möglich - Sie können nur Nutzer wählen, für die der Eintrag " -"noch nicht freigegeben wurde" +"noch nicht freigegeben wurde. Geben Sie den ganzen Nutzernamen an." #: intervention/forms/modalForms.py:55 msgid "Remove check to remove access for this user"