Vlad
e32c46a755
- Detaches posts_where action after posts are pulled from the database
2016-10-24 08:55:22 -04:00
Tautvidas Sipavičius
092f69538a
Merge pull request #667 from mailpoet/sending_to_trashed_subscribers_fix
...
Prevents newsletters from being sent to trashed subscribers
2016-10-24 15:26:55 +03:00
Tautvidas Sipavičius
7a75367d75
Merge pull request #666 from mailpoet/export_filename_update
...
Increases export filename length and randomness
2016-10-24 13:36:36 +03:00
Vlad
1ac288d286
- Prevents newsletters from being sent to trashed subscribers
...
- Updates unit tests
- Addresses #629
2016-10-21 14:36:44 -04:00
Vlad
516bc73092
- Increases export filename length and randomness
2016-10-21 11:42:13 -04:00
Jonathan Labreuille
202e4b90e1
added unit test for API::checkPermissions
2016-10-21 13:36:41 +02:00
Jonathan Labreuille
ee89bf0722
refactored API class
2016-10-21 13:36:41 +02:00
Jonathan Labreuille
876d21300a
fixed duplicated lines due to faulty rebase
2016-10-21 13:36:41 +02:00
Jonathan Labreuille
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
Jonathan Labreuille
5d0ee43921
removed checkToken for admin ajax
2016-10-21 13:36:41 +02:00
Jonathan Labreuille
cc523a3c0b
ability to specify action for generateToken() method
2016-10-21 13:36:41 +02:00
Tautvidas Sipavičius
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
Tautvidas Sipavičius
cc03b631ff
Allow newsletters.save endpoint to accept segments as list of objects
2016-10-20 16:08:41 +03:00
Tautvidas Sipavičius
12a3931b7b
Merge pull request #662 from mailpoet/security_issue_634
...
PHP Object injection in front Router
2016-10-18 16:46:14 +03:00
Vlad
5e9e53ec41
- Updates router to use json_encode() instead of serialize() for publicly modified data payload
...
- Updates unit tests
- Fixes #634
2016-10-17 22:39:36 -04:00
Vlad
98f95f72ad
- Adds validation for import data, including column names ( fixes #633 )
...
- Prevents nonexistent custom fields from being associated with subscribers
2016-10-17 20:22:25 -04:00
Jonathan Labreuille
812d138c4e
Merge pull request #658 from mailpoet/import_and_mailer_host_restriction
...
Import and mailer host restriction
2016-10-17 16:19:42 +02:00
Jonathan Labreuille
07bc35d4cd
Merge pull request #625 from mailpoet/unit_tests
...
Adds unit test for newsletter scheduler
2016-10-17 11:37:17 +02:00
Jonathan Labreuille
90b95a2c25
fixed 'newletter' typo and replaced integer weekdays by their carbon constant equivalent
2016-10-17 11:35:57 +02:00
Vlad
8c28dc3d8a
- Restricts Amazon SES region to a specific list of hosts
...
- Updates unit tests
- Closes #647
2016-10-16 12:19:47 -04:00
Vlad
9197e39fb4
- Restricts MailChimp API key to specific format
...
- Updates unit test
2016-10-16 11:57:56 -04:00
Jonathan Labreuille
37f59814e5
removed unused methods in Util/CSS -> fixes security issue #635
2016-10-13 10:34:36 +02:00
Jonathan Labreuille
542015a4f6
Improved removal of useless files in vendor folder during build process
...
- moved sort_order constraining logic to Listing handler's construct
2016-10-10 14:52:09 +02:00
Jonathan Labreuille
4402f826c3
fixed issue with namespace AND fixed issue #649
2016-10-06 12:54:04 +02:00
Jonathan Labreuille
b9745b555a
make sure ABSPATH is defined before using it - fixes issue #648
2016-10-06 12:52:53 +02:00
Jonathan Labreuille
a3395e41c9
fixes issue #632
2016-10-06 09:25:09 +02:00
Tautvidas Sipavičius
be61135daf
Merge pull request #627 from mailpoet/translations
...
Translations
2016-10-05 12:26:03 +03:00
Jonathan Labreuille
21b4187a11
added missing text domains in _e functions
2016-10-05 10:26:59 +02:00
Tautvidas Sipavičius
280c4762bb
Merge pull request #630 from mailpoet/subscribers_count_in_segments
...
Subscribers count in segments
2016-10-04 11:58:44 +03:00
Jonathan Labreuille
b0ab9e0408
fixed import/export unit tests + added specific method for getting segments for import
2016-09-30 15:52:17 +02:00
Jonathan Labreuille
d32abff78d
display subscribers count in segments selection
2016-09-30 15:23:18 +02:00
Jonathan Labreuille
7fbf84db1f
converted text domain to string instead of constant
2016-09-30 09:58:26 +02:00
Jonathan Labreuille
8c5aebc7d6
Don't send signup confirmation when signup confirmation is disabled
...
Fixed issue with select2 not selecting values by default on newsletter send step
2016-09-29 15:42:44 +02:00
Jonathan Labreuille
42202f676a
updated Env::plugin_name to constant for text domain
2016-09-27 14:54:23 +02:00
Jonathan Labreuille
ba6198f956
added textdomain to __() calls
2016-09-27 14:53:44 +02:00
Vlad
a9d57654b4
- Rebases master
...
- Fixes newsletter schedule options not being saved
2016-09-23 12:54:18 -04:00
Vlad
48d738e8c4
- Updates scheduler
2016-09-23 12:30:29 -04:00
Vlad
132b4ed2e8
- Passes full model object to class method
2016-09-23 12:30:29 -04:00
Tautvidas Sipavičius
dd00640119
Merge pull request #620 from mailpoet/subscription_forms
...
Subscription Forms
2016-09-23 15:20:58 +03:00
Jonathan Labreuille
a328d3b48a
avoid duplicating code
2016-09-23 12:56:27 +02:00
Jonathan Labreuille
d5cff4f0d3
fixed indentation
2016-09-23 12:14:54 +02:00
Jonathan Labreuille
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
Vlad
2e4c5ca39a
- Updates Mailer Log class and adds unit tests
2016-09-21 19:53:26 -04:00
Jonathan Labreuille
6091751a4b
Closes issue 480
2016-09-21 11:54:16 +02:00
Vlad
9087be6ee8
- Fixes condition that checks for existance of rendered newsletter body
2016-09-20 10:33:48 -04:00
Vlad
2fa5e5ead2
- Moves logic of the Subscribers task to the Sending Queue model
2016-09-19 21:53:13 -04:00
Vlad
d5107be65e
- Updates Sending Queue Worker and Mailer task to allow dependency
...
injection via constructor
- Updates unit tests to use dependency injection instead of modifying
object's internals
2016-09-19 21:00:47 -04:00
Vlad
379dfb5f6e
- Removes leftover private variable
2016-09-19 20:51:08 -04:00
Vlad
8360377992
- Replaces custom method to get newsletter with ORM's native one-to-one model
...
relationship
2016-09-19 20:47:49 -04:00
Vlad
1bf0988297
- Updates Sending Queue worker/tasks/unit tests use model's method to get/save rendered newsletter body
2016-09-19 20:11:58 -04:00