d2dbf86a9c
fixed Router when data represents a single variable (not an array)
2016-04-22 16:59:28 +02:00
6d0795abba
Merge pull request #438 from mailpoet/non_ajax_subscription
...
Non ajax subscription
2016-04-22 09:51:47 -04:00
3b90be4122
- Fixes scheduling of notifications
2016-04-21 10:44:43 -04:00
375e70d84b
success messages in both context when subscribing to a form
2016-04-21 12:39:14 +02:00
42d586610e
form subscription only using Router now
2016-04-20 16:59:18 +02:00
dc1ef2af47
- Removes check for signup confirmation when selecting subscribers
2016-04-18 17:33:08 +03:00
91076580ef
- Enables check for subscribers who has "subscribed" status during
...
newsletter sending
- Enforces "signup_confirmation" option when selecting subscribers for
newsletter sending
- Updates unit tests
2016-04-18 17:28:37 +03:00
e2c9971c99
- Prevents newsletters from being queued when mailer is not configured
...
Closes #342
2016-04-12 08:58:21 -04:00
5ec8e4ed52
- Fixes an issue with shortcodes not rendering when sending newsletter
...
preview
2016-04-05 09:54:04 -04:00
b81764402b
- Updates hooks used to schedule welcome email
...
- Simplifies cron status message
- Implements newsletter change detection between scheduled queues
- Implements detection for subscribers who unsubscribed from list
- Implements detection for WP users who changed roles
- Updates scheduler worker logic
- Various fixes
2016-03-24 10:02:04 -04:00
3b3ccc18ce
- Updates scheduling logic to work with the new normalized DB time
2016-03-22 20:43:16 -04:00
91e7bf6336
Merge branch 'shortcodes_update' of mailpoet:mailpoet/mailpoet into shortcodes_update
2016-03-21 10:12:10 -04:00
ff58067d55
Change array_column to Helpers::arrayColumn method
2016-03-21 16:07:20 +02:00
2ba6bb339e
Fix newsletter options format for newsletters
2016-03-21 15:50:48 +02:00
181ed45d0b
- Updates shortcodes logic
...
- Implements [newsletter:total] and [newsletter:number] shortcodes
- Implements shortcode replacement in subject line
- Updates unit tests
Issue #380
2016-03-21 09:09:43 -04:00
3f6caf5fa4
- Implements scheduler worker for welcome and post notifications
...
- Updates sending queue worker to save rendered newsletter body
- Updates sending queue router to schedule post notification newsletters
2016-03-20 22:01:01 -04:00
6ec15bec22
- Updates shortcodes logic
...
- Implements [newsletter:total] and [newsletter:number] shortcodes
- Implements shortcode replacement in subject line
- Updates unit tests
Issue #380
2016-03-19 11:19:22 -04:00
bb9fce7f82
- Implements post notification scheduling
2016-03-18 11:15:31 -04:00
12c159c627
bugfix + refactoring
2016-03-01 16:23:15 +01:00
82ed7e51c5
Replaced "contains" by "indexOf" (chrome issue)
...
- added public ajax routing (not checking permissions)
- exception handling in form subscription
2016-03-01 13:18:36 +01:00
c721843c12
extracted subscription pages code from router
2016-02-29 13:34:17 +01:00
d2be407ccb
rendering of edit subscription form
2016-02-29 13:34:17 +01:00
e6337216cf
improved demo view of subscription pages
2016-02-29 13:34:17 +01:00
f1c396f0b0
basic implementation of confirm/edit/unsubscribe pages
2016-02-29 13:34:17 +01:00
14fe333678
Send confirmation email + page
2016-02-29 13:34:17 +01:00
07d533a810
Manage subscriptions
...
- make use of the SubscriberSegment::status column to keep track of unsubscriptions
- unsubscribed segments now appear grayed out in the Subscribers listing
- added unsubscribed_at after segment names when editing a subscriber
- added date() method for Twig (uses WP's date format / date_offset)
- fixed typo in Form iframe export
- fixed unit test for Newsletters
- updated selection component (JSX) to allow more customization
2016-02-22 11:35:34 +01:00
0d894a6fef
- Fixes namespace issue when catching exceptions
2016-02-12 11:20:43 -05:00
d11badf3ce
- Implements sending frequency
...
- Updates sending queue worker
2016-02-11 22:46:45 -05:00
409697ee64
Sending queue router update
...
- cleaned up useless code
- bugfixes
- improved code coverage
2016-02-11 11:30:01 -05:00
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
6c6a4070be
Remove obsolete attribute from server response
2016-02-09 15:47:56 +02:00
8b001d820b
Change padded
image attribute to fullWidth
2016-02-09 15:26:06 +02:00
95b0b39366
Fixed bulk_action success messages
...
- uptaded Subscriber & Segment routers' test
- moved add/remove segments logic to Subscriber::createOrUpdate
- fixed Router\Segments save not returning errors
2016-02-08 13:36:35 +01:00
4b6fa0e760
Added "Subscribers without a segment" filter
...
- removed useless dependency in filters.jsx
- fixed issue with Router\Subscribers::save() not updating segments
2016-02-08 10:32:06 +01:00
c89cc5a919
Merge pull request #333 from mailpoet/test_email_fix
...
Test email fix
2016-02-05 12:19:40 +02:00
2fbf85f371
- Catches exception returned by mailer class when sender is not configured
2016-02-04 18:57:07 -05:00
55f851208b
Major update of unit tests / updated routers + models + react
2016-02-04 19:04:52 +01:00
0c419cde16
Unit tests (Router\NewsletterTemplates & Router\Segments
...
- moved json_decode(body) inside NewsletterTemplate->asArray (override)
- updated NewsletterTemplate router accordingly
- finished Segments unit test
2016-02-04 14:36:08 +01:00
c2cb88f995
Unit tests fixed + models & routers update
2016-02-04 11:41:05 +01:00
12c9623e2f
Better Error handling for models
...
- added (array)getErrors() to models, returns false if no errors
- converted Forms::saveEditor method to use getErrors
- added error handling on the form editor view
2016-02-03 12:23:42 +01:00
a2ef62302f
More Unit Tests + Initializer fix
...
- added unit test for Router\Forms
- updated unit test for Model\Segment to reflect changes
2016-02-02 17:22:11 +01:00
2aeab7aaff
Router Upgrade #3 & bugfix on Cron/Supervisor
...
- ALC
- Cron
- ImportExport
- Mailer
- Newsletters (only get method for consistency with other router get methods)
- Permissions
2016-02-01 13:00:11 +01:00
4fd0c4b484
Router updates + unit tests + React
...
- added -f flag to run unit test command in order to fail fast
- pass only id to "$endpoint->get($id)" in React forms instead of array
- updated routers according to the ->get($id) change
- refactored a bit the way form creation works
- added unit tests for Segments router
2016-02-01 11:56:21 +01:00
d4623cf763
Router update for Settings and Setup + unit tests
2016-02-01 11:56:21 +01:00
6153316047
Merge pull request #314 from mailpoet/cron_loop_fix
...
Cron refactoring
2016-01-29 21:06:35 +02:00
32f8f07602
- Refactors and fixes issues identified during code review
2016-01-29 13:30:13 -05:00
bb1cc997cc
CustomFields
...
- renamed form block type "input" to "text" for consistency with React
- updated CustomFields router to comply with main router
- unit tests for CF router
2016-01-29 17:16:24 +01:00
d4d575cda4
- Refactors cron supervisor/daemon/router
2016-01-28 21:38:23 -05:00
72ad98a77f
unit test for router Subscribers
2016-01-28 18:00:55 +01:00
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