Commit Graph

16368 Commits

Author SHA1 Message Date
Jan Jakes
db6f0d14b1 Move api setup to automation root, fix initialization side-effect
[MAILPOET-4420]
2022-07-26 15:10:05 +02:00
Jan Jakes
1801f522f6 Add reusable step icon component
[MAILPOET-4420]
2022-07-26 15:10:05 +02:00
Pavel Dohnal
e5b0b4ae1d Release 3.93.0 2022-07-26 15:03:08 +02:00
dependabot[bot]
6b76aed537 Bump terser from 4.8.0 to 4.8.1 in /mailpoet
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 14:11:02 +02:00
dependabot[bot]
dac6fd9482 Bump terser from 5.10.0 to 5.14.2 in /eslint-config
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 09:33:30 +02:00
Jan Lysý
6ff6bd3637 Add new test cases for FilterDataMapper
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
88ae1f923a Add new shared libraries for premium
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
ee00093421 Add new filter dependency on premium plugin
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
1eef663ca3 Add new dynamic filter for tags
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
04b61cb334 Add new subscriber tag filter component
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
9644e908a9 Add tags into template
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Rodrigo Primo
d8ad8ec97d Remove the deprecated filters mailpoet_archive_date and mailpoet_archive_subject
Those two filters were deprecated over six months ago and were scheduled
to be removed last month.

[MAILPOET-4470]
2022-07-21 16:35:09 +02:00
Jan Lysý
50e98a6273 Remove old model from InactiveSubscribersNotice
[MAILPOET-4356]
2022-07-21 15:35:50 +02:00
Jan Lysý
e28aa7ed46 Remove old model from BlackFridayNotice
[MAILPOET-4356]
2022-07-21 15:35:50 +02:00
Rodrigo Primo
7f055aef06 Replace Paris models with Doctrine in SubscriberPersonalDataEraser
[MAILPOET-4349]
2022-07-20 15:05:19 +02:00
David Remer
7c08397b0c Release 3.92.1 2022-07-20 11:37:54 +03:00
David Remer
6a7eda1459 Release 3.92.0 2022-07-20 11:37:54 +03:00
John Oleksowicz
c2612f4511 Shorten the max tag name from 255 to 191 chars
MySQL has maximum key lengths for indexes, and the number can vary based
 on storage engine and MySQL version. Using utf8mb4, the index would be
 255 * 4 = 1020 bytes long, exceeding the MyISAM maximum of 1000 bytes
 and the MySQL 5.6 maximum of 767 bytes.

 See Column Prefix Key Parts in the MySQL reference:
 https://dev.mysql.com/doc/refman/8.0/en/create-index.html

 By reducing this length to 191, we ensure that the maximum likely index
 length will be less than the 767 lower bound (191 * 4 = 764).

 MAILPOET-4489
2022-07-20 09:30:43 +02:00
Sam Najian
ba132c7dcc Mitigate stateful Shortcode service causing test to fail
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
Sam Najian
a2f65bf647 Migrate PersonalDataExporters\NewslettersExporter to Doctrine
[MAILPOET-4348]
2022-07-18 16:47:48 +02:00
Sam Najian
a65bbb6904 Remove model usages from ShortCodesTest
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
Sam Najian
f44afbddf2 Remove SendingQueue model usages
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
Sam Najian
1814a69719 Remove SubscriberModel usages
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
Sam Najian
bd3b4f1e93 Remove Newsletter model usages
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
dependabot[bot]
7e6b6eac35 Bump moment from 2.29.2 to 2.29.4 in /mailpoet
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 13:00:32 +02:00
Oluwaseun Olorunsola
0a461bb846 Skip API request if Modal is not opened and remove unnecessary check from method
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
5d8b721a52 Annotate return type and use consistent return data
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
d93448c352 Fix typo and variable names error
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
04dc774104 Add tests for base PHP functions
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
cb68688f18 Refactor: update validateAuthorizedEmail to convert authorizedEmails to lowercase
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
ad171576f3 Fix: Show error message and better error handling.
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
1b103c653f Fix: Only start polling the server on success response
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
ef5e45ba32 Refactor email sender field, remove double error notice
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
2eb441a7f7 Hijack link to MP Shop, show email authorization modal on Newsletter send page
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
4e81ac5f8f Refactor: use button component with spinner to indicate loading state
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
ed92fd7717 Hijack link to MP Shop, show email authorization modal on set FROM address modal
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
6353d44cae Refactor: rename state callback
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
19b9ab8183 Hijack link to MP Shop, show email authorization modal on notices
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
c9db69c1b8 Add support for rendering Authorize sender email modal from React root
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
8db444fa3f Fix notice error when the input value is changed
I'm using eslint-disable-line react-hooks/exhaustive-deps here to fix es-lint warning.
Won't allow me to commit without it

The suggestion unfortunately will not apply in this case.

setAuthorizedAddress is a props callback used to notify the parent component the sender email has been authorized

Adding it to the useEffect dependency array just causes an unnecessary double render

We can't make use of useCallback here

MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
1b255acbe1 Update authorize Email Address in settings and
Clear prevous error notice

MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
ee70d2dd1e Implement polling and reconfirmation
This will poll the server every certain interval (15s) for the email address
and stop polling if the email is Authorized or the modal is closed or after a certain period of time (2 hours)

MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
183f64834c Use AuthorizeSenderEmailModal component in SenderEmailAddressWarning
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
f07aa5eef1 Add AuthorizeSenderEmailModal component
MAILPOET-4300
2022-07-18 12:53:49 +02:00
Oluwaseun Olorunsola
1fda60bfea Implement API endpoints
MAILPOET-4300
2022-07-18 12:53:49 +02:00
alex-mailpoet
502087e416 Fix tests
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
alex-mailpoet
35cdd7c07f Add header buttons and redirects for automation email type
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
alex-mailpoet
0c5ed71239 Show only 2 steps for automation email type
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
alex-mailpoet
6586ad03c1 Show MailPoet logo in the newsletter editor
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
alex-mailpoet
39a3ca54f7 Extract MailPoetLogoResponsive component
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00