* Add args_to_where_clauses() and lookup_notes() methods to Admin\Notes\DataStore.
For use by internal code to bypass woocommerce_note_where_clauses filter.
* Changelog for 8385/8387.
* Add some linter whitelist notation to preexisting warnings in class-wc-test-notes-data-store.
* Add unit tests for the differences between lookup_notes() and get_notes().
* Minor text fix in changelog for 8385/8387.
* Better explanation in pagination tests in test_lookup_notes_versus_get_notes().
* All Notes created by WC_Tests_Notes_Data_Store should have source and name values.
* Add tearDown method to WC_Tests_Notes_Data_Store to delete test-created Notes.
* Allow for easy task component switch
* Add past tense feature addition with cross out
* Add visible option for task lists and make use of new feature config
* Fix lint errors
* Fix lint errors
* Fix css lint
* Fix js unit tests
* Address PR feedback
* Add js tests for task list changes
* Add php tests for updated logic
* Add changelog
* Update copy
* Make snooze test a little more robust
* Assert the pending action explicitly to fix failing test_cancel_import with latest woo
* Use function lambda
* Fix WC_Tests_API_Reports_Variations by assigning parent_id to variations
* Seperated Asset, page, and translation logic into seperate classes out of Loader.php
* Move user, and assets logic out of Loader.php
* Move Loader to Internal and move page helper functions to PageController
* Fix unit tests
* Add changelog
* Moved `WooSubscriptionsNotes`
* Moved `WooSubscriptionsNotes` deprecated
* Moved `WooCommerceSubscriptions`
* Moved `WooCommercePayments`
* Fix `WooCommerceSubscriptions`
* Fix `WooSubscriptionsNotes
* Fix `WooCommercePayments`
* Moved `WelcomeToWooCommerceForStoreUsers
* Add use `Note`
* Moved `UpdateStoreDetails`
* Moved `UnsecuredReportFiles`
* Moved `TrackingOptIn`
* Moved `TestCheckout`
* Moved `SetUpAdditionalPaymentTypes`
* Moved `SellingOnlineCourses`
* Moved `RealTimeOrderAlerts`
* Moved `PersonalizeStore`
* Moved `PerformanceOnMobile`
* Moved `PaymentsRemindMeLater`
* Moved `OrderMilestones`
* Moved `OnlineClothingStore`
* Moved `OnboardingPayments
* Moved `NewSalesRecord`
* Moved `NavigationNudge`
* Moved `NavigationNudge`
* Moved `MobileApp`
* Moved `MigrateFromShopify`
* Moved `MarketingJetpack`
* Moved `ManageStoreActivityFromHomeScreen`
* Moved `ManageOrdersOnTheGo`
* Moved `MagentoMigration`
* Moved `LaunchChecklist`
* Moved `InstallJPAndWCSPlugins`
* Moved `InsightFirstSale`
* Moved `InsightFirstProductAndPayment`
* Moved `GivingFeedbackNotes`
* Moved `FirstProduct`
* Moved `FirstDownlaodableProduct`
* Moved `EUVATNumber`
* Moved `EditProductsOnTheMove`
* Moved `DeactivatePlugin`
* Moved `CustomizingProductCatalog`
* Moved `CustomizeStoreWithBlocks`
* Moved `CouponPageMoved`
* Moved `CompleteStoreDetails`
* Moved `ChoosingTheme`
* Moved `AddingAndManangingProducts`
* Moved `AddFirstProduct`
* Removed `OnboardingTraits` trait
* Moved `EmailNotification`
* Fixed notes
* Add changelog
* Fix lint error
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Rename route to payment gateway suggestions
* Create separate payment gateway suggestions controller
* Move payment gateway logic into feature class
* Merge payment gateway information into single source of truth
* Filter out WCPay client-side
* Fix up frontend
* Redirect to payment settings page on install
* Add test around showing installed gateways
* Remove check for marketplace suggestions at the endpoint level
* Fix up payment gateway conflicts after rebase
* Handle PR feedback
* Optimistically dismiss the payment gateway suggestions
* Add changelog entry
* Add square_image support for new API param
* Fixed lint error
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
* Allow the support of multiple task lists with overlapping tasks
* Add filter by task ids
* Revert getTaskListById call
* Fix notices
* Move prefix event to task and task list classes instead
* Fix track events and extended task list
* Fix php unit tests
* Remove the seperate task list classes as this was unnecessary.
* Fix tests
* Remove unneeded allowed-tasks
* Change onboarding task list redux store structure
* Add extra id for handling hidden param for experimental task lists
* Fix lint errors
* Fix forgotten change
* Add changelog
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make classes internal
* Update references
* Fix WC_ADMIN_ABSPATH path
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make src/Schedulers/* internal, except the SchedulerTraits
* Add @internal comment tag
* Clean up incorrect import
* Remove unused import
* Refactor `MerchantEmailNotifications`
* Rename `NotificationEmail`
* Add changelog
* Add folder `Notes` to `Internal`
* Moved folder and the namespace was renamed
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add payment_setup track for WooCommerce Payments
* Add WooCommerce Reset Plugin to E2E environment
* Add resetWoComerceState util
* Add state reset before obw test
* Refactor resetWooCommerceState
resetWooCommerceState now makes the HTTP request locally instead of from inside the browser context.
* Update reset functionality
* Add custom settings reset function for onboarding
* Update reset functionality
* Add action-scheduler run helper function
* Fix add section test
* Add plugin removal helper functions
* Fix lint errors
* Fix broken e2e tests
* Add changelog
* Remove unused imports
* Add comment for extra timeout
* Add helper function to wait until button stops moving, incase of animations
* Fix lint error
* Add variable for string used in multiple places
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Support woocommerce_explat_request_args filter to modify ExPlat request args
* Add ExPlat test
* Add ExPlat test for PHP
* Add changelog
* Add doc for the filter
* Fix syntax
* Move plugin installation method to plugin helper
* Add hook to for note addition on install error to JP/WCS note
* Add install scheduler
* Add async request parameter
* Fix up scheduled action errors
* Add route to get installation status
* Add activation endpoints and helper async methods
* Fix errors in plugin activation
* Make job ID null by default
* Add async plugin tests
* Fix install activation error errant method
* Return error codes from API
* Us AS to retrieve jobs instead of transients
* Get plugin status data from AS actions
* Use job ID instead of action ID for scheduling activation
* Add generic activation and installation status endpoints
* Add changelog entry
* Fix bin/install-wp-tests.sh for wc >= 6.0.0
* Fix php unit test "test_deleted_coupons" for wc >= 6.1.0
* Update WC_Tests_Reports_Coupons test_populate_and_query test
Fix test
* Add e2e tests for PR 7963
* Fix lint
* Verify the next screen is shown
* Simplifying product types step
* Add className to SelectControl
* Fix e2e test
* Removed not used dependency
* Add method `expandRecommendedBusinessFeatures`
* Fixed style selectors
* Add default value to `name`.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Added a new update callback for 3.0 version to migrate is_read col from last_read user pref value
* Remove unnecessary comments
* Remove add column logic -- not needed as tables are updates during the bootstrap
* Remove column existence check
* Use the latest woocommerce_admin_activity_panel_inbox_last_read value
* Clean up woocommerce_admin_activity_panel_inbox_last_read after updating is_read
* Remove unnecessary var
* Update includes/wc-admin-update-functions.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update test to use ms
* Use get_users() to get the latest meta value
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Add class check to added tasks
* Make Task class asbtract
* Update tasks to use abstraction
* Update task property calls to methods and add extended class
* Fix up task tests
* Reorder script enqueing to check less expensive operations first
* Fix up dismissable and snoozeable checks
* Fix up typos
* Load default task classes on init
* Handle PR feedback
* Fix extended tasks not showing
* Update is_visible to can_view in deprecated tasks
* Use TestTask class for unit tests
* Add changelog entry
* Fix up API tests
* Update ExtendedClass name to DeprecatedExtendedClass
* Fix up rebase
* Initial refactor
* Update payment recommendations to use new endpoint data
* Make sure to run specs
* Fix test
* Delete old PaymentPlugins class
* Update url to point to woocommerce.com
* Remove unused displayable prop
* Move option name
* Fix js tests
* Add changelog
* Add endpoint to unhide task list
* Rename show method to unhide
* Replace requests for hidden task list options
* Replace unhide task list requests
* Replace task list complete checks
* Replace dismiss option requests
* Remove complete task option check
* Fix up panel buttons
* Update finished setup to wait for task list resolution
* Create selector for getting a single task list
* Add selector for single task
* Fix task list panel visibility
* Add changelog entry
* Fix empty product types in profiler data
* Revert to checking for hidden task list
* Initial refactor and consolidation of the DataSourcePoller code
* Move transient logic into DataSourcePoller class
* Fix function name
* Fix tests
* Add changelog
* Fix tests and update use of DataSourcePoller
* Make use of ID's in the DataSourcePoller
* Fix parsing error
* Update data_sources filter
* Add route and layout for unmatched path
* Add NoMatch to catch missing report pages
* Load WooCommerce Admin scripts on all pages
* Move NoMatch inside default page layout
* Add permission checks to tabs
* Allow update_option_extended_task_list to be called on non-admin pages
* Check for task list task count in extended list update function
* Add changelog entry
* Add PR number to changelog entry
* Remove deprecated extended task list filter and tests
* initial push
* Add E2E test for onboarding currency
* Wait for navigation to complete
* Change method for value check
* Fix dropdown selector
* Add more country tests
* Add changelog entry
* Add test to runner
* Change the call order
* Fix country specs
* Fix country specs for UK
* Try changelog again
* Move changelog record to e2e-tests
* Convert string concats to template literals
* Remove spaces
* Fix linter errors
* Add check for WCPay supported countries
* Add checks for actioned task status
* Update completion logic for task
* Add rest route for actioning tasks
* Add action in data store for actioning tasks
* Add test for actioning task
* Only prune isActioned from task data
* Add changelog and enable promotion in core and plugin configs
* Add PR number
* Make variation name a constant
* Clone spec as we are overwriting the is_visible prop
* Fix unit tests and support array and object
* Revert explat variation name
* Update changelog entry
* Update changelog once more
* Make sure the recommendations show up if marketplace suggestions is not defined defaulting to 'yes'
* Include yoast phpunit polyfills in phpunit tests
* Do a normal composer install
* Use original composer.lock
* Remove the use of composer 1
* Fix asset url
* Fix failed test with file rename
* Make sure plugin_dir_url is pointing at a file
* Fix asset url take 3
* Fix lint error
* Add hide and show task list tests
* The start to adding tests for the activity panel
* Add activity panel tests and WP-API plugin on initialize
* Update task list tests to be more flexible
* Add changelog in package
* Update the re-enable task list logic to be more robust
* Use a more generic selector
* Make sure task list is shown in previous test
* Add test screenshot
* Remove screenshot and update logic
* Address PR feedback
* Add endpoint to hide task lists
* Migrate old setup task list hidden option
* Use option to store all hidden lists
* Add getter for deprecated options
* Migrate old task list options
* Move task lists into separate class
* Add TaskList class for individual task list control
* Update hidden checks to use TaskList api
* Update docs for hidden lists
* Update use of should_show_tasks to check for visible task lists
* Remove hide endpoint to reduce scope on PR
* Fix up failing tests
* Fix up rebase
* Add back in should_show_tasks with deprecation notice
* Add delay between payment tests