Commit Graph

3907 Commits

Author SHA1 Message Date
Claudio Sanches c63cd802aa
Merge pull request #23957 from woocommerce/feature/feature-plugin-packages
Include external feature plugins as packages
2019-07-10 15:47:48 -03:00
Claudio Sanches 5b8694e92a
Merge pull request #23915 from woocommerce/fix/23544
[Setup] Make PostCode optional as few countries don't use them
2019-07-10 15:45:32 -03:00
Gerhard Potgieter 9ca6dad11e
Merge pull request #23433 from justlevine/master
Preserve State field input classes when selecting a Country.
2019-07-10 15:31:39 +02:00
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
Claudio Sanches d18c3f8ed1
Merge pull request #24069 from woocommerce/add/coupon-code-generator
Add generate coupon code button
2019-07-09 16:50:24 -03:00
Claudio Sanches 18b876a95c Always load generate code button
Some improvements in the button label and names
2019-07-09 16:46:17 -03:00
Rodrigo Primo 53df16b2b5
Merge pull request #23781 from woocommerce/try/obw-changes
OBW: Switch shipping labels and shipping zones placement
2019-07-09 16:06:38 -03:00
vedanshujain e2577b3a06 [Setup] Make PostCode optional as few countries don't use them
Some countries like Hong Kong, UAE etc don't use post codes, in which case this commit will make the field optional.
If its not known whether a country uses postcode or not, it will be required.
2019-07-09 14:37:03 +05:30
Gerhard 7038c73ab4 Merge branch 'master' into update/exclude-compiled-assets-from-git 2019-07-09 10:57:40 +02:00
Claudio Sanches 16c5c39725 Fixed missing assets/css/admin.css 2019-07-08 17:59:50 -03:00
Claudio Sanches b54997d9f5 Merge branch 'fix/23221' of https://github.com/senff/woocommerce into senff-fix/23221 2019-07-08 17:55:07 -03:00
Claudio Sanches adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00
Claudio Sanches da99bc8ca0 Merge branch 'master' into feature/feature-plugin-packages 2019-07-08 14:33:21 -03:00
Rodrigo Primo a26f38f3a1
Merge pull request #23133 from woocommerce/update/23111
If variations are missing prices, show notice
2019-07-04 10:08:41 -03:00
Gerhard Potgieter 91c939b963
Merge pull request #23997 from woocommerce/fix/obw-plugin-install-highlight-size
OBW: Adjust size of plugin install highlight to avoid overlap
2019-07-04 09:18:28 +02:00
Gerhard 5d604329fc Reword postfix to suffix 2019-07-04 09:07:02 +02:00
Gerhard 538edcaac0 Make button text translatable. 2019-07-03 22:57:08 +02:00
Gerhard 24fc4948c0 Add generate coupon code button for quick coupon code generation. 2019-07-03 22:48:30 +02:00
Mark Senff 0fee3daa67
Delete admin.css 2019-07-03 07:29:37 -04:00
Paul Sealock b65ce3dd26 OBW: Add wc-admin to recommended page 2019-07-03 13:02:07 +12:00
Rodrigo Primo 68f5ccabc1
Merge pull request #23811 from woocommerce/feature/23807
Allow enforce password strength meter on checkout
2019-06-27 11:39:00 -03:00
Gerhard Potgieter 698625ce1d WP & PHP Upgrade Notices (#23975)
This commit introduces a banner that notifies and prompts users to upgrade their WordPress and/or PHP if they are outdated and not part of the minimum required versions going into WooCommerce 3.7.

* Add backward compatible function wp_check_php_version for sites running WP version smaller than 5.1

* Refactor some messaging, move widget to top of WC dashboard widgets, add buttons linking out to WP pages with instructions.

* Add missing variables for adding nag class

* Add styling to dashboard widget

* Rework css to use exclamation instead

* Clean up widget, make sure no widget is registered when dismissed. Add banner that links to widget and make it dismissable.

* Update constant to reflect minimum requirements.

* Don't show banner. Fix undefined variable.

* Remove dashboard widget

* Update banner link to docs site

* Add link to docs page where instructions live for updating

* Change button text

* Add UTM params to docs link

* Moved the msg logic from template to php file.

* Bail out early when PHP and WP versions are ok.

* Added missing translation functiog

* Extracted notice function from reset_admin_notices.

To follow suit with other similar functions in the file.

* Synchronize fetching of WP version.

* Removed unused functions.

* Corrected indent.

* Reduce number of variables and fixed coding standards

* Updated wording of the notice.
2019-06-26 14:09:20 -03:00
Mike Jolley a0a58cfb15 update from master 2019-06-26 15:26:47 +01:00
Paul Dechov 421392019e OBW: Adjust size of plugin install highlight to avoid overlap 2019-06-24 21:50:15 -04:00
Claudio Sanches 29d630b099
Merge pull request #23789 from ajayghaghretiya/fix#23784
Fix #23784 Shipping zonde UI issue
2019-06-24 12:40:08 -03:00
Mike Jolley 8b41b03f2e Remove blocks files 2019-06-21 12:23:41 +01:00
Rodrigo Primo 3d12ec4ae2 Remove extra comma to prevent issues with older versions of IE
This commit simply removes an extra comma that was added in
52fced8d7a to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:

```
Running "jshint:all" (jshint) task

   assets/js/admin/meta-boxes-order.js
    413 |                    user_email : user_email,
                                                    ^ Extra comma. (it breaks older versions of IE)
```

We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00
Gerhard Potgieter b2ed079520 Manual orders coupon usage limits by email (#23775)
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.

* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
Claudio Sanches 61346720c7 Allow enforce password strength meter on checkout 2019-05-24 15:27:26 -03:00
Valerie b379739ea6 OBW Shipping: Switch label and zone sections 2019-05-23 22:17:13 -04:00
Valerie db08d64e65 OBW: Fix SCSS linting errors
- remove em unit for line-height
- use numeric font-weight value
- ignore no-descending-specificity for the entire file
- ignore rule for dashicons: font-family-no-missing-generic-family-keyword
- remove unnecessary quotes around dashicons font name
- add quotes around checkbox attribute selector
- remove duplicate visibility declaration
- remove duplicate selector: .wc-setup .wc-setup-actions .button
- remove unknown pseudo selector ::last-child
- move all .wc-setup styles to one place
2019-05-23 22:17:08 -04:00
Claudio Sanches 17da960abe
Merge pull request #23137 from woocommerce/fix/23051
Change coupon amount field type based on coupon type
2019-05-22 21:19:03 -03:00
Claudio Sanches 77879de2cb
Merge pull request #23364 from xristos3490/master
Use high-resolution version of wp spinner
2019-05-22 21:01:50 -03:00
ajayghaghretiya f42b5a5f37 Fix #23784 Shipping zonde UI issue 2019-05-22 11:27:46 +05:30
Claudio Sanches de2a45510b Merge branch 'master' into fix/23003 2019-05-21 17:59:52 -03:00
Rodrigo Primo ec4f131f85 Delete images that are not used anymore
This commit deletes the files assets/images/klarna-white.png and
assets/images/square-white.png. In #23690 we stopped using those two
files so there is no reason to keep them in the repository. Since #23690
was included in a patch release, we opted to keep the images for a
little longer and remove them in a minor release.
2019-05-17 10:19:02 -03:00
Gerhard Potgieter afd7e72c03
Merge pull request #23690 from woocommerce/update/obw-stripe
Update OWB Payment Gateway structure
2019-05-16 18:26:29 +02:00
Gerhard Potgieter 229675c96a
Merge pull request #23603 from Chirag3119/23602
#23602 - I have fixed issue.
2019-05-16 14:05:45 +02:00
Gerhard e131b01133 Modify payment gateway placement, defaults and new logos. 2019-05-13 15:54:44 +02:00
Gerhard 5ceca30f39 CSS changes to remove black backround from old klarna and square logos. 2019-05-13 15:52:48 +02:00
Gerhard b79c02658d Fix eslint for meta-boxes-product-variation.js 2019-05-13 13:36:21 +02:00
Gerhard b77c7fbbd8 Trigger input_changed function when download files removed for variations. 2019-05-13 13:32:30 +02:00
Gerhard Potgieter 984357fb41
Merge pull request #23597 from woocommerce/fix/23509
Added confirmation before saving empty list of countries to sell to.
2019-05-10 10:56:13 +02:00
Gerhard Potgieter 3cfe32d5fe
Merge pull request #23526 from parmarhardip/23505
Solved #23505 WC Setup page UI issue
2019-05-10 10:45:55 +02:00
Gerhard Potgieter 07ea25377a
Merge pull request #23517 from woocommerce/fix/23506
Fix dismiss button in two WC admin notices
2019-05-10 10:37:01 +02:00
Gerhard Potgieter d512752ae9
Merge pull request #23454 from harddy/master
Fixes #23440 : # symbol in Product Category name breaks Reports CSV e…
2019-05-10 10:26:26 +02:00
Gerhard ed0dbed203 Include select2.css in ignore as it is generated via grunt as well. 2019-05-07 10:34:04 +02:00
Gerhard bb2d38db49 Remove all frontend minified js files 2019-05-07 10:20:28 +02:00
Gerhard 411e963b00 Remove all admin minified js files 2019-05-07 10:19:02 +02:00
Gerhard 49095242ab Remove compiled and minified css from git, except select2.css as that is a library 2019-05-07 09:43:43 +02:00