Skip to main content

"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

  1. Set a shell variable to the version you are releasing (this just makes subsequent steps easier):

    version=X.Y.Z
    
  2. Update setup.cfg so that the version is correct.

  3. Stage the changed files and commit.

    git add -u
    git commit -m v$version -n
    
  4. Push your changes.

    git push
    
  5. When ready, create a signed tag for the release:

    git tag -s v$version
    

    Base the tag message on the changelog.

  6. Push the tag.

    git push origin tag v$version
    
  7. 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

synapse_auto_accept_invite-1.0.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file synapse_auto_accept_invite-1.0.1.tar.gz.

File metadata

  • Download URL: synapse_auto_accept_invite-1.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for synapse_auto_accept_invite-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ea5bf2628aca3b680ec8af094875726c8a415edf2a6556761a14d90edfc1ec6d
MD5 fc34ce39349df3789f372e6a5d40e468
BLAKE2b-256 c269a857a8b872fb58fc01f885e2c3cc99bd6a393ad3e394e617d4d3313f1b25

See more details on using hashes here.

File details

Details for the file synapse_auto_accept_invite-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: synapse_auto_accept_invite-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for synapse_auto_accept_invite-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acfb4f11803375e2444596f08dc578cf6ecb8acf372c742428e61e1f80d75bb6
MD5 950a320513073305e9ed231d17d11c5b
BLAKE2b-256 ec1b82f417292f82d75fd414357cbfd31cb52466a474e077f6cbce6b71e816e3

See more details on using hashes here.

Supported by

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