Skip to main content

Invite pretix participants to a Matrix Room or Space.

Project description

pretix Matrix inviter

This is a plugin for pretix.

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

  1. Make sure that you have a working pretix development setup.
  2. Clone this repository.
  3. Activate the virtual environment you use for pretix development.
  4. Execute python setup.py develop within this directory to register this application with pretix's plugin registry.
  5. Execute make within this directory to compile translations.
  6. Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the 'plugins' tab in the settings.

This plugin has CI set up to enforce a few code style rules. To check locally, you need these packages installed:

pip install flake8 isort black

To check your plugin for rule violations, run:

black --check .
isort -c .
flake8 .

You can auto-fix some of these issues by running:

isort .
black .

To automatically check for these issues before you commit, you can run .install-hooks.

License

Copyright 2022-2023 Felix Schäfer

Released under the terms of the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pretix_matrix_inviter-1.8.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

pretix_matrix_inviter-1.8.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file pretix_matrix_inviter-1.8.0.tar.gz.

File metadata

  • Download URL: pretix_matrix_inviter-1.8.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.9

File hashes

Hashes for pretix_matrix_inviter-1.8.0.tar.gz
Algorithm Hash digest
SHA256 a87e9b349f5391c6dd0951552073d395c9900712e5f94826edf78932f862af2a
MD5 500506bd11a7e0c6f040aaf72209d7e4
BLAKE2b-256 521a0c520c8a7a9da2d057373c03448d2dbbec59e4528c3f580f5add52841728

See more details on using hashes here.

File details

Details for the file pretix_matrix_inviter-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pretix_matrix_inviter-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7beaef08e92dee7d858dd1fb7bc4be6f1b544b1c11908f88ff33037e8edd01ed
MD5 7ff0a2c945bfb75946be3809af464083
BLAKE2b-256 36cda1afeb30f6f22f783c637e6b781cb4eb698a00e5d1326e3f98c1deeda9e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page