OSDN Git Service
Will Anderson [Sat, 11 Jan 2014 07:01:50 +0000 (23:01 -0800)]
Move recursive search-replace function to Utils and add unit tests
Will Anderson [Wed, 8 Jan 2014 10:16:18 +0000 (02:16 -0800)]
Update array handling for safer recursive replacements
Will Anderson [Wed, 8 Jan 2014 08:35:31 +0000 (00:35 -0800)]
Update documentation header for recursive_unserialize_replace
Will Anderson [Sat, 4 Jan 2014 08:57:36 +0000 (00:57 -0800)]
Add a --recurse-objects flag
Including --recurse-objects enables recursive find/replace into objects.
This change also detects cycles in objects and arrays. If a cycle is
detected, or the XDebug max nesting level is reached, the function stops
recursing
scribu [Tue, 3 Dec 2013 23:46:32 +0000 (01:46 +0200)]
I hear copy-pasta is not very nutritious.
scribu [Tue, 3 Dec 2013 23:43:05 +0000 (01:43 +0200)]
db: move parameter descriptions to subcommands
Cristi Burcă [Tue, 3 Dec 2013 23:35:35 +0000 (15:35 -0800)]
Merge pull request #898 from x-team/db-export-stdout
Allow wp-db-export to write to STDOUT if <file> is -
scribu [Tue, 3 Dec 2013 23:02:46 +0000 (01:02 +0200)]
bump version to 0.14.0-alpha
Cristi Burcă [Tue, 3 Dec 2013 23:01:30 +0000 (15:01 -0800)]
Merge pull request #906 from rodrigoprimo/invalid-parameters
Stop wp-cli execution when there is an unknown parameter
Rodrigo Primo [Tue, 3 Dec 2013 11:48:27 +0000 (09:48 -0200)]
fix test
Rodrigo Primo [Mon, 2 Dec 2013 00:53:12 +0000 (22:53 -0200)]
stop wp-cli execution when there is an unknown parameter
Cristi Burcă [Sun, 1 Dec 2013 22:02:32 +0000 (14:02 -0800)]
Merge pull request #903 from wp-cli/fix-behat-flags-error
Simplify STDERR text check in flags.feature
jmslbam [Sun, 1 Dec 2013 21:48:31 +0000 (22:48 +0100)]
Simplify STDERR text check
Cristi Burcă [Sun, 1 Dec 2013 10:04:11 +0000 (02:04 -0800)]
Merge pull request #901 from wp-cli/new-phpunit-phar-url
Use new PHPUnit url to curl from
jmslbam [Sun, 1 Dec 2013 00:55:35 +0000 (01:55 +0100)]
Use new PHPUnit url to curl from
Weston Ruter [Sat, 30 Nov 2013 23:05:16 +0000 (15:05 -0800)]
Make db-import accept - for STDIN
Note there seems to be no difference with db-query for this.
scribu [Sat, 30 Nov 2013 13:14:44 +0000 (15:14 +0200)]
bump version to 0.13.0
scribu [Sat, 30 Nov 2013 12:38:28 +0000 (14:38 +0200)]
change default global config path to ~/.wp-cli/config.yml
context: #897
scribu [Sat, 30 Nov 2013 11:35:34 +0000 (13:35 +0200)]
update contributor list for 0.13 release
Cristi Burcă [Sat, 30 Nov 2013 10:21:41 +0000 (02:21 -0800)]
Merge pull request #880 from rodrigoprimo/generate-post-content
implement 'wp post generate --post_content'
Weston Ruter [Sat, 30 Nov 2013 02:20:17 +0000 (18:20 -0800)]
Suppress success message when exporting to STDOUT
Weston Ruter [Sat, 30 Nov 2013 01:37:02 +0000 (17:37 -0800)]
Update wp-db-export phpdoc options
Weston Ruter [Sat, 30 Nov 2013 01:08:26 +0000 (17:08 -0800)]
Allow wp-db-export to write to STDOUT if <file> is -
Rodrigo Primo [Sat, 30 Nov 2013 01:03:02 +0000 (23:03 -0200)]
--post_content as a flag that reads from STDIN
scribu [Fri, 29 Nov 2013 23:23:23 +0000 (01:23 +0200)]
bump version to 0.13-RC
Cristi Burcă [Fri, 29 Nov 2013 23:21:46 +0000 (15:21 -0800)]
Merge pull request #882 from wp-cli/fix-wp-rewrite-structure
`wp rewrite structure` fails to properly set tag / category rewrite rules (2)
scribu [Fri, 29 Nov 2013 23:00:12 +0000 (01:00 +0200)]
clean up rewrite.feature
scribu [Fri, 29 Nov 2013 22:57:24 +0000 (00:57 +0200)]
rename launch_wpcli() to launch_self() and make it work from inside a Phar file
scribu [Fri, 29 Nov 2013 22:30:07 +0000 (00:30 +0200)]
exclude Finder tests from Phar
scribu [Fri, 29 Nov 2013 22:10:03 +0000 (00:10 +0200)]
add example of using sort with 'wp cap list'; closes #715
Cristi Burcă [Fri, 29 Nov 2013 22:00:09 +0000 (14:00 -0800)]
Merge pull request #806 from wp-cli/fix-806
Passwords incorrectly are getting HTML-escaped
scribu [Fri, 29 Nov 2013 21:00:26 +0000 (23:00 +0200)]
disable HTML escaping when rendering Mustache templates
scribu [Fri, 29 Nov 2013 21:40:00 +0000 (23:40 +0200)]
make validate_args() always return an array
see #883
scribu [Fri, 29 Nov 2013 21:31:04 +0000 (23:31 +0200)]
replace do_action() with do_hook() again; see #883
scribu [Fri, 29 Nov 2013 21:26:38 +0000 (23:26 +0200)]
include extra args when checking required associative parameters; see #883
Cristi Burcă [Fri, 29 Nov 2013 20:44:46 +0000 (12:44 -0800)]
Merge pull request #845 from wp-cli/hooks
WP_CLI::add_action() and WP_CLI::do_action() are confusing
scribu [Fri, 29 Nov 2013 20:41:47 +0000 (22:41 +0200)]
clarify inline docs for --format parameter; fixes #884
Cristi Burcă [Thu, 28 Nov 2013 19:56:20 +0000 (11:56 -0800)]
Merge pull request #850 from wp-cli/fix-850
Misleading confirmation message when activating network-only plugins
scribu [Thu, 28 Nov 2013 19:42:44 +0000 (21:42 +0200)]
check if plugin is network-only
scribu [Thu, 28 Nov 2013 19:31:41 +0000 (21:31 +0200)]
add test case for activating network-only plugins
scribu [Thu, 28 Nov 2013 19:19:09 +0000 (21:19 +0200)]
bump version to 0.13-beta
Cristi Burcă [Thu, 28 Nov 2013 16:54:05 +0000 (08:54 -0800)]
Merge pull request #896 from leewillis77/user-role-fix
Dont' ignore --role when creating users Edit
Lee Willis [Thu, 28 Nov 2013 10:14:58 +0000 (10:14 +0000)]
Fix spacing
Lee Willis [Wed, 27 Nov 2013 20:59:22 +0000 (20:59 +0000)]
Add tests
Lee Willis [Wed, 27 Nov 2013 20:59:12 +0000 (20:59 +0000)]
Make validate_role() return a bool. Throw error at caller if required
Cristi Burcă [Wed, 27 Nov 2013 17:09:42 +0000 (09:09 -0800)]
Merge pull request #886 from tiagohillebrandt/master
Implements the 'wp plugin deactivate --all' function
Tiago Hillebrandt [Wed, 27 Nov 2013 15:53:12 +0000 (09:53 -0600)]
Deactivate only active plugins.
scribu [Tue, 26 Nov 2013 07:25:21 +0000 (09:25 +0200)]
s/action/hook
Tiago Hillebrandt [Mon, 25 Nov 2013 11:05:09 +0000 (05:05 -0600)]
Implements the 'wp plugin deactivate --all' function
Tiago Hillebrandt [Mon, 25 Nov 2013 09:10:42 +0000 (03:10 -0600)]
Implements 'wp plugin deactivate --all' function
scribu [Mon, 25 Nov 2013 07:41:48 +0000 (09:41 +0200)]
plugin tests: use better backup extension
Cristi Burcă [Mon, 25 Nov 2013 07:16:00 +0000 (23:16 -0800)]
Merge pull request #565 from wp-cli/default-tests-dir
unit tests WP_TESTS_DIR env var necessary
scribu [Mon, 25 Nov 2013 06:50:38 +0000 (08:50 +0200)]
make WP_TESTS_DIR optional, by defaulting to a temporary path
Cristi Burcă [Sun, 24 Nov 2013 19:26:59 +0000 (11:26 -0800)]
Merge pull request #885 from wp-cli/no-init-tests
Remove `wp core init-tests` command
scribu [Sun, 24 Nov 2013 18:55:58 +0000 (20:55 +0200)]
remove obsolete `wp core init-tests` command
Cristi Burcă [Sun, 24 Nov 2013 18:35:26 +0000 (10:35 -0800)]
Merge pull request #679 from wp-cli/tests-suite
Decide what to do about develop.svn.wordpress.org
scribu [Sun, 24 Nov 2013 18:09:54 +0000 (20:09 +0200)]
install wp-mysqli, to avoid deprecation warnings, which cause PHPUnit to fail
scribu [Sun, 24 Nov 2013 18:03:56 +0000 (20:03 +0200)]
fix DB name replacement
scribu [Sun, 24 Nov 2013 18:00:31 +0000 (20:00 +0200)]
refactor install-wp-tests.sh into 3 functions
scribu [Sun, 24 Nov 2013 17:54:22 +0000 (19:54 +0200)]
use $ioption for all sed invocations
scribu [Fri, 30 Aug 2013 15:13:53 +0000 (18:13 +0300)]
switch to develop.svn and only download the test utilities
Cristi Burcă [Sat, 23 Nov 2013 12:01:54 +0000 (04:01 -0800)]
Merge pull request #883 from wp-cli/extra-config
Pass values from config files to subcommands via $assoc_args
scribu [Sat, 23 Nov 2013 11:54:09 +0000 (13:54 +0200)]
test that CLI args overwrite config values
scribu [Sat, 23 Nov 2013 11:43:57 +0000 (13:43 +0200)]
merge command config values after validating positional parameters
scribu [Sat, 23 Nov 2013 11:31:39 +0000 (13:31 +0200)]
add test for command-specific configs
scribu [Sat, 23 Nov 2013 11:09:15 +0000 (13:09 +0200)]
pass config values to commands via $assoc_args
scribu [Sat, 23 Nov 2013 10:51:17 +0000 (12:51 +0200)]
keep unknown config values in memory
scribu [Sat, 23 Nov 2013 10:23:32 +0000 (12:23 +0200)]
runtime config can be set after file config
scribu [Sat, 23 Nov 2013 10:02:05 +0000 (12:02 +0200)]
move YAML loading to Configurator
scribu [Sat, 23 Nov 2013 09:39:26 +0000 (11:39 +0200)]
make merge_config() work for runtime args too
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
Daniel Bachhuber [Fri, 22 Nov 2013 19:05:26 +0000 (11:05 -0800)]
Call the PHP binary directly, and ensure all arguments are escaped
Daniel Bachhuber [Fri, 22 Nov 2013 18:50:19 +0000 (10:50 -0800)]
These arguments should be optional
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 17:20:28 +0000 (09:20 -0800)]
Now that we have a method to launch new WP-CLI processes, use it to flush rewrite rules after setting the structure.
Fixes #814
Daniel Bachhuber [Fri, 22 Nov 2013 17:19:43 +0000 (09:19 -0800)]
Introduce a helper method for launching a new WP-CLI process using the same context as the current process.
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
Rodrigo Primo [Thu, 21 Nov 2013 18:28:39 +0000 (16:28 -0200)]
implement 'wp post generate --post_content=<content>'
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