Commit Graph

24039 Commits

Author SHA1 Message Date
Mike Jolley 387093cd27
Merge pull request #17687 from rodrigoprimo/update/remove-unnecessary-travis-config
Travis configuration cleanup
2017-11-14 10:21:15 +00:00
Claudiu Lodromanean 16d318c56d
Merge pull request #17685 from woocommerce/fix/17348
Introduced product category filter threshold
2017-11-13 14:38:40 -08:00
Claudio Sanches f27120f649 Introduced product category filter threshold and load categories dropdown
Only use WooSelect when have more than 100 terms
2017-11-13 19:47:48 -02:00
Claudio Sanches 487c039b1c Fixed coding standards 2017-11-13 19:40:10 -02:00
Claudio Sanches 416c11d0e6
Merge pull request #17684 from woocommerce/update/phpcs-paths
Improved PHPCS installed_paths and included Woo sanitization and escaping functions
2017-11-13 19:34:44 -02:00
Claudio Sanches fe21337203 Removed wc_format_decimal from escaping functions 2017-11-13 19:32:40 -02:00
Claudio Sanches 7a7cc3f3cd
Merge pull request #17680 from woocommerce/code-coverage-non-blocking
Generate code coverage report on a separate non-blocking Travis job
2017-11-13 19:26:27 -02:00
Claudio Sanches 9606d3e04b Ignore .sublimelinterrc 2017-11-13 19:18:34 -02:00
Claudio Sanches c62c394ed3 Autoload PHPCS dependencies 2017-11-13 19:18:21 -02:00
The Dramatist a25e871981 Parameter input, but checked wrong variable. (#17681)
Here `$offset` should be `$key`. Cause the parameter is named as `$key`.
2017-11-13 19:40:00 +00:00
Claudio Sanches 8e52dbaf26 Updated sanitization and escape functions on phpcs ruleset.xml 2017-11-13 17:30:22 -02:00
Claudio Sanches ec11eb8ef1 Ignore IDE files 2017-11-13 17:29:58 -02:00
Rodrigo Primo 5078359eca Remove unnecessary Travis environment variable PHP_LATEST_STABLE 2017-11-13 17:24:52 -02:00
Rodrigo Primo 9188f814c3 Remove unused Travis environment variable
This commit removes the unused Travis enrivonment variable PHP_LATEST_STABLE.
2017-11-13 17:22:46 -02:00
Rodrigo Primo d847323867 Remove unnecessary Travis configuration
It is not necessary to declare environment variables for a specific build job if they are the same as the environment variables declared for all build jobs.
2017-11-13 17:18:31 -02:00
Rodrigo Primo d26310f9c8 Forgot to change the logic to update codecov to run on the non-blocking Travis job 2017-11-13 16:19:36 -02:00
Rodrigo Primo 2dcb04e2e2 Generate code coverage report on a separate non-blocking Travis job
Travis build is taking about 40 minutes to complete, and that is mostly because of the generation of the code coverage report.

To address that, this commit changes Travis configuration to run the command to generate code coverage report on a separate non-blocking Travis job. This way once the jobs that run the tests finishes, Travisi will mark the build as successful and will keep running code coverage on a separate job.
2017-11-13 15:57:11 -02:00
Claudiu Lodromanean a2f8e08e85
Merge pull request #17675 from woocommerce/fix/17665
self_admin_url for multisite compatibility
2017-11-13 09:35:38 -08:00
Claudio Sanches 800877cb79
Merge pull request #17659 from woocommerce/speed-up-travis-builds
Disable XDebug to speed up Travis builds
2017-11-13 10:14:50 -02:00
Mike Jolley 4245855625 self_admin_url for multisite compatibility
Fixes #17665
2017-11-13 12:09:13 +00:00
Mike Jolley 315b2575fe
Merge pull request #17663 from axelmm/patch-1
Remove unnecessary formating, fixes #17662
2017-11-13 11:25:27 +00:00
axelmm 59534a09e7
Remove unnecessary html formatting
Dimensions and weight were unnecessary formatted as html (duplicating values of dimensions_html and weight_html), not as expected raw values
2017-11-11 22:33:22 +01:00
axelmm fb94f67b0f
Remove unnecessary formating, fixes #17662
https://github.com/woocommerce/woocommerce/issues/17662
2017-11-11 17:26:09 +01:00
Rodrigo Primo 89542a9fb8 Disable XDebug to speed up Travis builds
This commit removes Xdebug from PHP runtime on all build jobs except PHP 7.1 to speed up Travis builds. Xdebug is needed in the PHP 7.1 build job because this job is used to generate code coverage.
2017-11-10 20:05:23 -02:00
Mike Jolley 220728544a
Merge pull request #17631 from woocommerce/update/page-caching-class
Page caching class
2017-11-10 14:12:13 +00:00
Mike Jolley 9734cc945e
Merge pull request #17654 from woocommerce/db-log-search
Ability to search in DB logs (improved)
2017-11-10 13:13:45 +00:00
Mike Jolley 26e640a9ac
Merge pull request #17615 from woocommerce/update/17418
More dummy data
2017-11-10 13:01:40 +00:00
Mike Jolley 279742da42
Merge pull request #17652 from jobthomas/master
Updated dummy-products.xml
2017-11-10 13:01:12 +00:00
Mike Jolley 9ac4725aac Update path 2017-11-10 12:59:35 +00:00
Claudio Sanches d0f191c363 Use table list search box and update form method to POST 2017-11-10 10:55:58 -02:00
Job Thomas a1c92a19b7 Updated XML
Updated XML with dummy products
2017-11-10 14:35:59 +02:00
Claudio Sanches fbf5117e05 Merge branch 'db-log-search' of https://github.com/seostudio/woocommerce into seostudio-db-log-search 2017-11-10 10:17:29 -02:00
Jeremy Pry a4d1c829eb Add unit tests to compare cloned cart objects to original (#17560)
* Add unit tests to compare cloned cart objects to original

* Don't use reflection for fees test

* Skip test using ReflectionProperty::setAccessible() below PHP 5.3
2017-11-10 12:03:14 +00:00
Mike Jolley 78466a6665
Merge pull request #17599 from JPry/allow_clone_cart
Allow for cloning the WC_Cart object
2017-11-10 12:02:59 +00:00
Garrett Hyder 39c36fb0f4 Spelling Fix - usibility to usability (#17643) 2017-11-10 11:56:04 +00:00
Mike Jolley a164ff3db5
Merge pull request #17646 from james-allan/fix_add_indexes_db_warning
Fix db warnings when using the "Add Order Indexes" tool
2017-11-10 11:55:36 +00:00
James Allan c91698cde3 Fix db warnings when using the "Add Order Indexes" tool 2017-11-10 16:21:28 +10:00
Claudiu Lodromanean 9d0f729703
Merge pull request #17642 from woocommerce/fix/rest-api-orders-dp
[REST API] Fixed default value of "dp" on orders and refunds endpoints
2017-11-09 13:57:24 -08:00
Claudio Sanches b04c7bd71e
Merge pull request #17628 from woocommerce/fix/17624
Change how line items are saved in API
2017-11-09 17:36:39 -02:00
Claudio Sanches 5daf476dfa Properly sanitize and format "dp" 2017-11-09 17:34:25 -02:00
Claudio Sanches c6c8af9187 [REST API] Fixed default value of "dp" on orders and refunds endpoints 2017-11-09 17:23:33 -02:00
Claudiu Lodromanean a574401ddc
Merge pull request #17641 from woocommerce/fix/17625
Integrate PHPCompatibility sniffs
2017-11-09 11:19:52 -08:00
Claudio Sanches b2105774c9
Merge pull request #17629 from woocommerce/fix/17613
Set attributes during variation creation
2017-11-09 16:45:57 -02:00
Claudio Sanches f78b0aac13
Merge pull request #17640 from woocommerce/fix/17616
Grab description directly to pass through wc_format_content
2017-11-09 16:45:00 -02:00
Claudio Sanches 2d6ee25d5f Removed extra composer scripts to configure PHPCS
All configuration is done by phpcs.ruleset.xml now
2017-11-09 16:40:40 -02:00
Claudio Sanches 22232f29c7 Fixed PHPCompatibility issues
Closes #17625
2017-11-09 16:36:29 -02:00
Claudio Sanches 3062dba4e5 Integrated PHPCompatibility with PHPCS
- Updated phpcs.ruleset.xml to exclude patterns and set installed_paths.
- Updated woocommerce/woocommerce-git-hooks to version 1.0.3
2017-11-09 16:32:04 -02:00
Mike Jolley 0d09d0c0fd Grab description directly to pass through wc_format_content 2017-11-09 16:57:50 +00:00
Mike Jolley 6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Claudio Sanches 9979e4b3e5
Merge pull request #17589 from woocommerce/fix/17585
get_total_ex_tax should exclude fee taxes
2017-11-08 19:05:23 -02:00