rer.newsletterplugin.flask


Namerer.newsletterplugin.flask JSON
Version 0.2.0 PyPI version JSON
download
home_pagehttps://github.com/collective/rer.newsletterplugin.flask
SummaryAdd-on per Plone collegato a rer.newsletter per inviare le mail usando un servizio Flask
upload_time2024-05-24 14:32:33
maintainerNone
docs_urlNone
authorRedTurtle
requires_python>=3.7
licenseGPL version 2
keywords python plone
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========================
RER Newsletter plugin Flask
===========================

This is a plugin for `rer.newsletter <https://github.com/RegioneER/rer.newsletter>`_ that moves outside from Plone the task for sending emails.

It is made to work with `rer.newsletterdispatcher.flask <https://github.com/RegioneER/rer.newsletterdispatch.flask>`_ natively, but can work
with every endpoint that exposes the same route and replies in the same way.

The main problem having mail dispatcher into Plone, is that this task can take a lot of time (we have some cases with 70000 subscriptions)
and block the instance for a large amount of time slowing down the site and cause also some conflict errors.


Features
--------

This product register a new adapter for IChannelSender that overrides some basic rer.newsletter methods and send to an external
endpoint all informations to send the newsletter.

This process is asyncronous, so the channel history will be updated only when the endpoint calls the site with the status of the task.


External endpoint address
-------------------------

You can set the endpoint address into Plone's registry searching for "flask" entry or going directly here:
``http://your_plone_site/portal_registry/edit/rer.newsletterplugin.flask.interfaces.INewsletterPluginFlaskSettings.queue_endpoint``

If the addesss is not set, the newsletter will not be send.

Completed task notification
---------------------------

When the external process finish its job (succesfully or with an error), calls a plone.restapi endpoint ('@send-done') registered
for newsletter Channels to update the channel about the status of that job.

Translations
------------

This product has been translated into

- Italian


Installation
------------

Install rer.newsletterplugin.flask by adding it to your buildout::

    [buildout]

    ...

    eggs =
        rer.newsletterplugin.flask


and then running ``bin/buildout``


Contribute
----------

- Issue Tracker: https://github.com/RegioneER/rer.newsletterdispatcher.flask/issues
- Source Code: https://github.com/RegioneER/rer.newsletterdispatcher.flask


License
-------

The project is licensed under the GPLv2.

Credits
-------

Developed with the support of `Regione Emilia Romagna <http://www.regione.emilia-romagna.it/>`_;

Regione Emilia Romagna supports the `PloneGov initiative <http://www.plonegov.it/>`_.

Authors
-------

This product was developed by **RedTurtle Technology** team.

.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4
   :alt: RedTurtle Technology Site
   :target: http://www.redturtle.it/


Contributors
============

- RedTurtle, sviluppo@redturtle.it


Changelog
=========

0.2.0 (2024-05-24)
------------------

- Fix volto support.
  [cekk]

0.1.1 (2024-05-04)
------------------

- Fix python version for Plone6.
  [cekk]

0.1.0 (2020-07-21)
------------------

- Initial release.
  [cekk]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/collective/rer.newsletterplugin.flask",
    "name": "rer.newsletterplugin.flask",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "Python Plone",
    "author": "RedTurtle",
    "author_email": "sviluppo@redturtle.it",
    "download_url": "https://files.pythonhosted.org/packages/0d/f9/c6b8f0d41ca67f6773dcc17725681622066a35af6641fa98fdb625e82b3b/rer.newsletterplugin.flask-0.2.0.tar.gz",
    "platform": null,
    "description": "===========================\nRER Newsletter plugin Flask\n===========================\n\nThis is a plugin for `rer.newsletter <https://github.com/RegioneER/rer.newsletter>`_ that moves outside from Plone the task for sending emails.\n\nIt is made to work with `rer.newsletterdispatcher.flask <https://github.com/RegioneER/rer.newsletterdispatch.flask>`_ natively, but can work\nwith every endpoint that exposes the same route and replies in the same way.\n\nThe main problem having mail dispatcher into Plone, is that this task can take a lot of time (we have some cases with 70000 subscriptions)\nand block the instance for a large amount of time slowing down the site and cause also some conflict errors.\n\n\nFeatures\n--------\n\nThis product register a new adapter for IChannelSender that overrides some basic rer.newsletter methods and send to an external\nendpoint all informations to send the newsletter.\n\nThis process is asyncronous, so the channel history will be updated only when the endpoint calls the site with the status of the task.\n\n\nExternal endpoint address\n-------------------------\n\nYou can set the endpoint address into Plone's registry searching for \"flask\" entry or going directly here:\n``http://your_plone_site/portal_registry/edit/rer.newsletterplugin.flask.interfaces.INewsletterPluginFlaskSettings.queue_endpoint``\n\nIf the addesss is not set, the newsletter will not be send.\n\nCompleted task notification\n---------------------------\n\nWhen the external process finish its job (succesfully or with an error), calls a plone.restapi endpoint ('@send-done') registered\nfor newsletter Channels to update the channel about the status of that job.\n\nTranslations\n------------\n\nThis product has been translated into\n\n- Italian\n\n\nInstallation\n------------\n\nInstall rer.newsletterplugin.flask by adding it to your buildout::\n\n    [buildout]\n\n    ...\n\n    eggs =\n        rer.newsletterplugin.flask\n\n\nand then running ``bin/buildout``\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/RegioneER/rer.newsletterdispatcher.flask/issues\n- Source Code: https://github.com/RegioneER/rer.newsletterdispatcher.flask\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\n\nCredits\n-------\n\nDeveloped with the support of `Regione Emilia Romagna <http://www.regione.emilia-romagna.it/>`_;\n\nRegione Emilia Romagna supports the `PloneGov initiative <http://www.plonegov.it/>`_.\n\nAuthors\n-------\n\nThis product was developed by **RedTurtle Technology** team.\n\n.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4\n   :alt: RedTurtle Technology Site\n   :target: http://www.redturtle.it/\n\n\nContributors\n============\n\n- RedTurtle, sviluppo@redturtle.it\n\n\nChangelog\n=========\n\n0.2.0 (2024-05-24)\n------------------\n\n- Fix volto support.\n  [cekk]\n\n0.1.1 (2024-05-04)\n------------------\n\n- Fix python version for Plone6.\n  [cekk]\n\n0.1.0 (2020-07-21)\n------------------\n\n- Initial release.\n  [cekk]\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "Add-on per Plone collegato a rer.newsletter per inviare le mail usando un servizio Flask",
    "version": "0.2.0",
    "project_urls": {
        "Homepage": "https://github.com/collective/rer.newsletterplugin.flask",
        "PyPI": "https://pypi.python.org/pypi/rer.newsletterplugin.flask",
        "Source": "https://github.com/collective/rer.newsletterplugin.flask",
        "Tracker": "https://github.com/collective/rer.newsletterplugin.flask/issues"
    },
    "split_keywords": [
        "python",
        "plone"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7f41a96354affce8243eea4d9084d7d4b592eb98b9d152095fae88b22dfb0f4",
                "md5": "ac3fbc4033413b9901231187ae3103f8",
                "sha256": "c832e8d857f684db97774c5a94c6b37eb657eb02e6400160e93ebbd3e3111541"
            },
            "downloads": -1,
            "filename": "rer.newsletterplugin.flask-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac3fbc4033413b9901231187ae3103f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 36938,
            "upload_time": "2024-05-24T14:32:30",
            "upload_time_iso_8601": "2024-05-24T14:32:30.844493Z",
            "url": "https://files.pythonhosted.org/packages/e7/f4/1a96354affce8243eea4d9084d7d4b592eb98b9d152095fae88b22dfb0f4/rer.newsletterplugin.flask-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0df9c6b8f0d41ca67f6773dcc17725681622066a35af6641fa98fdb625e82b3b",
                "md5": "09ea48f5a641fd729b491cf30c825247",
                "sha256": "0b0b342cfe75b1da6996833038cbf515f41ff4565ef846bc1213338bda2672c3"
            },
            "downloads": -1,
            "filename": "rer.newsletterplugin.flask-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "09ea48f5a641fd729b491cf30c825247",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 66468,
            "upload_time": "2024-05-24T14:32:33",
            "upload_time_iso_8601": "2024-05-24T14:32:33.610160Z",
            "url": "https://files.pythonhosted.org/packages/0d/f9/c6b8f0d41ca67f6773dcc17725681622066a35af6641fa98fdb625e82b3b/rer.newsletterplugin.flask-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-24 14:32:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "collective",
    "github_project": "rer.newsletterplugin.flask",
    "github_not_found": true,
    "lcname": "rer.newsletterplugin.flask"
}
        
Elapsed time: 0.45346s