Commit Graph

384 Commits

Author SHA1 Message Date
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
3d442a9770 Conflicts between Segment and Subscriber status. 2015-09-03 18:05:49 +02:00
a40cdcb20c Migration fix + removed model instantiation in Listing handler 2015-09-03 11:14:38 +02:00
c804e44961 Made changes as per Marco's comments 2015-09-02 17:28:49 -04:00
fc42296f1b Status column
- updated migration for subscribers status column from int to varchar
- updated Subscriber model to reflect the change
2015-09-02 16:36:57 +02:00
64756c865d - Renamed List model to Segment 2015-09-02 09:29:54 -04:00
3fe895a7fe Listing Handler
- added a Listing Handler class to take care of listing params
- added status column to Subscriber
- added specific methods to both Newsletter & Subscriber models for listing
2015-09-02 14:47:18 +02:00
78a2a50af7 - Renamed Subscriber and RelationSubscriberList models to SList and
SubscriberList, respectively
2015-09-01 19:49:50 -04:00
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
4d1fd2b2d8 Load TinyMCE directly from lib/, disable ajax functions 2015-08-28 12:21:40 +03:00
40507d2cad Wrap editor JS code in AMD modules and load them 2015-08-28 12:17:18 +03:00
42586a72e9 Move over initial editor code, split templates into smaller pieces 2015-08-28 00:43:01 +03:00
d81c4e7aa1 fixed widget + test + split get method in sub router 2015-08-27 22:38:42 +02:00
c683378d24 fixed issue with config widget 2015-08-27 22:38:42 +02:00
0e2c04d97a many improvements on listing + cleaned up modal library 2015-08-27 22:38:42 +02:00
097b638e6b cleanup 2015-08-27 22:38:42 +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
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
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
14fdfaed86 Fixed formatting issues as per Marco's remarks 2015-08-17 09:40:57 -04: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
78b5791a46 - Added 'Newsletters' model and wrote tests
- Fixed some formatting in unit tests
Closes #68
2015-08-14 13:31:45 +00:00
1ead513437 Revert "Form Widget" 2015-08-13 16:07:46 +02:00
357c2f474a Merge pull request #59 from mailpoet/form_widget
Form Widget
2015-08-13 16:05:15 +02:00
6b46ef7fea Form Widget validation
- reorganized jquery validation lib to include languages
- added Widget initializer class
- fixed cache method in initializer
- added widget front JS to validate and submit (ajax / post)
2015-08-13 12:26:11 +02:00
79cea39238 added basic form widget 2015-08-12 22:37:37 +02:00
344a7dc92c #40 overide save in models Setting and Subscriber 2015-08-12 12:43:33 +02:00
4f24a8ed71 #40 adding created_at and update_at timestamps to subscribers and settings 2015-08-11 12:47:24 +02:00
26384d16b8 Fixes #49 2015-08-10 18:37:41 -04:00