Commit Graph

5540 Commits

Author SHA1 Message Date
Pavel Dohnal
9977ed75fb Deprecate the form model
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
b94b8f119a Remove old form model from MP2 migrator
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
942d756b9f Use Doctrine in form editor
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
ca88c96470 Refactor Widget to use Doctrine
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
19b99b4ff1 Refactor Captcha Renderer to use Doctrine
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Pavel Dohnal
aced9ce0b7 Refactor form renderer to accept Form Entity
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Brezo Cordero
51a0899698 Mark most SMTP transport errors as soft
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Jan Lysý
d0e4ed3892 Remove mailpoet pages from the 'After submit' option
[MAILPOET-3675]
2021-09-22 12:34:19 +02:00
Rodrigo Primo
ffa91da869 Create a proxy method to get the processed date from within NewsletterEntity
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
2e354173db Deprecated old archive filters and add new ones
Using new filters is needed as the parameters passed to the filters
changed. If we continued using the same filters, users might run into
fatal errors.

[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
0c44e4dbd2 Replace $newsletter->getQueues()->first() with $newsletter->getLatestQueue()
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
97d177013f Refactor \MailPoet\Models\Newsletter::getArchives() to Doctrine
[MAILPOET-3629]
2021-09-20 14:01:34 +02:00
Rodrigo Primo
3ca95ed4da Add a WP filter to let users change the MP prefix for DB tables
[MAILPOET-3798]
2021-09-20 13:07:39 +02:00
Rodrigo Primo
a25a6db1f5 Display the updated_at field using the site timezone
This commit changes the logic to display the updated_at field for tasks
in the system status page to use the site timezone.

[MAILPOET-3692]
2021-09-20 10:33:33 +02:00
Jan Lysý
f9ba4623c6 Create custom validation for names
I had to use a custom validation because we want to different
error message for each part of validation.
I didn't find a better solution for Parsley library.

[MAILPOET-3786]
2021-09-20 09:17:43 +02:00
Pavel Dohnal
21839fc30b Fix indentation of multiline function declarations
[MAILPOET-3732]
2021-09-17 12:17:36 +02:00
Pavel Dohnal
cdda3480ca Make all constructor signatures multiline
[MAILPOET-3732]
2021-09-16 14:19:40 +02:00
Jan Lysý
ccedd3a112 Add count of bounced emails into API response
[MAILPOET-3766]
2021-09-14 15:59:50 +02:00
Pavel Dohnal
2892a23deb Fix machine opens counter
[MAILPOET-3797]
2021-09-14 15:58:30 +02:00
Jan Lysý
7f15fce246 Display a specific error message for banned users
[MAILPOET-3667]
2021-09-13 15:34:10 +02:00
Rostislav Wolny
2619f9cdda Fix Truncated incorrect DOUBLE error in SQL for last engagement date
The error was caused by comparing 0 with string dates.
[MAILPOET-3795]
2021-09-13 12:56:59 +02:00
Brezo Cordero
ac8cb62a6a Extra space missed by sniffer
[MAILPOET-3788]
2021-09-13 11:29:21 +02:00
Brezo Cordero
f3ad7ac0b4 Show CAPTCHA from first signup
[MAILPOET-3788]
2021-09-13 11:29:21 +02:00
Jan Lysý
44f19b1b4c Load custom fonts in chunks
We have a conflict with WooCommerce Payments plugin. When the file with custom fonts is bigger than 10kB, the payment form isn't loaded.

[MAILPOET-3791]
2021-09-13 10:50:15 +02:00
Pavel Dohnal
206dd92054 Display the last engagement on the subscribers stats page
[MAILPOET-3770]
2021-09-13 10:33:11 +02:00
Rostislav Wolny
1aef43cfc9 Add classed to Woo checkout optin to match other checkboxes
[MAILPOET-3498]
2021-09-13 10:25:35 +02:00
Pavel Dohnal
250b818be6 Remove unnecessary join
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
6f66fba66f Fix return type
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
1f6836dae6 Save bounces statistics
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
bdda742caa Create entity for statistics bounce
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
a303b4f04e Process queues to save statistics
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
db04687f3c Refactor to Doctrine
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
995b716fe3 Add bounces table
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Pavel Dohnal
6f28228c55 Stop using a deprecated function
[MAILPOET-3765]
2021-09-13 10:19:15 +02:00
Brezo Cordero
39e0bd1ad5 Throttling also for logged-in users
[MAILPOET-3790]
2021-09-13 09:46:30 +02:00
Rostislav Wolny
5a5ec1cc19 Use cron worker scheduler service when scheduling Woo sync
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
8eaf9471f5 Schedule immediate cron task for Woo sync on force sync
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
c2c383e0b5 Add method for immediate scheduling/rescheduling cron tasks
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
1c4eb15f93 Refactor CronWorkerScheduler to Doctrine
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Rostislav Wolny
493a6a6704 Disable periodical scheduling of Woo Customers sync
[MAILPOET-3726]
2021-09-08 16:12:37 +02:00
Pavel Dohnal
b0b6f1ff35 Remove unnecessary check
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
d1b2458227 Add # of machine opens segment
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
2ab5f04f46 Add segment for machine opens
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
cdd3ff5178 Use only non-machine opens for segment # open
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Pavel Dohnal
49c9dd5f79 Use only non-machine opens for segment open
[MAILPOET-3737]
2021-09-08 14:38:41 +02:00
Rostislav Wolny
aa4312dd3c Fix incorrect counts in dynamic segments form
[MAILPOET-3761]
2021-09-08 12:02:26 +02:00
Rostislav Wolny
8df940e02c Add strict types to newly added classes
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
eae0072f24 Use WordPress current_time for setting lats engagement
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
a6b58e501a Disallow reseting last engagement via setter
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00
Rostislav Wolny
ae2d450dce Search for last engagement in orders only if WooCommerce is active
[MAILPOET-3762]
2021-09-07 10:07:08 +02:00