OSDN Git Service
Cristi Burcă [Fri, 22 Nov 2013 20:07:52 +0000 (12:07 -0800)]
Merge pull request #881 from wp-cli/list-filter
List only active plugins
scribu [Fri, 22 Nov 2013 20:07:41 +0000 (22:07 +0200)]
fix formatting and update examples
Daniel Bachhuber [Fri, 22 Nov 2013 19:12:18 +0000 (11:12 -0800)]
Skip the iterator entirely
Cristi Burcă [Fri, 22 Nov 2013 18:33:36 +0000 (10:33 -0800)]
Merge pull request #805 from wp-cli/fix-global-prompt-805
Prompting doesn't properly set config values
Daniel Bachhuber [Fri, 22 Nov 2013 18:21:11 +0000 (10:21 -0800)]
Test filtering based on object attribute
scribu [Fri, 22 Nov 2013 18:08:04 +0000 (20:08 +0200)]
move parse_url() to utils.php, since it's a standalone utility
Daniel Bachhuber [Fri, 22 Nov 2013 17:58:38 +0000 (09:58 -0800)]
Support for filtering plugin and theme lists based on object attributes.
Daniel Bachhuber [Fri, 22 Nov 2013 16:26:34 +0000 (08:26 -0800)]
Test install via prompting
Daniel Bachhuber [Fri, 22 Nov 2013 16:26:15 +0000 (08:26 -0800)]
Move these methods to where they should be
Daniel Bachhuber [Fri, 22 Nov 2013 16:21:19 +0000 (08:21 -0800)]
Use the new `set_url()` method introduced in
ab45bfd
Daniel Bachhuber [Fri, 22 Nov 2013 16:14:11 +0000 (08:14 -0800)]
Introduce `\WP_CLI::set_url()`, which will set the URL context for the execution.
Daniel Bachhuber [Fri, 22 Nov 2013 16:05:21 +0000 (08:05 -0800)]
Merge branch 'master' into fix-global-prompt-805
Cristi Burcă [Fri, 22 Nov 2013 06:41:19 +0000 (22:41 -0800)]
Merge pull request #879 from wp-cli/wp-cli-ssh
Do something about wp-cli-ssh
scribu [Thu, 21 Nov 2013 09:32:18 +0000 (11:32 +0200)]
fix 'Warning: unknown --info parameter'
scribu [Thu, 21 Nov 2013 09:12:55 +0000 (11:12 +0200)]
implement `wp cli info --format=json`
scribu [Thu, 21 Nov 2013 09:12:44 +0000 (11:12 +0200)]
avoid leaking private \WP_CLI\Runner properties and methods
Daniel Bachhuber [Wed, 20 Nov 2013 22:44:05 +0000 (14:44 -0800)]
Use new public methods of `\WP_CLI\Runner` to set the `url` if it was passed as an assoc arg by prompting.
Cristi Burcă [Wed, 20 Nov 2013 22:40:07 +0000 (14:40 -0800)]
Merge pull request #869 from wp-cli/comment-meta-command
Implement `wp comment meta`
Daniel Bachhuber [Wed, 20 Nov 2013 22:19:27 +0000 (14:19 -0800)]
Restore the use of `--prompt` as a runtime argument.
The argument is unique of it's kind, and there isn't a great way of doing this otherwise.
Daniel Bachhuber [Wed, 20 Nov 2013 21:27:32 +0000 (13:27 -0800)]
Copy, meet paste. Introduce `wp comment-meta`, derived from `wp user-meta`
scribu [Sun, 17 Nov 2013 12:27:51 +0000 (14:27 +0200)]
Merge pull request #834 from simonwheatley:fix-833
scribu [Sun, 17 Nov 2013 12:15:08 +0000 (14:15 +0200)]
merge theme install and delete scenarios; see #874
Cristi Burcă [Sun, 17 Nov 2013 12:14:44 +0000 (04:14 -0800)]
Merge pull request #874 from rodrigoprimo/fix-theme-delete-bug
'wp theme delete' should not delete active theme
Rodrigo Primo [Fri, 15 Nov 2013 15:18:52 +0000 (13:18 -0200)]
'wp theme delete' should not delete active theme
scribu [Thu, 14 Nov 2013 20:17:56 +0000 (22:17 +0200)]
fix --category synopsis for 'wp export'
closes #872
scribu [Wed, 13 Nov 2013 23:24:35 +0000 (01:24 +0200)]
increase timeout threshold for 'wp core download'. fixes #748
scribu [Tue, 12 Nov 2013 20:41:56 +0000 (22:41 +0200)]
remove label from add_new default and move it above add_new_item, to make the difference clearer
see #868
Cristi Burcă [Tue, 12 Nov 2013 20:40:17 +0000 (12:40 -0800)]
Merge pull request #868 from Kevinlearynet/master
Use consistent capitalization for "Add New" in post type scaffold to mat...
Kevin Leary [Tue, 12 Nov 2013 19:54:31 +0000 (14:54 -0500)]
Use consistent capitalization for "Add New" in post type scaffold to match WordPress default for Post and Page.
Cristi Burcă [Mon, 11 Nov 2013 23:20:16 +0000 (15:20 -0800)]
Merge pull request #866 from wp-cli/fix-866
`wp plugin` fails when plugin bundles another plugin
scribu [Mon, 11 Nov 2013 22:55:43 +0000 (00:55 +0200)]
don't pick up php files inside plugin subdirs
Cristi Burcă [Mon, 11 Nov 2013 22:29:42 +0000 (14:29 -0800)]
Merge pull request #865 from wp-cli/skip-tests
introduce --skip-tests flag for 'wp scaffold plugin'
scribu [Mon, 11 Nov 2013 22:25:57 +0000 (00:25 +0200)]
add behat test for --skip-tests
scribu [Mon, 11 Nov 2013 22:21:29 +0000 (00:21 +0200)]
introduce --skip-tests flag for 'wp scaffold plugin'
Cristi Burcă [Mon, 11 Nov 2013 14:21:09 +0000 (06:21 -0800)]
Merge pull request #864 from jonathanbardo/master
Minor typo
Jonathan Bardo [Mon, 11 Nov 2013 14:15:33 +0000 (09:15 -0500)]
Minor typo
scribu [Sun, 10 Nov 2013 00:14:13 +0000 (02:14 +0200)]
move fetcher classes to their own directory; see #863
Cristi Burcă [Sat, 9 Nov 2013 23:32:16 +0000 (15:32 -0800)]
Merge pull request #863 from wp-cli/fetchers
Standardize methods for validating positional arguments
scribu [Sat, 9 Nov 2013 23:14:08 +0000 (01:14 +0200)]
extract FetcherPost class
scribu [Sat, 9 Nov 2013 23:01:38 +0000 (01:01 +0200)]
keep 'not found' message in Fetcher child classes
otherwise, might get a mismatch between the class and the message
scribu [Sat, 9 Nov 2013 22:58:23 +0000 (00:58 +0200)]
extract FetcherComment class
scribu [Sat, 9 Nov 2013 22:50:14 +0000 (00:50 +0200)]
extract FetcherTheme class
scribu [Sat, 9 Nov 2013 22:41:55 +0000 (00:41 +0200)]
convert Fetcher to abstract class
scribu [Sat, 9 Nov 2013 22:15:47 +0000 (00:15 +0200)]
move utilities for validating plugin names to FetcherPlugin class
scribu [Sat, 9 Nov 2013 21:54:22 +0000 (23:54 +0200)]
move utilities for validating user ids/logins to FetcherUser class
scribu [Sat, 9 Nov 2013 21:52:40 +0000 (23:52 +0200)]
add behat test for #862
scribu [Thu, 7 Nov 2013 16:10:51 +0000 (18:10 +0200)]
make cacert.pem file available from Phar; closes #859
Cristi Burcă [Thu, 7 Nov 2013 14:00:39 +0000 (06:00 -0800)]
Merge pull request #860 from dd32/master
Use the SSL CA bundle that Requests includes, rather than relying upon t...
Dion Hulse [Thu, 7 Nov 2013 11:42:42 +0000 (22:42 +1100)]
Use the SSL CA bundle that Requests includes, rather than relying upon the systems CA bundle which is often unavailable, or out of date.
Cristi Burcă [Mon, 4 Nov 2013 18:58:41 +0000 (10:58 -0800)]
Merge pull request #856 from wp-cli/core-download-path
Include `--path` argument in `wp core download`
Daniel Bachhuber [Mon, 4 Nov 2013 18:41:48 +0000 (10:41 -0800)]
Include `--path` argument in `wp core download`
Cristi Burcă [Fri, 1 Nov 2013 23:47:58 +0000 (16:47 -0700)]
Merge pull request #855 from wp-cli/test-latest
plugin scaffold-tests: replace WP_VERSION=master with WP_VERSION=latest
scribu [Fri, 1 Nov 2013 21:47:42 +0000 (23:47 +0200)]
bump previous tested version to 3.6.1
scribu [Fri, 1 Nov 2013 21:39:35 +0000 (23:39 +0200)]
test against latest stable release of WP, instead of the master revision from the github mirror
scribu [Wed, 30 Oct 2013 12:19:57 +0000 (14:19 +0200)]
travis: switch back to WP_VERSION=latest
see #846
scribu [Wed, 30 Oct 2013 12:18:34 +0000 (14:18 +0200)]
bump version to 0.13-alpha3
Cristi Burcă [Wed, 30 Oct 2013 12:17:35 +0000 (05:17 -0700)]
Merge pull request #853 from wp-cli/fix-853
Core download command failing in VVV
scribu [Wed, 30 Oct 2013 12:06:26 +0000 (14:06 +0200)]
first copy all the files, then remove the temporary dir
scribu [Wed, 30 Oct 2013 11:40:38 +0000 (13:40 +0200)]
replace rename() with copy() + unlink()
scribu [Mon, 28 Oct 2013 19:55:41 +0000 (21:55 +0200)]
use escapeshellarg() instead of esc_cmd(), because the $editor variable can contain %s
see #822
scribu [Mon, 28 Oct 2013 19:43:15 +0000 (21:43 +0200)]
move OS detection to launch_editor_for_input()
see #822
scribu [Mon, 28 Oct 2013 19:34:54 +0000 (21:34 +0200)]
handle case where request to underscor.es fails
see #822
Cristi Burcă [Mon, 28 Oct 2013 19:32:15 +0000 (12:32 -0700)]
Merge pull request #822 from BoiteAWeb/master
Fix notice + start manage windows OS
scribu [Sun, 27 Oct 2013 22:37:47 +0000 (00:37 +0200)]
travis: test against WP 3.6.1 for now; see #846
scribu [Sun, 27 Oct 2013 21:58:59 +0000 (23:58 +0200)]
behat: show downloaded core version
particularly useful when WP_VERSION=latest
scribu [Sun, 27 Oct 2013 21:39:01 +0000 (23:39 +0200)]
behat: always show all the details when an error occurs
scribu [Sun, 27 Oct 2013 21:29:53 +0000 (23:29 +0200)]
behat: split step definition files
scribu [Sat, 26 Oct 2013 20:28:57 +0000 (23:28 +0300)]
replace 'subcommand' with 'command' in doc strings and inline comments
see #848
scribu [Fri, 25 Oct 2013 22:18:07 +0000 (01:18 +0300)]
behat: avoid making a request to the wp.org API each time a wp-config.php is needed
it's not worth it for throwaway test installs
scribu [Fri, 25 Oct 2013 22:04:46 +0000 (01:04 +0300)]
move link to contributor guide higher up
scribu [Fri, 25 Oct 2013 21:39:57 +0000 (00:39 +0300)]
set default global config path;
also, ignore if config file doesn't exist
see #698
scribu [Thu, 24 Oct 2013 20:55:49 +0000 (23:55 +0300)]
Merge pull request #838 into master
Use PharData class to extract tarball
Cristi Burcă [Thu, 24 Oct 2013 19:46:51 +0000 (12:46 -0700)]
Merge pull request #842 from wojsmol/theme2plugin
Change cd $(wp theme path) to cd $(wp plugin path) in plugin.php
wojsmol [Thu, 24 Oct 2013 18:57:06 +0000 (20:57 +0200)]
Change cd $(wp theme path) is cd $(wp plugin path) in plugin.php
Cristi Burcă [Thu, 24 Oct 2013 01:06:39 +0000 (18:06 -0700)]
Merge pull request #698 from wp-cli/global-config-2
Support for global configs; fixes #445
scribu [Thu, 24 Oct 2013 00:53:28 +0000 (03:53 +0300)]
behat: replace --config with WP_CLI_CONFIG_PATH
scribu [Thu, 24 Oct 2013 00:34:03 +0000 (03:34 +0300)]
arrayify require: key
scribu [Thu, 24 Oct 2013 00:14:50 +0000 (03:14 +0300)]
separate YAML parsing from config merging
scribu [Thu, 24 Oct 2013 00:13:52 +0000 (03:13 +0300)]
global flags have 'runtime' key '', which is falsy
scribu [Thu, 24 Oct 2013 00:08:07 +0000 (03:08 +0300)]
fix case where a file-only config key would make a runtime arg of the
same name disappear
scribu [Wed, 23 Oct 2013 23:22:12 +0000 (02:22 +0300)]
properly merge keys that can contain multiple values
scribu [Wed, 23 Oct 2013 23:09:31 +0000 (02:09 +0300)]
initialized configurator on demand
scribu [Wed, 23 Oct 2013 21:27:40 +0000 (00:27 +0300)]
show warning when deprecated global parameter is used
scribu [Wed, 23 Oct 2013 21:24:33 +0000 (00:24 +0300)]
add back deprecated --config global parameter, for backwards compatibility
scribu [Wed, 23 Oct 2013 21:03:42 +0000 (00:03 +0300)]
Merge branch 'master' into global-config-2
scribu [Wed, 23 Oct 2013 19:50:45 +0000 (22:50 +0300)]
Introduce WP_CLI_CONFIG_PATH environment variable.
It allows defining an additional config file, which gets loaded before
any project config file.
Also, remove the --config= global parameter, which becomes redundant.
see #698
Cristi Burcă [Tue, 22 Oct 2013 14:30:03 +0000 (07:30 -0700)]
Merge pull request #840 from tlovett1/feature/core-config-perms
Feature/core config perms
scribu [Tue, 22 Oct 2013 09:53:59 +0000 (12:53 +0300)]
use fwrite() instead of echo in WP_CLI::out(), to avoid output buffers
scribu [Tue, 22 Oct 2013 09:51:54 +0000 (12:51 +0300)]
send REPL output directly to STDOUT, to avoid output buffers started by plugins
fixes #719
Taylor Lovett [Tue, 22 Oct 2013 02:28:27 +0000 (02:28 +0000)]
Tweak error message fixes #837
Taylor Lovett [Tue, 22 Oct 2013 02:27:19 +0000 (02:27 +0000)]
Output WP-CLI error if config file couldn't be created
scribu [Mon, 21 Oct 2013 23:39:28 +0000 (02:39 +0300)]
add space in download cache dir, for catching #839
scribu [Mon, 21 Oct 2013 23:37:03 +0000 (02:37 +0300)]
use Utils\esc_cmd() for consistency
Cristi Burcă [Mon, 21 Oct 2013 23:34:51 +0000 (16:34 -0700)]
Merge pull request #839 from ryanduff/master
Revert a change that causes ABSPATH to not be escaped
scribu [Mon, 21 Oct 2013 23:33:12 +0000 (02:33 +0300)]
bump version to 0.13-alpha2
Cristi Burcă [Mon, 21 Oct 2013 23:31:32 +0000 (16:31 -0700)]
Merge pull request #619 from francescolaffi/packages-cache
cache package downloads
QWp6t [Sun, 20 Oct 2013 08:56:15 +0000 (01:56 -0700)]
Fixes readability
* two lines were indented with spaces, converted to tabs
QWp6t [Sun, 20 Oct 2013 08:40:58 +0000 (01:40 -0700)]
Makes extraction routine more readable / Fixes overwrite routine
* creates separate _move_overwrite_files() method
* more accurately simulates --strip-components=1 by using $phar->getFileName()
QWp6t [Sat, 19 Oct 2013 22:41:07 +0000 (15:41 -0700)]
Fixes PharData extraction bugs
* $temp gets '.tar.gz' extension
* _extract() method is created
* PharData uses workaround for '--strip-components' compatibility
Ryan Duff [Sat, 19 Oct 2013 14:20:34 +0000 (10:20 -0400)]
escape abspath so paths with spaces work