Vlad
d4d575cda4
- Refactors cron supervisor/daemon/router
2016-01-28 21:38:23 -05:00
Vlad
2cf03ec0a3
- Fixes cron HTTP request loop issue
2016-01-28 12:50:12 -05:00
Jonathan Labreuille
72ad98a77f
unit test for router Subscribers
2016-01-28 18:00:55 +01:00
Vlad
7d224274fc
- Rebases master & fixes some code
2016-01-28 09:40:57 -05:00
Vlad
f3b9f7be92
- Updates MailPoet mailer to support batch sending
...
- Fixes message encoding issue
2016-01-28 09:40:57 -05:00
Tautvidas Sipavičius
831eb6af44
Merge pull request #310 from mailpoet/fix_install
...
Fix init/hooks so that we properly initialize db/plugin
2016-01-28 13:51:22 +02:00
Vlad
746c19d6ed
- Resolves an issue with cron not starting
2016-01-27 14:15:00 -05:00
Jonathan Labreuille
894a9e8c90
Router\Router is now taking care of outputting JSON
...
- converted Subscribers Router to return array instead of wp_send_json()
- added unit test for Subscribers Router
2016-01-27 17:23:30 +01:00
Jonathan Labreuille
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
Vlad
0776e9ad73
- Adds "reply to" option to all mailers
...
- Replaces WPMail with Swift using local transport (PHP mail)
- Fixes AmazonSES region naming convention
- Updates tests
2016-01-26 19:08:02 -05:00
Tautvidas Sipavičius
91981cc324
Merge pull request #306 from mailpoet/mailer_cleanup
...
Removes Mandrill API mailer method
2016-01-26 18:52:10 +02:00
Vlad
c11d95b402
- Refactors code
2016-01-26 11:29:56 -05:00
Vlad
b4c8fe6f45
- Updates newsletter router and sending queue worker to work with the
...
shortcodes implementation
2016-01-26 10:44:18 -05:00
Vlad
d0e770e0fc
- Removes Mandrill API mailer method
2016-01-26 09:18:48 -05:00
Vlad
dc3b47db00
- Implements shortcodes
...
- Updates newsletter router/sending queue worker to use shortcodes
replacement class
2016-01-26 09:13:29 -05:00
Tautvidas Sipavičius
900d6694e2
Merge pull request #302 from mailpoet/parsley_issue
...
removed parsley validation on step 3
2016-01-26 15:50:31 +02:00
Jonathan Labreuille
64501a914a
removed parsley validation on step 3
...
- fixed placeholder for select2 instances in settings
- fixed issue in sending queue worker when newsletter does not exist
2016-01-26 11:36:20 +01:00
Vlad
de70e855ad
- Replaces regex with DOM queries
2016-01-25 21:09:16 -05:00
Vlad
03e3b5a94b
- Fixes regex that formats heading tags
2016-01-25 21:08:16 -05:00
Tautvidas Sipavičius
3331bed31c
Merge pull request #300 from mailpoet/text_rendering
...
Text rendering
2016-01-25 18:16:16 +02:00
Vlad
01eb6c7a98
- Refactors ALC
2016-01-25 09:27:51 -05:00
Vlad
f502e0b677
- Implements text rendering
...
- Updates tests
- Updates newsletter router and sending queue worker to reflect changes to
the renderer
2016-01-22 22:07:02 -05:00
Vlad
a6b64a1c5d
- Implements automated latest content rendering
2016-01-22 19:59:50 -05:00
Tautvidas Sipavičius
da483fb88f
Merge pull request #296 from mailpoet/form_custom_fields
...
Form custom fields
2016-01-22 14:56:16 +02:00
Tautvidas Sipavičius
8357295be2
Merge pull request #295 from mailpoet/import_review_fixes
...
Various fixes based on Rafael's import review comments
2016-01-22 12:28:52 +02:00
Jonathan Labreuille
8072b162d4
Unit tests for new methods in model subscriber
2016-01-22 11:28:26 +01:00
Jonathan Labreuille
5a5a777b7d
Added check for when the custom field doesn't exist
...
- suppressed cron supervisor error
2016-01-22 11:02:48 +01:00
Jonathan Labreuille
6cac7f3652
Saving of date custom fields in React & PHP
2016-01-22 10:45:33 +01:00
Vlad
72c9d301b7
- Fixes issue with file extension warning
...
- Removes duplicate notices
- Updates Twig's localize function to escape double quotes
2016-01-21 12:08:51 -05:00
Jonathan Labreuille
ad925de801
Custom fields (in Form & Edit subscriber)
2016-01-21 17:27:34 +01:00
Vlad
e837ad7014
- Fixes MailChimp import error
2016-01-20 13:54:20 -05:00
Jonathan Labreuille
daec56191f
Save custom fields on subscribe
...
- added methods to get/set a specific custom field
- added method to get all custom fields (and assign each custom field to the subscriber's instance)
- fixed zIndex of form editor's toolbar (footer was positioned above, preventing click)
2016-01-19 17:02:05 +01:00
Jonathan Labreuille
3b9821fbe1
Remove matching form block when custom field is deleted
2016-01-18 17:46:42 +01:00
Jonathan Labreuille
cabe2d61b7
Form editor update
...
- when a custom field is updated, the matching form field is now also updated
- ability to toggle "is_required" on First name & Last name
- fixed position of validation errors on segment selection, checkbox and radio
- fixed form subscription not working when using custom fields
- fixed sortable in segment selection after list update (add/remove)
- updated position of messages in form subscription
2016-01-18 17:23:10 +01:00
Jonathan Labreuille
bb77134224
Unit tests for Settings getValue/setValue
...
- fixed typo in Shortcodes
- changed for -> foreach
2016-01-15 15:50:23 +01:00
Jonathan Labreuille
3689545589
Default page on install + Setting::setValue() dot notation + cleanup
2016-01-15 13:37:37 +01:00
Jonathan Labreuille
a574733217
archives page
2016-01-14 20:00:15 +01:00
Jonathan Labreuille
8de186c0e6
fixed subscribe on registration not using the proper setting
2016-01-14 17:41:04 +01:00
Jonathan Labreuille
e3719967f9
renaming + casting
2016-01-14 17:13:02 +01:00
Jonathan Labreuille
138a631ed7
Fix unit tests + enable signup confirmation by default
...
- minor cleanup
2016-01-14 15:57:46 +01:00
Jonathan Labreuille
07b7636a72
Update Setting::getValue() to use dot syntax in Hooks
...
- fixed styling on welcome page (again)
2016-01-14 15:34:13 +01:00
Jonathan Labreuille
a63ce3cdac
Subscribe on registration
2016-01-14 15:30:22 +01:00
Tautvidas Sipavičius
f5c7bb87af
Merge pull request #288 from mailpoet/settings_round_1
...
Subscribe in comments
2016-01-14 16:28:52 +02:00
Jonathan Labreuille
2c8d925971
fixed fatal error
2016-01-14 15:23:22 +01:00
Jonathan Labreuille
0c5beb2511
Refactor & Improvements
...
- fixed position of checkbox in comment form
- refactored Subscriber::subscribe() method
- removed Form\Subscribe class in favor of Subscription\Comment (I'll create a similar class for Registration)
- added labels in Settings > Basics for Subscribe in comments & registration
- added method in Setting model to check whether signup confirmation is enabled
2016-01-14 14:11:25 +01:00
Tautvidas Sipavičius
d87ff67f50
Remove whitespace after if and catch keywords
2016-01-13 18:50:52 +02:00
Tautvidas Sipavičius
6642bb3bfa
Verify preview input data, remove "Sender" inputs
2016-01-13 14:28:43 +02:00
Tautvidas Sipavičius
2cb32e7a78
Add a method for sending newsletters via new Mailer class
2016-01-13 13:04:21 +02:00
Jonathan Labreuille
fcea9adbd9
Unit tests + minor bugfix
...
- added unit tests for new methods in Models\Subscriber
- removed check for "isNew()". It was an unecessary check. Also isNew() always returns false once the new model is saved.
2016-01-13 11:54:23 +01:00
Jonathan Labreuille
bbdd0dbb6e
Subscribe in comments
...
- added Subscriber::subscribe($user, $segment_ids)
- refactored Router\Subscribers->subscribe() method to account for new method
- added Form\Subscribe class to handle subscription in comments
- updated Basics settings page (changed "list" to "segment")
2016-01-12 18:46:31 +01:00