Add: Webhook endpoint for listening to events coming from BizWizard. This is replacing most
of the old newsletter endpoints and standard API endpoints except for campaigns
and campaign participants. It will take care of all POST and PUT actions that previously
went to the API.
Add: Campaigns endpoint for getting all campaigns using query objects.
Add: Campaign endpoint for getting a single campaign by its id.
Add: Participants endpoint for getting campaign participaints using query objects.
Add: Consenttypemapping endpoint for getting the consenttype to publication mapping
from the configuration.
Add: Participantfields endpoint for getting the importfields from the configuration.
Add: Verify endpoint for getting any errors from the configuration.
Add: A consenttype to BizWizard-publication mapping in the configuration.
Add: Importfields under the participant field in the configuration that control which
properties that are sent to BizWizard.
Change: Rewrite of all old logic into new services using query objects for a faster
experience. All old endpoints have been made ready to be deprecated in a future release.
Change: Changed some fields in the standard configuration. A list of requred properties can be found
under lime_newsletter/services/required_properties.yaml.
Change: Changed the validation of the configuration to give better error messages.
v1.0.3
Support read the docs
v1.0.2
Update flask to 1.x.y
v1.0.1
Version 1.0.0 tag already used for 0.1.0, upped version 1.0.0 to 1.0.1
v1.0.0
Breaking: Get campaign participants is paginated
Add: Validation that the consenttype id (if specified in the config) exists
Fix: Skip participants that aren't linked to any person
Fix: Config was not returned to admin editor after save
v0.5.1
Fix: total_optout and emailhardbounce were swapped
Fix: Config not requiring total_optout field if consent type is configured
v0.5.0
Config saving more straight forward to sys_data
Fix: mapping in config of total_optout and emailhardbounce was ignored
v0.4.2
Fix: Convert set() to list() before returning
v0.4.1
Fix: fetch_all() to avoid potential generator exhaust when fetching campaign persons
v0.4.0
Version that brings back changes on master that was replaced by the broken branch in 0.3.0
v0.3.0
Broken version that was published from an unfinished branch
v0.2.2
Internal fix: add more metadata and documentation when publishing to devpi.
v0.2.1
Fix: Require Flask < 1.0.0
v0.2.0
Add support for consent table
v0.1.2
Use limeobject filters.
v0.1.1
No longer fetch all related objects of a limetype when getting related objects.