Commit Graph

3018 Commits

Author SHA1 Message Date
Alexey Stoletniy
bfdc13a8d1 Fix fubscription form failing when some fields are absent or don't exist [MAILPOET-764] 2017-01-24 21:12:56 +03:00
Tautvidas Sipavičius
9a3c4ff7de Merge pull request #794 from mailpoet/initial_requirements_check
Updated plugin initialization logic [MAILPOET-790]
2017-01-23 18:45:41 +02:00
Vlad
25410eb09c - Prefixes functions 2017-01-23 11:08:36 -05:00
Vlad
122f88668a - Removes anonymous functions not supported on PHP 5.2 2017-01-23 11:07:29 -05:00
Vlad
9c35eb9723 - Moves plugin initialization into a separate file that's included after
PHP version and core dependency checks are run
2017-01-23 09:05:21 -05:00
stoletniy
fa528ed1ff Merge pull request #795 from mailpoet/preview_link_update
Allows sharing of newsletter preview links [MAILPOET-791]
2017-01-23 15:52:11 +03:00
Vlad
1a7623bc4a - Adds unit tests 2017-01-20 09:24:45 -05:00
Vlad
3a4a37e1af - Sets subscriber to the logged in WP user when subscriber is not found 2017-01-20 09:16:43 -05:00
Vlad
888a566dda - Includes newsletter hash in preview URLs thus not requiring user
validation
2017-01-20 09:16:43 -05:00
mrcasual
3567779faf Merge pull request #792 from mailpoet/remove_all_lists_fix
Fix 'Subscribers without a list' filter not showing unsubscribed subscribers [MAILPOET-789]
2017-01-19 20:47:58 -05:00
Vlad
cb5b0bd753 - Removes PHP version check that's been moved to the main plugin file 2017-01-19 20:29:03 -05:00
Vlad
88d0511adb - Loads autoloader class and initializes the plugin 2017-01-19 20:29:02 -05:00
Vlad
a4a654cfd5 - Removes the use of namespace to ensure PHP 5.2 compatibility
- Adds a PHP version check and disabled the plugin if the check fails
- Adds a check for Initializer and autoload core files
- Moves plugin initialization logic outside to the Initializer class
2017-01-19 20:28:57 -05:00
Alexey Stoletniy
4d3c90ce0d Exclude trashed and multiple-list subscribers [MAILPOET-789] 2017-01-19 23:04:29 +03:00
Vlad
f51aba4dbd Bumps up release version to Beta 14
Updates changelog
3.0.0-beta.14
2017-01-19 12:30:17 -05:00
Tautvidas Sipavičius
f651c06cb9 Merge pull request #793 from mailpoet/conflict_resolver_fix
Replaces reliance on style/script names with asset location [MAILPOET-723]
2017-01-19 18:35:20 +02:00
Vlad
940328c608 - Updates assets locations to more precise names 2017-01-19 11:26:32 -05:00
mrcasual
ce85600753 Merge pull request #789 from mailpoet/build_sh_update
Update tests and risky files removal in build.sh
2017-01-19 10:24:27 -05:00
Vlad
5666116645 - Replaces reliance on style/script names with asset location
- Updates unit tests
2017-01-19 10:20:22 -05:00
Alexey Stoletniy
815461a851 Add a unit test [MAILPOET-789] 2017-01-19 17:37:01 +03:00
Alexey Stoletniy
1102467e39 Fix 'Subscribers without a list' filter not showing unsubscribed subscribers [MAILPOET-789] 2017-01-19 17:36:28 +03:00
mrcasual
a5ee865271 Merge pull request #790 from mailpoet/remove_all_lists_fix
Fix all lists removal when editing subscribers [MAILPOET-726]
2017-01-18 20:25:25 -05:00
mrcasual
59bda6cf6c Merge pull request #791 from mailpoet/first_last_names_fix
Fix MySQL strict mode error when saving a subscriber without first or…
2017-01-18 20:14:42 -05:00
Alexey Stoletniy
a4d9d55b09 Fix code style [MAILPOET-780] 2017-01-18 19:37:16 +03:00
Alexey Stoletniy
8cf918013d Fix MySQL strict mode error when saving a subscriber without first or last name [MAILPOET-780] 2017-01-18 19:06:33 +03:00
Alexey Stoletniy
7789a10026 Fix code style [MAILPOET-726] 2017-01-18 15:47:16 +03:00
Alexey Stoletniy
ce0ad33c32 Fix all lists removal when editing subscribers [MAILPOET-726] 2017-01-18 15:33:20 +03:00
stoletniy
63d1fe17a9 Merge pull request #788 from mailpoet/mysql_timeout_fix
Updates MySQL unit test condition
2017-01-17 21:30:57 +03:00
Alexey Stoletniy
da92795635 Update tests and risky files removal in build.sh 2017-01-17 21:17:02 +03:00
Vlad
915f8b5865 - Updates test condition 2017-01-17 13:03:02 -05:00
Alexey Stoletniy
8ae939080b Bump up plugin version to 3.0.0-beta.13 3.0.0-beta.13 2017-01-17 20:25:57 +03:00
stoletniy
610f74343c Merge pull request #787 from mailpoet/mysql_timeout_fix
Updates MySQL wait_timeout configuration logic [MAILPOET-786]
2017-01-17 20:21:05 +03:00
Vlad
4de03db125 - Updates test condition 2017-01-17 11:59:22 -05:00
Vlad
f734d47b26 - Extracts database configuration into a separate class
- Conditionally sets the session wait_timeout value
- Updates unit tests
2017-01-17 11:23:00 -05:00
stoletniy
9e879d0539 Merge pull request #786 from mailpoet/conflict_resolver_test_update
Fixes conflict resolver unit tests [MAILPOET-723]
2017-01-17 16:45:44 +03:00
mrcasual
ff6dffd626 Merge pull request #785 from mailpoet/form_css_fix
Fix Windows line breaks compatibility in unit test [MAILPOET-784]
2017-01-17 08:32:33 -05:00
Vlad
efe187953c - Mocks a list of permitted assets 2017-01-17 08:30:51 -05:00
Alexey Stoletniy
ab8a503a48 Fix Windows line breaks compatibility in unit test [MAILPOET-784] 2017-01-17 15:53:15 +03:00
Tautvidas Sipavičius
81d91188ac Merge pull request #782 from mailpoet/conflict_resolution_implementation
Unloads all scripts/styles that are not loaded by default by WP in admin panel [MAILPOET-723]
2017-01-16 17:30:03 +02:00
stoletniy
d3353b793f Merge pull request #783 from mailpoet/mysql_timeout_fix
Increases MySQL timeout limit [MAILPOET-786]
2017-01-16 17:21:49 +03:00
Vlad
625f828cce - Sets MySQL timeout to 60 seconds 2017-01-16 09:07:34 -05:00
Tautvidas Sipavičius
c90dd94cf3 Merge pull request #781 from mailpoet/form_css_fix
Fixes some from CSS styles not being saved [MAILPOET-784]
2017-01-16 15:28:42 +02:00
Vlad
a851527ff5 - Unloads all scripts/styles that are not loaded by default by WP in
admin panel
2017-01-15 15:35:48 -05:00
Vlad
76e292f494 - Fixes test when premium unlocker is enabled 2017-01-13 18:03:25 -05:00
Vlad
ed886280de - Rewrites the CSS styles processor/renderer class
- Adds unit tests
2017-01-13 13:16:57 -05:00
Vlad
f3b2db48c4 - Add new dependency library used to parse CSS rules 2017-01-13 13:16:56 -05:00
Tautvidas Sipavičius
b60c758281 Merge pull request #780 from mailpoet/conflict_resolution_implementation
Resolves client- and server-side conflicts with other plugins [MAILPOET-769] [MAILPOET-723]
2017-01-13 13:32:32 +02:00
Vlad
b758284df7 - Fixes unit test 2017-01-12 17:49:28 -05:00
Vlad
c6d43099a1 - Extracts check for current plugin page into a separate method 2017-01-12 17:48:42 -05:00
stoletniy
fde283dd56 Merge pull request #778 from mailpoet/settings_typo_fix
Corrects typo in subscription management shortcode [MAILPOET-783]
2017-01-12 22:22:35 +03:00