Merge branch '3.1.x'

This commit is contained in:
Adrian Moennich 2022-04-26 12:17:34 +02:00
commit 4562667180
3 changed files with 7 additions and 2 deletions

View File

@ -11,6 +11,10 @@
## Changelog
### 3.1.3
- Fix error with user identifiers (in "authenticators" lookup mode) containing a forward slash
### 3.1.2
- Do not include Zoom link in event descriptions returned by the HTTP API (iCalendar files for

View File

@ -60,7 +60,8 @@ def _iter_user_identifiers(user):
done = set()
for provider in ZoomPlugin.settings.get('authenticators'):
for __, identifier in user.iter_identifiers(check_providers=True, providers={provider}):
if identifier in done:
# skip garbage that breaks API calls; a valid identifier will never contain a slash..
if identifier in done or '/' in identifier:
continue
done.add(identifier)
yield identifier

View File

@ -1,6 +1,6 @@
[metadata]
name = indico-plugin-vc-zoom
version = 3.1.2
version = 3.1.3
description = Zoom video-conferencing plugin for Indico
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM