Commit Graph

15969 Commits

Author SHA1 Message Date
Jan Lysý
5a3dc190d6 Use mailpoet-top-bar class in newsletter editor header
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
Jan Lysý
1a5952a876 Mark form editor tutorial as seen on init
[MAILPOET-4498]
2022-08-18 08:52:59 +02:00
John Oleksowicz
8ca1a0a9b3 Prettier cleanup
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
6dbc50eb23 Make Step subtitle bold
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
1e1153bd77 Fix codestyle issue
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
2a09646e8d Use TextInput help and label for step name and adjust width and position of side name dropdown
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
70081a846d Add aria-label to edit step button
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
1c138a7d4b Fix type 'it’s' to 'its'
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
33fb02e2ce Add missing spaces and remove double spaces around "null,"
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
ae08a9e18e Return 'Trigger' as title for triggers
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
e2e07bba42 Mark workflow as not saved when name changes
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
6b238618bf Add UI to alter step name of send mail step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
e37e26e380 Add store action to update step name
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
b5690f3d6c Render step name in workflow editor
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
4a19e4db46 Share Step name with editor application
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
d4bc448ac6 Add name property to Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
Rostislav Wolny
1bf751978c Make a parameter in private method in MP API non-optional
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rostislav Wolny
5d3c851d02 Change order of MP API subscribe/unsubscribe calls checks to be backward compatible
In the previous version we checked the lists parameter before the subscriber.
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rostislav Wolny
877fd9d7da Move MP API unsubscribe from list test to a separate file
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rostislav Wolny
c3251f4092 Refactor MP API unsubscribe from lists to doctrine
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rostislav Wolny
fbaf37ed0c Refactor getting subscriber and segments into a private methods
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rodrigo Primo
2ecf5fc2fa Simplify code by using intval() instead of if
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Rodrigo Primo
6127336eab Simplify code by removing some duplication
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Rodrigo Primo
d8770675a4 Replace Paris models with Doctrine entities in BatchIterator
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
Rodrigo Primo
ea1bbf7b70 Replace Paris models with Doctrine entities in BatchIteratorTest
[MAILPOET-4357]
2022-08-16 15:03:52 +02:00
John Oleksowicz
2982fa3277 Release 3.95.0 2022-08-16 13:59:48 +03:00
Jan Jakes
1093d089fc Simplify webpack build output
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
7b12e00ae4 Add "noEmit" to tsconfig so editors know we use it only for type checking
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
13a79d0b77 Turn off no-void eslint rule for premium (same as the free config)
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
16217db6cd Use premium upgrade modal in Google Analytics panel
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
2a8dca6454 Add basic premium upgrade modal component
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
c8ac0ac4a7 Expose slugify for premium
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
b877bd4577 Expose whole @wordpress/data for premium
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
59315d03c7 Expose text control from @wordpress/components for premium
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
a01afc27e8 Add entrypoint for premium plugin exposed assets and libs
This simplifies Webpack configuration, removes duplicities between loaders and
the "admin_vendor" entrypoint definition, and makes the sharing more transparent.

[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
3886dd83d1 Unify naming of sender name and email address
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
72aa540b23 Simplify and unify default GA campaign name generation
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
697e7eba9a Add Google Analytics setting panel to automation email sidbar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
922beb790f Add reply-to setting panel to automation email sidebar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
a5b737ac86 Allow using setState-like callback for setting step args
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
f89b645ce2 Extract automation email panel to a component
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
cf1982a410 Make automation email edit component a directory
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Rodrigo Primo
8d29c2df49 Deprecate MappingToExternalEntities model and stop creating its table
Since we are removing all the MP2 migration code the table
wp_mailpoet_mapping_to_external_entities is not needed anymore. It was
used to map MP2 objects to MP3 objects. This commit removes the code
that creates this table for new installs and deprecates its model.

[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
d874375c25 Remove MP2 migration main class and its test class
This commit removes the main MP2 migration class and its test class. It
also removes two SQL files that were used in the test class. One of
those files executed the following query:

`SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"`

Removing this query made the tests inside SubscriberSegmentTest fail
when running the whole integration test suite. To work around this, I
added the above mentioned query to SubscriberSegmentTest. I'm not sure
why this test class fails without this query when running all the tests
but it doesn't when it is executed alone. Probably there is another test
class changing the SQL_MODE. Since SubscriberSegmentTest is a test class
for a Paris model that we will eventually remove, I decided it was not
necessary to investigate this further.

[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
efab3be9ae Remove logic to handle MP2 subscribers when deactivating subscribers
This commit removes the logic that was added in #2045 to handle
subscribers migrated from MP2 when deactivating subscribers. Without it,
MP3 would deactive all subscribers imported from MP2 as the subscribe
date is migrated but the stats are not (see
https://mailpoet.atlassian.net/browse/MAILPOET-2040) for more details.

This code is not necessary anymore as we are removing all the MP2 migration
related code.

[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
98e056bec7 Remove code that checks if the MP2 migration is in progress
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
9a5fbfbb24 Remove MP2 migration endpoints from the JSON API
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
d828754f94 Remove MP2 migration admin page
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
fdbc6ea603 Remove MP2 migration code from the welcome wizard
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00