Commit Graph

354 Commits

Author SHA1 Message Date
Mike Jolley 61cb48afd7 Tweak wc ajax to post to the CURRENT URL rather than a fixed endpoint 2015-07-31 12:56:27 +01:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Claudio Sanches e0be5a2e9f Added truncated consumer key and last access fields in woocommerce_api_keys table 2015-07-16 15:42:00 -03:00
Mike Jolley 18c6a940f1 Merge branch 'onboarding'
Conflicts:
	assets/css/admin.css
	assets/css/select2.css
	assets/css/woocommerce-layout.css
	assets/css/woocommerce.css
	assets/js/admin/order-backbone-modal.min.js
	includes/admin/class-wc-admin-help.php
	includes/admin/class-wc-admin.php
	includes/admin/views/html-admin-page-status-report.php
	includes/admin/views/html-notice-install.php
	includes/admin/views/html-notice-template-check.php
	includes/admin/views/html-notice-theme-support.php
	includes/admin/views/html-notice-tracking.php
	includes/class-wc-install.php
	includes/class-wc-language-pack-upgrader.php

includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Justin Shreve 6a1d3f0032 In create_tables, drop the location_type_code index before doing a dbDelta, otherwise a duplicate key error occurs. 2015-06-19 00:47:18 +00:00
Justin Shreve 910bcc7100 Index only the prefix of location_code when creating the tax_rate_locations table
Otherwise we hit a max key limit of 1000 with utf8 (since multiple bytes are stored per characater).
2015-06-15 16:45:30 +00:00
Claudio Sanches 7ee65c0256 Improved the woocommerce_api_keys table 2015-06-08 20:04:29 -03:00
Claudio Sanches 9eb3b6ddf9 Changed all requests with wp_remote_* to wp_safe_remote_* 2015-06-01 13:28:55 +01:00
Mike Jolley 3d049ff379 [2.3] Clear expired transients on update 2015-06-01 11:39:03 +01:00
Claudio Sanches 903cb817f0 Fixed WC_Install::get_schema for woocommerce_api_keys table 2015-05-28 10:36:25 -03:00
Claudio Sanches 676e09fdd3 Added new woocommerce_api_keys table in wpmu exclude and in status report 2015-05-27 16:46:43 -03:00
Claudio Sanches 84c937c011 Improved the woocommerce_api_keys table 2015-05-15 22:52:00 -03:00
Claudio Sanches bee1fba738 Added nonces field in woocommerce_api_keys table 2015-05-15 18:25:41 -03:00
Claudio Sanches 41e8f69a70 Fixed the woocommerce_api_keys name 2015-05-15 18:20:49 -03:00
Claudio Sanches 0ecfc26a84 Created new database for api_apps
@mikejolley
2015-05-15 17:57:18 -03:00
Mike Jolley b5ec1d98a7 Error in installer 2015-04-30 14:03:31 +01:00
Mike Jolley c9ce3baceb Load settings from DB in case of re-run 2015-04-29 14:55:12 +01:00
Mike Jolley 54fa1e34d3 Show notice when pages don't exist, and set gateway defaults 2015-04-29 13:21:01 +01:00
Mike Jolley e454c52e58 Optimise admin redirect function 2015-04-29 11:24:29 +01:00
Mike Jolley 7263a4ace2 woocommerce_enable_setup_wizard filter 2015-04-29 10:59:59 +01:00
Mike Jolley 4b92f642b3 Trigger wizard on install 2015-04-29 10:47:57 +01:00
Claudio Sanches db23f5faa0 Create initial WC_Auth class and endpoint 2015-04-17 17:41:25 -03:00
Mike Jolley 9638d16d82 Define update file 2015-03-25 11:11:08 +00:00
Mike Jolley 17ca08c020 add endpoints on install 2015-03-20 14:20:12 +00:00
Gerhard c9d4655ef1 When running update_option it does not always clear memcache, a workaround is to run delete_option and then add_option instead. 2015-03-11 12:26:51 +02:00
Mike Jolley 5ec61e3acd Tweak transient welcome redirect 2015-02-17 15:24:12 +00:00
Mike Jolley bc2af10cc6 Update languages and geolocation when installed 2015-02-11 14:38:55 +00:00
Mike Jolley 2a877eb562 Do a db query to flush spent and count which may be incorrect/outdated
Closes #7286
2015-02-04 14:22:15 +00:00
Mike Jolley 15fa903537 install() is triggered after includes, so these includes are not needed 2015-01-28 19:46:09 +00:00
Mike Jolley 725d5e28d8 Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
- Load API with other includes
- Register activation hook early
- Include autoloader early

cc @claudiosmweb
2015-01-28 17:50:58 +00:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Mike Jolley 09ae877b96 defined check 2015-01-23 13:29:23 +00:00
Mike Jolley b289c9446c WC_INSTALLING constant - don't create options for any gateways/shipping methods during install. 2015-01-23 13:05:38 +00:00
Mike Jolley 586025b17e Ensure settings are installed for all sections and subsections
Fixes #7181
2015-01-23 12:36:22 +00:00
Mike Jolley 2d8f021cc7 Optimise the admin notices class.
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley caac9768a7 Added more fallbacks for API geoIP 2014-12-30 11:11:17 +00:00
Mike Jolley ef3ad7d99f Setup cron jobs 2014-12-23 18:49:43 +00:00
Mike Jolley 8df8c9b482 Make 'public', and rewrite, optional for attributes
#6852
2014-12-22 14:16:15 +00:00
Mike Jolley dbcc8430e9 Installer tweaks + unit tests closes #6356 2014-11-25 17:09:24 +00:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
claudiosmweb 861a34c348 Removed the frontend styles setting #6589 2014-10-21 20:12:39 -02:00
Mike Jolley 38000b1785 Define WC tables in wpmu_drop_tables
Closes #5396
2014-10-10 14:48:08 +01:00
claudiosmweb 2a255de172 changed the LESS compiler to SCSS compiler #5606 2014-09-22 15:30:07 -03:00
shivapoudel a4ec52f788 Absolute path fix for class-wc-install.php 2014-09-21 00:35:02 +05:45
claudiosmweb 3c4177a579 prevented errors in the installation caused by old plugins 2014-09-10 13:35:46 -03:00
Mike Jolley 40c528dc3a Queue language check on install + store checked lang code in option
@claudiosmweb
2014-09-04 09:37:24 +01:00
shivapoudel 1ae67fb37e Change title for API Docs #6132 2014-09-02 00:02:51 +05:45
shivapoudel 86c1e7ed01 Change title for Documentation #6132 2014-09-02 00:02:11 +05:45
Mike Jolley 689272f9b9 Change title text from #6132 2014-09-01 12:46:37 +01:00
Mike Jolley f9af86ee1d Merge pull request #6132 from axisthemes/action-links
Action links Has now Better Look in Multisite Too.
2014-09-01 12:44:34 +01:00
Shiva Poudel 7ddedad4a7 Time Constant HOUR_IN_SECONDS
_wc_activation_redirect transient have HOUR_IN_SECONDS instead `60*60`.
2014-08-31 00:38:48 +05:45
shivapoudel 513cd24751 Filter hook is not necessary for plugin_action_links 2014-08-30 00:50:09 +05:45
shivapoudel c6c7353d4a Filter hook is not necessary for plugin_row_meta 2014-08-30 00:49:25 +05:45
shivapoudel a3107a03a9 Reverted Documentation to Docs 2014-08-30 00:47:00 +05:45
shivapoudel e9877726a1 Documentation will be better than Short Docs 2014-08-30 00:33:00 +05:45
shivapoudel 390e178962 Added API Docs too 2014-08-30 00:27:36 +05:45
shivapoudel d965f797c2 Fixed the missing comma :) 2014-08-29 23:46:31 +05:45
shivapoudel 40d66b2f57 Added Docs and Support URL in plugin_row_meta which was removed from plugin_action_links 2014-08-29 23:39:17 +05:45
shivapoudel ec64534cb7 Removed docs and support Url from plugin_action_links so that we can add it in plugin_row_meta 2014-08-29 23:28:06 +05:45
shivapoudel a5fdf5aa76 Moved the action_links from final class to WC_INSTALL class 2014-08-29 23:19:01 +05:45
shivapoudel 677f91d1ab Added some useful comments on Class Constructor Method 2014-08-29 23:13:23 +05:45
Mike Jolley 7b73027417 Remove unused method
Closes #6097
2014-08-28 12:20:07 +01:00
Max Rice a7538da23b Add shop_webhook capabilities on install/upgrade
Part of #5564
2014-07-30 16:24:14 -04:00
Claudio Sanches 9701cfe2a7 Revert "order_type taxonomy and register_order_type() function" 2014-07-08 14:10:37 -03:00
claudiosmweb 72aae0e69d created order_type taxonomy and register_order_type() function 2014-07-07 16:19:51 -03:00
Mike Jolley d1dbe4492e Clear comment transients only on wp_update_comment_count
Does not need to be flushed when editing a product. Part of #5777
2014-07-03 12:59:57 +01:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 8a6a195692 Merge branch 'post-statuses-for-orders' 2014-06-04 05:54:15 +01:00
Mike Jolley 51201d0a6b Update script 2014-05-30 18:27:41 +01:00
Mike Jolley 346b0deb31 no longer need to install shop order status terms 2014-05-30 15:57:28 +01:00
claudiosmweb 00262a19f2 fixed a typo with context in class-wc-install.php 2014-05-30 11:13:26 -03:00
Mike Jolley 1ed0938581 [2.2] Log changes Closes #4926
Added WC_LOG_DIR constant
Added log viewer
Changed default logging directory to 1 up from ABSPATH inside wc-logs
2014-05-28 11:12:38 +01:00
Mike Jolley 128eeb164c Only show upgrade notices, and use transient cache
Closes #5211
2014-04-07 16:39:19 +01:00
Mike Jolley 0dcfb797a7 Escape the change log contents when displaying it from wordpress.org 2014-03-20 16:04:33 +00:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Mike Jolley 1c0e55c685 Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014 2014-03-03 12:19:29 +00:00
Mike Jolley 3492be6df0 Only show the relevant updates in the notices Closes #4977 2014-02-28 13:42:48 +00:00
Mike Jolley 744732db7a Update schemas before DBDELTA to fix mysql errors on update 2014-02-13 13:29:55 +00:00
Mike Jolley aff704ae6e New notice aimed at identifying out of date template files in a theme. Also improves the status page.
@coenjacobs
2014-02-11 13:33:56 +00:00
Mike Jolley 2371ba7813 During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701 2014-02-11 00:29:29 +00:00
Mike Jolley 9c56637def Include_once during install and call the static to load taxonomies early. #4616 2014-02-05 15:01:30 +00:00
Mike Jolley 0ceb0d194b Include admin functions for less complier on install. Closes #4527 2014-01-21 11:24:48 +00:00
claudiosmweb bdb7a3b288 fixed a small typo in includes/class-wc-install.php 2014-01-11 22:13:26 -02:00
claudiosmweb c065617641 fixed wordpress coding standards in includes/class-wc-install.php 2014-01-11 22:05:14 -02:00
claudiosmweb 23b7ddc811 fixed the indentation in includes/class-wc-install.php 2014-01-11 21:56:50 -02:00
claudiosmweb 3a9630f29a fixed the inventory settings install, fixes #4495 2014-01-11 21:56:29 -02:00
Mike Jolley 34173bc1da list_users for shop managers Closes #4354 2014-01-08 15:18:19 +00:00
Mike Jolley 4826a574a0 wp_redirects 2013-12-04 12:20:18 +00:00
Mike Jolley 4ce57489a7 Esnure cron is scheduled for midnight Closes #4267 2013-12-03 15:50:00 +00:00
Coen Jacobs 19688ad9ef Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
Closes #4216
2013-11-27 10:03:47 +01:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Gerhard 02c62bd132 fix call to static method inside class 2013-11-18 21:59:10 +02:00
Gerhard 0e21a46cf4 make creat_pages static 2013-11-18 17:56:04 +02:00
Gerhard 3607ecf285 Add button on tools page to create missing pages 2013-11-14 21:20:18 +02:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley 8ce3b8dd57 Filters for shortcode tags 2013-10-23 14:55:18 +01:00
Mike Jolley 28f8d401d3 Fix term install Closes #3919 2013-10-22 16:34:23 +01:00
Mike Jolley 96a7a4b730 Restructure 'file_paths' to allow for names (Closes #3320) etc. For #2765.
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Mike Jolley 64d87cbef7 Make logout an endpoint. Still hide it from menus. Fixes #3589
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00
Schuyler Langdon b4c2149428 Adds an index to the foreign key in table woocommerce_tax_rate_locations 2013-08-06 00:18:41 -04:00
Legradi Szabolcs 0b92287bd4 Enable states in Hungary
The states file for Hungary is in the project for some time now, this
commit enables the use of it.
2013-08-01 16:43:00 +02:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00
Mike Jolley cd50b328a2 Install and update functions 2013-07-25 16:29:25 +01:00