Commit Graph

1912 Commits

Author SHA1 Message Date
Jonathan Labreuille
3865a8e8cd protect some fields from being edit when subscribing 2016-11-14 15:20:18 +01:00
Vlad
b63ef8cca0 - Updates total subscriber count to exclude trashed records
- Updates unit test
2016-11-12 19:33:46 -05:00
Tautvidas Sipavičius
b046c9ea4b Gracefully catches Twig exceptions and displays error messages
MAILPOET-667 #time 3h
2016-11-10 16:33:50 +02:00
Jonathan Labreuille
c22d3c8957 Renamed 'ip' column to 'subscribed_ip'
- updated code based on PR review
2016-11-09 11:43:08 +01:00
Jonathan Labreuille
1a6b032943 Added subscription limit in order to avoid mass subscriptions 2016-11-08 17:29:28 +01:00
Tautvidas Sipavičius
6ce13df2f3 Merge pull request #696 from mailpoet/beacon_report
HS Beacon enhanced report
2016-11-07 15:59:06 +02:00
Jonathan Labreuille
b8cb1da777 added custom information to HS Beacon 2016-11-04 14:11:37 +01:00
Vlad
9cd7b1a204 - Updates unit tests
- Addresses #628 (3)
2016-11-03 20:56:25 -04:00
Vlad
7d2e13b9a3 - Updates license check logic
- Updates subscriber limit check logic
- Updates unit tests
- Updates Menu's check for subscriber limit
2016-10-27 12:35:57 -04:00
Vlad
a4395f2350 - Adds unit tests 2016-10-27 11:16:30 -04:00
Vlad
83114a8be4 - Removes unused class declarations 2016-10-24 08:55:22 -04:00
Vlad
d08d5a3b6c - Updates unit tests 2016-10-24 08:55:22 -04:00
Vlad
8330bfc884 - Fixes "completed" status update of notification history
newsletters
- Fixes detection of post notification newsletters that do not contain any posts (i.e., blank ALC blocks)
- Updates unit test
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
4088abef68 removed useless 'use' in unit test 2016-10-21 13:42:19 +02:00
Jonathan Labreuille
f6cefc3f5c wrong email address in unit test 2016-10-21 13:38:23 +02: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
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
c3a78b1ea3 Fix newsletter editor to only save properties it changes 2016-10-20 13:37:32 +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
1285252a8c - Adds unit tests 2016-10-17 20:27:58 -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
78c50c41e3 - Fixes unit test
- Updates code as per code review comments
2016-10-18 14:29:53 -04: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
Tautvidas Sipavičius
be61135daf Merge pull request #627 from mailpoet/translations
Translations
2016-10-05 12:26:03 +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
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
e565a7a234 - Uses Codeception's native methods to verify expectations
- Updates next run date test conditions to use account for possible time
  difference
2016-09-26 12:35:00 -04:00
Vlad
e1c5f609ff - Adds unit test 2016-09-23 20:16:53 -04:00
Vlad
ed00ae0516 - Adds unit test 2016-09-23 12:30:29 -04:00
Vlad
2e4c5ca39a - Updates Mailer Log class and adds unit tests 2016-09-21 19:53:26 -04:00
Vlad
13ed3aa3b9 - Adds unit test 2016-09-21 14:09:24 -04:00
Vlad
c4d9e85dff - Adds unit test 2016-09-20 20:43:49 -04:00
Vlad
1a85914c1b - Adds unit test 2016-09-20 20:08:44 -04:00
Vlad
1c2a532949 - Adds test to detect empty newsletter body when sending 2016-09-20 12:03:57 -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
4538cab6c8 - Adds newsletter body/subject as a reusable template through
Codeception's Fixture utility class
2016-09-19 20:40:17 -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
Vlad
e1caf49ea5 - Updates depreciated method name 2016-09-19 20:10:47 -04:00
Vlad
ef2187c175 - Updates code formatting 2016-09-19 11:10:03 -04:00