a1cd56c419
Updates newsletter option creation logic and fixes a bug that results in
...
them being wiped clean
2017-02-23 14:30:53 -05:00
bb80fc0860
Add unit tests for API endpoints injection [PREMIUM-4]
2017-02-22 18:02:58 +03:00
6c7cc5de0d
Implement support for additional endpoints in Free API [PREMIUM-4]
2017-02-22 11:19:35 +03:00
e7698b0131
Optimizes DB query and result processing code
2017-02-15 10:02:13 -05:00
440b7e4e6c
Fixes DB query that returns large result set when there are thousands of
...
subscribers
2017-02-14 21:07:40 -05:00
dc371d76ca
Rework subscriber count reporting after a code review [MAILPOET-804]
...
Move updateSubscriberCount() out of checkKey()
Move wp_remote_post() to request()
Simplify a response check
2017-02-01 21:04:11 +03:00
282199d362
Merge pull request #784 from mailpoet/sending_svc_key_validation
...
Add sending service key validation [MAILPOET-743]
2017-02-01 13:29:08 +02:00
9f7ae122e3
Add missing periods to translation strings
2017-01-30 21:33:59 +02:00
f2ad7ee34c
Fix code style [MAILPOET-743]
2017-01-27 16:22:12 +03:00
37017ef69d
Fix appearance and logic of some key validation messages [MAILPOET-743]
2017-01-27 16:22:12 +03:00
157725c300
Fix a string for an expiring key [MAILPOET-743]
2017-01-27 16:22:12 +03:00
98d6f55a6e
Tweak Sending Service key validation after a code review [MAILPOET-743]
...
* Abstract key state to unbound it from the API response codes
* Rename SendingServiceKeyCheck task for clarity
* Add a setter for the API key in the Bridge API class
* Make some smaller fixes
2017-01-27 16:22:11 +03:00
438b4fb1ec
Add unit tests [MAILPOET-743]
2017-01-27 16:22:09 +03:00
1f91d40def
Add sending service key validation [MAILPOET-743]
2017-01-27 16:20:26 +03:00
e77717c4c2
Merge pull request #798 from mailpoet/form_segments_fix
...
Filter lists that can be subscribed to using any particular form [MAILPOET-777]
2017-01-25 18:34:30 -05:00
168263f0ea
Fix code style [MAILPOET-777]
2017-01-25 16:29:23 +03:00
c2546e8aed
Filter lists that can be subscribed to using any particular form [MAILPOET-777]
2017-01-25 16:15:42 +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
bfdc13a8d1
Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764]
2017-01-24 21:12:56 +03:00
888a566dda
- Includes newsletter hash in preview URLs thus not requiring user
...
validation
2017-01-20 09:16:43 -05:00
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