Paul Dechov
08e8ca7823
Activate plugins during installation process even if directory doesn't match slug
2018-03-01 11:50:54 -05:00
Rodrigo Primo
5be9d1b118
Remove all WC tables when uninstalling the plugin
...
There were two outdated lists of WC tables. One used to drop tables when WC is uninstalled and another one to drop tables when a site is deleted in a multi site environment. This commit creates a new unified list of WC tables, adds the missing tables to this list and introduces a unit test that will fail if the list gets outdated.
2018-02-06 11:19:40 -02:00
Rodrigo Primo
13f703fd32
Don't call WC_Install::install() on downgrades
...
WC doesn't support downgrades but the if condition that decides whether or not to call WC_Install::install() and apply database schema changes was checking if the WC version stored in the database is equal to the WC version in the code. This commit changes the check performed inside the if condition to verify if the WC version stored in the database is smaller than the version in the code. This way `dbDelta()` won't be called automatically by WC and revert database schema changes. This is particulary important for clustered providers where the version of the WC code running in one of the containers could be outdated and trigger a database downgrade.
2018-02-05 14:40:51 -02:00
Rodrigo Primo
13351b3d75
phpcs fixes
...
Removed the print_r() call as phpcs was complaining about it and there is no need to output the version values as phpunit will do that if the test fails.
2018-02-05 14:40:36 -02:00
James Allan
b2510773b1
On 3.3 upgrade set PayPal sandbox API credentials
2018-01-23 12:53:17 +10:00
Shiva Poudel
0432b58182
Remove unwanted transient then were not set
2017-12-18 20:03:08 +05:45
Mike Jolley
a42ba4607e
Merge pull request #18060 from woocommerce/fix/17915
...
Background processing; multisite should process current blog queue only
2017-12-13 12:38:19 +00:00
Mike Jolley
91803be50c
Fix install_actions action name
2017-12-12 11:42:59 +00:00
Claudio Sanches
2f6f6112c2
Merge branch 'master' into feature/webhook-crud
2017-12-07 18:21:52 -02:00
Jonathan Belcher
d38a9e2af6
Change order of commands to make DB last
2017-12-05 14:39:37 -05:00
Jonathan Belcher
c39a181cb6
Clear addons transients on update to 3.3.0
2017-12-05 12:23:51 -05:00
Claudio Sanches
0f4f8a3f16
Merge branch 'master' into feature/webhook-crud
2017-12-04 12:37:10 -02:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Claudio Sanches
cc20c1282c
Fixed merge
2017-11-28 15:09:54 -02:00
Claudio Sanches
c6f8e95b97
Merge branch 'master' into feature/webhook-crud
2017-11-28 15:09:10 -02:00
Claudio Sanches
8ed6e7436f
Merge pull request #17909 from woocommerce/update/phpcs-violations
...
Fix some PHPCS violations
2017-11-27 18:42:24 -02:00
Mike Jolley
856ae87d54
Update method
2017-11-23 15:44:17 +00:00
Mike Jolley
c5a80d080b
Rename so delete is hidden
2017-11-23 14:41:17 +00:00
Mike Jolley
3e921e524d
Install default cat
2017-11-23 14:38:40 +00:00
Mike Jolley
3dc4277490
Install a default cat
2017-11-23 14:26:34 +00:00
Rodrigo Primo
de5a21dcb0
Fix PHPCS violations in includes/class-wc-install.php
2017-11-23 12:16:47 -02:00
Rodrigo Primo
e12fa54bc6
phpcbf automatic coding standard fixes
2017-11-23 12:16:47 -02:00
claudiulodro
cebe335dda
Update routine
2017-11-20 14:21:08 -08:00
Mike Jolley
34b7f67646
Merge pull request #17755 from woocommerce/feature/webhook-delivery-logging
...
Webhook Logging via WC_Logger
2017-11-20 12:29:43 +00:00
Gerhard Potgieter
0725ed11ac
Remove webhook comment migration method, not needed.
2017-11-20 08:12:49 +02:00
Claudio Sanches
2669b8edc4
Webhooks migration script
2017-11-16 13:44:01 -02:00
Claudio Sanches
9fe0c7261e
Merge branch 'master' into feature/webhook-crud
2017-11-16 12:20:22 -02:00
Gerhard Potgieter
3524ed2cf0
Merge branch 'master' of github.com:woocommerce/woocommerce into feature/webhook-delivery-logging
2017-11-15 14:28:14 +02:00
Mike Jolley
04d8184496
More filter options
2017-11-13 19:03:08 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +00:00
Gerhard Potgieter
d7ca1d8cd8
Webhook logs update routine to move from comments to wc_logger
2017-11-09 08:02:59 +02:00
Mike Jolley
6f693d4d1a
Upgrade routine
2017-11-07 19:16:44 +00:00
Claudio Sanches
368d958be4
Merge branch 'master' into feature/webhook-crud
2017-10-10 16:13:37 -03:00
Gerhard Potgieter
75003fe3dc
Lock the install routine via a transient to prohibit race conditions due to firing on the init hook.
2017-09-27 17:41:26 +02:00
Mike Jolley
9c5765b625
This should be off by default
2017-09-06 10:49:03 +01:00
Mike Jolley
990e33dd07
Remove debug
2017-09-05 11:56:02 +01:00
Mike Jolley
a4a9badbb9
Refactor and introduce `woocommerce_enable_auto_update_db`
2017-09-05 11:54:17 +01:00
Mike Jolley
8703481742
Merge pull request #16601 from ethitter/add/disable-mkdir
...
Allow install-related directory creation to be bypassed
2017-08-29 11:12:24 +01:00
Matt Miller
42e6d4dffe
Removed extra tab character
2017-08-28 13:25:20 -07:00
Matt Miller
a9db02d340
Variable update on sale schedule event fix
...
Removed extra variable declaration
2017-08-28 12:35:11 -07:00
Matt Miller
34b64764c7
Absolute value for gmt_offset in scheduled sales
...
In the event that you choose a -GMT value, the values are incorrect in some instances. For examples, if we choose a -7 GMT value, the gmt_offset will evaluate to '-7'.
On line 309, $ve will equal '+'.
On line 312, previously, $ve . get_option( 'gmt_offset' ) would evalute to '+-7'.
2017-08-25 15:25:39 -07:00
Erick Hitter
aa881a0c47
Clarify inline doc
2017-08-24 21:42:32 -07:00
Erick Hitter
c43155aff7
Allow directory creation to be bypassed
2017-08-24 21:16:32 -07:00
Josh Smith
ee13db49a2
[ #12517 ] Move download log table to const and helper, output download log report titles in standalone function, reorganize download log data store read for code readability
2017-08-23 03:10:14 +00:00
Josh Smith
868a0e0e84
Merge remote-tracking branch 'upstream/master'
2017-08-23 02:33:01 +00:00
Mike Jolley
d68291b3ac
Merge pull request #16086 from woocommerce/improvement/versions
...
Extensions version check.
2017-08-21 18:18:04 +01:00
Josh Smith
413444c616
Merge remote-tracking branch 'upstream/master'
2017-08-20 04:09:17 +00:00
Claudio Sanches
95de32d9c7
Changed webhook table name for #16390
2017-08-18 13:41:02 -03:00
Claudio Sanches
4762c04b4b
Removed shop_webhook post type and removed upgrade scripts
...
With Webhook CRUD there is no more need to update hooks on database.
2017-08-17 11:37:57 -03:00
Claudio Sanches
1a3a2c0658
Updated webhook database schema
...
Allow default dates to '0000-00-00 00:00:00' and failure_count to '0'
2017-08-16 21:48:09 -03:00