Commit Graph

66 Commits

Author SHA1 Message Date
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
wxa
fb77167a1f Remove unused imports [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
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
71405a74e7 Refactor MailPoet\From, Helpscout and Logging to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
27a6ef11ae Move generated js files to assets/dist/js 2019-01-21 17:28:31 +01:00
4434c326df Move generated css files to assets/dist/css 2019-01-21 12:48:40 +01:00
7c9b2be760 Update PHPCompatibility standard and PHP_CodeSniffer
[MAILPOET-1542]
2018-10-11 14:02:13 +02:00
45b22f62d7 Fix create new form link in WP widgets settings [MAILPOET-1452] 2018-07-19 16:52:42 +02:00
82baa6cdbe Clarify MP version in form widget
[MAILPOET-1436]
2018-07-10 16:44:41 +01:00
6e94db24a2 minor fixes 2018-01-15 12:43:48 +00:00
5bf532a750 minor UI fix 2018-01-15 10:47:26 +00:00
c63b7d9b91 handling multiple instances of reCaptcha 2018-01-15 10:47:25 +00:00
a8052c118a fixing minor issues and adding unit test 2018-01-15 10:46:07 +00:00
2228f60e2a adding recaptcha to form wiget 2018-01-15 10:46:06 +00:00
caa0623112 handling recaptcha on the PHP side 2018-01-15 10:46:06 +00:00
72193fefae Loads dependencies only when subscription form (shortcode or widget) is
present
2018-01-09 14:16:04 +00:00
d70c6ce453 fix public.js not included when only shortcode is used 2018-01-09 14:16:04 +00:00
554dbb8dda Initializes dependencies only when widget is active 2017-12-09 19:53:12 -05:00
d13aa67a07 Centralizes widget logic in one place
Cleans up code
2017-12-09 19:45:19 -05:00
316fa91a10 Moves AccessControl initialization outside of API to Initializer 2017-08-23 11:28:09 -04:00
bf7e7e414f Adds hook to modify rendered form widget 2017-08-15 09:49:38 +02:00
56eac1ae86 Add missing callbacks to ajax calls
[MAILPOET-982]
2017-07-06 13:06:14 +01:00
398d7d3d80 Moves current API under JSON namespace 2017-05-16 20:56:54 -04:00
b549f83422 Updates form subscription class to use the main API class instead of calling directly API endpoint
Modifies forms to pass api_version
Modifies forms to pass store form-specific values (e.g., form_id, email) inside a separate data array
2017-04-19 15:38:16 -04:00
9c1cbba163 Fix 'Create a new form' link on widgets page having no feedback [MAILPOET-691] 2017-02-08 13:30:49 +03: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
b046c9ea4b Gracefully catches Twig exceptions and displays error messages
MAILPOET-667 #time 3h
2016-11-10 16:33:50 +02:00
21b4187a11 added missing text domains in _e functions 2016-10-05 10:26:59 +02: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
a328d3b48a avoid duplicating code 2016-09-23 12:56:27 +02:00
6091751a4b Closes issue 480 2016-09-21 11:54:16 +02:00
49b65729db update 14 July 2016 2016-07-14 20:58:12 +02:00
48f0c03425 Fix spacing between control structure and opening parenthesis 2016-06-30 18:46:33 +03:00
08e6430c7d June 8 2016 Copy review 2016-06-08 17:02:50 +02:00
375e70d84b success messages in both context when subscribing to a form 2016-04-21 12:39:14 +02:00
42d586610e form subscription only using Router now 2016-04-20 16:59:18 +02:00
3281ac390e Improved segment selection errors in form editor
- improved error display to make it more obvious (added border on select2 on error)
2016-03-22 17:25:25 +01:00
5121dbe0c8 Form Editor Round 3
- added prefix to form styles so that it does not conflict when multiple forms are on the same page
- added validation on form save for segments
2016-02-12 12:45:07 +01:00
a2ef62302f More Unit Tests + Initializer fix
- added unit test for Router\Forms
- updated unit test for Model\Segment to reflect changes
2016-02-02 17:22:11 +01:00
3689545589 Default page on install + Setting::setValue() dot notation + cleanup 2016-01-15 13:37:37 +01:00
9fb04bc3c0 first round of fixes #255 2015-12-07 16:54:08 +01:00