097b638e6b
cleanup
2015-08-27 22:38:42 +02:00
5b93e1c8a6
example using react-waypoint
2015-08-27 22:38:41 +02:00
f721119c9f
Subscribers Listing
...
- sortable
- searchable
2015-08-27 22:38:41 +02:00
3c46c3cd3a
added listing JSX
2015-08-27 22:38:41 +02:00
dd5402b037
Newsletters can be sent!
2015-08-21 19:34:35 +02:00
59653b0c6c
New Bridge class to send messages with our sending service.
2015-08-21 17:12:36 +02:00
5ffba00937
fixing syntax
2015-08-21 15:03:13 +02:00
c473338d19
fixed issue with setToken injecting a /n
2015-08-21 15:02:24 +02:00
311acd1ee0
updated validation data attributes
2015-08-21 14:23:43 +02:00
f2cecf97a9
Form submit fix + default styles
2015-08-21 14:08:35 +02:00
bf5d7f273b
Settings JSX
...
- fixed issue with token in MailPoet Ajax / JSX
- added settings form with get/set
- reformated some code in subscribers.jsx
2015-08-21 13:12:14 +02:00
1ff7e3f4be
Form Subscription
...
- improved MailPoet ajax to fix token issue
- added js validation and ajax submit in public.js
- add util security to generate tokens
- updated router to use new util security
- added jquery-validation module
- update public config in webpack config
- added error messages in form
2015-08-20 21:02:04 +02:00
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
5cc9c1c6de
Tests cleanup.
2015-08-20 00:31:42 +02:00
e386c3aa38
Cleanup tests.
2015-08-20 00:21:10 +02:00
01360eea66
Newsletters router.
2015-08-20 00:11:32 +02:00
524150a6f7
Subscribers router.
2015-08-20 00:09:38 +02:00
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
bb6abf3c7d
Newsletters page, with test.
2015-08-18 17:07:14 +02:00
347706e119
Added Subscribers empty page, with test.
2015-08-18 16:57:13 +02:00
fd0cc96fb2
Merge pull request #70 from mailpoet/first_mailer
...
A first Mailer for the Bridge
2015-08-18 16:27:40 +02:00
58d83f5fbe
fixed MPAjax to behave with router
2015-08-18 15:29:00 +02:00
7da1cb9f5b
#65 fix and test Marco's refactoring
2015-08-18 09:23:35 +02:00
d60ba538f8
Refactor request generator from the send method.
2015-08-17 20:24:27 +02:00
a84501024a
Refactor mailer.
2015-08-17 20:20:36 +02:00
b6cac960b7
Fix empty whitespace.
2015-08-17 19:46:57 +02:00
3af24f9877
Reverted back to Model class
2015-08-17 17:37:43 +00:00
a26cbd6f41
- Renamed Model to BaseModel (make it clear)
...
- Updated RoboFile to compile assets or else tests break
2015-08-17 15:54:48 +00:00
61a372dd86
resolved merge conflicts
2015-08-17 10:00:37 -04:00
14fdfaed86
Fixed formatting issues as per Marco's remarks
2015-08-17 09:40:57 -04:00
ffc180eac8
#65 test the generateMessage method; test with more than one subscribers
2015-08-17 14:08:31 +02:00
9db0db83b1
There's no need to encode json in the Router.
2015-08-17 12:44:53 +02:00
f78ab1c44b
#65 renamed the generateMessage method; simplify the subscribers property; removed the handle method
2015-08-17 10:33:22 +02:00
b106870e96
Merged master / fixed merge conflict
2015-08-16 22:38:58 -04:00
60919e6171
Router works for POST requests.
2015-08-16 20:21:34 +02:00
32f01272f1
#65 a first Mailer for the Bridge, with a minimal test
2015-08-14 16:29:02 +02:00
78b5791a46
- Added 'Newsletters' model and wrote tests
...
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
60f63ccfe6
Router skeleton.
2015-08-13 21:57:05 +02:00
d7f7e48d8b
Fix indentation.
2015-08-13 18:05:49 +02:00
ed27b5716b
Fix indentation.
2015-08-13 18:05:26 +02:00
781e016be5
Fix indentation.
2015-08-13 18:04:28 +02:00
81c8b22b36
Fix indentation.
2015-08-13 18:03:36 +02:00
304c114dd3
Merge remote-tracking branch 'origin/master' into models_validation
...
Conflicts:
lib/Models/Setting.php
lib/Models/Subscriber.php
tests/unit/Models/SettingCest.php
tests/unit/Models/SubscriberCest.php
2015-08-13 14:04:27 +00:00
5d1b8524ea
Added Laurent's tests/model save() method
2015-08-13 09:58:41 -04:00
c5f67cb371
- Database cleanup uses Models
...
- Formatted code as per Marco's comments
2015-08-12 22:48:42 +00:00
2856a08cdc
- Made changes as per Marco's comments in #54
...
- Implemented database cleanup for tests. Closes #56
2015-08-12 15:36:56 +00:00
9f8a8f2311
Methods should be declared with parentheses immediately after the name.
2015-08-12 16:48:42 +02:00
344a7dc92c
#40 overide save in models Setting and Subscriber
2015-08-12 12:43:33 +02:00
12bead358c
- Added Sudzy composer dependency for model validation
...
- All models now extend a generic Model class that extends Sudzy
- Wrote tests for Subscriber and Setting model validation
- Rewrote model tests to make sure they look the same
- Updated both tests with cleanup logic in the beginning
- Added test:unit-single method to Robo for selective unit testing
Closes #54
2015-08-11 23:52:00 +00:00
4f24a8ed71
#40 adding created_at and update_at timestamps to subscribers and settings
2015-08-11 12:47:24 +02:00