Commit Graph

99 Commits

Author SHA1 Message Date
Jeff Stieler 9d2757f1b2 PSR4-ify the API init class and Notes controllers. 2019-08-12 15:03:13 -07:00
Jeff Stieler 416ab09653 PSR-4ify the action schedule post store subclass. 2019-08-12 15:03:12 -07:00
Jeff Stieler e509e51552 PSR-4ify the sync class. 2019-08-12 15:03:11 -07:00
Jeff Stieler ce7267b198 PSR-4ify the report exporter classes. 2019-08-12 15:03:10 -07:00
Jeff Stieler ca68769205 Update admin notes classes to PSR-4. 2019-08-12 15:03:09 -07:00
Jeff Stieler 2752356c4d Load all classes with Composer's autoloader. 2019-08-12 15:03:05 -07:00
Paul Sealock 0a01ad8aef Merge pull request woocommerce/woocommerce-admin#2690 from woocommerce/release/0.16.0
Release 0.16.0 tasks
2019-07-26 13:32:48 +12:00
Paul Sealock 14f545e0a2 release 0.16.0 prep 2019-07-24 12:30:29 +12:00
Ron Rennick 5803b49f41 add filter to feature config array 2019-07-23 10:54:27 -03:00
Paul Sealock d98eceffc7 Revert "Revert "Update to new Snackbar component and notice store"" (https://github.com/woocommerce/woocommerce-admin/pull/2643)
* Revert "Revert "Update to new Snackbar component and notice store""

* Update uploader component to use createNotice

* Bump required WP version to 5.2

* Update required PHP and WP versions in plugin header
2019-07-23 11:26:46 +08:00
Paul Sealock f93d0b3a2e Prep for release 0.15.0 (https://github.com/woocommerce/woocommerce-admin/pull/2641) 2019-07-12 14:27:18 -07:00
Jeff Stieler b6190e7fb0 Add class to process report exports using action scheduler. 2019-06-28 11:09:38 -06:00
Paul Sealock 272fad59fb Merge pull request woocommerce/woocommerce-admin#2507 from woocommerce/release/0.14.0
release 0.14.0
2019-06-28 08:13:58 +12:00
Paul Sealock 442d45e55d release 0.14.0 2019-06-26 11:34:06 +12:00
Jeff Stieler 2b61484246 Load the Report CSV Exporter class. 2019-06-24 19:26:12 -06:00
Jeff Stieler d3be24891c Warn against directly updating the plugin version constant. 2019-06-17 08:40:37 -06:00
Jeff Stieler 9170b5a46e Tag 0.13.2
Bump version so database migrations are run.
2019-06-13 08:56:49 -06:00
Paul Sealock be61ba331a Merge pull request woocommerce/woocommerce-admin#2410 from woocommerce/fix/woocommerce-disabled-fatal
Fix: Exit deactivate early if WooCommerce not active.
2019-06-13 13:43:37 +12:00
Timmy Crawford c5b24567fc Fix: Exit deactivate early if WooCommerce not active. 2019-06-12 17:16:04 -07:00
Paul Sealock 2ad2c0f420 Release 0.13.0 2019-06-13 10:55:19 +12:00
Joshua Flowers e518f13444 Cancel all wc-admin actions on deactivate 2019-06-12 13:11:13 -06:00
Joshua Flowers 4f44f97a67 Fix uninstall classes and move table deletion to uninstall 2019-06-12 13:11:13 -06:00
Joshua Flowers 9028488548 Remove table data on plugin deactivate 2019-06-12 13:11:13 -06:00
Joshua T Flowers 81ffa853f3 Remove table data on plugin uninstall (https://github.com/woocommerce/woocommerce-admin/pull/2399)
* Remove table data on plugin deactivate

* Fix uninstall classes and move table deletion to uninstall
2019-06-13 00:16:08 +08:00
Mike Jolley 97e980cf02 Move print_emoji_detection_script 2019-05-16 14:21:11 +01:00
Mike Jolley 79373b062c Merge branch 'master' into update/refactor-main-file 2019-05-16 14:20:13 +01:00
Paul Sealock 9ff4684be7 release 0.12.0 2019-05-15 11:59:40 +12:00
Mike Jolley 41a19448f3 Continue load if not built 2019-05-14 19:33:47 +01:00
Mike Jolley 254e378346 Moved actionsheduler hook to main file 2019-05-14 19:19:24 +01:00
Mike Jolley e91bf985f4 Call the installer in `register_activation_hook` (https://github.com/woocommerce/woocommerce-admin/pull/2220)
* Call installer in register_activation_hook

* Just create the tables
2019-05-14 11:11:08 -07:00
Mike Jolley 8d45240e02 Refactor main file into singleton class 2019-05-14 15:34:16 +01:00
Joshua T Flowers fb91cd8788 Add import status endpoint and progress options (https://github.com/woocommerce/woocommerce-admin/pull/2189)
* Update import progress during batches

* Add import status route for querying import progress

* Update import totals before import start

* Move wc admin notes to separate action scheduler group

* Add import totals route to query customer and order totals

* Add wc helper queue job processing method

* Add import status and total tests

* Separate action type clearing for imports and notes

* Typecast action types as array in clear_pending_wcadmin_actions()
2019-05-13 10:30:07 +08:00
Timmy Crawford 2aaf0ee4b5 Add check for wp_set_script_translations. (https://github.com/woocommerce/woocommerce-admin/pull/2117)
* Add check for wp_set_script_translations.

* Update admin alert to show correct required WooCommerce version.

* Few more 3.6 text changes.
2019-04-26 11:39:37 -07:00
Paul Sealock d7757404d8 release 0.11.0 2019-04-24 13:33:33 +12:00
Ajay Ghaghretiya 4dddb62195 Fix-woocommerce/woocommerce-admin#1982 (https://github.com/woocommerce/woocommerce-admin/pull/2019)
* Fix-woocommerce/woocommerce-admin#1982

* Fix-woocommerce/woocommerce-admin#1982 #Tabs replaced with spaces

* woocommerce/woocommerce-admin#1982

* Fix-woocommerce/woocommerce-admin#1982 Resolved Inline comments must end in full-stops, exclamation marks, or question marks.

* update with tabs 

fixes formatting

* update woocommerce-admin.php

tab formatting fixes.

* Update woocommerce-admin.php

Update

Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>

* Update woocommerce-admin.php

remove leading /

Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>
2019-04-16 10:11:34 +02:00
ronakganatra9 efb6bba9bd woocommerce/woocommerce-admin#1981 Fix/1981 welcome note added (https://github.com/woocommerce/woocommerce-admin/pull/2005)
* Added new admin note on plugin install. Fix-1981

* fix phpcs errors

* cbf change

* changes in phpcs error.

* Update includes/notes/class-wc-admin-notes-welcome-message.php

Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>

* Changes implemented as per suggestion.

* suggestions apply of condition check and note name change.

* phpcs changes.

* mistake solved.
2019-04-15 09:34:27 +02:00
Justin Shreve 7fc70157c9 WC_Admin_Loader/PHP Refactor + Method to publish core ready features (https://github.com/woocommerce/woocommerce-admin/pull/1863)
* Try: Setup plugin to publish core library on npm

* Documentation clean up.

* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.

* Fix code comment on analytics preload

* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.

* Fix note hook

* Fix note load order

* Address PR feedback: Fix class name, load leaderboard endpoint

* Remove example code prior to merge
2019-04-11 14:31:31 -04:00
Justin Shreve 4727417746 Add a mobile app note (https://github.com/woocommerce/woocommerce-admin/pull/2008) 2019-04-10 11:49:02 -04:00
Jeff Stieler 2ec3e9843a Merge pull request woocommerce/woocommerce-admin#1872 from woocommerce/add/1831-order-milestone-notifications
Add order milestone notifications.
2019-04-08 16:04:07 -06:00
Paul Sealock b79cacb797 npm start to update versions 2019-04-03 12:10:43 +13:00
Jeff Stieler 0893198f37 Add more orders count milestone notifications.
Also avoid notifications for thresholds passed before the plugin was activated.
2019-04-01 16:37:53 -06:00
Jeff Stieler a31d0114cb Add first order milestone notification. 2019-04-01 16:37:53 -06:00
Ron Rennick 59d310c4f9 update requirements in GH readme, plugin header 2019-04-01 13:16:13 -03:00
Timmy Crawford 2165e5eeb4 Release/0.9.0 (https://github.com/woocommerce/woocommerce-admin/pull/1921)
* Docs and version updates.

* lockfile updates.
2019-03-28 11:30:57 -07:00
ronakganatra9 ce6fcdabbe woocommerce/woocommerce-admin#1830 Fix/1830 move all note php files to subfolder (https://github.com/woocommerce/woocommerce-admin/pull/1879)
* added notes/ folder and moved notes file in it..

* Path changes according to new folder.

* typo correct
2019-03-26 00:18:34 +01:00
Joshua T Flowers f5568b905b Automatically update versions on build (https://github.com/woocommerce/woocommerce-admin/pull/1877)
* Get plugin file version for version compare

* Add version update script before build

* Replace version getter with a defined version constant
2019-03-25 14:43:26 +08:00
Joshua T Flowers 53f84e1b5d Check if dependencies are met before running deactivation hook (https://github.com/woocommerce/woocommerce-admin/pull/1797) 2019-03-15 09:26:29 +08:00
md2017-ronak-ronakganatra1 c6d82f9c62 Task implemented of Namespace methods in wc-admin.php woocommerce/woocommerce-admin#1734. 2019-03-14 09:06:34 -06:00
Jeff Stieler bfe5a75e98 Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795)
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.

* Fix .pot file generation.

* Fix errantly closed array item in /revenue/stats controller.

* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00