Commit Graph

2602 Commits

Author SHA1 Message Date
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
Jonathan Labreuille
22e8e34213 unify getData() response 2016-08-10 13:09:35 +02:00
Jonathan Labreuille
12b46736c5 updated sending queue endpoint + react (pause/resume/send) 2016-08-10 13:09:35 +02:00
Jonathan Labreuille
4950e47297 updated mailer endpoint 2016-08-10 13:09:35 +02:00
Vlad
46b0fcf37b - Adds subscriber data validation; specifically for custom fields with
date type
2016-08-08 18:23:11 -04:00
Vlad
b07c4d0e6e - Adds date validation based on date format 2016-08-08 18:23:11 -04:00
Vlad
4eec0a42f9 - Forces date validation to use custom custom field parameter 2016-08-08 18:23:11 -04:00
Vlad
9a5a3a08c6 - Fixes default date format not being set 2016-08-08 18:23:11 -04:00
Vlad
151683c632 - Updates Import to use the existing custom field creation code
- Closes #499
2016-08-08 18:23:11 -04:00
Tautvidas Sipavičius
35ccfb8bcf Merge pull request #564 from mailpoet/cron_update
Cron update
2016-08-08 16:59:27 +03:00
Vlad
7ff036b1e9 - Removes depreciated variables
- Updates method names
2016-08-08 09:45:16 -04:00
Vlad
983d56c29b - Updates default cron trigger method in Populator and Settings 2016-08-08 09:07:01 -04:00
Tautvidas Sipavičius
a2528939ba Merge pull request #581 from mailpoet/api_uniform_b
updated ALC endpoint + nl editor + js tests
2016-08-08 15:00:26 +03:00
Vlad
bf00e82596 - Fixes sending limits not being enforced 2016-08-07 11:39:05 -04:00
Vlad
c056e95249 - Rebases master
- Updates sending limit logic
2016-08-05 13:03:31 -04:00
Vlad
1be7fda1cf - Updates daemon request timeouts 2016-08-05 13:03:31 -04:00
Vlad
0b0c0f5759 - Fixes conditional statement 2016-08-05 13:03:31 -04:00
Vlad
59a4428965 - Fixes class naming conflict 2016-08-05 13:03:31 -04:00
Vlad
3f5c36d2d4 - Fixes blocking HTTP request issue
- Simplifies cron supervisor
2016-08-05 13:03:31 -04:00
Vlad
3cc5812c1d - Removes exception throwing that can disable plugin 2016-08-05 13:03:31 -04:00
Vlad
3e616201ad - Encasupsulates trigger methods logic into separate classes
- Updates cron router
2016-08-05 13:03:31 -04:00
Vlad
5558ebad45 - Updates the name of the setting const 2016-08-05 13:03:31 -04:00
Vlad
63bd093f35 - Renames TaskScheduler to CronTrigger and updates relevant code
- Standardizes setting value const naming convention
2016-08-05 13:03:31 -04:00
Vlad
ec6559b8be - Removes unused method from Settings model
- Renames method to delete value
2016-08-05 13:03:31 -04:00