A Listmonk newsletter integration for Plone.
Project description
collective.listmonk
Listmonk newsletter integration for Plone
Features
collective.listmonk
adds the ability to send email newsletters from a Plone site.
Content Types
name | context |
---|---|
Newsletter |
Represents a Listmonk mailing list |
Installation
Add collective.listmonk
as a dependency in your package's setup.py
install_requires = [
"collective.listmonk",
"Plone",
"plone.restapi",
"setuptools",
],
Also, add collective.listmonk
to your package's configure.zcml
(or dependencies.zcml
):
<include package="collective.listmonk" />
Generic Setup
To automatically enable this package when your add-on is installed, add the following line inside the package's profiles/default/metadata.xml
dependencies
element:
<dependency>profile-collective.listmonk:default</dependency>
Source Code and Contributions
We welcome contributions to collective.listmonk
.
You can create an issue in the issue tracker, or contact a maintainer.
Development requirements
- Python 3.11 or later
- Docker
Setup
Install all development dependencies -- including Plone -- and create a new instance using:
make install
Start Listmonk
make start-listmonk
This runs Listmonk at http://localhost:9000 and Mailhog at http://localhost:8025
Start Plone
make start
Update translations
make i18n
Format codebase
make format
Run tests
Testing of this package is done with pytest
and tox
.
Run all tests with:
make test
Run all tests but stop on the first error and open a pdb
session:
./bin/tox -e test -- -x --pdb
Run only tests that match TestVocabAuthors
:
./bin/tox -e test -- -k TestVocabAuthors
Run only tests that match TestVocabAuthors
, but stop on the first error and open a pdb
session:
./bin/tox -e test -- -k TestVocabAuthors -x --pdb
Credits
The development of this add-on has been kindly sponsored by German Aerospace Center (DLR).
Developed by kitconcept
License
The project is licensed under GPLv2.
Contributors
- David Glick [@davisagli]
- Érico Andrei [@ericof]
Changelog
1.0.0a2 (2024-04-07)
Bug fixes:
- Avoid runtime dependency on plone.app.robotframework. @davisagli #10
1.0.0a1 (2024-04-07)
No significant changes.
1.0a1 (unreleased)
- Initial development. @davisagli
Project details
Release history Release notifications | RSS feed
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 collective.listmonk-1.0.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fd4df06a954b470f56b9ea546a6ef6231ed277b1c6c7481e512368cd78b3b64 |
|
MD5 | 7e297c6c500062257b777fbbac29df3e |
|
BLAKE2b-256 | 80541fe31eaa1413e2aaf250bbb005125c285a58de11c79afb7d21521342d8d0 |
Hashes for collective.listmonk-1.0.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0a6a9ccf28b62e53fc5eafc186986ce6d6b16559e49307d4356e6477411125 |
|
MD5 | fee4de91b888aff6a704ce9337d2a6e7 |
|
BLAKE2b-256 | 792624d5d55c57a84fb2519cb0f6df97ae69c98c87952c7a10e6ff7ec0549d12 |