Vlad
51c89d5aa1
Requires PHP 5.5 or newer.
2018-08-09 14:12:58 +02:00
Michelle Shull
ee63ecaabb
Merge pull request #1397 from mailpoet/php-libs-update
...
PHP libs update [MAILPOET-1429]
2018-06-18 08:34:55 -04:00
Rostislav Wolny
daeee55118
Update Codeception deprecated method calls
2018-06-15 10:35:51 +02:00
Pavel Dohnal
8ed6c46ef9
Update php 5.4 warning message
...
[MAILPOET-1423]
2018-06-14 09:31:44 +01:00
Michelle Shull
2627ea865a
Merge pull request #1344 from mailpoet/mp1371
...
Fix: CPU usage and sending issue on slow host [MAILPOET-1371]
2018-05-14 07:54:55 -04:00
Fred. P
5912004c10
Fix: CPU usage and sending issue on slow host
...
On some slow host, the `newsletter` table get filled with
duplicated `notification_history` marked as `sending` that
never get sent.
To prevent this we've made the two following changes:
* We prevent firing `publis_*` hooks on post_type which
are excluded from search.
* We do not schedule a new post notification email if one
has an `notification_history` entry marked as `sending`.
[MAILPOET-1371]
2018-05-10 15:25:23 +02:00
Pavel Dohnal
d5b9664bde
Fix failing tests
2018-05-09 12:47:25 +01:00
Pavel Dohnal
df58322f0e
Move old versions code to own class
...
[MAILPOET-1316]
2018-05-04 15:33:56 +01:00
stoletniy
be6647d763
Fix unit tests [MAILPOET-903]
2018-02-13 11:39:50 +03:00
stoletniy
99732ac14d
Remove beta migrations [MAILPOET-903]
2018-02-13 11:39:50 +03:00
Vlad
7864e08900
Enables [mailpoet_manage] shortcode
...
Updates code
2017-12-04 19:58:30 -05:00
Vlad
63ed835d64
Allows using manage_subscription shortcode outside of newsletters
2017-11-28 22:02:29 -05:00
Vlad
7e49328d5e
Corrects test to work on multisite environment
2017-11-21 12:24:19 -05:00
Tautvidas Sipavičius
c42cf2f622
Switch to using current_user_can
function to check capabilities
2017-11-06 18:09:38 +02:00
stoletniy
1873007550
Improve a unit test for non-existent roles' capabilities [MAILPOET-1169]
2017-10-17 09:35:50 +03:00
Vlad
dee6e9fbad
Fixes "Call to a member function add_cap() on null" error
2017-10-16 22:55:11 -04:00
stoletniy
23eb4633c4
Remove the check for a plugin update permission [MAILPOET-1130]
2017-10-02 15:44:06 +03:00
stoletniy
3af059f5c4
Fix MailPoet icon displaying in Members tab on production [MAILPOET-493]
2017-10-02 10:22:40 +01:00
stoletniy
a4f2d5402c
Manage MP3 permissions with WP role capabilities, add Members plugin support [MAILPOET-493]
2017-10-02 10:22:40 +01:00
Amine Ben hammou
42e3a97616
Fixing Shortcodes issue
2017-09-20 12:34:27 +00:00
Vlad
d831b2df55
Explicitly sets up hooks instead of assuming they are already set up
2017-09-18 10:43:17 -04:00
Tautvidas Sipavičius
279c36a30d
Merge pull request #1094 from mailpoet/initializer_update
...
Updates plugin initialization logic [MAILPOET-1097]
2017-09-12 12:34:27 +03:00
Vlad
ba86cbfb18
Updates unit test
2017-09-11 11:40:14 -04:00
Vlad
b0343254c0
Renames db version setting value
2017-09-11 10:05:09 -04:00
Vlad
98482cebf9
Uses plugin's settings to store DB version
2017-09-10 16:31:36 -04:00
stoletniy
36abd8e5e6
Don't show network activation notice for other plugins
...
[MAILPOET-1072]
2017-08-30 11:39:42 +02:00
stoletniy
eff996e1f8
Unify key state constant names, leave back compat with unlocker [MAILPOET-1070]
2017-08-29 10:58:16 +03:00
Vlad
7c23415d26
Updates unit test as a result of AccessControl implementation
2017-08-23 11:28:09 -04:00
Vlad
48f3ae4ea1
Adds access control unit tests
2017-08-23 11:28:08 -04:00
Vlad
632bce7894
Adds AccessControl class that defines permissions for major plugin
...
operations
2017-08-22 09:04:39 -04:00
Pavel Dohnal
7cf3d0960d
Unify API response constants
...
[MAILPOET-1035]
2017-07-31 13:51:23 +02:00
stoletniy
6fb18ad321
Fix PSR1.Classes.ClassDeclaration sniffer rule in tests [MAILPOET-1025]
2017-07-26 18:28:56 +03:00
stoletniy
321393f119
Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025]
2017-07-26 17:03:43 +03:00
stoletniy
6aca598dc3
Fix tests: unneeded migration was triggered by resetting the DB version to 1.0.0 (after EnvTest)
...
This caused errors when pinging the daemon [MAILPOET-940]
2017-07-13 16:26:53 +03:00
Vlad
7a2aaa86cf
Tests that populator method is not run for versions below
...
3.0.0-beta.36.2.1
2017-07-11 14:26:29 +01:00
Tautvidas Sipavičius
a36fe400ed
Merge pull request #966 from mailpoet/mp2tomp3migration
...
Settings migration from MP2 to MP3
2017-07-11 12:43:19 +03:00
Tautvidas Sipavičius
22bb971db5
Merge pull request #980 from mailpoet/newsletter_listing_update
...
Sorts standard/history notification records by sent_at date in listings [MAILPOET-932]
2017-07-11 12:43:06 +03:00
fred
b88452c5a2
Fixed: the "Skip Import" link was hidden after unit tests
2017-07-10 18:37:23 +02:00
fred
f164e9bb95
Fixed: Leave the Newsletter task scheduler (cron) to its default value
2017-07-10 18:37:16 +02:00
fred
25625b1ce1
Add unit tests for the settings migration
2017-07-10 18:37:13 +02:00
Vlad
394118f113
Adds sent_at column to the newsletters table
...
Modifies populator to update existing newsletters' sent_at field
2017-07-07 11:05:33 -04:00
stoletniy
0be872eea9
Fix PHPCompatibility.PHP.EmptyNonVariable rule [MAILPOET-989]
2017-07-07 11:30:16 +03:00
stoletniy
22c39c0092
Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989]
2017-07-07 11:11:16 +03:00
stoletniy
b1425198b6
Merge pull request #967 from mailpoet/subscription_form_unit_test
...
Adds test for subscription form submission class [MAILPOET-961]
2017-07-04 14:46:26 +03:00
Vlad
8e46451337
Fixes non static methods called statically (good practice + PHP 7
...
compatibility)
2017-07-03 19:39:11 -04:00
stoletniy
d5227a9f2c
Add tests for PDO exceptions rethrowing [MAILPOET-966]
2017-07-03 10:59:38 +01:00
Tautvidas Sipavičius
933749f8f0
Merge pull request #941 from mailpoet/mp2tomp3migration
...
Mp2tomp3migration phase 2
2017-06-26 18:47:58 +03:00
Vlad
faa035a7c3
Updates subscription forms to use assets manifest
...
Adds unit tests
2017-06-22 20:42:04 -04:00
stoletniy
6ff3895940
Add missing this for stubs expecting a number of method calls to work
2017-06-22 11:55:15 +01:00
fred
5b905a60e8
Fixed: Unit test testReplaceMP2Shortcodes
2017-06-21 19:24:05 +02:00