Commit Graph

2403 Commits

Author SHA1 Message Date
Jonathan Labreuille
788bed4622 moved const definition inside render method 2016-01-22 13:45:52 +01:00
Jonathan Labreuille
3fbe5423d0 added constant for years range + added comment for month quirk 2016-01-22 13:38:43 +01: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
Tautvidas Sipavičius
3f2f0ec1a9 Merge pull request #294 from mailpoet/mailchimp_import_fix
Fixes MailChimp import error
2016-01-22 12:20:44 +02: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
6a9313107c - Fixes unit test 2016-01-21 12:21:22 -05: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
1da28b7299 - Enforces CSV file extension during import file selection
- Updates "no records found" error message
2016-01-20 15:45:56 -05: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
Tautvidas Sipavičius
7bd25660df Merge pull request #293 from mailpoet/form_editor
Form editor update
2016-01-19 13:22:21 +02: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
Tautvidas Sipavičius
a6d802e2fa Bump up release version information 0.0.11 2016-01-15 18:16:39 +02:00
Tautvidas Sipavičius
1732c4f634 Merge pull request #292 from mailpoet/total_subscriber_shortcode
Shortcodes (Archives & Total subscribers) & MailPoet page (create on install)
2016-01-15 17:07:11 +02: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
f1cb64b240 Merge pull request #291 from mailpoet/animations
Editor: Animations
2016-01-15 14:15:49 +01:00
Jonathan Labreuille
3689545589 Default page on install + Setting::setValue() dot notation + cleanup 2016-01-15 13:37:37 +01:00
Tautvidas Sipavičius
9b67c56281 Make "Delete" tool animation less janky 2016-01-15 14:06:44 +02:00
Tautvidas Sipavičius
dc38b19667 Change transition timings and easings based on feedback 2016-01-15 12:05:43 +02:00
Jonathan Labreuille
a574733217 archives page 2016-01-14 20:00:15 +01:00
Tautvidas Sipavičius
b90aaa629e Merge pull request #290 from mailpoet/subscribe_on_register
Subscribe on register
2016-01-14 20:21:57 +02: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
Jonathan Labreuille
9c0316a87d Merge pull request #289 from mailpoet/newsletter_preview
Hook up sending newsletter previews
2016-01-14 12:48:12 +01:00
Tautvidas Sipavičius
46c1b682fa Add option to scroll to notices 2016-01-14 13:39:48 +02:00
Tautvidas Sipavičius
7954346a3f Fix left padding for .mailpoet_notice on editor pages 2016-01-14 13:31:40 +02: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
Jonathan Labreuille
1b2cf7bd16 Merge pull request #287 from mailpoet/newsletter_save
JSON encode newsletter body when sending it to server
2016-01-12 12:34:38 +01:00
Tautvidas Sipavičius
b7cfa549d5 Change newsletter and template saving to JSON encode body separately 2016-01-11 18:27:30 +02:00
Tautvidas Sipavičius
ffc1d0a61c Set MailPoet version to 0.0.10 for release 0.0.10 2016-01-08 19:38:57 +02:00
Tautvidas Sipavičius
d1b160def7 Merge pull request #286 from mailpoet/cron_update
Cron update
2016-01-08 19:23:50 +02:00
Tautvidas Sipavičius
493fd01754 Merge pull request #285 from mailpoet/import_export_fix
Import export fix
2016-01-08 19:21:56 +02:00
Tautvidas Sipavičius
9ced4b1757 Fix export test after temp URL changed 2016-01-08 19:21:32 +02:00
Tautvidas Sipavičius
17010e5ba9 Merge pull request #281 from mailpoet/rendering_engine_update
Rendering engine update
2016-01-08 19:00:12 +02:00
Vlad
42ad7584d4 - Refactors ColumnsHelper class 2016-01-08 11:35:30 -05:00
Vlad
dbc0f9b238 - Removes header padding 2016-01-08 11:23:02 -05:00