Commit Graph

2472 Commits

Author SHA1 Message Date
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
Tautvidas Sipavičius
6fbc7b1593 Add "View in browser" to happen on the same page, instead of opening new
window
2016-08-19 18:48:29 +03:00
Tautvidas Sipavičius
69c8670b01 Add an option to open settings by clicking on the block for image,
button, social, divider and spacer blocks
2016-08-19 14:57:14 +03:00
Tautvidas Sipavičius
da44a87415 Change onkeyup to oninput events to correctly detect pasting into
inputs
2016-08-18 16:55:53 +03:00
Tautvidas Sipavičius
9fb17d4a6b Fix "Preview in browser" notice to display a proper success message 2016-08-18 15:07:20 +03:00
Tautvidas Sipavičius
16dd286f9d Merge pull request #591 from mailpoet/missing_response
missing response in fail and prevent next on MC import
2016-08-18 12:07:05 +03:00
Jonathan Labreuille
5025f10f9f missing response in fail and prevent next on MC import 2016-08-17 16:15:54 +02:00
Tautvidas Sipavičius
1278d9648c Merge pull request #590 from mailpoet/api_uniform_c
Custom fields & Import & Export
2016-08-17 16:18:53 +03: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
Tautvidas Sipavičius
1b40f02715 Bump up release version to 0.0.40 0.0.40 2016-08-16 12:30:53 +03:00
Vlad
c5a02c6136 - Allows setting empty value for date custom fields 2016-08-14 13:00:28 -04:00
Jonathan Labreuille
492cd8c96b Merge pull request #583 from mailpoet/editor_fixes
Editor fixes
2016-08-12 16:40:08 +02:00
Vlad
7f091d7188 - Fixes rebase screwup 2016-08-12 10:38:15 -04:00
Tautvidas Sipavičius
1c081623b9 When there's no social icon image URL, revert to "Image not found" image 2016-08-12 17:30:11 +03: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
Tautvidas Sipavičius
62023397f4 Remove example URLs from social icons, leave placeholders 2016-08-12 15:47:53 +03:00
Tautvidas Sipavičius
37ec6dc1a6 Fix handling of images with empty src in newsletter editor 2016-08-12 14:40:21 +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
a4457649f7 Fix saving on last newsletter step to JSON encode newsletter body 2016-08-11 18:58:55 +03: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
faec553521 Enable closing of a sidebar section in newsletter editor 2016-08-11 16:46:47 +03:00
Tautvidas Sipavičius
37fcf3a234 Fix newsletter template titles to not overlap Delete controls 2016-08-11 16:46:47 +03:00
Tautvidas Sipavičius
68a56aada8 Fix default footer to allow toggling bold and italic on sentences 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
Tautvidas Sipavičius
7a9402f5b5 Merge pull request #586 from mailpoet/api_uniform_f
updated cron endpoint + cron.jsx
2016-08-11 16:42:31 +03:00
Jonathan Labreuille
de6d7e0cae updated cron endpoint + cron.jsx 2016-08-11 12:36:17 +02:00
Tautvidas Sipavičius
a3c56b84ce Merge pull request #585 from mailpoet/api_uniform_e
Api uniform (NewsletterTemplates)
2016-08-11 12:34:16 +03: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
Tautvidas Sipavičius
b9637b52e9 Merge pull request #584 from mailpoet/api_uniform_d
Api uniform (Mailer & SendingQueue)
2016-08-10 15:04:17 +03: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