Commit Graph

1275 Commits

Author SHA1 Message Date
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
Vlad
e1caf49ea5 - Updates depreciated method name 2016-09-19 20:10:47 -04:00
Vlad
0dfae97b32 - Updates model to serialize rendered newsletter body on save 2016-09-19 20:09:44 -04:00
Vlad
6157d17c5b - Removes transient object from the model 2016-09-19 10:55:58 -04:00
Vlad
b37e85eeb5 - Removes unused method 2016-09-18 23:15:41 -04:00
Vlad
f88dabffe8 - Updates cron's sending queue worker to use model objects
- Adds new method to render newsletter to the newsletter model
- Adds new transient object to newsletter model that will hold temporary
  values (i.e., rendered body) when working with the model
2016-09-18 23:14:17 -04:00
Vlad
b834a6af4d - Updates cron scheduler worker
- Adds unit tests
2016-09-14 19:00:08 -04:00
mrcasual
cfdf72867e Merge pull request #612 from mailpoet/subscribers_limit
Subscribers limit
2016-09-13 08:49:06 -04:00
Jonathan Labreuille
1918894c5c fix status code in API + PHP 5.3 errors on object instantiation 2016-09-12 15:59:30 +02:00
Jonathan Labreuille
0c5589a3e3 Listing method update for Newsletters/Forms/Segments/Subscribers
- updated unit tests
2016-09-12 15:57:16 +02:00
Jonathan Labreuille
6d51ca8011 Merge pull request #613 from mailpoet/class_instance_creation_update
Class instance creation fix for PHP 5.3
2016-09-12 14:07:38 +02:00
Tautvidas Sipavičius
d3289dfb84 Merge pull request #609 from mailpoet/unit_tests
Cron unit tests (batch 1 of 2)
2016-09-12 14:30:29 +03:00
Vlad
c5b8b2aef0 - Fixes "class not found" error in Daemon
- Moves ignore_user_abort() to the run() method
- Updates unit tests
2016-09-10 18:06:48 -04:00
Vlad
d7bcf1b817 - Updates the way errorResponse class is instantiated 2016-09-10 10:49:20 -04:00
Vlad
f30ed153ce - Updates the way template classes are instantiated 2016-09-10 10:44:24 -04:00
Jonathan Labreuille
f436088a16 Subscribers limit
- added "limit.html" template
- subscribers_limit set in Env class
2016-09-09 16:12:59 +02:00
Vlad
3508ac36b4 - Removes daemon status logic and updates tests
- Refactors daemon
- Adds daemon unit tests
2016-09-08 19:22:42 -04:00
Jonathan Labreuille
4ebdff49e0 make Model::setTimestamp() public 2016-09-07 10:26:08 +02:00
Jonathan Labreuille
4a72995bf4 fix bulk actions and messages 2016-09-06 17:21:15 +02:00
Jonathan Labreuille
f650455a90 forms & newsletters endpoints 2016-09-05 11:55:01 +02:00
Jonathan Labreuille
afbe25e215 Segments & Subscribers endpoints
- unit tests
2016-09-05 11:51:58 +02:00
Jonathan Labreuille
d93249f077 form & listing jsx update + Segment endpoint conversion 2016-09-05 11:51:58 +02:00
Tautvidas Sipavičius
a423123b66 Add 3 new sample templates Becs prepared 2016-09-02 14:12:19 +03:00
Vlad
bcf1b37c6a - Adds unit tests for Cron Trigger class 2016-09-01 19:19:47 -04:00
Vlad
2986cdba85 - Removes Cron status from MailPoet's WP admin panel 2016-09-01 19:19:47 -04:00
Vlad
53a8ae74e2 - Adds unit tests for Supervisor class
- Updates execution limit condition check in Supervisor
2016-09-01 19:19:47 -04:00
Tautvidas Sipavičius
c664045444 Merge pull request #603 from mailpoet/welcome_page
Welcome and Update pages
2016-09-01 14:02:20 +03:00
Tautvidas Sipavičius
6b8149210d Remove installed_at default value from default settings 2016-08-31 16:59:50 +03:00