Commit Graph

1275 Commits

Author SHA1 Message Date
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
Vlad
b76ce6c26f - Adds verification of newsletter-to-queue and subscriber-to-queue
- Prevents tracking open/click rates for subscribers who the newsletter
  was not sent to
2016-08-22 09:26:25 -04:00
Jonathan Labreuille
289811a595 Updated Import & MailChimp tests 2016-08-17 13:32:29 +02:00
Jonathan Labreuille
916ae97f73 Updated export unit test 2016-08-17 12:51:50 +02:00
Jonathan Labreuille
876e386966 converted export 2016-08-17 12:23:15 +02:00
Jonathan Labreuille
9582e58dda converted import 2016-08-17 12:16:58 +02:00
Jonathan Labreuille
213bca8050 fixed rendering of date block + fixed validation for dates 2016-08-16 14:41:53 +02:00
Jonathan Labreuille
dc97d3115e updated Custom Field endpoint + Unit tests + form editor update 2016-08-16 12:40:10 +02:00
Jonathan Labreuille
90eb443965 Merge pull request #582 from mailpoet/custom_field_fix
Custom field fix
2016-08-16 12:00:28 +02:00
Vlad
c5a02c6136 - Allows setting empty value for date custom fields 2016-08-14 13:00:28 -04:00
Vlad
7f091d7188 - Fixes rebase screwup 2016-08-12 10:38:15 -04:00
Tautvidas Sipavičius
87332037c2 Do not render images or social icons if image src is not defined 2016-08-12 16:18:44 +03:00
Vlad
81c277ca93 - Update import to autodetect dates (UI) and convert them to datetime
format (backend)
- Fixes unit test
- Fixes code formatting in Date class
2016-08-12 00:29:57 -04:00
Vlad
f8fea75130 - Updates date conversion method
- Uses Moment to parse dates in UI
- Updates Custom Field model to utilize date conversion method
- Adds unit test
2016-08-11 21:11:57 -04:00
Tautvidas Sipavičius
1d6a09f010 Modify ALC to ignore posts published before notification newsletter is
created
2016-08-11 16:46:47 +03:00
Tautvidas Sipavičius
f744305834 - Change default URLs to blank;
- Fix image, button, social icon URL placeholders;
- Remove links to example.org.
2016-08-11 16:46:47 +03:00
Jonathan Labreuille
de6d7e0cae updated cron endpoint + cron.jsx 2016-08-11 12:36:17 +02:00
Jonathan Labreuille
3d4defd563 Fixed unit tests for newletter templates
- changed null to false for default value of id in nltemplates endpoint
2016-08-10 16:51:04 +02:00
Jonathan Labreuille
52da08abb2 converted newsletterTemplates endpoint + react 2016-08-10 15:50:07 +02:00
Jonathan Labreuille
0369a23fe8 Call different actions for standard and automated newsletters on Send step
- converted save and setStatus method of Newsletters endpoint
- updated pause/resume mixin for notification & welcome listings
- use 'newsletter_id' instead of 'id' in SendingQueue endpoint (less confusing)
- added NOT_FOUND constant to APIError
- fixed unit test for Newsletters endpoint save and added test for setStatus
2016-08-10 13:09:35 +02:00
Jonathan Labreuille
f690e1a095 return sending queue object for standard / newsletter for automated\n- bugfix loading screen not going away\n- fixed not being used in sending queue endpoint 2016-08-10 13:09:35 +02:00