Skip to main content

Address book for Modoboa

Project description

gha codecov

Installation

Install this extension system-wide or inside a virtual environment by running the following command:

$ pip install modoboa-contacts

Edit the settings.py file of your modoboa instance and apply the following modifications:

  • add modoboa_contacts inside the MODOBOA_APPS variable like this:

    MODOBOA_APPS = (
        'modoboa',
        'modoboa.core',
        'modoboa.lib',
        'modoboa.admin',
        'modoboa.relaydomains',
        'modoboa.limits',
        'modoboa.parameters',
        # Extensions here
        # ...
        'modoboa_contacts',
    )
  • Add the following at the end of the file:

    from modoboa_contacts import settings as modoboa_contacts_settings
    modoboa_contacts_settings.apply(globals())

Finally, run the following commands to setup the database tables:

$ cd <modoboa_instance_dir>
$ python manage.py migrate
$ python manage.py collectstatic
$ python manage.py load_initial_data

For developers

The frontend part of this plugin is developed with VueJS 2 and requires nodejs and webpack.

Once nodejs is installed on your system, run the following commands:

$ cd frontend
$ npm install
$ npm run serve

To update dist files (the ones that will be distributed with the plugin), run:

$ npm run build

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

modoboa_contacts-1.1.3.tar.gz (981.0 kB view details)

Uploaded Source

Built Distribution

modoboa_contacts-1.1.3-py2.py3-none-any.whl (796.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file modoboa_contacts-1.1.3.tar.gz.

File metadata

  • Download URL: modoboa_contacts-1.1.3.tar.gz
  • Upload date:
  • Size: 981.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for modoboa_contacts-1.1.3.tar.gz
Algorithm Hash digest
SHA256 968f62b2bd9cee301a58e5be4d132a43205375b1e6aeeb73c25b924a9d08b18f
MD5 d971a3af33f963f87c3b25cf4e6ae753
BLAKE2b-256 5172a2ac6c639802d91de0f6b6703a78565094b6351548d5710d37751cba5868

See more details on using hashes here.

Provenance

The following attestation bundles were made for modoboa_contacts-1.1.3.tar.gz:

Publisher: plugin.yml on modoboa/modoboa-contacts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file modoboa_contacts-1.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for modoboa_contacts-1.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27ab64731f812a4dd0810fcdae03664aba82bace04804dc3d27b24b27386de81
MD5 8f78f877183d9cbed9d128ffc9de29df
BLAKE2b-256 cfadbb4d276bbd270b625a61d798125c8d304084cb0a2d0cb020a4e786faf2f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for modoboa_contacts-1.1.3-py2.py3-none-any.whl:

Publisher: plugin.yml on modoboa/modoboa-contacts

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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