John Oleksowicz
64094387eb
Implement lifetime option for average spent filter
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
14a2603ac3
Implement lifetime option for email opens
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
25a4515ebb
Default days to 0 for allTime timeframe
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
0e6c885ad1
Ensure filter mapper always includes timeframe
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
John Oleksowicz
2d4967b64c
Add lifetime option to days period react component
...
MAILPOET-4991
2023-07-30 19:20:09 +02:00
Veljko
2d3a8fadf7
Include scenario to cover issue we had in the past
...
[MAILPOET-5334]
2023-07-27 13:34:18 +02:00
Veljko
9f9b2c6dab
Add scenario multiple lists
...
[MAILPOET-5334]
2023-07-27 13:34:18 +02:00
Jan Lysý
872bd80224
Update 3rd party label and note in the welcome wizard
...
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Jan Lysý
3607dd9d71
Use @wordpress/i18n in the welcome wizard
...
Welcome Wizard was prepared for using WP translations, so I decided to use them because I am going to change some translations.
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Jan Lysý
2d5e93ffb8
Refactor usage tracking step component to tsx
...
[MAILPOET-5375]
2023-07-26 15:44:35 +02:00
Rostislav Wolny
33e7e2d5f1
Fix typos in migration levels related strings
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
acd5846f70
Change migration level constants to lowercase
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
ba728c5612
Use phpstan type alias for migration types
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
871d9fd9f8
Small code and php doc enhancements in MailPoet/Migrator
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
725d81077f
Add check for duplicate migrations names when loading migrations
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
ec8b5260dd
Improve command for creating new migrations
...
Use required parameter instead of optional option
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
b4d0b35a1d
Small code improvements based on review feedback
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
5605259159
Move tests for specific migrations into subdirectories
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
93c29512df
Fix AppMigrationTemplate description
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
74a5dde19f
Make migration runner aware of the level of running migration
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
94d8d28253
Refactor Migrations Repository to return also migrations level
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
7954f9d74f
Move newly added migrations (after rebase) to correct folders
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
8454925e9a
Update functionality for generating new migrations to support levels
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
466782790a
Remove access to higher level services in Db level migrations
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
35b7e9177c
Eliminate settings controller from the initial migration
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
f0a8f3bfd3
Eliminate direct access to EntityManager in Db migrations
...
As we don't want to allow working directly with EntityManager in
the Db level migrations this commit replaces direct access with helper
methods from the parent class.
We don't want to allow working with EntityManager since it is considered
high level service and causes errors when DB structure is not up to date.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
435152281a
Extract App level method from initial Db migration to a new App level migration
...
All these extracted methods contain DB version check so for existing
sites the migration will be just added as completed to the migrations table.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
7f363a96f5
Refactor Migration_20230111_120000 to work without SettingsController
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
9684285105
Move clearly App level migrations to App directory
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
5fd02b2bab
Add support for App and Db migrations into Repository and Runner
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
5c4dcb77c5
Move all current migrations to Dd folder
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
aca358d276
Add App level migration and template
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
092fcb78d0
Rename Migration to DbMigration
...
We want to distinguish Db and App level migrations. This is the first step.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Veljko
85733f1540
Slightly improved test for verifying menu items
...
[MAILPOET-5333]
2023-07-26 12:02:47 +03:00
John Oleksowicz
941675bdde
Remove unused variable
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
fea8db19bc
Remove nullability for constructor params
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
4d5b4885fe
Revert valid operator methods back to instance methods
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
8de46db560
Add note about the different naming format
...
The subscribedDate filter used to be completely separate and it's now
been consolidated into SubscriberDateField. Since existing filters exist
in the wild that have the subscribedDate type, we're not able to
update the value to be consistent with the other types.
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
ea5e4a37d2
Allow different default operators for DateFields
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
edbb40ee42
Add last sending date filter
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
3ded9be927
Refactor subscribedDate filter to use SubscriberDateField
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
f27f469b17
Add backend logic for subscriber date filters
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
John Oleksowicz
ef7d19e49d
Add frontend for subscriber engagement filters
...
MAILPOET-4989
2023-07-26 10:53:55 +02:00
Veljko
7b461d904b
Update selector and titles in checks
...
[MAILPOET-5477]
2023-07-25 13:42:14 +02:00
Veljko
630b60e62e
Improve ManageSubscribers test and update SubscribersListing
...
[MAILPOET-5332]
2023-07-25 13:41:54 +02:00
Rostislav Wolny
f3bccaff7f
Release 4.22.0
2023-07-25 13:06:57 +02:00
Rostislav Wolny
a1574f82c9
Add reseting settings controller cache in between acceptance tests
...
The settings controller is used internally in the Settings factory.
It has an in-memory cache, so on the test runner side, we need to reset
the cache after every test to ensure tests don't influence each other.
[MAILPOET-5480]
2023-07-25 08:59:12 +02:00
Rostislav Wolny
278fbca955
Ensure correct settings before form is created
...
The settings is read in the Form factory when we create the form
so we need to make sure it is set before the form is created.
[MAILPOET-5480]
2023-07-25 08:59:12 +02:00
Jan Jakes
105fbe1de5
Show tooltip for failed marketing emails
2023-07-24 16:19:30 +02:00
David Remer
2fabee6c3f
Ensure the current section is updated and not overwritten by an older state
...
[PREMIUM-232]
2023-07-24 16:19:30 +02:00