Commit Graph

1912 Commits

Author SHA1 Message Date
Vlad
6f176f4e6c - Updates MailChimp unit test 2016-02-11 10:34:24 -05:00
mrcasual
214aa60d0e Merge pull request #338 from mailpoet/editor_polishing_2
Change `padded` image attribute to `fullWidth`
2016-02-10 22:34:36 -05:00
Vlad
b26380fd10 - Updates MailChimp class and unit test 2016-02-09 10:03:29 -05:00
Tautvidas Sipavičius
8b001d820b Change padded image attribute to fullWidth 2016-02-09 15:26:06 +02:00
Tautvidas Sipavičius
9c7790d07e Merge pull request #336 from mailpoet/listing_empty_trash
Listing update + Unit tests
2016-02-08 16:01:42 +02:00
Jonathan Labreuille
95b0b39366 Fixed bulk_action success messages
- uptaded Subscriber & Segment routers' test
- moved add/remove segments logic to Subscriber::createOrUpdate
- fixed Router\Segments save not returning errors
2016-02-08 13:36:35 +01:00
Jonathan Labreuille
67a3440ced updated router unit tests - refactor + test bulk delete 2016-02-08 10:10:43 +01:00
Tautvidas Sipavičius
7322f2151c Merge pull request #334 from mailpoet/unit_tests_update
Enables conditional bypassing of unit tests
2016-02-05 16:38:31 +02:00
Vlad
c43d2f240d - Updates MailChimp test and .env.sample 2016-02-05 09:35:32 -05:00
Vlad
24cb614adb - Enables conditional bypassing of unit tests 2016-02-04 18:41:18 -05:00
Jonathan Labreuille
55f851208b Major update of unit tests / updated routers + models + react 2016-02-04 19:04:52 +01:00
Jonathan Labreuille
233020ca20 fix unit tests 2016-02-04 14:38:25 +01:00
Jonathan Labreuille
0c419cde16 Unit tests (Router\NewsletterTemplates & Router\Segments
- moved json_decode(body) inside NewsletterTemplate->asArray (override)
- updated NewsletterTemplate router accordingly
- finished Segments unit test
2016-02-04 14:36:08 +01:00
Jonathan Labreuille
c2cb88f995 Unit tests fixed + models & routers update 2016-02-04 11:41:05 +01:00
Jonathan Labreuille
a2ef62302f More Unit Tests + Initializer fix
- added unit test for Router\Forms
- updated unit test for Model\Segment to reflect changes
2016-02-02 17:22:11 +01:00
Jonathan Labreuille
4fd0c4b484 Router updates + unit tests + React
- added -f flag to run unit test command in order to fail fast
- pass only id to "$endpoint->get($id)" in React forms instead of array
- updated routers according to the ->get($id) change
- refactored a bit the way form creation works
- added unit tests for Segments router
2016-02-01 11:56:21 +01:00
Jonathan Labreuille
d4623cf763 Router update for Settings and Setup + unit tests 2016-02-01 11:56:21 +01:00
Jonathan Labreuille
bb1cc997cc CustomFields
- renamed form block type "input" to "text" for consistency with React
- updated CustomFields router to comply with main router
- unit tests for CF router
2016-01-29 17:16:24 +01:00
Tautvidas Sipavičius
24f96d9d7d Merge pull request #313 from mailpoet/router_upgrade
Main Router update + Subscribers router update + Unit test
2016-01-29 17:01:21 +02:00
Vlad
2f42f643ab - Fixes message body construction 2016-01-28 22:29:47 -05:00
Jonathan Labreuille
72ad98a77f unit test for router Subscribers 2016-01-28 18:00:55 +01:00
Vlad
f3b9f7be92 - Updates MailPoet mailer to support batch sending
- Fixes message encoding issue
2016-01-28 09:40:57 -05:00
Vlad
c0f98c9ba6 - Moves credentials from mailer tests to ENV file
- Disables send method by default unless enabled in ENV file
2016-01-27 18:36:38 -05:00
Jonathan Labreuille
894a9e8c90 Router\Router is now taking care of outputting JSON
- converted Subscribers Router to return array instead of wp_send_json()
- added unit test for Subscribers Router
2016-01-27 17:23:30 +01:00
Vlad
0776e9ad73 - Adds "reply to" option to all mailers
- Replaces WPMail with Swift using local transport (PHP mail)
- Fixes AmazonSES region naming convention
- Updates tests
2016-01-26 19:08:02 -05:00
Tautvidas Sipavičius
91981cc324 Merge pull request #306 from mailpoet/mailer_cleanup
Removes Mandrill API mailer method
2016-01-26 18:52:10 +02:00
Vlad
d0e770e0fc - Removes Mandrill API mailer method 2016-01-26 09:18:48 -05:00
Vlad
3d6d1a4282 - Disables shortcodes unit test 2016-01-26 09:14:12 -05:00
Vlad
dc3b47db00 - Implements shortcodes
- Updates newsletter router/sending queue worker to use shortcodes
  replacement class
2016-01-26 09:13:29 -05:00
Vlad
f502e0b677 - Implements text rendering
- Updates tests
- Updates newsletter router and sending queue worker to reflect changes to
  the renderer
2016-01-22 22:07:02 -05:00
Tautvidas Sipavičius
da483fb88f Merge pull request #296 from mailpoet/form_custom_fields
Form custom fields
2016-01-22 14:56:16 +02:00
Jonathan Labreuille
8072b162d4 Unit tests for new methods in model subscriber 2016-01-22 11:28:26 +01:00
Vlad
6a9313107c - Fixes unit test 2016-01-21 12:21:22 -05:00
Jonathan Labreuille
bb77134224 Unit tests for Settings getValue/setValue
- fixed typo in Shortcodes
- changed for -> foreach
2016-01-15 15:50:23 +01:00
Jonathan Labreuille
138a631ed7 Fix unit tests + enable signup confirmation by default
- minor cleanup
2016-01-14 15:57:46 +01:00
Jonathan Labreuille
fcea9adbd9 Unit tests + minor bugfix
- added unit tests for new methods in Models\Subscriber
- removed check for "isNew()". It was an unecessary check. Also isNew() always returns false once the new model is saved.
2016-01-13 11:54:23 +01:00
Tautvidas Sipavičius
b7cfa549d5 Change newsletter and template saving to JSON encode body separately 2016-01-11 18:27:30 +02:00
Tautvidas Sipavičius
493fd01754 Merge pull request #285 from mailpoet/import_export_fix
Import export fix
2016-01-08 19:21:56 +02:00
Tautvidas Sipavičius
9ced4b1757 Fix export test after temp URL changed 2016-01-08 19:21:32 +02:00
Vlad
0c73c0fadc - Resolves issues identified by @rafaehlers during testing 2016-01-07 22:47:59 -05:00
Vlad
d1df94c759 - Addresses issues identified during code review 2016-01-07 17:24:46 -05:00
Vlad
0192934e65 - Removes debug leftovers 2016-01-07 17:24:42 -05:00
Vlad
2793e74858 - Rewrites the rendering engine
- Updates tests
Closes #280
2016-01-07 17:24:32 -05:00
Vlad
0dbe04c3f8 - Addresses issues identified during code review 2016-01-06 19:19:06 -05:00
Vlad
f1bf2bb097 - Refactors Mailer class
- Refactors SendingQueue worker class
- Adds Maier router with a send() method + ability to specify sending method
- Updates tests
- Introduces 'stopping' and 'starting' cron states
- Improves cron control mechanism
Closes #276
2016-01-05 10:34:57 -05:00
Tautvidas Sipavičius
132e6d3342 Rename Wordpress component to Communication component, fix preview JS
syntax
2015-12-17 12:40:26 +02:00
Jonathan Labreuille
84ec0de3cd Unit tests + Welcome page
- fixed unit tests
- commented out failing tests that require changes in the code
- added new welcome page
2015-12-11 17:17:59 +01:00
MrCasual
c2fde308cb - Renames and updates sending queue worker
- Updates mailer router's send() method
2015-12-04 12:31:54 -05:00
MrCasual
9b011c0281 - Places supervisor/daemon/worker under the new Cron class
- Updates endpoints
- Integrates queue worker with MailPoet mailer
- Fixes script activation check logic
2015-12-03 22:01:18 -05:00
Tautvidas Sipavičius
8461c13532 Include thumbnail on saved templates, add another sample template 2015-11-30 18:05:10 +02:00