Commit Graph

16613 Commits

Author SHA1 Message Date
Jan Jakes
a377f0c946 Do not limit memory for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Jan Jakes
6a6d11ccdb Fix ignore patterns for CodeSniffer
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
Rostislav Wolny
56587753c0 Make sure save as draft button is clickable before clicking on it
[MAILPOET-4608]
2022-09-01 09:46:37 +02:00
Jan Lysý
3d4f7cc33f Fix subscribers' segment filter
[MAILPOET-4563]
2022-08-31 15:52:00 +02:00
Jan Lysý
6f5ddca2e9 Change comparison for updated at
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
380b53225a Fix test name
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
f9261dbeb4 Use constants from ScheduledTaskEntity
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
419ec52f38 Add test case for new method touchAllByIds
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
9c21d6226f Add possibility to set updatedAt
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
5278ed324d Remove ScheduledTask::touchAllByIds method
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
fecb26b3b5 Replace usage ScheduledTask::touchAllByIds with repository
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Jan Lysý
aa84ce66a6 Add new method into repository
[MAILPOET-4309]
2022-08-31 13:42:21 +02:00
Rostislav Wolny
02092b0354 Release 3.96.1 2022-08-31 13:17:16 +02:00
Rostislav Wolny
6730286b7c Fix passing mailpoet_deactivate_subscriber_after_inactive_days to JS
Adding json_encode also chaged the type of the variable. I've updated it accordingly.
I searched for all usages. It is assigned to Mailpoet.deactivateSubscriberAfterInactiveDays
and in all places used as Number(Mailpoet.deactivateSubscriberAfterInactiveDays)
[MAILPOET-4606]
2022-08-31 11:30:04 +02:00
Rostislav Wolny
0c7b07329f Add missing empty line to _panel.scss
Was causing a linter error:
Expected empty line before rule  rule-empty-line-before
[MAILPOET-4606]
2022-08-31 11:30:04 +02:00
Rostislav Wolny
866cd6ac76 Release 3.96.0 2022-08-30 12:58:43 +02:00
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