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
625f828cce
- Sets MySQL timeout to 60 seconds
2017-01-16 09:07:34 -05:00
4196d35e35
- Adds new ConflictResolver class
...
- Executes URL query parameter conflict resolver action in Router class
- Adds unit tests
2017-01-11 20:52:03 -05:00
714f81d936
- Moves hooks setup to wp_load action
...
- Adds post notification scheduler to all post types
2017-01-08 17:27:02 -05:00
31116a7cf6
- Removes setting DB character set to utf8
2016-12-21 18:21:36 -05:00
949d6033d7
- Fixes DB configuration being partially set
2016-12-20 10:14:04 -05:00
cad6391fc6
- Updates the format of db timezone offset to two-digit hours and minutes
2016-12-20 10:13:11 -05:00
88599963e0
Merge pull request #743 from mailpoet/vendor_conflict
...
Add dependency checking requirement [MAILPOET-690]
2016-12-12 15:24:56 -05:00
232494e1a2
added 'mailpoet_initialized' action so that 3rd party plugin can check if mp is loaded
2016-12-12 11:28:38 +01:00
22fd9e31f7
Fix variable name typo
2016-12-09 18:12:22 +02:00
bbe3d48ec1
Add dependency checking to prevent conflicts with other plugins
...
MAILPOET-690
2016-12-09 18:05:19 +02:00
4dfe4e4997
fix sql errors with mysql 5.6 & ONLY_FULL_GROUP_BY mode
2016-12-08 18:38:03 +01:00
3d24f0c77b
handle db update
2016-12-05 13:14:12 +01:00