fbd11cf848
fixing fatal error when using wp_add_privacy_policy_content
in init
hook
2018-05-21 07:47:17 +00:00
572cc1671b
Merge branch 'master' into gdpr-privacy-policy
2018-05-14 12:13:21 +01:00
f5c56bf492
Add privacy policy
...
[MAILPOET-1360]
2018-05-10 11:39:14 +01:00
bd01b5855e
Add subscriber eraser for GDPR
...
[MAILPOET-1359]
2018-05-09 09:28:04 +01:00
df58322f0e
Move old versions code to own class
...
[MAILPOET-1316]
2018-05-04 15:33:56 +01:00
8e13eb50bf
Export lists for email
...
[MAILPOET-1354]
2018-05-03 16:33:22 +01:00
d13aa67a07
Centralizes widget logic in one place
...
Cleans up code
2017-12-09 19:45:19 -05:00
94c7e2a5c0
Changes plugin language based on user's locale
2017-11-22 20:13:56 -05:00
3ad490f840
Loads translations before the rest of the plugin
2017-10-23 21:45:48 -04:00
23eb4633c4
Remove the check for a plugin update permission [MAILPOET-1130]
2017-10-02 15:44:06 +03:00
3af059f5c4
Fix MailPoet icon displaying in Members tab on production [MAILPOET-493]
2017-10-02 10:22:40 +01:00
a4f2d5402c
Manage MP3 permissions with WP role capabilities, add Members plugin support [MAILPOET-493]
2017-10-02 10:22:40 +01:00
279c36a30d
Merge pull request #1094 from mailpoet/initializer_update
...
Updates plugin initialization logic [MAILPOET-1097]
2017-09-12 12:34:27 +03:00
ba86cbfb18
Updates unit test
2017-09-11 11:40:14 -04:00
2ac7d1d4ab
Breaks plugin initialization into 3 stages: preInit, init and postInit
2017-09-11 11:33:03 -04:00
b0343254c0
Renames db version setting value
2017-09-11 10:05:09 -04:00
dff9c1012b
Moves widget initialization back to widgets_init hook
...
Removes priority from plugin initialization
2017-09-10 19:49:05 -04:00
98482cebf9
Uses plugin's settings to store DB version
2017-09-10 16:31:36 -04:00
77f3a875dd
Does not set global is_rtl variable
2017-09-06 20:56:52 -04:00
79b5426e01
Fix a constant name [MAILPOET-1076]
2017-08-30 17:47:53 +03:00
0ee39143f4
Runs hooks setup only when plugin is initilized
2017-08-30 09:50:49 -04:00
59482b2bfa
Uses init hook to initilize AccessControl
2017-08-29 23:30:35 -04:00
053f9e0cdf
Adds higher priority to init hook so that it fires before the widgets hook
2017-08-29 23:20:46 -04:00
e1cc25239b
Maintains code consistency when setting up JSON API
...
Updates exception handler return statement
2017-08-29 20:33:50 -04:00
2f4452ad36
Removes redundant exception handler
2017-08-29 20:28:20 -04:00
f453d685d6
Fixes translation not being picked up by makepot
2017-08-29 20:24:04 -04:00
2d2b4ca7f0
Moves setup actions from plugins_loaded hook to init hook
...
Rearranges class methods to follow the order by which they are called
2017-08-29 20:22:19 -04:00
af58814fe7
Moves AccessControl intialization outside of Router to Initializer
2017-08-24 13:56:17 -04:00
7d9b4b31aa
Removes unused constructor parameter
2017-08-24 13:37:49 -04:00
316fa91a10
Moves AccessControl initialization outside of API to Initializer
2017-08-23 11:28:09 -04:00
efa231b08f
Removes AccessControl from Migrator and Changelog
2017-08-22 09:06:20 -04:00
8d8dfaa11f
Uses Intializer to check permissions before running Activator
2017-08-22 09:06:20 -04:00
2e5554a3af
Refactors AccessControl and passes it as dependency to JSON API and Menu
2017-08-22 09:06:20 -04:00
632bce7894
Adds AccessControl class that defines permissions for major plugin
...
operations
2017-08-22 09:04:39 -04:00
f7e73b06be
added missing argument
2017-08-08 10:02:51 +00:00
9859df98b7
translate the DB error message
2017-07-31 08:53:30 +00:00
c413acd93d
display a warning when unable to connect to database
2017-07-19 16:05:34 +01:00
5ca577a718
Fix lint errors [MAILPOET-966]
2017-06-30 09:29:48 +01:00
fb1a3a80ff
Catch a DB connection exception earlier [MAILPOET-966]
2017-06-30 09:29:48 +01:00
d3db755489
Handle exceptions during initialization better [MAILPOET-966]
2017-06-30 09:29:48 +01:00
812c6634ba
Mixpanel analytics [MAILPOET-686] ( #940 )
...
* Send analytics data to mixpanel
[MAILPOET-686]
2017-06-20 12:20:50 +03:00
01eaf1ef2d
Merge pull request #937 from mailpoet/premium_updates_fix
...
Add updater to the Free [PREMIUM-22]
2017-06-19 11:09:42 -04:00
1b69fe50ff
Rename function flushAll
...
[MAILPOET-923]
2017-06-14 14:33:21 +01:00
fa3ba609f3
Show a notice to admin if network activation
...
Mailpoet seems to be working on network activated multisites but we
don't support it.
[MAILPOET-923]
2017-06-14 14:30:20 +01:00
fe9aa03de1
Add updater to the Free [PREMIUM-22]
2017-06-14 14:24:18 +03:00
7ebb7bac17
Add Premium installation/activation UI [PREMIUM-9]
2017-06-07 12:39:43 +03:00
8b13889c7a
Adds one entry point for both JSON and MP APIs
...
Removes endpoints folder and moves versions to the root
JSON API folder
2017-05-16 20:56:55 -04:00
398d7d3d80
Moves current API under JSON namespace
2017-05-16 20:56:54 -04:00
16dc81150d
Execute mailpoet_initialized hook earlier after setup [PREMIUM-2]
...
This is done because Router can seize the request and prevent subsequent actions like Premium hooking from being run, so hooks didn't work in cron daemon.
2017-03-20 12:08:40 +03:00
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