Skip to content
Snippets Groups Projects
Commit e8d18d56 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Update README, more consistent docs

parent 9ddfcbe5
No related branches found
No related tags found
No related merge requests found
Pipeline #65046 passed
......@@ -2,8 +2,23 @@
This is a plugin for [pretix](https://github.com/pretix/pretix).
Ask participants for their Matrix ID and invite them to a Matrix Room or
Space.
Invite Pretix participants to a Matrix Room or Space.
## Installation
Activate the virtual environment for your Pretix installation and run
pip install pretix-matrix-inviter
## Configuration
Each event can enable this plugin in Settings > Plugins > Features.
Once the plugin is enabled you can configure it in Settings > Matrix inviter.
You will need an access token of a user that can invite new users to your
Matrix room or space, the address of the server said inviting user is on, and
the ID or an alias of the Matrix room or space your participants should be
invited to.
## Development setup
......
......@@ -16,7 +16,7 @@ class PluginApp(PluginConfig):
name = gettext_lazy("Matrix inviter")
author = "Felix Schäfer"
description = gettext_lazy(
"Ask participants for their Matrix ID and invite them to a Matrix Room or Space."
"Invite Pretix participants to a Matrix Room or Space."
)
visible = True
version = __version__
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-10 22:58+0100\n"
"POT-Creation-Date: 2022-02-11 12:44+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Felix Schäfer\n"
"Language-Team: \n"
......@@ -15,15 +15,11 @@ msgstr ""
#: pretix_matrix_inviter/__init__.py:16 pretix_matrix_inviter/signals.py:94
#: pretix_matrix_inviter/templates/pretix_matrix_inviter/settings.html:6
msgid "Matrix inviter"
msgstr ""
msgstr "Matrix-Inviter"
#: pretix_matrix_inviter/__init__.py:19
msgid ""
"Ask participants for their Matrix ID and invite them to a Matrix Room or "
"Space."
msgstr ""
"Matrix-ID abfragen und Teilnehmende zu einem Matrix-Raum oder -Space "
"einladen."
msgid "Invite Pretix participants to a Matrix Room or Space."
msgstr "Teilnehmende zu einem Matrix-Raum oder -Space einladen."
#: pretix_matrix_inviter/forms.py:17
msgid "Ask Matrix ID for"
......@@ -85,17 +81,17 @@ msgstr "Dieser Text wird der Einladung zum Matrix-Raum zugefügt."
msgid "Matrix room"
msgstr "Matrix-Raum"
#: pretix_matrix_inviter/forms.py:67
#: pretix_matrix_inviter/forms.py:69
#, python-brace-format
msgid "\"{name}\" (main address: <code>{canonical_alias}</code>)"
msgstr "„{name}“ (primäre Adresse: <code>{canonical_alias}</code>)"
#: pretix_matrix_inviter/forms.py:70
#: pretix_matrix_inviter/forms.py:72
#, python-brace-format
msgid "\"{name}\""
msgstr "„{name}“"
#: pretix_matrix_inviter/forms.py:74
#: pretix_matrix_inviter/forms.py:76
#, python-brace-format
msgid ""
"\"{name}\" (<code>{room_id}</code>, main address: <code>{canonical_alias}</"
......@@ -104,7 +100,7 @@ msgstr ""
"„{name}“ (<code>{room_id}</code>, primäre Adresse: <code>{canonical_alias}</"
"code>)"
#: pretix_matrix_inviter/forms.py:77
#: pretix_matrix_inviter/forms.py:79
#, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr "„{name}“ (<code>{room_id}</code>)"
......
......@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-10 22:58+0100\n"
"POT-Creation-Date: 2022-02-11 12:44+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Felix Schäfer\n"
"Language-Team: \n"
......@@ -18,9 +18,7 @@ msgid "Matrix inviter"
msgstr ""
#: pretix_matrix_inviter/__init__.py:19
msgid ""
"Ask participants for their Matrix ID and invite them to a Matrix Room or "
"Space."
msgid "Invite Pretix participants to a Matrix Room or Space."
msgstr ""
#: pretix_matrix_inviter/forms.py:17
......@@ -74,24 +72,24 @@ msgstr ""
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/forms.py:67
#: pretix_matrix_inviter/forms.py:69
#, python-brace-format
msgid "\"{name}\" (main address: <code>{canonical_alias}</code>)"
msgstr ""
#: pretix_matrix_inviter/forms.py:70
#: pretix_matrix_inviter/forms.py:72
#, python-brace-format
msgid "\"{name}\""
msgstr ""
#: pretix_matrix_inviter/forms.py:74
#: pretix_matrix_inviter/forms.py:76
#, python-brace-format
msgid ""
"\"{name}\" (<code>{room_id}</code>, main address: <code>{canonical_alias}</"
"code>)"
msgstr ""
#: pretix_matrix_inviter/forms.py:77
#: pretix_matrix_inviter/forms.py:79
#, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-10 22:58+0100\n"
"POT-Creation-Date: 2022-02-11 12:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -23,9 +23,7 @@ msgid "Matrix inviter"
msgstr ""
#: pretix_matrix_inviter/__init__.py:19
msgid ""
"Ask participants for their Matrix ID and invite them to a Matrix Room or "
"Space."
msgid "Invite Pretix participants to a Matrix Room or Space."
msgstr ""
#: pretix_matrix_inviter/forms.py:17
......@@ -79,24 +77,24 @@ msgstr ""
msgid "Matrix room"
msgstr ""
#: pretix_matrix_inviter/forms.py:67
#: pretix_matrix_inviter/forms.py:69
#, python-brace-format
msgid "\"{name}\" (main address: <code>{canonical_alias}</code>)"
msgstr ""
#: pretix_matrix_inviter/forms.py:70
#: pretix_matrix_inviter/forms.py:72
#, python-brace-format
msgid "\"{name}\""
msgstr ""
#: pretix_matrix_inviter/forms.py:74
#: pretix_matrix_inviter/forms.py:76
#, python-brace-format
msgid ""
"\"{name}\" (<code>{room_id}</code>, main address: <code>{canonical_alias}</"
"code>)"
msgstr ""
#: pretix_matrix_inviter/forms.py:77
#: pretix_matrix_inviter/forms.py:79
#, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr ""
......
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-10 22:58+0100\n"
"PO-Revision-Date: 2022-02-11 01:07+0100\n"
"POT-Creation-Date: 2022-02-11 12:44+0100\n"
"PO-Revision-Date: 2022-02-11 12:44+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
......@@ -24,9 +24,7 @@ msgid "Matrix inviter"
msgstr "Inviteur Matrix"
#: pretix_matrix_inviter/__init__.py:19
msgid ""
"Ask participants for their Matrix ID and invite them to a Matrix Room or "
"Space."
msgid "Invite Pretix participants to a Matrix Room or Space."
msgstr "Invitez vos participant·es à un salon ou espace Matrix."
#: pretix_matrix_inviter/forms.py:17
......@@ -88,17 +86,17 @@ msgstr "Ce message sera joint à l’invitation au salon Matrix."
msgid "Matrix room"
msgstr "Salon Matrix"
#: pretix_matrix_inviter/forms.py:67
#: pretix_matrix_inviter/forms.py:69
#, python-brace-format
msgid "\"{name}\" (main address: <code>{canonical_alias}</code>)"
msgstr "« {name} » (adresse principale : <code>{canonical_alias}</code>)"
#: pretix_matrix_inviter/forms.py:70
#: pretix_matrix_inviter/forms.py:72
#, python-brace-format
msgid "\"{name}\""
msgstr "« {name} »"
#: pretix_matrix_inviter/forms.py:74
#: pretix_matrix_inviter/forms.py:76
#, python-brace-format
msgid ""
"\"{name}\" (<code>{room_id}</code>, main address: <code>{canonical_alias}</"
......@@ -107,7 +105,7 @@ msgstr ""
"« {name} » (<code>{room_id}</code>, adresse principale : "
"<code>{canonical_alias}</code>)"
#: pretix_matrix_inviter/forms.py:77
#: pretix_matrix_inviter/forms.py:79
#, python-brace-format
msgid "\"{name}\" (<code>{room_id}</code>)"
msgstr "« {name} » (<code>{room_id}</code>)"
......
......@@ -28,13 +28,25 @@ cmdclass = {"build": CustomBuild}
setup(
name="pretix-matrix-inviter",
version=__version__,
description="Ask participants for their Matrix ID and invite them to a Matrix Room or Space.",
description="Invite Pretix participants to a Matrix Room or Space.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.fachschaften.org/kif/pretix-matrix-inviter",
project_urls={
"Changelog": "https://gitlab.fachschaften.org/kif/pretix-matrix-inviter/-/blob/main/CHANGELOG.md",
"Tracker": "https://gitlab.fachschaften.org/kif/pretix-matrix-inviter/-/issues",
"Pretix Marketplace": "https://marketplace.pretix.eu/products/pretix-matrix-inviter/",
},
author="Felix Schäfer",
author_email="admin@kif.rocks",
license="MIT License",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Pretix",
"Framework :: Django",
"License :: OSI Approved :: MIT License",
"Topic :: Communications :: Chat",
],
install_requires=["requests"],
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment