OSDN Git Service

wvm/wvm.git
10 years agobump version to 0.14.0-beta master
scribu [Sat, 1 Feb 2014 23:16:29 +0000 (01:16 +0200)]
bump version to 0.14.0-beta

10 years agoswitch to wp-cli/php-cli-tools:dev-master
scribu [Sat, 1 Feb 2014 22:45:07 +0000 (00:45 +0200)]
switch to wp-cli/php-cli-tools:dev-master

it contains https://github.com/wp-cli/php-cli-tools/commit/6079f27981a5dd91be6ff9f19643a7278dcdfbbb

which fixes #947

10 years agomake local plugin lookup case-sensitive
scribu [Sat, 1 Feb 2014 21:52:19 +0000 (23:52 +0200)]
make local plugin lookup case-sensitive

the old lookup method returned false positives on case-insensitive
filesystems

(plugin basenames are treated as case-sensitive by WordPress)

fixes #958

10 years agoMerge remote-tracking branch 'boonebgorges/master'
scribu [Sat, 1 Feb 2014 20:58:21 +0000 (22:58 +0200)]
Merge remote-tracking branch 'boonebgorges/master'

closes #985

10 years agoadd Behat test for #985
scribu [Sat, 1 Feb 2014 20:58:11 +0000 (22:58 +0200)]
add Behat test for #985

10 years agofix notice in find_item_by_key()
scribu [Sat, 1 Feb 2014 20:52:35 +0000 (22:52 +0200)]
fix notice in find_item_by_key()

10 years agoMerge pull request #987 from wp-cli/remove-wp-cli-blog
Cristi Burcă [Fri, 31 Jan 2014 13:18:21 +0000 (05:18 -0800)]
Merge pull request #987 from wp-cli/remove-wp-cli-blog

Stop looking for deprecated wp-cli-blog file

10 years agostop looking for deprecated wp-cli-blog file
scribu [Fri, 31 Jan 2014 12:57:51 +0000 (14:57 +0200)]
stop looking for deprecated wp-cli-blog file

rationale:

- it makes an extra access(2) syscall on each run
- it's been deprecated for many versions

10 years agoDefine $role variable in User_Command::generate()
Boone B Gorges [Fri, 31 Jan 2014 03:16:13 +0000 (22:16 -0500)]
Define $role variable in User_Command::generate()

This fixes role-setting when generating users.

10 years agoMerge pull request #535 from wp-cli/value-from-stdin
Cristi Burcă [Fri, 31 Jan 2014 01:50:00 +0000 (17:50 -0800)]
Merge pull request #535 from wp-cli/value-from-stdin

Allow reading values from STDIN

10 years agoallow reading values from STDIN for `wp option` and 'wp *-meta` subcommands
scribu [Fri, 31 Jan 2014 01:32:54 +0000 (03:32 +0200)]
allow reading values from STDIN for `wp option` and 'wp *-meta` subcommands

10 years agoMerge pull request #979 from wp-cli/fix-979
Cristi Burcă [Fri, 31 Jan 2014 01:03:16 +0000 (17:03 -0800)]
Merge pull request #979 from wp-cli/fix-979

WP in subdir only works from the root dir

10 years agocontinue searching after finding an index.php that doesn't contain the path to wp...
scribu [Fri, 31 Jan 2014 00:36:20 +0000 (02:36 +0200)]
continue searching after finding an index.php that doesn't contain the path to wp-blog-header.php

10 years agoallow WP-CLI to be invoked from subdirectories other than the subdir the WP files...
scribu [Fri, 31 Jan 2014 00:09:45 +0000 (02:09 +0200)]
allow WP-CLI to be invoked from subdirectories other than the subdir the WP files are in

10 years agogroup all logic that deals with finding the WP files into a single method
scribu [Thu, 30 Jan 2014 23:57:29 +0000 (01:57 +0200)]
group all logic that deals with finding the WP files into a single method

10 years agobump version to 0.14.0-alpha2
scribu [Sun, 26 Jan 2014 11:48:34 +0000 (13:48 +0200)]
bump version to 0.14.0-alpha2

10 years agoMerge pull request #973 from SpikesDivZero/no-root
Cristi Burcă [Sun, 26 Jan 2014 11:47:20 +0000 (03:47 -0800)]
Merge pull request #973 from SpikesDivZero/no-root

Don't allow wp-cli as root without --allow_root

10 years agofix --max_depth= again and add behat test
scribu [Sun, 26 Jan 2014 01:07:17 +0000 (03:07 +0200)]
fix --max_depth= again and add behat test

closes #820
see #943

10 years agoRecommend sudo instead of su.
Wesley Spikes [Sat, 25 Jan 2014 23:20:00 +0000 (15:20 -0800)]
Recommend sudo instead of su.

10 years agoMerge pull request #980 from wp-cli/fix-929
Cristi Burcă [Sat, 25 Jan 2014 15:23:05 +0000 (07:23 -0800)]
Merge pull request #980 from wp-cli/fix-929

Fix #929

10 years agobehat: allow correct grammar
scribu [Sat, 25 Jan 2014 15:10:33 +0000 (17:10 +0200)]
behat: allow correct grammar

10 years agomake autodetection of WP files in a subdirectory work in more cases
scribu [Sat, 25 Jan 2014 15:05:47 +0000 (17:05 +0200)]
make autodetection of WP files in a subdirectory work in more cases

fixes #929

10 years agoextract replace_path_consts() utility
scribu [Sat, 25 Jan 2014 14:41:09 +0000 (16:41 +0200)]
extract replace_path_consts() utility

10 years agoMinor typo fix.
Wesley Spikes [Sat, 25 Jan 2014 00:52:40 +0000 (16:52 -0800)]
Minor typo fix.

10 years agoMerge pull request #975 from bartaakos/master
Cristi Burcă [Fri, 24 Jan 2014 16:35:03 +0000 (08:35 -0800)]
Merge pull request #975 from bartaakos/master

Added locale option for wp core update

10 years agoget_download_url
Barta Akos [Fri, 24 Jan 2014 15:39:47 +0000 (16:39 +0100)]
get_download_url

10 years agoadded locale information to core update log
Barta Akos [Fri, 24 Jan 2014 09:06:50 +0000 (10:06 +0100)]
added locale information to core update log

10 years agoadded locale to core update
Barta Akos [Fri, 24 Jan 2014 08:56:08 +0000 (09:56 +0100)]
added locale to core update

10 years agoMerge pull request #972 from wp-cli/skip-plugins-v2
Cristi Burcă [Thu, 23 Jan 2014 20:08:56 +0000 (12:08 -0800)]
Merge pull request #972 from wp-cli/skip-plugins-v2

Introduce --skip-plugins flag

10 years agoDon't show --allow-root in help.
Wesley Spikes [Thu, 23 Jan 2014 08:18:51 +0000 (00:18 -0800)]
Don't show --allow-root in help.

It'll still be there, it just won't show up in the man pages anymore,
since the "NOT RECCOMENDED" is pretty ugly. :)

10 years agoAdjust spec for --allow-root
Wesley Spikes [Thu, 23 Jan 2014 05:57:19 +0000 (21:57 -0800)]
Adjust spec for --allow-root

I know file=false is the default, but were that to change at any point,
having this be true could potentially compromise the system's security
if wp-cli was run as root.

10 years agoRename --allow_root to --allow-root
Wesley Spikes [Wed, 22 Jan 2014 18:38:35 +0000 (10:38 -0800)]
Rename --allow_root to --allow-root

10 years agoDon't allow wp-cli as root without --allow_root
Wesley Spikes [Tue, 21 Jan 2014 05:55:38 +0000 (21:55 -0800)]
Don't allow wp-cli as root without --allow_root

10 years agofirst pass at --skip-plugins flag
scribu [Tue, 21 Jan 2014 00:02:40 +0000 (02:02 +0200)]
first pass at --skip-plugins flag

10 years agomore renaming from _list() to list_()
scribu [Mon, 20 Jan 2014 23:05:57 +0000 (01:05 +0200)]
more renaming from _list() to list_()

10 years agorename _list() to list_() to avoid confusing it with a non-public method
scribu [Mon, 20 Jan 2014 23:00:44 +0000 (01:00 +0200)]
rename _list() to list_() to avoid confusing it with a non-public method

10 years agoMerge pull request #971 from wp-cli/multiple-post-type
Cristi Burcă [Mon, 20 Jan 2014 18:40:40 +0000 (10:40 -0800)]
Merge pull request #971 from wp-cli/multiple-post-type

`post_type` should also support multiple arguments

10 years agoAccording to core, `post_type` == `any` has to be a string
Daniel Bachhuber [Mon, 20 Jan 2014 17:55:41 +0000 (09:55 -0800)]
According to core, `post_type` == `any` has to be a string

10 years agoMerge pull request #970 from wp-cli/support-user-login-970
Cristi Burcă [Mon, 20 Jan 2014 17:15:18 +0000 (09:15 -0800)]
Merge pull request #970 from wp-cli/support-user-login-970

Support `user_login` as first arg for `wp user-meta`

10 years agoUpdate `wp post list` examples
Daniel Bachhuber [Mon, 20 Jan 2014 17:10:05 +0000 (09:10 -0800)]
Update `wp post list` examples

10 years agoCopy and paste some command docs
Daniel Bachhuber [Mon, 20 Jan 2014 17:03:51 +0000 (09:03 -0800)]
Copy and paste some command docs

10 years agoAdd another example to the description
Daniel Bachhuber [Mon, 20 Jan 2014 17:00:53 +0000 (09:00 -0800)]
Add another example to the description

10 years ago`post_type` is a special key that should also support multiple arguments
Daniel Bachhuber [Mon, 20 Jan 2014 16:49:43 +0000 (08:49 -0800)]
`post_type` is a special key that should also support multiple arguments

10 years agoUpdate tests to reflect 7433cdb
Daniel Bachhuber [Mon, 20 Jan 2014 16:17:34 +0000 (08:17 -0800)]
Update tests to reflect 7433cdb

10 years agoUpdate `wp user-meta` to support `user_login` as a first positional argument
Daniel Bachhuber [Mon, 20 Jan 2014 16:17:02 +0000 (08:17 -0800)]
Update `wp user-meta` to support `user_login` as a first positional argument

10 years agowp plugin get: remove unreliable 'update' field
scribu [Sun, 19 Jan 2014 17:22:47 +0000 (19:22 +0200)]
wp plugin get: remove unreliable 'update' field

we'd have to call wp_update_plugins() on each run, like we do for `wp
plugin status`

also, `wp theme get` doesn't have it

10 years agoRevert "slight improvement to behat step regex"
scribu [Sun, 19 Jan 2014 14:07:17 +0000 (16:07 +0200)]
Revert "slight improvement to behat step regex"

The new regex didn't catch all cases.

This reverts commit ae175ac8d88c61b9e8132f07ca2b200b2437a413.

10 years agorefactor long line in get_update_info()
scribu [Sun, 19 Jan 2014 13:25:23 +0000 (15:25 +0200)]
refactor long line in get_update_info()

10 years agouse get_check() in 'wp plugin path'
scribu [Sat, 18 Jan 2014 16:22:11 +0000 (18:22 +0200)]
use get_check() in 'wp plugin path'

10 years agoreadme: s/Installation/Installing/
scribu [Sat, 18 Jan 2014 15:57:31 +0000 (17:57 +0200)]
readme: s/Installation/Installing/

just seems more friendly

10 years agoMerge pull request #965 from nb/update-latest-stable-in-travis-ci
Cristi Burcă [Sat, 18 Jan 2014 09:11:50 +0000 (01:11 -0800)]
Merge pull request #965 from nb/update-latest-stable-in-travis-ci

Update WordPress stable in Travis CI template

10 years agoUpdate WordPress stable in Travis CI template
Nikolay Bachiyski [Sat, 18 Jan 2014 04:13:11 +0000 (18:13 -1000)]
Update WordPress stable in Travis CI template

The 3.6 times are gone.

10 years agoslight improvement to behat step regex
scribu [Tue, 14 Jan 2014 20:12:54 +0000 (22:12 +0200)]
slight improvement to behat step regex

10 years agoMerge pull request #961 from wp-cli/import-users-with-id-column
Cristi Burcă [Wed, 15 Jan 2014 08:11:27 +0000 (00:11 -0800)]
Merge pull request #961 from wp-cli/import-users-with-id-column

wp user import-csv users.csv with ID column

10 years agoMerge pull request #962 from wp-cli/term-arg-order
Cristi Burcă [Tue, 14 Jan 2014 21:10:28 +0000 (13:10 -0800)]
Merge pull request #962 from wp-cli/term-arg-order

Make the taxonomy the first parameter for all term subcommands

10 years agoUnset possible ID column to prevent unwanted behaviour
jmslbam [Tue, 14 Jan 2014 20:53:29 +0000 (21:53 +0100)]
Unset possible ID column to prevent unwanted behaviour

If the ID column isn't unset, then `wp_insert_user` will return this ID while not having created a new user. Therefor passing the `is_wp_error` check and showing the success message without actually having created a new user.

10 years agomake all the term subcommands accept the taxonomy as the first parameter
scribu [Tue, 14 Jan 2014 19:04:05 +0000 (21:04 +0200)]
make all the term subcommands accept the taxonomy as the first parameter

10 years agoimprove hierarchy generation; see #821
scribu [Tue, 14 Jan 2014 19:42:39 +0000 (21:42 +0200)]
improve hierarchy generation; see #821

10 years agomake 'wp term delete' accept multiple args
scribu [Tue, 14 Jan 2014 18:59:16 +0000 (20:59 +0200)]
make 'wp term delete' accept multiple args

10 years agoMerge pull request #821 from Japh/master
Cristi Burcă [Tue, 14 Jan 2014 18:43:48 +0000 (10:43 -0800)]
Merge pull request #821 from Japh/master

Implements wp term generate, Fixes #389.

10 years agoMerge pull request #957 from francescolaffi/pr-cache-core
Cristi Burcă [Tue, 14 Jan 2014 18:36:41 +0000 (10:36 -0800)]
Merge pull request #957 from francescolaffi/pr-cache-core

Core packages caching

10 years agocore download caching tests
Francesco Laffi [Mon, 13 Jan 2014 13:24:23 +0000 (14:24 +0100)]
core download caching tests

10 years agocore caching on download
Francesco Laffi [Sun, 5 Jan 2014 18:55:58 +0000 (19:55 +0100)]
core caching on download

10 years agoconvert recursive_unserialize_replace() function to a class
scribu [Sat, 11 Jan 2014 10:05:53 +0000 (12:05 +0200)]
convert recursive_unserialize_replace() function to a class

benefits:

- avoids exposing intermediate recursion variables, such as
  $recursion_level
- clearer which elements are constant and which change

see #951

10 years agoremove reference from $data parameter; see #951
scribu [Sat, 11 Jan 2014 09:45:32 +0000 (11:45 +0200)]
remove reference from $data parameter; see #951

also, improve parameter descriptions

10 years agomanually wrap long line in search-replace description
scribu [Sat, 11 Jan 2014 08:03:00 +0000 (10:03 +0200)]
manually wrap long line in search-replace description

10 years agoword-wrap command descriptions
scribu [Sat, 11 Jan 2014 07:52:44 +0000 (09:52 +0200)]
word-wrap command descriptions

10 years agoremove unnecessary requires; see #951
scribu [Sat, 11 Jan 2014 07:47:19 +0000 (09:47 +0200)]
remove unnecessary requires; see #951

10 years agoMerge pull request #951 from CodeAwhile:recursive-search-replace
scribu [Sat, 11 Jan 2014 07:45:53 +0000 (09:45 +0200)]
Merge pull request #951 from CodeAwhile:recursive-search-replace

10 years agoMove recursive search-replace function to Utils and add unit tests
Will Anderson [Sat, 11 Jan 2014 07:01:50 +0000 (23:01 -0800)]
Move recursive search-replace function to Utils and add unit tests

10 years agoMerge pull request #955 from wp-cli/fix-955
Cristi Burcă [Sat, 11 Jan 2014 04:13:18 +0000 (20:13 -0800)]
Merge pull request #955 from wp-cli/fix-955

`wp core download` picks up outer installs

10 years agoDon't look for WP files upward when running `wp core download`.
scribu [Sat, 11 Jan 2014 03:50:16 +0000 (05:50 +0200)]
Don't look for WP files upward when running `wp core download`.

If you run `wp core download` in an empty directory, getting an "Error:
WordPress files seem to already be present here." message is quite
confusing.

see #955

10 years agoremove duplicated check
scribu [Sat, 11 Jan 2014 03:32:51 +0000 (05:32 +0200)]
remove duplicated check

10 years agoUpdate array handling for safer recursive replacements
Will Anderson [Wed, 8 Jan 2014 10:16:18 +0000 (02:16 -0800)]
Update array handling for safer recursive replacements

10 years agoUpdate documentation header for recursive_unserialize_replace
Will Anderson [Wed, 8 Jan 2014 08:35:31 +0000 (00:35 -0800)]
Update documentation header for recursive_unserialize_replace

10 years agoMerge pull request #817 from x-team:mysqldump-extra-args
scribu [Tue, 7 Jan 2014 23:44:39 +0000 (01:44 +0200)]
Merge pull request #817 from x-team:mysqldump-extra-args

10 years agosite create: fix description for --title= parameter
scribu [Mon, 6 Jan 2014 10:46:35 +0000 (12:46 +0200)]
site create: fix description for --title= parameter

10 years agoMerge pull request #909 from wp-cli/fix-909
Cristi Burcă [Sun, 5 Jan 2014 06:35:36 +0000 (22:35 -0800)]
Merge pull request #909 from wp-cli/fix-909

`wp core is-installed` breaks on multisite

10 years agofix `wp core is-installed` expectations for singlesite
scribu [Sun, 5 Jan 2014 06:19:32 +0000 (08:19 +0200)]
fix `wp core is-installed` expectations for singlesite

10 years agomake `wp core is-installed` exit with 1 when run against a multisite
scribu [Tue, 17 Dec 2013 23:23:39 +0000 (01:23 +0200)]
make `wp core is-installed` exit with 1 when run against a multisite
install with no database

10 years agoMerge branch 'feature/import-authors-csv-doc' from cftp
scribu [Sun, 5 Jan 2014 05:54:59 +0000 (07:54 +0200)]
Merge branch 'feature/import-authors-csv-doc' from cftp

10 years agoMerge pull request #944 from johnbillion/whether
Cristi Burcă [Sun, 5 Jan 2014 04:56:49 +0000 (20:56 -0800)]
Merge pull request #944 from johnbillion/whether

Correct spelling of whether

10 years agoCorrect spelling of whether
John Blackbourn [Sat, 4 Jan 2014 23:59:18 +0000 (23:59 +0000)]
Correct spelling of whether

10 years agoAdd a --recurse-objects flag
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

10 years agoMerge pull request #943 from gradyetc/master
Cristi Burcă [Fri, 3 Jan 2014 21:49:20 +0000 (13:49 -0800)]
Merge pull request #943 from gradyetc/master

Store post ids during `wp post generate`.

10 years agoStore post ids during `wp post generate`.
Mike Burns [Fri, 3 Jan 2014 20:29:05 +0000 (15:29 -0500)]
Store post ids during `wp post generate`.

Fixes --max_depth which was broken in fe2be3169b.
Closes #820.

10 years agoMerge pull request #941 from mboynes/network-theme-list
Cristi Burcă [Thu, 2 Jan 2014 23:59:28 +0000 (15:59 -0800)]
Merge pull request #941 from mboynes/network-theme-list

Adding site and network enabled columns to wp theme list

10 years agoMerging the network and site enabled columns for `wp theme list`
Matt Boynes [Sat, 28 Dec 2013 07:21:00 +0000 (02:21 -0500)]
Merging the network and site enabled columns for `wp theme list`

10 years agoclarify description for theme 'enable' and 'disable' subcommands
scribu [Sat, 28 Dec 2013 06:42:27 +0000 (08:42 +0200)]
clarify description for theme 'enable' and 'disable' subcommands

see #938

10 years agoMerge pull request #938 from mboynes/network-theme-commands
Cristi Burcă [Sat, 28 Dec 2013 06:41:09 +0000 (22:41 -0800)]
Merge pull request #938 from mboynes/network-theme-commands

Adding theme enable/disable commands for multisite installs. Closes #918.

10 years agoAdding site and network enabled columns to wp theme list
Matt Boynes [Sat, 28 Dec 2013 06:28:54 +0000 (01:28 -0500)]
Adding site and network enabled columns to wp theme list

10 years agoTesting that themes are actually being en/disabled
Matt Boynes [Sat, 28 Dec 2013 05:47:20 +0000 (00:47 -0500)]
Testing that themes are actually being en/disabled

10 years agoAdding feature tests for `theme enable` and `theme disable`
Matt Boynes [Fri, 27 Dec 2013 20:42:24 +0000 (15:42 -0500)]
Adding feature tests for `theme enable` and `theme disable`

10 years agoEnsuring that theme enable/disable commands are only ever run on multisite installs
Matt Boynes [Fri, 27 Dec 2013 20:41:44 +0000 (15:41 -0500)]
Ensuring that theme enable/disable commands are only ever run on multisite installs

10 years agoAdding theme enable/disable commands for multisite installs. Closes #918.
Matt Boynes [Fri, 27 Dec 2013 17:33:25 +0000 (12:33 -0500)]
Adding theme enable/disable commands for multisite installs. Closes #918.

These commands allow the user to enable or disable themes for a site in a multisite network, or network enable/disable themes.

10 years agoMerge pull request #891 from wp-cli/email-for-user-891
Cristi Burcă [Thu, 26 Dec 2013 21:13:25 +0000 (13:13 -0800)]
Merge pull request #891 from wp-cli/email-for-user-891

Support for using email address in our magical `<user>` argument

10 years agofix default for WP_VERSION; see #679
scribu [Thu, 26 Dec 2013 20:54:48 +0000 (22:54 +0200)]
fix default for WP_VERSION; see #679

10 years agoUse the fetcher instead
Daniel Bachhuber [Thu, 26 Dec 2013 20:45:58 +0000 (12:45 -0800)]
Use the fetcher instead

10 years agoApparently this helper function exists
Daniel Bachhuber [Thu, 26 Dec 2013 20:33:59 +0000 (12:33 -0800)]
Apparently this helper function exists

10 years agoSupport for using a user's email address in the `--user` flag.
Daniel Bachhuber [Thu, 26 Dec 2013 20:32:28 +0000 (12:32 -0800)]
Support for using a user's email address in the `--user` flag.