Commit Graph

2745 Commits

Author SHA1 Message Date
Jonathan Labreuille
c86fd822a6 Unit test for Model/Subscriber createOrUpdate 2015-09-11 09:38:29 +02:00
Marco
b9244c2faf Merge pull request #118 from mailpoet/newsletter_acceptance_test
Acceptance tests for newsletters.
2015-09-09 23:27:56 +02:00
Tautvidas Sipavičius
8ac9799df6 Move modules from Marionette to AMD modules, fix tests 2015-09-09 14:19:08 +03:00
Tautvidas Sipavičius
a25a8f2560 Add tests for Wordpress component, fix ALC/Posts endpoint calls 2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
2aac4f2a70 Rename editor's modules to be anonymous 2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
9c6955c8cf Stub wordpress calls and fix tests for ALC and Posts 2015-09-09 14:19:07 +03:00
MrCasual
2cc24ae965 - Added acceptance tests for the Newsletters page
- Added a shim to make PhantomJS work with React (temporary workaround)
- Removed asset compilation during acceptance testing
Closes #111
2015-09-07 20:05:55 -04:00
marco
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
Jonathan Labreuille
e1f8ac0f91 Unit Test Listing
- added unit test for Listing Handler
- added unit test helper to generate Subscribers
2015-09-03 16:45:52 +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
cf322ec3c2 Unit test: Subscriber status 2015-09-03 12:59:45 +02:00
MrCasual
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -04:00
Jonathan Labreuille
1698066f2b Subscriber unit test -> check for status 2015-09-02 16:48:19 +02:00
MrCasual
e2775981af - Renamed test case 2015-09-02 10:37:46 -04:00
MrCasual
64756c865d - Renamed List model to Segment 2015-09-02 09:29:54 -04:00
MrCasual
78a2a50af7 - Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
MrCasual
f6f8f1390f - Renamed Pivot to Relation as per Jo's comment :) 2015-09-01 09:26:41 -04:00
MrCasual
0015bdb617 - Added new model "SubscriberList"
- Added has_many_through relations to the new model + Subscriber model
- Added tests
- Fixed syntax in other models
This closes #95
2015-09-01 09:18:00 -04:00
Tautvidas Sipavičius
e6d59496eb Reindent code by 2 spaces, instead of 4 2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
21a4843a48 Integrate newsletter editor tests 2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
da371e33f4 Set up editor style compilation 2015-08-28 00:56:42 +03:00
Tautvidas Sipavičius
42586a72e9 Move over initial editor code, split templates into smaller pieces 2015-08-28 00:43:01 +03:00
Jonathan Labreuille
3d58728312 Fixing listing
- amd style for listing dependencies
- added robo tasks to run failed tests
- created method to start phantomJS server in robofile
- fixed acceptance tests on form widget
- fixed unit test on subscriber
2015-08-27 22:38:42 +02:00
Jonathan Labreuille
5b93e1c8a6 example using react-waypoint 2015-08-27 22:38:41 +02:00
marco
368b67c598 Merge branch 'master' of github.com:mailpoet/mailpoet 2015-08-21 19:49:22 +02:00
marco
dd5402b037 Newsletters can be sent! 2015-08-21 19:34:35 +02:00
Vlad
f9f9ec1d05 Merge branch 'master' of mailpoet:mailpoet/mailpoet 2015-08-21 15:25:45 +00:00
MrCasual
969630f7ea Updated _after() method for all Model tests. Closes #87 2015-08-21 11:24:28 -04:00
marco
59653b0c6c New Bridge class to send messages with our sending service. 2015-08-21 17:12:36 +02:00
marco
ce5a1b46b6 Unit test for settings was not cleaning properly the DB. 2015-08-21 16:13:17 +02:00
Jonathan Labreuille
1c77536cf5 Acceptance + Robo task
- added $file argument to test:acceptance
- updated test:unit's argument name for consistency
- beefing up form widget acceptance test
2015-08-20 18:09:45 +02:00
Jonathan Labreuille
c883de9aa8 Form Widget
- added public js code to handle validation and ajax submit
- added widget initializer
- added form widget
- added acceptance test for adding the widget
2015-08-20 16:52:51 +02:00
Marco
384871781c Merge pull request #83 from mailpoet/webpack
Symlinks -> Webpack.
2015-08-20 12:46:05 +02:00
marco
5cc9c1c6de Tests cleanup. 2015-08-20 00:31:42 +02:00
marco
e386c3aa38 Cleanup tests. 2015-08-20 00:21:10 +02:00
marco
ce730d7c3b Settings router.
Here's a simple settings router. the createOrUpdate method lives
in the model, and by default all models will return true on save
or false if save went wrong.
2015-08-19 23:55:30 +02:00
Jonathan Labreuille
bc65836c31 Webpack refactor
- added JSX support (webpack + robofile
- added public.js bundle
- refactored webpack config for clarity
- added settings.jsx form example
- fixed acceptance test failing on login
2015-08-19 19:29:11 +02:00
marco
ada1bfdcd9 Merge branch 'new_pages' 2015-08-18 17:40:26 +02:00
marco
bb6abf3c7d Newsletters page, with test. 2015-08-18 17:07:14 +02:00
marco
347706e119 Added Subscribers empty page, with test. 2015-08-18 16:57:13 +02:00
Laurent Szyster
b0f7e44a68 #65 fixing MailerCest::itCanGenerateACorrectMessage 2015-08-18 16:35:48 +02:00
Marco
fd0cc96fb2 Merge pull request #70 from mailpoet/first_mailer
A first Mailer for the Bridge
2015-08-18 16:27:40 +02:00
Laurent Szyster
7da1cb9f5b #65 fix and test Marco's refactoring 2015-08-18 09:23:35 +02:00
marco
a84501024a Refactor mailer. 2015-08-17 20:20:36 +02:00
Vlad
3af24f9877 Reverted back to Model class 2015-08-17 17:37:43 +00:00
MrCasual
dd8f704037 Merge remote-tracking branch 'origin/master' into newsletter_model 2015-08-17 13:35:38 -04:00
marco
653aa9be8f Remove broken test, we don't have static CSS anymore. 2015-08-17 19:07:17 +02:00
MrCasual
14fdfaed86 Fixed formatting issues as per Marco's remarks 2015-08-17 09:40:57 -04:00
Laurent Szyster
ffc180eac8 #65 test the generateMessage method; test with more than one subscribers 2015-08-17 14:08:31 +02:00
Laurent Szyster
f78ab1c44b #65 renamed the generateMessage method; simplify the subscribers property; removed the handle method 2015-08-17 10:33:22 +02:00