Commit Graph

91 Commits

Author SHA1 Message Date
7789a10026 Fix code style [MAILPOET-726] 2017-01-18 15:47:16 +03:00
ce0ad33c32 Fix all lists removal when editing subscribers [MAILPOET-726] 2017-01-18 15:33:20 +03:00
3a1568a31d - Fixes mailer error message not being displayed when newsletter preview
sending fails
2017-01-04 13:04:53 -05:00
4f37a44363 - Fixes newsletter preview not being sent
- Adds unit test
2016-12-29 18:46:22 -05:00
71db3e569d Merge pull request #759 from mailpoet/deleted_lists_fix
Show deleted lists in newsletter listings [MAILPOET-489]
2016-12-27 11:26:59 -05:00
2c5e73305a Show deleted lists in newsletter listings [MAILPOET-489] 2016-12-27 13:13:05 +03:00
9698cf2d2e - Optimizes ViewInBrowser router endpoint
- Optimizes ViewInBrowser class
- Optimizes and updates shortcode link category to use the refactored
  getViewInBrowserUrl() method
- Updates Shortcodes to use the refactored getViewInBrowserUrl() method
2016-12-18 23:24:57 -05:00
3b795a3e58 - Prevents deleted newsletters from showing up in archives
- Adds a relationship to the sending queue table
- Resets hash on newsletter duplication and notification history creation
- Updates hash generation to use random string instead of newsletter id
2016-12-18 23:08:08 -05:00
4b8caccb46 - Fixes subscriber shortcodes not being rendered when sending a preview
newsletter
2016-12-04 19:48:25 -05:00
82e153a2e8 - Fixes mailer's error message not being displayed 2016-11-30 13:31:02 -05:00
fe537a0445 - Adds a missing class import 2016-11-28 12:20:22 -05:00
80efc3c12d Added callback afterGetItems on Listings
Updated MP Notice to allow reuse of notices (by id)
Updated newsletters endpoint's listing method to include mta_log & mta_method in response
Updated all newsletter listings in order to dynamically display mailer error
2016-11-28 09:50:32 -05:00
cdb3b94cbd - Updates mailer endpoint to handle sending restart 2016-11-28 09:50:32 -05:00
1d03482463 - Updates API endpoint with to handle the new mailer response format 2016-11-28 09:50:32 -05:00
d1def923f8 - Enables error response in newsletter preview if sending fails 2016-11-28 09:50:32 -05:00
c5488571be - Removes unused class imports 2016-11-21 20:25:23 -05:00
1a6b032943 Added subscription limit in order to avoid mass subscriptions 2016-11-08 17:29:28 +01:00
ef21a8cca7 - Enables post notification schedule update upon newsletter saving during
step 3
2016-10-24 08:55:22 -04:00
202e4b90e1 added unit test for API::checkPermissions 2016-10-21 13:36:41 +02:00
ee89bf0722 refactored API class 2016-10-21 13:36:41 +02:00
0ca5b7a79f API Security
- added APIAccess class to define access levels of API Endpoints (permissions)
- use "mailpoet_token" for all nonce (just as before)
- merged setupPublic/setupAdmin methods in API in order to avoid duplication
- check permission if access level is not all
- fixed ABSPATH check in some classes
2016-10-21 13:36:41 +02:00
5d0ee43921 removed checkToken for admin ajax 2016-10-21 13:36:41 +02:00
cc523a3c0b ability to specify action for generateToken() method 2016-10-21 13:36:41 +02:00
38f6c95059 Update newsletter saving to reflect code review comments
- Switch to using full segment objects when saving newsletters
- Fix stale comment in newsletter editor's Newsletter model
- Fix typo in newsletter editor tests
2016-10-20 17:52:05 +03:00
cc03b631ff Allow newsletters.save endpoint to accept segments as list of objects 2016-10-20 16:08:41 +03:00
4402f826c3 fixed issue with namespace AND fixed issue #649 2016-10-06 12:54:04 +02:00
b9745b555a make sure ABSPATH is defined before using it - fixes issue #648 2016-10-06 12:52:53 +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
a9d57654b4 - Rebases master
- Fixes newsletter schedule options not being saved
2016-09-23 12:54:18 -04:00
48d738e8c4 - Updates scheduler 2016-09-23 12:30:29 -04:00
132b4ed2e8 - Passes full model object to class method 2016-09-23 12:30:29 -04: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
6091751a4b Closes issue 480 2016-09-21 11:54:16 +02:00
1918894c5c fix status code in API + PHP 5.3 errors on object instantiation 2016-09-12 15:59:30 +02:00
0c5589a3e3 Listing method update for Newsletters/Forms/Segments/Subscribers
- updated unit tests
2016-09-12 15:57:16 +02:00
d7bcf1b817 - Updates the way errorResponse class is instantiated 2016-09-10 10:49:20 -04:00
4a72995bf4 fix bulk actions and messages 2016-09-06 17:21:15 +02:00
f650455a90 forms & newsletters endpoints 2016-09-05 11:55:01 +02:00
afbe25e215 Segments & Subscribers endpoints
- unit tests
2016-09-05 11:51:58 +02:00
d93249f077 form & listing jsx update + Segment endpoint conversion 2016-09-05 11:51:58 +02:00
2986cdba85 - Removes Cron status from MailPoet's WP admin panel 2016-09-01 19:19:47 -04:00
9fb9d25132 - Uses model method to get queue 2016-08-22 09:26:25 -04:00
b492bcecc0 - Removes requirement of passing newsletter id when tracking clicks
- Extracts common tracking data processing/validation code into the Track
  class
- Refactors Clicks, Opens and View in Browser classes to enforce
  subscriber id and token check
- Allows admin users to preview newsletters without tracking statistics
2016-08-22 09:26:25 -04:00
916ae97f73 Updated export unit test 2016-08-17 12:51:50 +02:00
9582e58dda converted import 2016-08-17 12:16:58 +02:00
dc97d3115e updated Custom Field endpoint + Unit tests + form editor update 2016-08-16 12:40:10 +02:00
90eb443965 Merge pull request #582 from mailpoet/custom_field_fix
Custom field fix
2016-08-16 12:00:28 +02:00
de6d7e0cae updated cron endpoint + cron.jsx 2016-08-11 12:36:17 +02:00