Commit Graph

108 Commits

Author SHA1 Message Date
Rostislav Wolny
0728bc2e12 Load subscription products for segments form
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rostislav Wolny
6f6bbbd1a3 Ensure same data types for all autocompelete list items
In client code we expect that botch category and product ids
are strings but we send strings for lists based on posts and integers
for lists based on terms. We use mostly string values so this change unifies
that all ids for autocomplete lists are strings.
[MAILPOET-3555]
2021-04-12 09:24:05 +02:00
wxa
4ea2337814 Add WP style shortcodes support to emails
Also pass shortcode arguments to custom shortcode functions

[MAILPOET-3465]
2021-03-22 12:19:59 +01:00
Rostislav Wolny
e13b2c62a9 Add servise for fixing html in form blocks
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
Pavel Dohnal
15ae8ae369 Use the data loader in form editor
[MAILPOET-2553]
2020-12-03 10:09:51 +01:00
Pavel Dohnal
344a338376 Move data selection to a reusable service
[MAILPOET-2553]
2020-12-03 10:09:51 +01:00
Rostislav Wolny
96f2bfaa20 Add entity lifecycle listener for emoji sanitisation
[MAILPOET-3196]
2020-10-06 17:36:44 +02:00
Pavel Dohnal
55a895f2c4 Display form on product pages
[MAILPOET-3210]
2020-09-17 13:41:31 +02:00
Pavel Dohnal
3f65aaee8d Display on tags/categories
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
Pavel Dohnal
5c21da80d5 Add data to template
[MAILPOET-3120]
2020-09-17 13:41:31 +02:00
wxa
d110fb26fa Add tests for headers already sent notice [MAILPOET-2983] 2020-09-09 15:22:17 +02:00
Rostislav Wolny
36e1d092b5 Add getEditPostLink to WP functions wrapper
[PREMIUM-145]
2020-09-03 15:04:11 +02:00
Pavel Dohnal
d6fb223114 Remove code for older WP versions
[MAILPOET-3096]
2020-08-13 17:01:05 +02:00
Pavel Dohnal
cee7416fdc Display form always in the_content, not just once
Use magical functions that seems to work

[MAILPOET-3009]
2020-06-25 10:13:53 +02:00
Rostislav Wolny
f1261fc728 Add integration test for ALC block processing
[MAILPOET-2961]
2020-06-04 10:40:02 +02:00
Rostislav Wolny
9f3daf3256 Optimize fetching product names on segments page
[MAILPOET-2904]
2020-05-11 14:40:29 +02:00
Rostislav Wolny
2711a00f3e Render preview page title correctly
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
b465e5205d Add srcset attribute rendering to image block renderer
Srcset is not rendered automatically when image is added in the content hook.
[MAILPOET-2750]
2020-04-08 12:04:47 +02:00
Jan Jakeš
eae5c5010d Fix properties with missing visibility
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
153c72cd77 Autofix long scalar typehints to short ones
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Pavel Dohnal
8da7330a8d Use wp class intead of calling functions directly
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
fd1e8ee915 Display forms only on default post types
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
e644675046 Use cache for forms rendering to
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Pavel Dohnal
d667ad916e Add wp functions
[MAILPOET-2639]
2020-02-05 18:36:39 +00:00
Jan Jakeš
f5927ea8ab Use camel case in new variables
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
4e75bcd296 Implement API for Premium plugin installation and activation
[MAILPOET-2431]
2020-01-16 10:29:55 +00:00
Jan Jakeš
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Pavel Dohnal
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
Amine Ben hammou
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Pavel Dohnal
613e40d765 Fix linter errors
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
75f1e97ee3 Make sure we use the correct type for wp functions
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
wxa
8fb18e7c2e Extract usage of emoji encoding from the sending queue model [MAILPOET-2460] 2019-10-24 10:57:36 +01:00
Amine Ben hammou
ad899e436c Add heading content
[MAILPOET-2278]
2019-10-18 09:41:34 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Ján Mikláš
270a5fc219 Fix parsing IPv6 in WP 4.7 and 4.8
Code copied from https://developer.wordpress.org/reference/classes/wpdb/parse_db_host/

[MAILPOET-2289]
2019-09-09 13:50:07 +01:00
Pavel Dohnal
1528648149 Remove aspect mock from php version notice
[MAILPOET-2321]
2019-08-29 13:55:49 -04:00
Pavel Dohnal
45e1779a07 Remove callable typehint
Because we need to pass an array and that doesn't work

[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
Pavel Dohnal
69e9b099d8 Prevent showing WC Customers UI to new WC website
[MAILPOET-2206]
2019-08-27 21:48:46 -04:00
Rostislav Wolny
6a494a2fae Introduce captcha session service
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
Amine Ben hammou
5d1623a083 Use PHP functions 2019-05-21 09:04:00 -04:00
Amine Ben hammou
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -04:00
Ján Mikláš
9745b0ab02 Show notice in Beamer when MailPoet update is available
[MAILPOET-2038]
2019-05-20 13:13:22 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
48fe3de7e1 Update WP functions [PREMIUM-94] 2019-05-13 09:12:55 -04:00
Rostislav Wolny
388814d226 Add backward compatibility for wpdb parse_db_host
[MAILPOET-2023]
2019-05-02 13:41:13 -04:00
Ján Mikláš
810f2bd041 Exclude non-public posts hidden by 3rd-party plugins from ALC
[MAILPOET-1964]
2019-04-29 05:46:16 -04:00