Commit Graph

5102 Commits

Author SHA1 Message Date
Sam Seay d6a8bcf1e9 Remove fragile selector. (https://github.com/woocommerce/woocommerce-admin/pull/7053) 2021-05-26 13:36:04 +12:00
Joshua T Flowers f09b06223c Add Mercado Pago as default fallback payment gateway (https://github.com/woocommerce/woocommerce-admin/pull/7043)
* Add paystack to fallback payment gateways

* Add mercado page to fallback gateways

* Move help text above submit button

* Add changelog entry

* Update gateway ID
2021-05-25 18:09:35 -04:00
Joshua T Flowers d03dbeeead Add PayPal as default fallback gateway (https://github.com/woocommerce/woocommerce-admin/pull/7044)
* Add PayPal as default fallback gateway

* Filter out fields that aren't found
2021-05-25 12:49:40 -04:00
Joshua T Flowers 90710e15f4 Add Paystack as fallback gateway (https://github.com/woocommerce/woocommerce-admin/pull/7025)
* Add paystack to fallback payment gateways

* Add changelog entry

* Fix CBD rules
2021-05-25 11:41:56 -04:00
louwie17 b3c6d25daa Fix deprecated warnings from `select` control in `@wordpress/data-controls` (https://github.com/woocommerce/woocommerce-admin/pull/7007)
* Made use of the wordpress/data controls instead of depreciated data-controls package

* Fix test and add changelog

* Remove space
2021-05-25 12:14:31 -03:00
louwie17 b642576e34 Remove the use of Dashicons and replace with `@wordpress/icons` or `gridicons` (https://github.com/woocommerce/woocommerce-admin/pull/7020)
* Updated mobile banner icon with cross-small gridicon

* Update analytics dashboard icons, removing use of dashicon

* Remove use of dash icon in tag component

* Remove dash icon from ellipsis menu

* Remove use of dashicon in calendar

* Update icon imports and remove use of Dashicon in collapsible list

* Remove Dashicon usage from store alerts as it is depreciated

* Remove dashicon usage in shipping label

* Fix up old css for icons

* Removed dashicon usage in favorite button

* Update the wordpress/icons package

* Add changelogs

* Fix broken test
2021-05-25 12:14:14 -03:00
louwie17 98986796c5 Add missing argument to match TransformerInterface (https://github.com/woocommerce/woocommerce-admin/pull/7071) 2021-05-25 11:56:59 -03:00
Ilyas Foo f5557fcceb Post-Release 2.3.1: Sync readme changelog and testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7062)
* Remove remnants of legacy changelog script

* Add 2.3.0 section to TESTING-INSTRUCTIONS.md and moved all relevant instructions

* Update readme.txt with changelog from 2.3.1
2021-05-25 12:53:26 +08:00
Paul Sealock 40c22add0a Rule processing transformers: Add count rule (https://github.com/woocommerce/woocommerce-admin/pull/7037)
* Add count rule

* better return types

* rename test
2021-05-25 16:32:51 +12:00
Paul Sealock b37082630a bump ExPlat deps and prep for release (https://github.com/woocommerce/woocommerce-admin/pull/7010)
* bump explat deps

* package lock update
2021-05-25 16:25:10 +12:00
Paul Sealock 3ba1afd0ab Rule Processing: pass in default (https://github.com/woocommerce/woocommerce-admin/pull/7009)
* pass default

* handle tests

* changelog
2021-05-25 16:23:49 +12:00
renovate[bot] f817302e99 Update dependency dompurify to v2.2.8 (https://github.com/woocommerce/woocommerce-admin/pull/6972)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 07:43:44 +12:00
Paul Sealock abf0ddebda apply better rules (https://github.com/woocommerce/woocommerce-admin/pull/7008) 2021-05-25 07:02:52 +12:00
Moon 9613c04d31 Add a new store to interact with WC Payments REST APIs (https://github.com/woocommerce/woocommerce-admin/pull/6918)
* Add a new store to interact with WC Payments REST APIs

* Convert to Typescript

* Refactor payments store

* Fixed type on GET_PAYMENT_GATEWAYS_SUCCESS action name

* Added SettingDefinition

* Added PaymentSelectors type

* Updated Array<type> to string[]

* Update action name in test

* Move stub.ts out of test directory

* Set type for the test stub and change order type to number | ""

* Rename action type name

* Add changelog

* Follow _REQUEST _SUCCESS _ERROR action naming

* Add a new action and reducer for getPaymentGateway

* Change store key

* Move to packages/data

* Export store name
2021-05-24 13:29:44 -04:00
Jeff Stieler ce02b58b23 Fix styling of chart component header. (https://github.com/woocommerce/woocommerce-admin/pull/7002)
* Fix styling of chart component header.

* Add changelog entries.
2021-05-24 08:44:13 -04:00
Mik 3240132eb2 Replace marketing extension - Google Listings and Ads - fix (https://github.com/woocommerce/woocommerce-admin/pull/7029)
* Replace list of installed extensions

* Remove clipping path from Google icon

* Add changelog entry
2021-05-24 16:39:04 +08:00
Timmy Crawford 7681f09d18 WCPay: Update supported countries (https://github.com/woocommerce/woocommerce-admin/pull/7048)
* WCPay: Update supported countries

* Add readme entry
2021-05-24 13:48:09 +08:00
renovate[bot] a85ce2f171 Update dependency typescript to v4.2.4 (https://github.com/woocommerce/woocommerce-admin/pull/7012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 15:48:00 +12:00
Ilyas Foo ff1e33bf9e Temporarily hardcode e2e workflow to use WordPress 5.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/7054) 2021-05-24 10:01:25 +08:00
Joel Thiessen 3725d570d9 Fixing redudant notices when installing plugins via payment task list (https://github.com/woocommerce/woocommerce-admin/pull/7026) 2021-05-21 11:24:57 -07:00
Ilyas Foo 154071c1bc Revert copy for setup checklist (https://github.com/woocommerce/woocommerce-admin/pull/7015)
* Revert copy for index.js and tasks.js

* Update changelog

* Update test

* Update tests

* Update tests again

* Lint
2021-05-21 09:13:40 +08:00
louwie17 0276445f65 Updated transition time, and added external icon for link (https://github.com/woocommerce/woocommerce-admin/pull/7022)
* Updated transition time, and added external icon for link

* Add changelog
2021-05-20 08:31:14 -03:00
Joshua T Flowers d4bba9b931 Add PayPal to fallback payment gateways (https://github.com/woocommerce/woocommerce-admin/pull/7001)
* Remove unused spec properties

* Move default payment gateways to separate file

* Add Stripe to default gateways

* Fix payfast image and visibility conditions

* Fix setup button action when no fields are present

* Fix localized string and help text

* Fix settings transform and add help text

* Show connection button if oauth connection URL exists

* Add fallback when no fields exist

* Remove ToS text in favor of help text

* Update payment action boolean check

* Add changelog entry
2021-05-19 18:49:17 -04:00
Ján Mikláš ee2e89a75f Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6989) (https://github.com/woocommerce/woocommerce-admin/pull/6990)
* Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6989)

* Add a changelog entry

Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
2021-05-19 11:43:07 -07:00
Renovate Bot 37422bd809 Update dependency webpack-cli to v3.3.12 2021-05-19 03:18:35 +00:00
Renovate Bot b4015a2b79 Pin dependency @types/dompurify to 2.2.2 2021-05-19 01:41:34 +00:00
Joel Thiessen 9fda36439e Typescript conversion of DynamicForm Component (https://github.com/woocommerce/woocommerce-admin/pull/6981) 2021-05-18 12:46:21 -07:00
Moon f0b494142e Set target to blank for the external links (https://github.com/woocommerce/woocommerce-admin/pull/6999)
* Set target to blank for external links
2021-05-18 01:40:02 -07:00
David Garcia Watkins 9bd4eef17e Call existing filters for leaderboards. (https://github.com/woocommerce/woocommerce-admin/pull/6626)
* Call existing filters for leaderboards.
Fixes category data not refreshing when selecting a different currency while using docs/examples/extensions/sql-modification

* Update changelog

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-05-18 15:14:28 +08:00
Hsing-yu Flowers 9cce902c84 Update Form's documentation (https://github.com/woocommerce/woocommerce-admin/pull/6708)
* Rename onChangeCallback to onChange

* Add onChange documentation

* Update prop `touched` documentation

* Removd unused onChnage in the example

* Add changelog

* Handle feedback

* Deprecate onSubmitCallback

* Handle feedback 2

* Update new onSubmitcallbacks

* Handle feedback 3

Co-authored-by: Bec Scott <me@becdetat.com>
2021-05-18 14:24:24 +10:00
Paul Sealock 9c94852932 Consume Remote Free Extensions from UI (https://github.com/woocommerce/woocommerce-admin/pull/6952)
* transform data

* working

* better

* check for marketplace suggestions

* changelog

* copy initialInstallableExtensions before transform

* parse locales server side

* deep equality

* Match remote data to local data

* reflect changes on UI

* fix keys
2021-05-18 14:28:13 +12:00
Jeff Stieler 8d2bd3bb2f Avoid duplicate preload tags. (https://github.com/woocommerce/woocommerce-admin/pull/6998)
* Avoid duplicate preload tags.

* Add changelog entry.
2021-05-17 11:42:12 -06:00
Joshua T Flowers f5309f449d Get post install scripts from gateway and enqueue in client (https://github.com/woocommerce/woocommerce-admin/pull/6967)
* Add method to collect post install scripts from payment gateway

* Add reusable JS method to add scripts

* Enqueue gateway script after plugin install

* Fix current method not found when resolving methods

* Add changelog entry

* Fix readme merge conflict
2021-05-17 10:51:02 -04:00
Timmy Crawford 5c8fe41506 Update version to 2.4.0-dev and sync changelogs with release/2.3.0 branch (https://github.com/woocommerce/woocommerce-admin/pull/6991) 2021-05-14 14:50:15 -07:00
louwie17 7cfaa21db2 Add source support for notes query (https://github.com/woocommerce/woocommerce-admin/pull/6979)
* Add source support for notes query

* Add changelog

* Removed ternary condition
2021-05-14 13:13:51 -03:00
louwie17 844f71486b Remove `woocommerce/experimental` dependency from `woocommerce/components` (https://github.com/woocommerce/woocommerce-admin/pull/6986)
* Removed the experimental dependency from the components package, and moved stories to experimental package

* Add changelog

* Fix typo
2021-05-14 12:23:01 -03:00
Moon 8983a4d371 Make sure transformers exist (https://github.com/woocommerce/woocommerce-admin/pull/6987) 2021-05-13 21:46:49 -07:00
Moon e2d9a8792a Support transformers in remote inbox notifications (https://github.com/woocommerce/woocommerce-admin/pull/6948)
* Introduce Transformer to Remote Inbox Notification
* Added array_column, array_flatten, array_keys, array_search, array_values, and dot_notation transformers.
* Added tests
2021-05-13 21:27:35 -07:00
Jeff Stieler 5e51901e6a Update package versions for publishing. (https://github.com/woocommerce/woocommerce-admin/pull/6985) 2021-05-13 09:42:04 -06:00
Jeff Stieler eb4d60c4fd Fix styling of task item content. (https://github.com/woocommerce/woocommerce-admin/pull/6983) 2021-05-13 09:20:26 -06:00
Tomek Wytrębowicz 7cc1d724de Forward `autocompleter` prop from `CompareFilter` to `Search` (https://github.com/woocommerce/woocommerce-admin/pull/6911)
- Forward `autocompleter` prop from `CompareFilter` to `Search`.
	Allow, to use the `custom` type of search, 
	previously it was complaining about lack of `autocompleter`,
	even though it was provided.

- Move `path` in Storybooks example to a parameter, to allow setting it in unit tests.
- Add few tests for FilterPicker. 
	- it renders the basic storybook example without throwing an error
	- it forwards `autocompleter` & `type` props

Fixes: woocommerce/woocommerce-admin#6890
2021-05-13 17:20:07 +02:00
Jeff Stieler bdd91b3337 Move TaskItem component to experimental package for reuse. (https://github.com/woocommerce/woocommerce-admin/pull/6978)
* Move TaskItem component to experimental package for reuse.

* Bump package version.

* Add dompurify types.
2021-05-13 08:05:30 -06:00
Joshua T Flowers 685c012dfe Add transient notices feature (https://github.com/woocommerce/woocommerce-admin/pull/6809)
* Add PluginInstaller class

* Redirect to referring page if one exists

* Store message and show after redirect

* Add transient notices feature

* Fix default and empty state of notices

* Use TransientNotices to display plugin notices

* Add transient notices readme

* Add feature unit tests

* Update notice queue client-side

* Add filter to queued option prior to notice creation

* Use the core/notices2 data store

* Fix filtered queued notices

* Add methods to get individual notices and queue

* Allow user ID specific notices

* Remove errant script asset dependencies

* Add user ID property to docs

* Use preloaded option instead of window var

* Refactor transient notices to directly use option instead of state

* Show error message from WP_Error in plugin installer

* Add tests around notice queue in client

* Add changelog entry
2021-05-13 09:08:31 -04:00
Joshua T Flowers 8eb0179df7 Only fetch remote payment gateway recommendations when opted in (https://github.com/woocommerce/woocommerce-admin/pull/6964)
* Only fetch remote payment specs when marketplace suggestions enabled

* Fall back to default specs if remote fetch fails

* Change ruleset to object

* Add changelog entry
2021-05-13 08:55:51 -04:00
louwie17 295cd6b2c9 Add note date range logic (https://github.com/woocommerce/woocommerce-admin/pull/6969)
* Add notes helper method for date ranges

* Update two of the notes with date ranges

* Add tests and fix range logic

* Add changelog

* Update comments

* Update range name and added exception if invalid range passed in.

* Fix php unit tests

* Fix another test
2021-05-13 09:41:21 -03:00
louwie17 a7db89ff4f Add dry run option for the release script (https://github.com/woocommerce/woocommerce-admin/pull/6946)
* Added dry run option and clean between core and plugin builds

* Add safety so I will not accidently start a release

* Change return to exit and update plugin release name on dry run

* Updated some of the logging

* Made use of git --dry-run and hub --noop

* Add dry run to add as well

* Removed dry-run command, updated log
2021-05-13 09:26:12 -03:00
Renovate Bot 64eb902257 Update dependency terser-webpack-plugin to v2.3.8 2021-05-12 05:01:15 +00:00
Renovate Bot 9df869c45f Update dependency replace to v1.2.1 2021-05-12 03:46:22 +00:00
Renovate Bot 3b60c8d3a5 Update dependency fork-ts-checker-webpack-plugin to v6.2.7 2021-05-12 02:26:18 +00:00
Joshua T Flowers ca11fa7f9a Add remote payment gateway recommendations initial docs (https://github.com/woocommerce/woocommerce-admin/pull/6962) 2021-05-11 13:57:19 -04:00