Commit Graph

55 Commits

Author SHA1 Message Date
7522084ccb - Rewrites sending queue worker and updates router
- Implements batch sending for queue worker
- Fixes mailer class issue when sender data can be empty
- Updates values for cron execution timeout/limit
2016-02-10 22:34:54 -05:00
c60425afb2 Fix init/hooks so that we properly initialize db/plugin
- Added activation hook in main file (mailpoet.php)
- auto deactivate plugin in case of fatal errors during init
2016-01-27 12:52:40 +01:00
6e63c72aa5 Reinstall feature
- implemented reinstall in Settings > Advanced
- shorten placeholder for Form name input
2015-12-15 13:07:43 +01:00
268dabdc9f Bugfixes on sending
- added checks to prevent adding to the queue useless items
- fixed issue with mta settings (duplicated "host" input / renamed duplicate to "domain" for MailGun)
- fixed namespace issue on cron daemon/supervisor
- fixed typo in migration preventing the newsletter_templates table to be created.
- partially fixed cron.jsx
2015-12-07 13:29:42 +01:00
1f06a7dd0b fixed naming of sending_queue & added validation of segments on step 3 2015-12-04 19:54:31 +01:00
1950d6661f Step 3 sender and reply to per newsletter
- added sender_address/sender_name/reply_to_address/reply_to_name
- added validation on all form fields (except checkbox and radio)
2015-12-04 12:29:11 +01:00
9b011c0281 - Places supervisor/daemon/worker under the new Cron class
- Updates endpoints
- Integrates queue worker with MailPoet mailer
- Fixes script activation check logic
2015-12-03 22:01:18 -05:00
d21d9b99b0 Add an option for certain templates to be read only 2015-11-30 18:23:43 +02:00
4208b148b4 - Implements queue worker class 2015-11-27 07:35:16 -05:00
d46c9d5412 - Fixes issue with Supervisor when database tables do not exist 2015-11-27 07:35:11 -05:00
9425ac1593 Merge pull request #244 from mailpoet/wp_users_segment
WP Users segment
2015-11-27 11:39:08 +01:00
a5d96f1534 WP Users list
- refactored and fixed listing issues (related to Segments)
- removed bulk actions from segments
- added synchronize methods for WP users
- Update action in segments only for WP Users list
- added "type" column to segments (default, wp_users, dynamic...)
- added "status" column to subscriber_segment table (useful soon)
2015-11-25 18:31:57 +01:00
6dd8270bec WP Users list
- migration for filters & segment_filter tables
- models for new tables
- update of Listing JSX to allow for conditional display of item actions
2015-11-24 17:12:14 +01:00
52a0aae10f Add template thumbnail generation and display 2015-11-24 16:50:57 +02:00
00f06ea202 Revert "Queue" 2015-11-20 23:51:02 +01:00
25b51d0446 - Adds queue management and supervisor. Issue #227 2015-11-20 16:20:54 -05:00
3f168d052f - Finishes import migration
- Updates models
- Improves Notice.js
2015-11-07 11:40:42 -05: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
e24f8c9653 forms listing complete 2015-11-06 16:08:16 +01: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
357930beac Add Populator for initial data population, fix unique key 2015-10-23 16:37:24 +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
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
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
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
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
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
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