Commit Graph

114 Commits

Author SHA1 Message Date
vedanshujain 82575a0c74 Don't echo error when doing AJAX because it invalidates JSON
We already append errors in JSON response in `error` array, so echoing separately is not required.
2020-03-17 16:49:52 +05:30
Rodrigo Primo f539d3e04b Merge branch 'master' into update/emogrifier 2020-02-05 10:01:38 -03:00
Rodrigo Primo ff05b06e6b Merge branch 'master' into update/emogrifier 2020-02-05 09:56:03 -03:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Ron Rennick e242d84877 fix merge conflicts 2020-01-31 10:11:01 -04:00
Claudio Sanches a52287c824 Remove old Emogrifier library 2020-01-29 15:57:45 -03:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Claudio Sanches 3122d28472 Fixed text domains 2019-12-02 18:38:21 -03:00
Towhidul Islam 0d54a139fc fixed some typos 2019-09-15 21:41:27 +06:00
Mohsin Rasool ad21e90ddd
Changed 'action-scheduler' to 'woocommerce'
Changed 'action-scheduler' to 'woocommerce'
2019-08-23 01:01:01 +05:00
Mohsin Rasool 85cfcca188
Changing 'action-scheduler' domain to 'woocommerce'
Changing 'action-scheduler' domain to 'woocommerce'
2019-08-23 00:59:10 +05:00
Gerhard f5c5ced6b8 Update Emogirifier library 2019-05-27 11:39:33 +02:00
Ron Rennick fc86e574cd update action scheduler to version 2.2.5 2019-04-24 10:08:06 -03:00
Jeremy Pry 745ebffbdd
Merge commit '98433d8c3095fa393389988d16e56fe1d302af63' into issue_23305
Updates the Action Scheduler library to version 2.2.4.

* commit '98433d8c3095fa393389988d16e56fe1d302af63':
  Squashed 'includes/libraries/action-scheduler/' changes from 4d221dc6d..f5643fe30
2019-04-15 10:47:01 -04:00
Brent Shepherd f450c8d92a Remove Action Scheduler development files 2019-03-28 15:33:41 +10:00
Brent Shepherd fbfd91f6b9 Merge commit '2492f1e0ed366694059091f434743f52a6e5202d' as 'includes/libraries/action-scheduler' 2019-03-28 15:31:13 +10:00
Brent Shepherd 3e3d15e6cc Remove non-subtree'd /action-scheduler/ 2019-03-28 15:30:35 +10:00
Mike Jolley 4d5cda49c2 Hotfix for AS
Pulls in the fix from https://github.com/Prospress/action-scheduler/pull/268
2019-03-27 14:45:36 +00:00
Mike Jolley b09a5f8003 Update Emogrifier 2019-03-26 14:24:21 +00:00
Renovate Bot b358278c62
Pin dependency wp-cli/wp-cli to 1.5.1 2019-03-14 11:52:54 +00:00
Ron Rennick 340bf79fda add 2 new files missed in original commit 2019-03-13 12:25:05 -03:00
Ron Rennick 51afb3589b update version in action scheduler plugin header 2019-03-13 11:01:11 -03:00
Ron Rennick 74789834fe update action scheduler to version 2.2.1 2019-03-13 10:45:39 -03:00
Mihai Grigori 8cf31c3c3d Change exception string to facilitate translating 2019-02-28 07:07:26 +02:00
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
Mike Jolley effb7b0a64
Merge pull request #22342 from woocommerce/update/22315
Update Emogrifier
2019-01-31 13:32:36 +00:00
Renovate Bot d74ccb991f
Update dependency wp-cli/wp-cli to v2 2019-01-09 02:46:18 +00:00
renovate[bot] 82397c2f7f Pin dependencies (#21842) 2019-01-08 11:07:32 +00:00
Mike Jolley 2edf517b2e Update Emogrifier 2019-01-04 14:47:49 +00:00
Gustavo Bordoni 31aded7091
Remove one more PHP 52 incomaptible \ 2018-12-06 09:48:18 -05:00
Gustavo Bordoni 98d6a715a2
PHP 5.2 Compatibility 2018-12-06 09:45:09 -05:00
Rodrigo Primo d29ead0e63 Make Emogrifier regular expressions compatibile with PCRE2
In preparation for PHP 7.3, this commit makes the regular expressions used in Emogrifier compatible with PCRE2. It was necessary to escape hyphens used in a few regular expressions. Since the changes were simple and I'm not familiar enough with Emogrifier, I opted to backport the changes that they made in preparation for PHP 7.3 (https://github.com/MyIntervals/emogrifier/pull/588 and https://github.com/MyIntervals/emogrifier/issues/587) instead of updating the library to the yet to be released version 2.1.0.

This change removes the following warning when running WC unit tests using PHP 7.3:

PHP Warning:  preg_replace(): Compilation failed: invalid range in character class at offset 39 in includes/libraries/class-emogrifier.php on line 1504

For more information about the PCRE2 change in PHP 7.3 see the section "PCRE to PCRE2 migration" in the link https://ayesh.me/Upgrade-PHP-7.3
2018-11-20 15:54:54 -02:00
Brent Shepherd e45824a8c3 Update Action Scheduler to v2.1.0
Merge commit '3c610aec4ad1ebef9de8df1f4dae0097fcbf8469'
2018-09-20 12:16:26 +10:00
Edi Amin f1f03928f9 Fix cron_interval property support in WP_Background_Process 2018-09-14 09:29:48 +06:00
Brent Shepherd cfb1239c3b Merge commit '10c4a515e40b9d3f5903b15e97376bb153e38c61' as 'includes/libraries/action-scheduler' 2018-07-06 15:40:54 +10:00
Mike Jolley be9162e869 Remove namespace 2018-06-15 12:43:19 +01:00
Mike Jolley 0d79ced8e4 Update emogrifier 2018-06-15 12:25:07 +01:00
Mike Jolley b25ff31d5c
Merge pull request #19419 from woocommerce/feature/18477
MaxMind GeoLite2 integration
2018-03-26 11:31:21 +01:00
Claudio Sanches b0617a13c4 Removed unnecessary ternary operators 2018-03-21 20:05:19 -03:00
Claudio Sanches f24fe25c7d Included new GeoLite2 DB reader library 2018-03-13 14:50:01 -03:00
Claudio Sanches e57e38508b Restored background processing library classes 2018-02-01 11:34:03 -02:00
Mike Jolley 4edd65c124 1 resize per batch 2018-01-26 14:31:27 +00:00
Mike Jolley 4a3124ba46 Update batch per task 2018-01-26 12:36:07 +00:00
Mike Jolley 626b8baebc MAGICK_THREAD_LIMIT fix for timeouts 2018-01-26 12:17:41 +00:00
Mike Jolley d52677b0ac Fix like query escape in background processing
Closes #16846
2017-09-20 12:46:27 +01:00
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Mike Jolley 4dea3ece8a Fix memory limit detection on some systems 2017-06-14 18:16:39 +01:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00