Commit Graph

2995 Commits

Author SHA1 Message Date
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
Vlad
d9fbbdc02d - Updates code comments 2016-08-31 09:23:12 -04:00
Tautvidas Sipavičius
8136ee2d9b Add a timestamp to log when the plugin was installed 2016-08-31 14:42:43 +03:00
Vlad
f2d1787bd5 - Updates site URL detection logic
- Adds unit test for Cron Helper class
2016-08-30 12:37:30 -04:00
mrcasual
088ad5fb42 Merge pull request #597 from mailpoet/editor_fixes
Editor fixes
2016-08-29 15:43:47 -04:00
Vlad
3603eeee77 - Updates remaining router endpoints to use constructor and new constants 2016-08-25 10:03:52 -04:00
Vlad
59d30cc139 - Renames router URL query parameter and router class
- Updates other classes to use the new name
- Updates unit tests
2016-08-25 09:57:14 -04:00
Vlad
c6b72e729b - Refactors front router and endpoints to use dynamic methods 2016-08-24 23:26:13 -04:00
Vlad
ae6269eb63 - Restricts router access to explicitly defined endpoint actions 2016-08-24 11:23:12 -04:00
Vlad
a8f4779bfe - Updates code formatting 2016-08-24 10:22:10 -04:00
Vlad
6868142e35 - Extracts view in browser response to the endpoint
- Updates unit tests
2016-08-24 10:20:35 -04:00
Vlad
133d123919 - Updates front router and endpoints to use dynamic methods 2016-08-24 10:20:10 -04:00
Vlad
05c128d12d - Fixes errors thrown when there are no shortcodes in the newsletter body 2016-08-24 09:29:17 -04:00
Vlad
80fddd6c58 - Refactors view in browser 2016-08-23 23:42:26 -04:00
Vlad
c807ead5fd - Prepares newsletter renderer for conversion to using modal objects
instead of arrays
2016-08-23 12:48:38 -04:00
Tautvidas Sipavičius
f004bb5368 - Set default preview email to be current user's email;
- Change "Preview in browser" form to autocomplete used emails.
2016-08-23 19:32:10 +03:00
Vlad
ec09fbcb78 - Converts static classes to dynamic 2016-08-22 16:22:33 -04:00
Vlad
ed352bb1d3 - Passes wp_user_preview parameter to custom link shortcode filter 2016-08-22 09:26:25 -04:00
Vlad
375bbd2759 - Calls an open tracking class when tracking clicks 2016-08-22 09:26:25 -04:00
Vlad
9fb9d25132 - Uses model method to get queue 2016-08-22 09:26:25 -04:00
Vlad
30f79aa589 - Updates unsubscribe tracking logic 2016-08-22 09:26:25 -04:00
Vlad
69f8daac95 - Updates wp user & preview check condition 2016-08-22 09:26:25 -04:00
Vlad
03f3a6080c - Returns empty response or an image in all cases 2016-08-22 09:26:25 -04:00
Vlad
44f84c6cdb - Updates method names 2016-08-22 09:26:25 -04:00
Vlad
31008a6895 - Updates queue and subscriber check condition 2016-08-22 09:26:25 -04:00
Vlad
2490d8c919 - Refactors browser preview 2016-08-22 09:26:25 -04:00
Vlad
5886dbfd25 - Refactors statistics tracking 2016-08-22 09:26:25 -04:00
Vlad
e48d55f0b1 - Adds new model methods 2016-08-22 09:26:25 -04:00
Vlad
42339927cf - Extends ORM's isNew() method to work on saved models 2016-08-22 09:26:25 -04:00
Vlad
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
Vlad
6ab7debb7b - Fixes code formatting 2016-08-22 09:26:25 -04:00