Pretix roomsharing allows attendees to setup with which people they'd like to share a room
Find a file
Christiaan de Die le Clercq 45807f61c4
Merge pull request #6 from Techwolf12/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2025-04-19 00:03:54 +02:00
.github/workflows Merge pull request #6 from Techwolf12/renovate/actions-checkout-4.x 2025-04-19 00:03:54 +02:00
pretix_roomsharing Only show Rooms page to people with edit permissions, fixes #10 2025-04-18 23:19:16 +02:00
tests Init new plugin repo 2022-08-24 23:22:45 +02:00
.gitignore Room password is now hidden on create, fixes #11 2025-04-18 23:05:30 +02:00
.gitlab-ci.yml Init new plugin repo 2022-08-24 23:22:45 +02:00
.install-hooks.sh Init new plugin repo 2022-08-24 23:22:45 +02:00
.update-locales.sh Init new plugin repo 2022-08-24 23:22:45 +02:00
LICENSE Init new plugin repo 2022-08-24 23:22:45 +02:00
Makefile Init new plugin repo 2022-08-24 23:22:45 +02:00
MANIFEST.in Init new plugin repo 2022-08-24 23:22:45 +02:00
pretixplugin.toml Don't show room type change button if no room type ticket 2023-11-13 20:51:01 +01:00
pyproject.toml Modern standards upgrade 2023-11-12 13:35:29 +01:00
README.rst Modern standards upgrade 2023-11-12 13:35:29 +01:00
renovate.json Add renovate.json 2024-04-19 12:10:07 +00:00
setup.cfg Don't show room type change button if no room type ticket 2023-11-13 20:51:01 +01:00
setup.py Reformat using black 2023-11-12 21:48:08 +01:00

Roomsharing
==========================

This is a plugin for `pretix`_. 

Pretix roomsharing allows attendees to setup with which people they'd like to share a room

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 ``pip install -e .`` 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 docformatter

To check your plugin for rule violations, run::

    docformatter --check -r .
    black --check .
    isort -c .
    flake8 .

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

    docformatter -r .
    isort .
    black .

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


License
-------


Copyright 2022 Christiaan de Die le Clercq (techwolf12)

Released under the terms of the Apache License 2.0



.. _pretix: https://github.com/pretix/pretix
.. _pretix development setup: https://docs.pretix.eu/en/latest/development/setup.html