Commit Graph

226 Commits

Author SHA1 Message Date
31305a04c0 form validation with Parsley 2015-11-06 16:09:56 +01:00
b12f7f29de Custom fields
- added listing of custom fields in form editor
- ability to delete a custom field
- mades changes to the form editor in order to accomodate for the new custom fields system
- fix form editor bugs
- 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
541696863e Form editor
- new/edit in forms listing goes to editor
- fixed editor dependencies (via Webpack)
- updated forms table schema
- saving/loading a form works
2015-11-06 16:09:09 +01:00
6c8d2be18c fix for selection field jsx 2015-11-06 16:08:16 +01:00
907fe585de add Form renderer and fixed Newsletter saving issue 2015-11-06 16:08:16 +01:00
e24f8c9653 forms listing complete 2015-11-06 16:08:16 +01:00
c100130f39 Merge pull request #201 from mailpoet/forms
Listing/Model/Router refactoring + Forms
2015-10-30 11:45:34 +01:00
576fbf2085 Add notification email type 2015-10-29 15:59:09 +02:00
103da61d45 basic listing files 2015-10-28 13:19:48 +01:00
01e6a5e6b2 forms table 2015-10-28 13:19:48 +01:00
588b441fb1 Merge pull request #194 from mailpoet/lists_round_1
Lists round 1
2015-10-27 10:30:45 +01:00
fb7c4f116d No tearing down of just the populated data 2015-10-23 16:37:24 +03:00
357930beac Add Populator for initial data population, fix unique key 2015-10-23 16:37:24 +03:00
e13df4d794 Add selection of segments and roles 2015-10-23 16:35:45 +03:00
4bde705f04 listing modifications + added description to segments 2015-10-22 19:19:40 +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
6dfce57c3f Fix newsletter option related tests 2015-10-21 14:40:43 +03:00
3a4a641ca2 Add newsletter options 2015-10-20 21:47:18 +03:00
d951200370 - Updates DB query for custom fields
- Updates models and tests for Subscribers and CustomFields
2015-10-18 13:53:07 -04:00
4e3784fb96 merged master 2015-10-16 14:40:32 +02:00
3964aae863 removed unique indexes in migrator 2015-10-16 14:25:06 +02: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
f59670005e unit tests and cleanup 2015-10-15 18:21:42 +02:00
34c237ce8e Load/Save settings
- renamed all settings with dot syntax
- refactored Menu->settings()
- changed schema of settings table to allow longer setting name and value
- added getAll() static method on Setting Model to fetch all settings (with proper unserialize of value)
2015-10-15 14:22:27 +02:00
c8c3f09fb2 Refactoring Menu 1st step: Permissions
- added config permissions to setup our capabilities
- added debug mode for Twig so that we can use "dump()" when WP_DEBUG is on
2015-10-14 16:58:50 +02:00
6a4d0b06af send with tab + dkim + hosts 2015-10-14 14:38:37 +02:00
9fd13767f0 Basics, Signup, Advanced tabs 2015-10-12 16:39:36 +02:00
4f30756995 replaced React by Twig + JS 2015-10-12 13:47:53 +02:00
602e630e42 added all pages + started implementing basics 2015-10-09 19:08:13 +02:00
ed9407a890 fixed multiple select component 2015-10-09 14:48:54 +02: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
dc2b3733d7 Forms & Last Step
- fixed issues on forms
- added defaultValue on text/textarea fields
- added all actions on step 3
2015-10-01 14:22:53 +02:00
9d0ca85490 Last step
- improved watch command (much simpler robofile + truly recursive)
- split all form fields into separate files (JSX)
- improved form to allow multiple fields per row
- added selection react class for multi select using select2
- added missing files for select2 (webpack doesn't include them)
2015-10-01 12:25:25 +02:00
45dccf6c50 First step complete 2015-09-30 15:56:13 +02:00
028b178e3f Add DB tables, model and router for Newsletter templates 2015-09-29 17:23:41 +03:00
dc40d84a22 Merge pull request #141 from mailpoet/react_editor
Newsletter Editor on newsletters listing
2015-09-25 16:18:21 +02:00
7562ac22ee Edit newsletter
- added custom item_actions to listings
- added special function in order to register pages that aren't present in the menu
- removed useless test.hbs
- added wp_nonce_field & params functions to Twig
- created a separate "newsletter/form.html" (copy of editor.html) but properly formatted
2015-09-25 10:25:50 +02:00
30d0d1594d - Modifies Newsletter router save() and get() methods
- Adds Newsletter router render() method
- Adds 'body' validation to Newsletter model
- Adds new 'preheader' column to Migrator
- Corrects Nesletters acceptance test class name conflict
- Updates Newsletter model tests
Closes #138
2015-09-24 18:26:44 -04:00
56e40feb56 Bulk actions + Extra data
- fixed issue on bulk action being run even without any items selected
- added WP like feature regarding item selection, if all items are checked, it also checks the header/footer checkboxes
- fixed issue where the selection state was not properly reset
- added List column to subscribers
- added json_encode/json_decode to Twig
2015-09-23 14:13:25 +02:00
239e2583d2 refactored bulk actions & implemented bulk trash for all listings 2015-09-18 17:39:25 +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
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