Jan Lysý
e285349e1f
Update integration test for HomePage
...
[MAILPOET-5848]
2024-06-21 14:53:05 +02:00
alex-mpoet
d137ad1430
Fetch data necessary for new task in Homepage controller
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
Rodrigo Primo
4f90774bec
Replace expect()->int() with verify()->isInt()
...
codeception/verify 2.1 removed support for expect()->int() so we need
to replace it with verify()->isInt().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
a1f57361c5
Replace expect()->array() with verify()->isArray()
...
codeception/verify 2.1 removed support for expect()->array() so we need
to replace it with verify()->isArray().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5bc5b5ebd2
Replace expect()->notEmpty() with verify()->notEmpty()
...
codeception/verify 2.1 removed support for expect()->notEmpty() so we need
to replace it with verify()->notEmpty().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
709be1d541
Replace expect()->null() with verify()->null()
...
codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
997f635d4a
Replace expect()->false() with verify()->false()
...
codeception/verify 2.1 removed support for expect()->false() so we need
to replace it with verify()->false().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9adbf81a78
Replace expect()->true() with verify()->true()
...
codeception/verify 2.1 removed support for expect()->true() so we need
to replace it with verify()->true().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22
Replace expect()->equals() with verify()->equals()
...
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
alex-mailpoet
4f1afa388f
Clean up transient cache in tests where necessary
...
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05: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
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
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
076f79358e
Add engagement score to the homepage subscribers stats
...
[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
ab35f5c8c1
Add fetching of global subscribers stats to Homepage data controller
...
[MAILPOET-4828]
2023-02-22 13:54:31 +01:00
Rostislav Wolny
fdbd25c513
Refactor always use camel case within homepage data passed to JS
...
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
68187a0fb6
Add product discovery status detection to homepage data service
...
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
f50dcd3bd1
Fetch task list status only when task list is displayed
...
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
Rostislav Wolny
ce8191ad6c
Add test for HomepageDataController
...
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00