Commit Graph

15684 Commits

Author SHA1 Message Date
4ba5c6ce0c Remove old model from Scheduler
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
882e096c81 Replace old model usage with Doctrine
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
7fcfe9b4b3 Add possibility to configure WP user ID
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
419b1f8c0a Add possibility to configure type
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
a128c651c8 Remove old model from the AbandonedCart event
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
f35d72690a Enable tests again
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
dec4a12882 Codestyle
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
c850f18b35 Fix test
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
e80044829c Check authorized Email addresses when setting MSS method
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
00f37dedd5 Display warning and disable save button when from email is not authorized
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
b9e02cf7a5 Fix consumer after change of authorizedEmails signature change
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
1b5f3db655 Use new endpoint to fetch authorized emails
[MAILPOET-4253]
2022-06-20 10:34:41 +02:00
f10596feec Fix typos in translations
[MAILPOET-4447]
2022-06-20 10:17:24 +02:00
372a7fb307 Refrain from skipping AmazonSESTest::testItCanSend since it's mocked
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
fcea764d91 Mock WPFunctions::wpRemotePost when testing AmazonSES
We don't want to send a real request to AmazonSES when
testing it since we don't want to send a real email.

[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
b2e556fd90 Inject WPFunctions to AmazonSES
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
bcb7382760 Make local integration tests pick up env
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
c436f18e8e Decode html entities of WP_User data
[MAILPOET-4241]
2022-06-20 08:43:51 +02:00
af8acb8f6d Test we store html decoded first and last name
[MAILPOET-4241]
2022-06-20 08:43:51 +02:00
969fc3743e Release 3.90.1 2022-06-16 14:58:35 +01:00
55880fb257 Disable auto_reload only in non development environments
[MAILPOET-4439]
2022-06-16 10:45:57 +02:00
5b49dd0fc7 Do not autoload twig templates
Set to true auto_load will attempt to overwrite existing files, which is
to be avoided.

[MAILPOET-4439]
2022-06-16 10:45:57 +02:00
a12a6e0d54 Bump the "Tested up to" to the latest WP version (6.0)
[MAILPOET-4297]
2022-06-15 15:33:36 +02:00
a1ddef0c99 Add ability to inject step runners
[PREMIUM-180]
2022-06-15 15:32:51 +02:00
3e76aa672a Use WP 6.0 when running the acceptance tests
Just bumping the WP version used in the acceptance tests to the latest
version.

[MAILPOET-4297]
2022-06-15 13:50:20 +02:00
fe6013f0cf Fix the issue of marketing optin block translation not getting added
Since WP 6.0 we can no longer leave translation_path in block
settings empty and expect to receive the fallback thus we need
to add the fallback ourselves.

[MAILPOET-4435]
2022-06-15 13:47:08 +02:00
d3a5525095 Release 3.90.0 2022-06-14 14:17:30 +01:00
0dc35da401 Improve autocomplete accessibility for names in forms
Changed the autocomplete attributes for input fields: 'first_name' & 'last_name' to comply with the WCAG-standards for autocompletion.
[MAILPOET-4408]
2022-06-13 17:15:44 +02:00
764f657935 Make sure Heading block parameters are defined before setting
[MAILPOET-4411]
2022-06-13 13:59:45 +02:00
00e02e4765 Bump guzzlehttp/guzzle from 6.5.5 to 6.5.7 in /mailpoet
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.5 to 6.5.7.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.7/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.5...6.5.7)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 13:54:22 +03:00
8c99d3233c Update newsletter type to include optional segment id
MAILPOET-4244
2022-06-13 12:37:42 +02:00
fad1b7b9f2 Ensure tooltip can appear on top of lefthand nav
MAILPOET-4244
2022-06-13 12:37:42 +02:00
cf78783ef3 Include empty segments in subscribers filters
Although it doesn't make senses to select a segment with 0 subscribers
directly from the dropdown, we allow users to click a "view subscribers"
link or, with MAILPOET-4244, click a badge to see all the subscribers of
 that segment. The UI on the subscribers page indicates which segment is
  selected by selecting it in the dropdown.

 If we exclude lists with 0 subscribers (or 0 calculated
 subscribers), the filter selection is blank and the user has no way of
 knowing what filter is being applied. By including these empty lists
 we're giving users a way of knowing why there are 0 subscribers being
 shown.

MAILPOET-4244
2022-06-13 12:37:42 +02:00
77b6e1c3f0 Add tooltip explaining where the link goes
MAILPOET-4244
2022-06-13 12:37:42 +02:00
56bc60024d Link segment tags to filtered subscribers page
MAILPOET-4244
2022-06-13 12:37:42 +02:00
7e59ad7f90 Fix screen-reader-text class does not exist in iFrame
screen-reader-text CSS class only exists within the WordPress environment

the class does not exist when using iFrame forms due to these being used outside the WordPress context

prefixing with mailpoet-* to not interfere with the default WordPress screen-reader-text class

MAILPOET-4312
2022-06-13 11:06:01 +02:00
57f6d54fdf Add label and id also to custom fields
[MAILPOET-3331]
2022-06-13 11:06:01 +02:00
6ad442a5dc Add label to text form
[MAILPOET-3331]
2022-06-13 11:06:01 +02:00
12d641505f Make checkbox more visible on hover
[MAILPOET-3332]
2022-06-13 10:35:37 +02:00
87eaa60ec0 Make radio component focusable
Use .screen-reader-text properties to hide input radio.

[MAILPOET-3332]
2022-06-13 10:35:37 +02:00
4f4bb93d37 Make checkbox component focusable
Always display the checkbox on the lists and use .screen-reader-text properties to hide input box.

[MAILPOET-3332]
2022-06-13 10:35:37 +02:00
687ab34cc0 Clear WP cache after restoring DB backup
MAILPOET-4403
2022-06-09 13:31:42 +02:00
c583d3aa12 Move CreateWorkflowController to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
6d98a051a4 Add id parameter to workflow constructors
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
2fe95320e2 Add MailPoet Premium integration for automation
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
98b01f46e0 Move workflow creation POST endpoint to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
33bd91f2b9 Keep using underline for unused function arguments
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
797bfe7f53 Fix issues after rebasing master
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
e6e05f92a0 Update js-cookie to latest version and add ts types
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
acb300c08d Fix issue with an ever true value comparison
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00