Commit Graph

402 Commits

Author SHA1 Message Date
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
c6d43099a1 - Extracts check for current plugin page into a separate method 2017-01-12 17:48:42 -05:00
5800883416 - Updates action names 2017-01-11 21:18:37 -05:00
39a6318105 - Adds scipts/styles conflict resolver and executes it only on MailPoet
admin menu pages
- Adds unit tests
2017-01-11 20:52:03 -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
3e734b5c44 Merge pull request #776 from mailpoet/js_conflict
Load MailPoet assets only on Widgets admin page [MAILPOET-740]
2017-01-09 15:38:52 -05:00
43cb03105b Change MailPoet JS assets to be loaded only on Admin Widgets page 2017-01-09 22:35:40 +02:00
912fca0e73 Merge pull request #775 from mailpoet/emails_listing_performance_fix
Add queue_id index names [MAILPOET-746]
2017-01-09 09:11:11 -05:00
6dc9f9d2ab Add queue_id index names [MAILPOET-746] 2017-01-09 11:14:38 +03: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
f8d78d87af Add indexes for even more speedy statistics retrieval [MAILPOET-746] 2016-12-31 22:19:51 +03:00
95f8f130ea Update subscriber data on repeated subscriptions [MAILPOET-760] 2016-12-29 15:29:32 +03:00
90e7026355 Merge pull request #739 from mailpoet/archives_shortcode_fix
Fixes archives shortcode and ability to manage subscription/unsubscribe [MAILPOET-737]
2016-12-27 09:39:15 +03:00
6beada63de - Allows administrators to preview all newsletters
- Allows non-administrators to preview newsletters only when newsletter
hash is specified
2016-12-25 16:07:33 -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
9698cf2d2e - Optimizes ViewInBrowser router endpoint
- Optimizes ViewInBrowser class
- Optimizes and updates shortcode link category to use the refactored
  getViewInBrowserUrl() method
- Updates Shortcodes to use the refactored getViewInBrowserUrl() method
2016-12-18 23:24:57 -05:00
9ac4c3de72 - Adds new "hash" column to the newsletters table
- Updates newsletter model to automatically generate hash when saving
  newsletter
- Adds new getByHash method to the newsletter model
2016-12-18 23:08:07 -05:00
eee22227b3 - Removes unused class import
- Fixes newsletter URL generation in archive shortcode
- Disables generation of subscription management/unsubscribe/view in
  browser shortcodes when newsletter is previewed
2016-12-18 23:08:07 -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
57706dc1b3 Merge pull request #745 from mailpoet/premium_plugin
Add action to notify 3rd party plugins that MP is initialized
2016-12-12 15:59:28 +02:00
891239bf4e Check readme file is readable before trying to parse it 2016-12-12 15:31:10 +03: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
4ae55230da Display changelog from readme.txt on Update page [MAILPOET-708] 2016-12-12 10:04:36 +03:00
eda4a9edcc Fix regex to work on windows and match only mailpoet folder as valid 2016-12-09 23:20:48 +02:00
5fb699fd5b Remove trailing slash to support searches in Windows 2016-12-09 23:07:55 +02:00
7c5e0212ad Fix calling a method on an undefined variable 2016-12-09 22:44:43 +02:00
44a77e097b Escaped path when used in regex pattern 2016-12-09 22:41:44 +02: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
449978d7c1 Merge pull request #742 from mailpoet/mysql_group_fix
fix sql errors with mysql 5.6 & ONLY_FULL_GROUP_BY mode [MAILPOET-739]
2016-12-09 09:14:22 -05:00
0535e1eaeb Merge pull request #737 from mailpoet/sending_service_bounce_sync
Add bounce synchronization with MailPoet Sending Service [MAILPOET-696]
2016-12-08 21:47:55 -05:00
4dfe4e4997 fix sql errors with mysql 5.6 & ONLY_FULL_GROUP_BY mode 2016-12-08 18:38:03 +01:00
6728203672 Add cache breaker query string to plugin static asset URLs
MAILPOET-713
2016-12-07 16:22:53 +02:00
baf0d374ae Add bounce synchronization with MailPoet Sending Service [MAILPOET-696] 2016-12-06 22:48:36 +03:00
3d24f0c77b handle db update 2016-12-05 13:14:12 +01:00
72f696e834 - Removes unused logic to deal with "failed" subscribers
- Updates sending queue worker to handle new mailer response format
2016-11-28 09:50:32 -05:00
57dff5ff00 - Corrects code comments
- Resets mailer log on each run
2016-11-28 09:50:32 -05:00
bf54eeb345 - Updates error messages and links to KB articles
- Adds polyfills for mb_string functions
- Aborts initialization if PDO extension is not found (critical
  requirement)
2016-11-20 12:14:27 -05:00
7d15c391ea - Adds new Requirements Checker class
- Updates Initializer to check requirements
2016-11-16 21:46:21 -05:00
8fb29e2418 - Moves Env class's error handling to the Initializer class 2016-11-15 12:13:01 -05:00
b348c350c0 - Adds expection handle to the main mailpoet script
- Throws exception when a temporary/cache folder can't be created
2016-11-15 11:41:09 -05:00
54f6ab0c79 - Abstracts path creation logic
- Adds blank index.php to cache and temp folders
- Updates unit tests
- Extracts cache folder location from Renderer to Env class
- Implements #643
2016-11-14 21:03:26 -05:00
16ee5e934a Fix typo in property name 2016-11-10 19:17:23 +02:00
b046c9ea4b Gracefully catches Twig exceptions and displays error messages
MAILPOET-667 #time 3h
2016-11-10 16:33:50 +02:00
c22d3c8957 Renamed 'ip' column to 'subscribed_ip'
- updated code based on PR review
2016-11-09 11:43:08 +01:00
1a6b032943 Added subscription limit in order to avoid mass subscriptions 2016-11-08 17:29:28 +01:00
b36d13a087 Merge pull request #699 from mailpoet/php53-fix
Fixes various errors on PHP 5.3.x
2016-11-07 16:48:18 +01:00