Commit Graph

18419 Commits

Author SHA1 Message Date
David Remer
c733e088c2 Add test for run once setting
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
93cfffe295 Allow sending an email multiple times
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
fcf6e738c7 Interrupt automation run creation if a run already exists and only_once setting is set
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
38e7346b6e Show setting only in combination with correct triggers
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7210fad0e1 Add subject_keys to Step definition
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
9e016bfc07 Add hash to Subject
The hash gives us a new column in our table, which we can
use to query a specific combination of args and key more
efficient

[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
230c9f183d Add setting to run the automation only once per subscriber
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
741d86d7ea Add action to update meta data
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
2d709b6249 Extend AutomationPutEndpoint to receive meta data
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
0d888ce8e4 Make meta data available in editor
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7b788387fe Render automation sidebar dynamically
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
48e2c5f945 Add filter to decide whether an automation run should be created
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
60541209ff Test full validation method in Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
63141bca95 Test the automation comparison method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
8cfb93a3b6 Add meta data to Automation
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
cd9bf9107f Move createAutomationRun method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7379b83a92 Move createAutomation method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
c4faa53386 Store run subjects in extra table
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Veljko
d406e7c05e Complete the test and update xk6-binary file to the latest
[MAILPOET-4956]
2023-02-28 14:47:52 +01:00
Veljko
14e2fcfef3 Add first part of the k6 test adding a subscriber
[MAILPOET-4956]
2023-02-28 14:47:52 +01:00
Jan Lysý
cf2cdde7e5 Release 4.7.1 2023-02-28 14:44:48 +01:00
Jan Lysý
518918b675 Change pending approval notice from error to warning
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
986ce4bb30 Remove duplicated class name
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
612500c612 Change the value of option name constant
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
22b0278003 Add notice when the subscription is waiting on approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
3d0c3cbed9 Change used classes for pending approval message
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
fce2c5e45e Change message for pending approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
82e917f3f5 Fix warning about missing key from Reach
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
93ae658f5c Add link to settings on congratulatory page
[MAILPOET-4640]
2023-02-27 11:00:02 +01:00
Jan Lysý
da3ec8c9a8 Fix getting max subscriber id
[MAILPOET-5084]
2023-02-27 09:37:43 +01:00
Jan Lysý
8221b03466 Add test for getting max subscriber id
[MAILPOET-5084]
2023-02-27 09:37:43 +01:00
Rostislav Wolny
997a486f4a Remove unnecessary escaping of links in upgrade page
The links are already escaped by the Twig library. The additional escaping
makes messes up the query parameters.
I tested the escaping by trying adding XSS to the href and it was properly escaped
https://account.mailpoet.com/orders/upgrade/"><script>alert("XSS")</script><
even without the explicit twig escape filter call

[MAILPOET-5081]
2023-02-26 16:35:02 +01:00
Rostislav Wolny
da05dd3384 Use partial key upgrade URL in the upgrade page
[MAILPOET-5081]
2023-02-26 16:35:02 +01:00
Rostislav Wolny
56ecef06a2 Use upgrade link on upgrade page when user has valid key
[MAILPOET-5081]
2023-02-26 16:35:02 +01:00
Rostislav Wolny
71886776ae Hide start for free section from upgrade page when user already has a plan
[MAILPOET-5081]
2023-02-26 16:35:02 +01:00
Rostislav Wolny
20b48d5a1b Remove referral id from links from the upgrade page
We no longer use the feature and we plan to remove the code.
In this commit I'm removing the code before I do further changes.
[MAILPOET-5081]
2023-02-26 16:35:02 +01:00
John Oleksowicz
8c0854ab47 Consider image src when calculating campaignIds
MAILPOET-5034
2023-02-26 15:20:48 +01:00
John Oleksowicz
49c85c05ed Move campaignId generation to more logical place
MAILPOET-5034
2023-02-26 15:20:48 +01:00
John Oleksowicz
a6824cce36 Add tests for campaignId generation
[MAILPOET-5033]
2023-02-26 15:20:48 +01:00
John Oleksowicz
1a04b05e0d Add sending queue tests
[MAILPOET-5033]
2023-02-26 15:20:48 +01:00
John Oleksowicz
fc8436ba74 Provide campaignId to sending methods via meta
[MAILPOET-5033]
2023-02-26 15:20:48 +01:00
John Oleksowicz
0435c09c53 Calculate and store campaign IDs on sending queues
[MAILPOET-5033]
2023-02-26 15:20:48 +01:00
Oluwaseun Olorunsola
64137aebb3 Update coupon fields, add new defaults
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
9578e4c11e Add Coupon block to Wine City Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
62e90c3e19 Add Coupon block to Abandoned Cart – Fitness Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
f01429fe52 Add Coupon block to Avocado Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
14046affd7 Add Coupon block to Book store Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
526e631f6e Add Coupon block to Flowers Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
3b9cbbfc61 Remove Coupon block feature flag
MAILPOET-4978
2023-02-23 16:59:15 +01:00
Rostislav Wolny
87e5ea8dfd Add filter for PHPMailer instance into SMTP mailer method
[MAILPOET-5064]
2023-02-23 16:45:39 +01:00