"Synapse module to automatically accept invites"
Project description
Auto-accept invites
Synapse module to automatically accept invites.
Compatible with Synapse v1.47.0 and later.
Installation
From the virtual environment that you use for Synapse, install this module with:
pip install synapse-auto-accept-invite
(If you run into issues, you may need to upgrade pip
first, e.g. by running
pip install --upgrade pip
)
Then alter your homeserver configuration, adding to your modules
configuration:
modules:
- module: synapse_auto_accept_invite.InviteAutoAccepter
config: {}
Development
In a virtual environment with pip ≥ 21.1, run
pip install -e .[dev]
To run the unit tests, you can either use:
tox -e py
or
trial tests
To run the linters and mypy
type checker, use ./scripts-dev/lint.sh
.
Releasing
-
Set a shell variable to the version you are releasing (this just makes subsequent steps easier):
version=X.Y.Z
-
Update
setup.cfg
so that theversion
is correct. -
Stage the changed files and commit.
git add -u git commit -m v$version -n
-
Push your changes.
git push
-
When ready, create a signed tag for the release:
git tag -s v$version
Base the tag message on the changelog.
-
Push the tag.
git push origin tag v$version
-
Create a source distribution and upload it to PyPI:
python -m build twine upload dist/synapse_auto_accept_invite-$version*
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
Built Distribution
Hashes for synapse_auto_accept_invite-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5bf2628aca3b680ec8af094875726c8a415edf2a6556761a14d90edfc1ec6d |
|
MD5 | fc34ce39349df3789f372e6a5d40e468 |
|
BLAKE2b-256 | c269a857a8b872fb58fc01f885e2c3cc99bd6a393ad3e394e617d4d3313f1b25 |
Hashes for synapse_auto_accept_invite-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acfb4f11803375e2444596f08dc578cf6ecb8acf372c742428e61e1f80d75bb6 |
|
MD5 | 950a320513073305e9ed231d17d11c5b |
|
BLAKE2b-256 | ec1b82f417292f82d75fd414357cbfd31cb52466a474e077f6cbce6b71e816e3 |