Commit Graph

3309 Commits

Author SHA1 Message Date
Jonathan Labreuille
0c5589a3e3 Listing method update for Newsletters/Forms/Segments/Subscribers
- updated unit tests
2016-09-12 15:57:16 +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
fa117cc7dd Add an animation to display tools 2016-09-02 12:48:44 +03:00
Vlad
2986cdba85 - Removes Cron status from MailPoet's WP admin panel 2016-09-01 19:19:47 -04:00
Tautvidas Sipavičius
bdab0c12fa Fix debouncing for ALC refresh to not update multiple times immediately 2016-08-24 16:15:53 +03: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
Jonathan Labreuille
5025f10f9f missing response in fail and prevent next on MC import 2016-08-17 16:15:54 +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
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
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
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
faec553521 Enable closing of a sidebar section in newsletter editor 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
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
12b46736c5 updated sending queue endpoint + react (pause/resume/send) 2016-08-10 13:09:35 +02:00
Vlad
eb107799a7 - Fixes varable name typo
- Declares a new variable during date validate
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
151683c632 - Updates Import to use the existing custom field creation code
- Closes #499
2016-08-08 18:23:11 -04:00
Vlad
7696b6ec5d - Replaces depreciated Notice .error() method with .fail() 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
Jonathan Labreuille
c136d91dd2 encapsulating in communication component + update js tests 2016-08-08 11:36:29 +02:00
Vlad
3f5c36d2d4 - Fixes blocking HTTP request issue
- Simplifies cron supervisor
2016-08-05 13:03:31 -04:00
Vlad
a438f13bb0 - Modifies cron router/UI to display proper status message when WP task
scheduler is configured and cron is not running
- Updates sending queue worker and related components to stop (delete)
  cron when all processing is done
2016-08-05 13:03:31 -04:00
Jonathan Labreuille
1305a10ee0 updated ALC endpoint + nl editor + js tests 2016-08-05 15:25:54 +02:00
Jonathan Labreuille
6675d5a20d added default error messages to errorResponse and badRequest 2016-08-03 14:08:22 +02:00
Jonathan Labreuille
28c39d301c Added default error response in case no errors were specified
- converted Setup endpoint
- unit tests for Setup endpoint
2016-08-03 12:41:21 +02:00
Jonathan Labreuille
afa0d3af63 Updated Ajax.js to avoid promise workaround
- Removed get method in ajax.js as it's useless
2016-08-02 18:08:12 +02:00
Jonathan Labreuille
b05344b1d3 added missing data in deferred.resolve() 2016-08-02 17:18:18 +02:00
Jonathan Labreuille
2e88d7cce0 Added API/Endpoint abstract class
- (re)Added Endpoints folder to both API and Router
- fixed syntax in namespaces
- xhr.responseJSON is returned to the fail()
- fixed Router endpoints (view in browser, cron,...)
2016-08-02 17:08:43 +02:00
Jonathan Labreuille
9410d4f10a Reorganized new API + added legacy API support + new API
- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
2016-08-01 17:00:32 +02:00
Tautvidas Sipavičius
a451f00ed3 Remove obsolete function 2016-07-29 17:21:14 +03:00
Tautvidas Sipavičius
0e0c371b28 Swap Preview and Select buttons in template select page 2016-07-29 17:15:20 +03:00
Tautvidas Sipavičius
2e52f3bb92 Add a "Preview" button in template select page 2016-07-29 17:11:30 +03:00
Tautvidas Sipavičius
13589a4660 Merge pull request #552 from mailpoet/newsletter_listing
Post notification history listing
2016-07-22 16:20:00 +03:00
Jonathan Labreuille
515515ba9f updated class names of table columns in listing 2016-07-19 17:24:56 +02:00
Jonathan Labreuille
12c036dbef refactored Models/Newsletter::getStatistics method to avoid duplication
- replaced "TO REFACTOR" with more conventional "TODO"
2016-07-19 15:34:14 +02:00
Jonathan Labreuille
1dd4ade04d added signups to forms listing 2016-07-19 13:44:32 +02:00