diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 32e4ea7b3d50bbe281624e7c490541485978caff..d009032fe7601c866668a032b1043e0dd18c2418 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,12 +18,14 @@ Added ~~~~~ * OpenID Connect RSA keys can now be passed as string in config files +* Views filtering for person names now also search the username of a linked user Fixed ~~~~~ * GroupManager.get_queryset() returned an incomplete QuerySet * OAuth was broken by a non-semver-adhering django-oauth-toolkit update +* Too long texts in chips didn't result in a larger chip. * The data check results list view didn't work if a related object had been deleted in the meanwhile. Changed @@ -36,6 +38,7 @@ Changed * Name collisions are resolved by prefixing with the app label * Apps can extend SHELL_PLUS_APP_PREFIXES and SHELL_PLUS_DONT_LOAD +* [Docker] Base image now contains curl, grep, less, sed, and pspg * Views raising a 404 error can now customise the message that is displayed on the error page * OpenID Connect is enabled by default now, without RSA support diff --git a/Dockerfile b/Dockerfile index b8893aa39b2075dc5a17d6da49b365bd3e91a9d8..acb08f98ffe79dccc32f048590bb123c2763302f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,7 @@ ENV ALEKSIS_static__root /usr/share/aleksis/static ENV ALEKSIS_media__root /var/lib/aleksis/media ENV ALEKSIS_backup__location /var/lib/aleksis/backups ENV ALEKSIS_dev__uwsgi__celery false +ENV PSQL_PAGER=pspg # Install necessary Debian and PyPI packages for build and runtime RUN apt-get -y update && \ @@ -28,11 +29,15 @@ RUN apt-get -y update && \ eatmydata apt-get install -y --no-install-recommends \ build-essential \ chromium \ + curl \ dumb-init \ gettext \ + grep \ + less \ libpq-dev \ libssl-dev \ postgresql-client-14 \ + pspg \ python3-dev \ python3-magic \ python3-pip \ diff --git a/aleksis/core/filters.py b/aleksis/core/filters.py index eb5724b322232381017aa0b84e4ab111a9304eda..288e1f899d7b930edb86fab73cf4661bfdd3ce8d 100644 --- a/aleksis/core/filters.py +++ b/aleksis/core/filters.py @@ -54,6 +54,7 @@ class PersonFilter(FilterSet): "additional_name__icontains", "last_name__icontains", "short_name__icontains", + "user__username__icontains", ], label=_("Search by name"), ) diff --git a/aleksis/core/static/public/style.scss b/aleksis/core/static/public/style.scss index bef226c7d4a8583cb2e925453c9a4a27293cd3f5..618b846dc956af8ed62db357f2867a9988b58846 100644 --- a/aleksis/core/static/public/style.scss +++ b/aleksis/core/static/public/style.scss @@ -377,6 +377,12 @@ span.badge .material-icons { margin-left: -2px; } +.chip { + padding: 8px 12px; + height: auto; + line-height: 16px; +} + /*+++++++++*/ /* Buttons */ /*+++++++++*/