Commit Graph

2995 Commits

Author SHA1 Message Date
MrCasual
ce1674da63 - Adds MailGun mailer class + tests
- Updates tests for mailer classes
2015-10-12 08:03:28 -04:00
MrCasual
901544b875 - Added Mandrill mailer class + tests
- Updated other mailer tests
2015-10-12 08:03:28 -04:00
MrCasual
291ff0208a - Adds ElasticEmail and SendGrid mailer classes + tests 2015-10-12 08:03:27 -04:00
Jonathan Labreuille
4f30756995 replaced React by Twig + JS 2015-10-12 13:47:53 +02:00
Jonathan Labreuille
602e630e42 added all pages + started implementing basics 2015-10-09 19:08:13 +02:00
Jonathan Labreuille
ed9407a890 fixed multiple select component 2015-10-09 14:48:54 +02:00
Jonathan Labreuille
ecb522955b Newsletter Segment relation
- added newsletter_segment table
- added NewsletterSegment model
- added list filter on newsletters listing
- unit tests
2015-10-06 11:13:38 +02:00
Jonathan Labreuille
c15359f1b4 Listing filters 2015-10-06 10:00:18 +02:00
Jonathan Labreuille
56168bf73f added default template 2015-10-02 13:24:06 +02:00
Jonathan Labreuille
15d3b8f051 Send newsletter + Listing + Last Step
- fixed Selection React
- fixed bulk actions (side effect of muti selection)
- added actual sending of newsletter
- added Setting::getValue($key, $default) in order to get settings
- improved Bridge class to allow override of from/reply_to
- added jquery.serializeObject to ease the pain when posting form data
2015-10-02 13:01:27 +02:00
Jonathan Labreuille
dc2b3733d7 Forms & Last Step
- fixed issues on forms
- added defaultValue on text/textarea fields
- added all actions on step 3
2015-10-01 14:22:53 +02:00
Tautvidas Sipavičius
39b2a2ad40 Add redirection from editor to last newsletter step 2015-10-01 13:46:10 +03:00
Jonathan Labreuille
9d0ca85490 Last step
- improved watch command (much simpler robofile + truly recursive)
- split all form fields into separate files (JSX)
- improved form to allow multiple fields per row
- added selection react class for multi select using select2
- added missing files for select2 (webpack doesn't include them)
2015-10-01 12:25:25 +02:00
Jonathan Labreuille
45dccf6c50 First step complete 2015-09-30 15:56:13 +02:00
Tautvidas Sipavičius
485d613d84 Switch to camelCase function names for NewsletterTemplate calls 2015-09-29 18:19:50 +03:00
Tautvidas Sipavičius
028b178e3f Add DB tables, model and router for Newsletter templates 2015-09-29 17:23:41 +03:00
Marco
dc40d84a22 Merge pull request #141 from mailpoet/react_editor
Newsletter Editor on newsletters listing
2015-09-25 16:18:21 +02:00
MrCasual
c119cc8024 - Adds additional tests to Newsletter model
- Modified Newsletter router get() method to return full object
2015-09-25 08:48:37 -04:00
Jonathan Labreuille
7562ac22ee Edit newsletter
- added custom item_actions to listings
- added special function in order to register pages that aren't present in the menu
- removed useless test.hbs
- added wp_nonce_field & params functions to Twig
- created a separate "newsletter/form.html" (copy of editor.html) but properly formatted
2015-09-25 10:25:50 +02:00
MrCasual
30d0d1594d - Modifies Newsletter router save() and get() methods
- Adds Newsletter router render() method
- Adds 'body' validation to Newsletter model
- Adds new 'preheader' column to Migrator
- Corrects Nesletters acceptance test class name conflict
- Updates Newsletter model tests
Closes #138
2015-09-24 18:26:44 -04:00
Marco
38fb33d2eb Merge pull request #123 from mailpoet/rendering_engine
Newsletter rendering engine.
2015-09-24 10:16:23 +02:00
MrCasual
a2494cfa1b - Adds tests for newsletter renderer 2015-09-23 22:42:11 -04:00
Marco
9175c5308b Merge pull request #127 from mailpoet/posts_api
Wordpress Posts API endpoints
2015-09-23 18:31:18 +02:00
MrCasual
b3e376cd01 - Refactored using @badshark's comments
- Integrated changes to JSON data
2015-09-23 11:24:08 -04:00
MrCasual
01b5416882 Refactors Newsletters as per @badshark's comments 2015-09-23 09:28:00 -04:00
marco
692e69d567 Pretty newsletter json test data.
I'm trying to uderstand more about how the generated json
works.
2015-09-23 09:28:00 -04:00
MrCasual
1e6e59f58f Refactored using PSEUDO* as per Marco's advice 2015-09-23 09:27:59 -04:00
MrCasual
42d659472e - Made all rendering classes dynamic except for single blocks 2015-09-23 09:27:59 -04:00
MrCasual
7e4bd0d044 Indented HTML code as per Marco's comment 2015-09-23 09:27:58 -04:00
MrCasual
42c5885cbd - Ported newsletter rendering engine 2015-09-23 09:27:58 -04:00
Jonathan Labreuille
56e40feb56 Bulk actions + Extra data
- fixed issue on bulk action being run even without any items selected
- added WP like feature regarding item selection, if all items are checked, it also checks the header/footer checkboxes
- fixed issue where the selection state was not properly reset
- added List column to subscribers
- added json_encode/json_decode to Twig
2015-09-23 14:13:25 +02:00
Tautvidas Sipavičius
be76e016b3 Fix addition of dividers, do general refactoring 2015-09-18 19:01:34 +03:00
Jonathan Labreuille
239e2583d2 refactored bulk actions & implemented bulk trash for all listings 2015-09-18 17:39:25 +02:00
Tautvidas Sipavičius
6a6d2391c1 Split posts transformer into smaller classes 2015-09-17 16:55:35 +03:00
Jonathan Labreuille
cbcd614b6f implemented all bulk actions for Subscribers 2015-09-16 19:44:46 +02:00
Jonathan Labreuille
2a4945c956 Listing & Form & Refactoring
- finished implementing forms
- fixed form reset when clicking on new
- fixed responsive for select all checkbox and toggle item details
- refactored listing items' actions
- added Trash action
- cleaned up validations on models
- fixed syntax
- fixed tests
2015-09-16 12:14:04 +02:00
Jonathan Labreuille
79f1896cf3 Listing & form
- improved Listing in order to make it more DRY
- form builder with all field types
- added support for data array in ValidModel->set()
- updated models to comply with Listing & Form methods
2015-09-16 12:12:14 +02:00
MrCasual
e8abc4cb47 - Model returns validation errors upon save (Closes #122)
- Fixed acceptance test for Newsletters (Closes #126)
2015-09-13 19:40:42 -04:00
Tautvidas Sipavičius
bf3e0832a3 Split post transformation code into smaller functions 2015-09-11 18:34:06 +03:00
Tautvidas Sipavičius
c030858562 Hook up post fetching and post transformation 2015-09-11 18:34:05 +03:00
Tautvidas Sipavičius
a4d1f80418 Add getPosts endpoint to fetch a list of posts for search 2015-09-11 18:34:05 +03:00
Marco
087d96838b Merge pull request #120 from mailpoet/listings
Listings fixes + Subscriber Edit/New.
2015-09-11 12:38:04 +02:00
Jonathan Labreuille
575e748d84 moved logic from Subscribers router to model 2015-09-10 11:50:26 +02:00
Jonathan Labreuille
97db902529 Subscriber Edit page 2015-09-09 15:58:57 +02:00
Tautvidas Sipavičius
27afb53393 Add Wordpress endpoints for post types, taxonomies and terms 2015-09-09 14:19:07 +03:00
Jonathan Labreuille
7370d19be3 Segment listing
- fixed duplicate entry in Robofile for editor styles
- added Segment menu
- added Segment listing
- added listing methods to Segment model
- fixed syntax in both Segment & Subscriber models (MAX LINE 80!!!)
2015-09-04 13:02:23 +02:00
marco
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
Jonathan Labreuille
d89f43dbe5 Unit tests for listing specific methods
- small fixes/optimization in Subscriber model
- added test for search and group in Subscriber
- added test for search in Newsletter
2015-09-03 13:47:39 +02:00
Jonathan Labreuille
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
MrCasual
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -04:00