跳转到主要内容

Plone的Listmonk新闻简报集成。

项目描述

kitconcept GmbH

collective.listmonk

Listmonk新闻简报集成对于Plone

PyPI PyPI - Python Version PyPI - Wheel PyPI - License PyPI - Status

PyPI - Plone Versions

Meta Code Style

GitHub contributors GitHub Repo stars

功能

collective.listmonk 为从 Plone 网站发送电子邮件新闻简报添加了功能。

内容类型

名称 上下文
新闻简报 表示Listmonk邮件列表

安装

collective.listmonk 作为依赖项添加到您的包的 setup.py

    install_requires = [
        "collective.listmonk",
        "Plone",
        "plone.restapi",
        "setuptools",
    ],

此外,将 collective.listmonk 添加到您的包的 configure.zcml (或 dependencies.zcml)

<include package="collective.listmonk" />

通用设置

要自动在您的插件安装时启用此包,请将以下行添加到包的 profiles/default/metadata.xml 中的 dependencies 元素内部

    <dependency>profile-collective.listmonk:default</dependency>

源代码和贡献

我们欢迎对 collective.listmonk 的贡献。

您可以在问题跟踪器中创建问题,或联系维护者。

开发需求

  • Python 3.11或更高版本
  • Docker

设置

安装所有开发依赖项(包括Plone)并使用以下命令创建新实例

make install

启动Listmonk

make start-listmonk

https://127.0.0.1:9000运行Listmonk,在https://127.0.0.1:8025运行Mailhog

启动Plone

make start

更新翻译

make i18n

格式化代码库

make format

运行测试

此包的测试使用pytesttox进行。

运行所有测试

make test

运行所有测试,但遇到第一个错误时停止,并打开一个pdb会话

./bin/tox -e test -- -x --pdb

只运行匹配TestVocabAuthors的测试

./bin/tox -e test -- -k TestVocabAuthors

只运行匹配TestVocabAuthors的测试,但遇到第一个错误时停止,并打开一个pdb会话

./bin/tox -e test -- -k TestVocabAuthors -x --pdb

致谢

此附加组件的开发得到了德国航空航天中心(DLR)的慷慨赞助。

German Aerospace Center (DLR)

kitconcept开发

许可证

该项目受GPLv2许可。

贡献者

  • David Glick [@davisagli]
  • Érico Andrei [@ericof]

变更日志

1.0.0a7 (2024-04-24)

错误修复

  • 如果订阅者退订但仍然有另一个列表的未确认订阅,不要删除订阅者。@davisagli #16
  • 修复退订链接的翻译。@davisagli #17

1.0.0a6 (2024-04-22)

新功能

  • 退订链接现在包含订阅者UUID,因此不可能退订不同的订阅者。此外,如果用户退订了所有列表,则会删除listmonk订阅者,以避免保留私人数据。@davisagli #14
  • 添加选项来自定义时事通讯的确认电子邮件。@davisagli #15

1.0.0a5 (2024-04-15)

错误修复

  • 将@mailings GET服务在任何用户有发送时事通讯权限的内容上可用。@davisagli #13

1.0.0a4 (2024-04-09)

新功能

  • 发送新订阅的电子邮件确认。@davisagli #12

1.0.0a3 (2024-04-07)

错误修复

  • 不要自动添加邮件头和页脚,以便编辑器有控制权。@davisagli #11

1.0.0a2 (2024-04-07)

错误修复

  • 避免对plone.app.robotframework的运行时依赖。@davisagli #10

1.0.0a1 (2024-04-07)

没有重大变更。

1.0a1 (未发布)

  • 初始开发。@davisagli

支持者