Commit Graph

43 Commits

Author SHA1 Message Date
5473f94e24 List selection & subscribe
- fixed list selection widget (form editor & rendered form)
- ajax subscription works (minus sending the confirmation email)
- bug fixes / polishing / refactoring / cleanup
2015-11-06 16:09:09 +01:00
a31dce6226 fixed list selection widget + started form submission 2015-11-06 16:09:09 +01:00
c2e7513381 Form editor
- new form with default data
- load/save in form editor
- widgets -> settings form
- widgets -> shortcode for subscribers count
- widgets -> form rendering
- added useful filters to Subscribers (for status related search)
- refactor & cleanup
2015-11-06 16:09:09 +01:00
e24f8c9653 forms listing complete 2015-11-06 16:08:16 +01:00
a4cf2f9c76 Major refactoring of listing/router/model relation
- updated Subscribers listing
- udpated Segments listing
- added Forms router
2015-10-29 15:30:24 +01:00
13dc3577f1 lotta fixes for filtering + listing 2015-10-26 18:23:32 +01:00
4bde705f04 listing modifications + added description to segments 2015-10-22 19:19:40 +02:00
5e5008472c added last bulk actions messages 2015-10-22 15:26:31 +02:00
50e888913c Success messages on bulk actions
- added message for all bulk actions except trash related ones
- fixed issue with mailpoet notice and react router
2015-10-21 19:14:51 +02:00
dcb094fcd1 listing improvements
- added Trash group
- added soft delete for subscribers
- added restore/delete permanently features (including bulk actions and row actions)
- listing bugfixes
2015-10-21 18:18:34 +02:00
d4bfb49415 Listing fixes
- fixed bulk actions
- fixed paging behavior
- fixed filtering issues
2015-10-21 12:56:24 +02:00
e583db6f56 - Adds global filter to search custom fields
- Updates tests
2015-10-19 20:31:04 -04:00
d951200370 - Updates DB query for custom fields
- Updates models and tests for Subscribers and CustomFields
2015-10-18 13:53:07 -04:00
805f7d5417 - Adds new models: CustomFields and SubscriberCustomField + tests
- Adjusts DB Migrator, Initializer class
- Adjusts Subscribers model tests
Closes #159
2015-10-15 23:23:33 -04:00
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
c15359f1b4 Listing filters 2015-10-06 10:00:18 +02:00
239e2583d2 refactored bulk actions & implemented bulk trash for all listings 2015-09-18 17:39:25 +02:00
cbcd614b6f implemented all bulk actions for Subscribers 2015-09-16 19:44:46 +02:00
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
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
e8abc4cb47 - Model returns validation errors upon save (Closes #122)
- Fixed acceptance test for Newsletters (Closes #126)
2015-09-13 19:40:42 -04:00
575e748d84 moved logic from Subscribers router to model 2015-09-10 11:50:26 +02:00
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
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
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
27883a232a Listings
- listing component
- subscribers listing
- newsletters listing
2015-09-01 16:21:25 +02:00
f6f8f1390f - Renamed Pivot to Relation as per Jo's comment :) 2015-09-01 09:26:41 -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
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
5cc9c1c6de Tests cleanup. 2015-08-20 00:31:42 +02:00
e386c3aa38 Cleanup tests. 2015-08-20 00:21:10 +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
d7f7e48d8b Fix indentation. 2015-08-13 18:05:49 +02: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
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
26384d16b8 Fixes #49 2015-08-10 18:37:41 -04:00