Commit Graph

16297 Commits

Author SHA1 Message Date
Sam Najian
42bec13574 Add acceptance test for creating newsletter as draft w/o list
[MAILPOET-4549]
2022-08-25 13:29:00 +02:00
Sam Najian
7c4afd5aa8 Cleanup preparation of sending page form fields
[MAILPOET-4549]
2022-08-25 13:29:00 +02:00
Sam Najian
c4952a636a Disable segments selector validation when saving draft
[MAILPOET-4549]
2022-08-25 13:29:00 +02:00
David Remer
e54f1d6263 Make workflow details section collapsible
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
4c5e7095b1 Remove notice parameters from listing URL
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
bb9604f22f Use constants for redirecting parameters
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
2bec938336 Disable editing of trashed workflows
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
3dd37fa5b7 Redirect and show success message on trashing automation
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
5224009301 Add 'notice-${type} class to notices
In order to use the native CSS styles of the WordPress notices, we need
to add the specific notice-${type} classes to the notice.

[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
deb2c74a3a Add Trash button
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
ba58022259 Remove deprecated types
WARN  deprecated @types/wordpress__api-fetch@3.23.1: This is a stub types definition. @wordpress/api-fetch provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__element@2.14.1: This is a stub types definition. wordpress__element provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__escape-html@1.8.0: This is a stub types definition. wordpress__escape-html provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__hooks@2.11.0: This is a stub types definition. @wordpress/hooks provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__html-entities@2.7.0: This is a stub types definition. wordpress__html-entities provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__i18n@3.11.0: This is a stub types definition. wordpress__i18n provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__url@2.14.0: This is a stub types definition. wordpress__url provides its own type definitions, so you do not need this installed.
 WARN  deprecated @types/wordpress__a11y@2.9.0: This is a stub types definition. wordpress__a11y provides its own type definitions, so you do not need this installed.

[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
a699b0db8e Add activated date and author to workflow sidebar
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
9a1cd26a40 Add notices slot to editor
We use <EditorNotices /> to display notices in the automation editor. This
allows for the usage of createErrorNotice() from the notices store to create
notices.

[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
5f07b2a2b2 Add urls property to MailPoet object
In order to redirect to the listing page after trashing a workflow
we need the URL of that page. This URL will be stored in
MailPoet.urls.automationListing

[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
f930db422e Extend Workflow type with author, activated_at and new trash status
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
b546344e42 Allow to query workflows by status
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
dde3b159ea Add status parameter to getWorkflows method
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
9a74dec86a Add trash status to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
dce1b1403c Add author property to Workflow endpoints
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
ffc7773a6a Communicate workflow author to editor
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
34d94edd3e Add author to Workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
8861909859 Communicate activated_at to editor
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
4bdec5165d Add activated_at property to workflow endpoints
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
5bd994c01c Add activatedAt to workflow
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
Jan Jakes
cd3e2556dd Fix mailpoet_tracking_config type
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
4dd0218ce1 Allow wider modals to fit longer titles and translations
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
9930f2915c Implement plugin activation and download from within upgrade modal
[MAILPOET-4416]
[MAILPOET-4559]
2022-08-24 12:18:44 +02:00
Jan Jakes
5547613f31 Remove full settings from the MailPoet JS object
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
6342402e41 Move subscribers count to layout
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
24cca1ba04 Cache total subscribers count, add tests
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
7ce53adc33 Use static premium download URL instead of fetching it from bridge
This was causing HTTP requests to bridge on each page load for some of MP admin pages.

[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
84ca7143ff Move some more general properties to layout
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
5c08d22736 Move all premium & plan upgrade info to root layout, remove duplicities
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
558d709a18 Update premium upgrade modal to display info based on license status
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
3cc385dd52 Implement premium upgrade logic for upgrade dialog
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Rodrigo Primo
e843d25c8b Check that changelog is not null before passing it to substr()
Starting with PHP 8.1, substr() generates a warning if the first
parameter is null. So, before calling it, we need to check if the
changelog is null or not.

[MAILPOET-4595]
2022-08-23 14:22:55 +02:00
Ján Mikláš
a471e4d8c4 Don't show spacer after the last item in <Steps> component
[MAILPOET-4593]
2022-08-23 14:21:28 +02:00
David Remer
26a6f1be32 Use step key when building workflows from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
53434d23b8 Use default args when building the Workflow from sequence
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
83f5c6cc46 Add test for WorkflowTemplatesGetEndpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
ed56df2398 Add WorkflowTemplate GET endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
8b78fdd4b4 Update frontend to interact with new template create endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
David Remer
1140ee3129 Add WorkflowTemplate entity
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
Rodrigo Primo
804ad97036 Release 3.95.1 2022-08-23 08:56:57 -03:00
Jan Lysý
b4bba9869e Fix Gutenberg token-field styles compatibility token
[MAILPOET-4582]
2022-08-22 13:44:35 +02:00
Jan Lysý
8567614697 Add integration test with SMTP filters
[MAILPOET-4437]
2022-08-22 13:16:51 +02:00
Jan Lysý
52795c3972 Add new filters to the SMTP sending method
[MAILPOET-4437]
2022-08-22 13:16:51 +02:00
Sam Najian
b7cccdae95 Adjust tests, remove models and Tasks\Sending
[MAILPOET-4371]
2022-08-22 13:06:43 +02:00
Sam Najian
873c295e99 Remove Paris models and Tasks\Sending from PostNotificationScheduler
[MAILPOET-4371]
2022-08-22 13:06:43 +02:00