Commit Graph

70 Commits

Author SHA1 Message Date
be589e79bd Add action for hook woocommerce_created_customer
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
0ed3412667 Add methods for extend WC registration form into hooks for WC
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
b7bfef90c9 Add opt-in checkbox into the WooCommerce registration form
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
9bca7cc169 Prevent breaking woocommerce in hooks
[MAILPOET-3563]
2021-04-19 11:59:19 +02:00
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
814686e8d2 Refactor mailpoet_get_segment_filters to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
6b488802c5 Add request feedback link to the footer
[MAILPOET-2802]
2020-04-15 14:05:22 +02:00
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
d06fc2d00d Append form bellow content
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
771f4b9d63 Move dynamic segment hooks from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
b22b81e63a Register hook to inject styles into WooCommerce settings page
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
952b9d7dd4 Initialise hooks early
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
0b96d13d1a Allow emails from login screen
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
aa1b9157a4 Replace WordPress Mailer with our own implementation
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
3d750c5bb8 Move post notification scheduling to service
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
111adbe90e Fix registration of rejected users
There are multiple hooks for user registration.
https://usersinsights.com/wp/wp-content/uploads/2018/07/user-registration-hooks-2.png
The `register_post` hook is executed first and
after that there is `registration_errors`.
The captcha verification is done in `registration_errors` hook.
But because we were using `register_post` we were saving
the subscriber before the post request was verified.

[MAILPOET-2114]
2019-06-06 10:41:13 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2980bbf00b Remove the feature flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
wxa
f2e0dc7d2f Refactor URL helper to DI and move its test to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
ecf0fe63c0 Add a feature flag [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
wxa
12d2b9b46a Add WooCommerce checkout opt-in functionality [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
26c3f84695 Hook purchase tracking to order status, not to payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
079bd337c7 Rename WooCommerce "orders" to more exact "purchases"
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
481f5b9344 Add tracking of WooCommerce oders after payment
[MAILPOET-1855]
2019-04-24 14:52:40 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
wxa
2f487fd300 Inject subscribe() action instead of calling it statically [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
6258ea6d1f Use encapsulated WP function [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
wxa
3f1e690d90 Add WooCommerce synchronization [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
6e79705128 Refactor MailPoet\Config to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
b663d9761e Encapsulate is_user_logged_in function 2019-01-30 13:59:49 +01:00
f13c340d87 Inject dependencies to hooks directly
[MAILPOET-1689]
2018-12-17 15:29:50 +01:00
ece5e9a9d1 Refactor subscription form processing
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
5db3536ded Use a different hook for post notifications
[MAILPOET-1638]
2018-12-03 10:41:06 +01:00
5223687326 Fix welcome emails
Decreased priority. This was a conflict with Members plugin
Members plugin has priority 5 and we were checking
user roles before Members plugin correctly
assigned them.

[PREMIUM-83]
2018-05-17 11:13:34 +01:00
5912004c10 Fix: CPU usage and sending issue on slow host
On some slow host, the `newsletter` table get filled with
duplicated `notification_history` marked as `sending` that
never get sent.

To prevent this we've made the two following changes:
* We prevent firing `publis_*` hooks on post_type which
are excluded from search.
* We do not schedule a new post notification email if one
has an `notification_history` entry marked as `sending`.

[MAILPOET-1371]
2018-05-10 15:25:23 +02:00
10c39bd650 Removes unused constructor 2017-08-30 09:47:34 -04:00
b7ef191641 Remove leading slashes in imports [MAILPOET-764] 2017-01-25 10:22:27 +03:00
2220a13399 Remove unused imports [MAILPOET-764] 2017-01-25 10:14:38 +03:00
714f81d936 - Moves hooks setup to wp_load action
- Adds post notification scheduler to all post types
2017-01-08 17:27:02 -05:00
7fbf84db1f converted text domain to string instead of constant 2016-09-30 09:58:26 +02:00
42202f676a updated Env::plugin_name to constant for text domain 2016-09-27 14:54:23 +02:00
ba6198f956 added textdomain to __() calls 2016-09-27 14:53:44 +02:00
ea5c73721b remove doing_ajax logic from API and created dedicated class for subscription form non ajax submission 2016-09-22 16:24:13 +02:00
d15473a8e4 disabled first/last name inputs for WP User on manage subscription page 2016-07-01 14:14:18 +02:00
343da0fdcc - Saves sent posts during rendering by sending queue worker
- Prevents empty notification emails from being sent
- Hooks to WP's post update and rewrite post notification logic
- Prevents scheduling multiple queues of the same newsletter
- Fixes issue with segments not updating when scheduling a newsletter
- Removes depreciated hash field & associated logic
2016-05-18 10:00:09 -04:00