Commit Graph

16368 Commits

Author SHA1 Message Date
Sam Najian
bcb7382760 Make local integration tests pick up env
[MAILPOET-4394]
2022-06-20 09:24:49 +02:00
David Remer
c436f18e8e Decode html entities of WP_User data
[MAILPOET-4241]
2022-06-20 08:43:51 +02:00
David Remer
af8acb8f6d Test we store html decoded first and last name
[MAILPOET-4241]
2022-06-20 08:43:51 +02:00
Oluwaseun Olorunsola
969fc3743e Release 3.90.1 2022-06-16 14:58:35 +01:00
David Remer
55880fb257 Disable auto_reload only in non development environments
[MAILPOET-4439]
2022-06-16 10:45:57 +02:00
David Remer
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
Rodrigo Primo
a12a6e0d54 Bump the "Tested up to" to the latest WP version (6.0)
[MAILPOET-4297]
2022-06-15 15:33:36 +02:00
alex-mailpoet
a1ddef0c99 Add ability to inject step runners
[PREMIUM-180]
2022-06-15 15:32:51 +02:00
Rodrigo Primo
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
Sam Najian
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
Oluwaseun Olorunsola
d3a5525095 Release 3.90.0 2022-06-14 14:17:30 +01:00
Berkay Simsek
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
Sam Najian
764f657935 Make sure Heading block parameters are defined before setting
[MAILPOET-4411]
2022-06-13 13:59:45 +02:00
dependabot[bot]
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
John Oleksowicz
8c99d3233c Update newsletter type to include optional segment id
MAILPOET-4244
2022-06-13 12:37:42 +02:00
John Oleksowicz
fad1b7b9f2 Ensure tooltip can appear on top of lefthand nav
MAILPOET-4244
2022-06-13 12:37:42 +02:00
John Oleksowicz
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
John Oleksowicz
77b6e1c3f0 Add tooltip explaining where the link goes
MAILPOET-4244
2022-06-13 12:37:42 +02:00
John Oleksowicz
56bc60024d Link segment tags to filtered subscribers page
MAILPOET-4244
2022-06-13 12:37:42 +02:00
Oluwaseun Olorunsola
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
Brezo Cordero
57f6d54fdf Add label and id also to custom fields
[MAILPOET-3331]
2022-06-13 11:06:01 +02:00
Brezo Cordero
6ad442a5dc Add label to text form
[MAILPOET-3331]
2022-06-13 11:06:01 +02:00
Brezo Cordero
12d641505f Make checkbox more visible on hover
[MAILPOET-3332]
2022-06-13 10:35:37 +02:00
Brezo Cordero
87eaa60ec0 Make radio component focusable
Use .screen-reader-text properties to hide input radio.

[MAILPOET-3332]
2022-06-13 10:35:37 +02:00
Brezo Cordero
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
John Oleksowicz
687ab34cc0 Clear WP cache after restoring DB backup
MAILPOET-4403
2022-06-09 13:31:42 +02:00
alex-mailpoet
c583d3aa12 Move CreateWorkflowController to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
alex-mailpoet
6d98a051a4 Add id parameter to workflow constructors
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
alex-mailpoet
2fe95320e2 Add MailPoet Premium integration for automation
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
alex-mailpoet
98b01f46e0 Move workflow creation POST endpoint to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
Sam Najian
33bd91f2b9 Keep using underline for unused function arguments
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
Sam Najian
797bfe7f53 Fix issues after rebasing master
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
Sam Najian
e6e05f92a0 Update js-cookie to latest version and add ts types
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
Sam Najian
acb300c08d Fix issue with an ever true value comparison
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
Sam Najian
68da540abd Convert affected files to ts
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
Rostislav Wolny
f1941bc4da Add support for overriding cron site url via constant
This allows to configure a special URL base for cron.
Cases here are dev environments, but also potentially intranet sites or anything else with an atypical network layout
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
Rostislav Wolny
4eabbbee33 Handle inaccessible cron url exception on the help page
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
Rostislav Wolny
f2edddfbff Handle inaccessible cron URL error when generating Beacon data
The unhandled exception in this place was causing that all MailPoet
admin pages were blank.
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
David Remer
0d4048b682 Remove WordPress from build process
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
566cef6ef8 Instantiate CdnAssetUrl late
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
2b63b0ed45 Use a more descriptive method name for retrieving the anayltics class
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
467ed02043 Add short doc to explain, why the methods where altered.
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
29dffe542e Fix testItUsesCorrectAssetsManifestFilenames test
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
47011ddc70 tmpfs uploads/mailpoet 2022-06-08 15:25:41 +02:00
David Remer
d15be7555c Add hbs and txt files
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
f149e9b746 Build templates in build process
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
a46514605e Fix tests
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
ea2e42592f Fix some tests
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
6a7b2f3952 Try to create the temporary folder
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
31171a1999 Add twig:generate-cache to build script
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00