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
Rodrigo Primo
26bdf7e20c
Fix PHPStan errors in the data factories classes
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Rodrigo Primo
a9a3c53245
Fix PHPStan errors in the acceptance tests
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Rodrigo Primo
678911a8bc
Fix PHPStan baseline errors in a few integration test files
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Rodrigo Primo
2bcd1ace70
Fix PHPStan errors in tests/integration/Segments/DynamicSegments/
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Rodrigo Primo
6374ce9ad3
Remove unused parameter from getSubscribersCount() to fix a PHPStan error
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Rodrigo Primo
775ab32037
Fix PHPStan baseline errors in a few test files
...
[MAILPOET-4037]
2023-02-23 14:13:17 +01:00
Veljko
e942133ac6
Update test functions and remove eslint disable no shadow
...
[MAILPOET-4955]
2023-02-23 13:16:17 +01:00
Veljko
5ef9608366
Update tests and config
...
[MAILPOET-4955]
2023-02-23 13:16:17 +01:00
Veljko
ede0a1e4cd
Change admin password back
...
[MAILPOET-4955]
2023-02-23 13:16:17 +01:00
Veljko
bc699ea642
Add subscribers filtering by status test
...
[MAILPOET-4955]
2023-02-23 13:16:17 +01:00
Veljko
27045209bc
Update config, scenarios, readme and the test
...
[MAILPOET-4955]
2023-02-23 13:16:17 +01:00
Rostislav Wolny
ee007e9392
Refactor fetching subscribers stats data
...
In the original approach we completely ignored subscribers who subscribed and unsubscribed
within the last 30 days.
Based on the feedback from QA this was quite confusing.
This commit changes the logic and instead of looking at current status we fetch the counts
based on logs (the lastSubscribedAt column and statistics_unsubscribes table) and we ignore the current status.
On the list level we don't have any logs so we still need to check the current status on the list level,
but newly we ignore the global status.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
b1ec1b9500
Add helper method for updating updatedAt of an entity in integration tests
...
We can't simply set updatedAt via setter on the entity. The value gets overwritten
in the TimeStampListener. This commit adds a simple method that saves updatedAt via
dbal connection and refreshes the entity.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
a7c8a8c638
Add links for empty states of subscribers stats to allow open in new tab
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
9e157da66d
Improve list level unsubscribe stats
...
We want to show admin how many subscribers subscribed to a list and how many
unsubscribed within last 30 days so that they see the change.
If someone subscribed and also unsubscribed within those 30 days we skip him.
We don't have data to detect they were really subscribed at some point.
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
e3897fa04e
Improve global unsubscribes stats on homepage
...
Before this fix if a subscriber subscribed multiple times
we counted them a multiple global unsubscribes
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
f1ac576a7a
Refactor homepage code - prefer expression over ternary operator
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
ec74290b3e
Add missing key property for the list of lists
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
bcb3bacf89
Add description of what subscriber stats values represent
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
566882ad44
Add acceptance test for subscribers stats section on the homepage
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
c7238441e2
Add styles for small screens for subscriber stats
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
aa4d58fb58
Add styles for subscribers stats section
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
719e0095a7
Add global subscribers stats change info to UI
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
04307ca2a6
Compute change of global subscribed subscribers
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
6e99d5ec9d
Add empty states for homepage subscribers stats section
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
076f79358e
Add engagement score to the homepage subscribers stats
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
50a377b749
Render list change info in subscribers stats section on homepage
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
1727163640
Add fetching of list level subscriber changes to homepage data service
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
f6d58dab8f
Display global subscriber stats in the homepage UI
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
ab35f5c8c1
Add fetching of global subscribers stats to Homepage data controller
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00