Claudio Sanches
61f988db63
Merge branch 'master' into fix/product-review-type
2018-09-25 12:35:41 -03:00
claudiulodro
d7afce5f4c
Update routine to set reviews comment type
2018-09-20 09:28:39 -07:00
Rodrigo Primo
2740a686dc
Change wp_woocommerce_sessions primary key
...
This commit changes wp_woocommerce_sessions primary key to the bigint field session_id. Before it was the char(32) field session_key. Doing this change primarily as it should reduce the occurrence of deadlocks, but also because it is not a good practice to use a char(32) field as the primary key of a table.
2018-08-31 16:56:30 -03:00
Peter Fabian
d679a88156
Update redirect option during activation of MailChimp in Install Wizard.
2018-07-24 12:29:10 +02:00
Gerhard Potgieter
36b6bd79c0
Add update routines to recreate user roles
2018-07-10 10:30:11 +02:00
Gerhard Potgieter
ef2f868b89
Add edit_theme_options capability to shop manager to allow access to customizer for changing WooCommerce settings.
2018-07-09 10:45:48 +02:00
Mike Jolley
ff0e492a41
Setting
2018-06-27 18:38:36 +01:00
Mike Jolley
4fc64e85a6
Create placeholder image on install
2018-06-27 17:47:30 +01:00
Rodrigo Primo
43d22a2349
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-18 15:17:19 -03:00
Gerhard Potgieter
36d1c318cb
Download Log FK Contraint check ( #20478 )
...
This PR introduces a check on the permission_id FK to ensure that it is not added multiple times on upgrades. It also names the key specifically to ensure future changes to the key can be targeted properly and removes old keys that were added since 3.4.0.
* Add FK check before adding the FK. Also give the FK a name to avoid auto generated names and duplicate keys.
* Remove additional OR
* Remove additional OR
* Final FK check query
* Add foreign key cleanup routine to 3.4.3 db version
* Only check on named foreign key now that we have a cleanup routine in place, use specific phpcignore
* Rework formatting of SQL query
* Change way to fetch and add FK, can't use procedural SQL, needs to be done via statements.
* Add table name to lookup
* Only clean up FK on the wc_download_log table
* Remove erenouse bracket
2018-06-18 11:47:47 -03:00
Rodrigo Primo
f1f49bb27a
Add WC 3.5.0 DB version update callback
2018-06-11 10:54:02 -03:00
Rodrigo Primo
dd8bf8b522
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-11 10:44:14 -03:00
Rodrigo Primo
fc5aef8478
Add nonce to force update WC database URL
...
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:55:47 -03:00
Rodrigo Primo
a200686005
Add nonce to update WC database URL
...
Doing this to check if the user has intention to perform a WC database update before starting the process.
2018-06-07 09:45:18 -03:00
Gerhard Potgieter
cc563c2883
Use single quotes, not a field name but a value
2018-06-04 13:31:03 +02:00
Gerhard Potgieter
193ae78037
Revert "Only run constraint if it does not already exist"
...
This reverts commit dcddf1b273
.
2018-06-04 13:21:01 +02:00
Gerhard Potgieter
dcddf1b273
Only run constraint if it does not already exist
2018-06-04 13:18:57 +02:00
Gerhard Potgieter
55d5e6c6f0
Avoid looping
2018-06-04 13:15:36 +02:00
Gerhard Potgieter
4fde0e9129
Add column data type checks to ensure they match before running the download logs constraint.
2018-06-04 13:10:05 +02:00
Mike Jolley
083c994732
Break up update routine and allow it run to multuple times
2018-05-25 14:18:19 +01:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Claudiu Lodromanean
9e1b8245be
Merge pull request #19987 from woocommerce/fix/plugin-install-get-proper-plugin-filename
...
Plugin installer: fix extracting filename from path
2018-05-07 14:37:40 -07:00
Paul Dechov
d7dc2d45a4
Use simpler function for retrieving last array item
...
Also avoids array dereferencing syntax incompatible with PHP <5.4.
2018-05-07 14:50:26 -04:00
Paul Dechov
660a7eea0e
Fix plugin installer extracting filename from path
2018-05-07 08:27:22 -04:00
Mike Jolley
9e9949a742
This should be on by default
2018-05-03 16:50:26 +01:00
Claudio Sanches
a55ae32530
Merge pull request #19935 from woocommerce/update/19815
...
Hook doc update
2018-05-02 13:29:23 -03:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Mike Jolley
e807c6151f
Merge branch 'master' into update/erasure-requests
2018-05-02 14:06:47 +01:00
Claudiu Lodromanean
390288e283
Merge pull request #19914 from woocommerce/update/gdpr-log-audit
...
GDPR - log audit
2018-05-01 09:57:36 -07:00
Mike Jolley
e8f3bac6c8
Implement log cleanup cron job (woocommerce_cleanup_logs)
2018-05-01 16:37:14 +01:00
Mike Jolley
250b7aecd5
Update function to set last active
2018-05-01 14:13:38 +01:00
Mike Jolley
f59acf1350
Merge branch 'master' into update/erasure-requests
2018-05-01 13:46:53 +01:00
Mike Jolley
3c34394296
Set more defaults to reduce query count
2018-05-01 12:15:57 +01:00
Mike Jolley
c765ce644d
Inactive account handling
2018-04-30 15:38:45 +01:00
Claudio Sanches
d496e28d08
Trigger GeoLite2 database download after update
...
Closes #19840
2018-04-24 15:32:27 -03:00
Gerhard Potgieter
fc43bd2410
Delay tracking request by 10 seconds to allow for page load to complete first.
2018-04-24 12:42:06 +02:00
Mike Jolley
9dfb91835e
Merge branch 'master' into update/gdpr-order-cleanup
2018-04-18 11:21:43 +01:00
claudiulodro
f9e45bea91
Bring up-to-date with master and resolve merge conflicts
2018-04-17 13:27:39 -07:00
Claudiu Lodromanean
9821f6d23f
Merge pull request #19744 from woocommerce/update/19592
...
BD states and iso codes
2018-04-17 08:44:34 -07:00
Mike Jolley
9b043868e9
Update routine
2018-04-17 16:13:44 +01:00
Rodrigo Primo
ccf10f6ab2
Punt to WC version 3.5.0
2018-04-17 11:12:46 -03:00
Mike Jolley
6e9e1aaa62
Daily order cleanup cron schedule
2018-04-17 12:33:22 +01:00
Paul Dechov
a4f76e3529
Fix broken activation when done immediately after installation
2018-04-16 07:22:15 -04:00
Paul Dechov
3814796a24
Enhance plugin installer to accept plugin 'file'
...
'file' string as part of plugin information is used for activating plugin in combination with slug, or instead of slug in the case of plugins already installed. Defaults to [slug].php.
2018-04-16 07:16:59 -04:00
Mike Jolley
93d20d9c93
Data removal handling
2018-04-13 18:03:02 +01:00
Rodrigo Primo
36ca6ef901
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-11 15:19:58 -03:00
Peter Fabian
ac1883ee00
Included db update scripts in WC install
2018-04-09 23:24:26 +02:00
Rodrigo Primo
a7d2c5dd6e
Merge branch 'master' into update/use-post-author-for-customer-id
2018-04-03 15:13:07 -03:00
Claudio Sanches
b8534eee28
Fixed includes/class-wc-install.php PHPCS violations
2018-03-21 00:06:47 -03:00
Steve Grunwell
049876ac8f
Add the "woocommerce_install_get_tables" filter to WC_Install::get_tables()
...
This commit adds a new filter, "woocommerce_install_get_tables", to the WC_Install::get_tables() method, enabling WooCommerce extensions to register new, WooCommerce-specific tables, ensuring these tables can be cleaned up automatically should WooCommerce be uninstalled (useful for things like custom table data stores). Nothing gets added by default, but this provides an integration point for plugins like WooCommerce Custom Orders Table.
2018-03-16 18:54:17 +00:00