OSDN Git Service

wvm/wvm.git
10 years agomove utilities for validating user ids/logins to FetcherUser class
scribu [Sat, 9 Nov 2013 21:54:22 +0000 (23:54 +0200)]
move utilities for validating user ids/logins to FetcherUser class

10 years agoadd behat test for #862
scribu [Sat, 9 Nov 2013 21:52:40 +0000 (23:52 +0200)]
add behat test for #862

10 years agomake cacert.pem file available from Phar; closes #859
scribu [Thu, 7 Nov 2013 16:10:51 +0000 (18:10 +0200)]
make cacert.pem file available from Phar; closes #859

10 years agoMerge pull request #860 from dd32/master
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...

10 years agoUse the SSL CA bundle that Requests includes, rather than relying upon the systems...
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.

10 years agoMerge pull request #856 from wp-cli/core-download-path
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`

10 years agoInclude `--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`

10 years agoMerge pull request #855 from wp-cli/test-latest
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

10 years agobump previous tested version to 3.6.1
scribu [Fri, 1 Nov 2013 21:47:42 +0000 (23:47 +0200)]
bump previous tested version to 3.6.1

10 years agotest against latest stable release of WP, instead of the master revision from the...
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

10 years agotravis: switch back to WP_VERSION=latest
scribu [Wed, 30 Oct 2013 12:19:57 +0000 (14:19 +0200)]
travis: switch back to WP_VERSION=latest

see #846

10 years agobump version to 0.13-alpha3
scribu [Wed, 30 Oct 2013 12:18:34 +0000 (14:18 +0200)]
bump version to 0.13-alpha3

10 years agoMerge pull request #853 from wp-cli/fix-853
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

10 years agofirst copy all the files, then remove the temporary dir
scribu [Wed, 30 Oct 2013 12:06:26 +0000 (14:06 +0200)]
first copy all the files, then remove the temporary dir

10 years agoreplace rename() with copy() + unlink()
scribu [Wed, 30 Oct 2013 11:40:38 +0000 (13:40 +0200)]
replace rename() with copy() + unlink()

10 years agouse escapeshellarg() instead of esc_cmd(), because the $editor variable can contain %s
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

10 years agomove OS detection to launch_editor_for_input()
scribu [Mon, 28 Oct 2013 19:43:15 +0000 (21:43 +0200)]
move OS detection to launch_editor_for_input()

see #822

10 years agohandle case where request to underscor.es fails
scribu [Mon, 28 Oct 2013 19:34:54 +0000 (21:34 +0200)]
handle case where request to underscor.es fails

see #822

10 years agoMerge pull request #822 from BoiteAWeb/master
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

10 years agotravis: test against WP 3.6.1 for now; see #846
scribu [Sun, 27 Oct 2013 22:37:47 +0000 (00:37 +0200)]
travis: test against WP 3.6.1 for now; see #846

10 years agobehat: show downloaded core version
scribu [Sun, 27 Oct 2013 21:58:59 +0000 (23:58 +0200)]
behat: show downloaded core version

particularly useful when WP_VERSION=latest

10 years agobehat: always show all the details when an error occurs
scribu [Sun, 27 Oct 2013 21:39:01 +0000 (23:39 +0200)]
behat: always show all the details when an error occurs

10 years agobehat: split step definition files
scribu [Sun, 27 Oct 2013 21:29:53 +0000 (23:29 +0200)]
behat: split step definition files

10 years agoreplace 'subcommand' with 'command' in doc strings and inline comments
scribu [Sat, 26 Oct 2013 20:28:57 +0000 (23:28 +0300)]
replace 'subcommand' with 'command' in doc strings and inline comments

see #848

10 years agobehat: avoid making a request to the wp.org API each time a wp-config.php is needed
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

10 years agomove link to contributor guide higher up
scribu [Fri, 25 Oct 2013 22:04:46 +0000 (01:04 +0300)]
move link to contributor guide higher up

10 years agoset default global config path;
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

10 years agoMerge pull request #838 into master
scribu [Thu, 24 Oct 2013 20:55:49 +0000 (23:55 +0300)]
Merge pull request #838 into master

Use PharData class to extract tarball

10 years agoMerge pull request #842 from wojsmol/theme2plugin
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

10 years agoChange cd $(wp theme path) is 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

10 years agoMerge pull request #698 from wp-cli/global-config-2
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

10 years agobehat: replace --config with WP_CLI_CONFIG_PATH
scribu [Thu, 24 Oct 2013 00:53:28 +0000 (03:53 +0300)]
behat: replace --config with WP_CLI_CONFIG_PATH

10 years agoarrayify require: key
scribu [Thu, 24 Oct 2013 00:34:03 +0000 (03:34 +0300)]
arrayify require: key

10 years agoseparate YAML parsing from config merging
scribu [Thu, 24 Oct 2013 00:14:50 +0000 (03:14 +0300)]
separate YAML parsing from config merging

10 years agoglobal flags have 'runtime' key '', which is falsy
scribu [Thu, 24 Oct 2013 00:13:52 +0000 (03:13 +0300)]
global flags have 'runtime' key '', which is falsy

10 years agofix case where a file-only config key would make a runtime arg of the
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

10 years agoproperly merge keys that can contain multiple values
scribu [Wed, 23 Oct 2013 23:22:12 +0000 (02:22 +0300)]
properly merge keys that can contain multiple values

10 years agoinitialized configurator on demand
scribu [Wed, 23 Oct 2013 23:09:31 +0000 (02:09 +0300)]
initialized configurator on demand

10 years agoshow warning when deprecated global parameter is used
scribu [Wed, 23 Oct 2013 21:27:40 +0000 (00:27 +0300)]
show warning when deprecated global parameter is used

10 years agoadd back deprecated --config global parameter, for backwards compatibility
scribu [Wed, 23 Oct 2013 21:24:33 +0000 (00:24 +0300)]
add back deprecated --config global parameter, for backwards compatibility

10 years agoMerge branch 'master' into global-config-2
scribu [Wed, 23 Oct 2013 21:03:42 +0000 (00:03 +0300)]
Merge branch 'master' into global-config-2

10 years agoIntroduce WP_CLI_CONFIG_PATH environment variable.
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

10 years agoMerge pull request #840 from tlovett1/feature/core-config-perms
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

10 years agouse fwrite() instead of echo in WP_CLI::out(), to avoid output buffers
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

10 years agosend REPL output directly to STDOUT, to avoid output buffers started by plugins
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

10 years agoTweak error message fixes #837
Taylor Lovett [Tue, 22 Oct 2013 02:28:27 +0000 (02:28 +0000)]
Tweak error message fixes #837

10 years agoOutput WP-CLI error if config file couldn't be created
Taylor Lovett [Tue, 22 Oct 2013 02:27:19 +0000 (02:27 +0000)]
Output WP-CLI error if config file couldn't be created

10 years agoadd space in download cache dir, for catching #839
scribu [Mon, 21 Oct 2013 23:39:28 +0000 (02:39 +0300)]
add space in download cache dir, for catching #839

10 years agouse Utils\esc_cmd() for consistency
scribu [Mon, 21 Oct 2013 23:37:03 +0000 (02:37 +0300)]
use Utils\esc_cmd() for consistency

10 years agoMerge pull request #839 from ryanduff/master
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

10 years agobump version to 0.13-alpha2
scribu [Mon, 21 Oct 2013 23:33:12 +0000 (02:33 +0300)]
bump version to 0.13-alpha2

10 years agoMerge pull request #619 from francescolaffi/packages-cache
Cristi Burcă [Mon, 21 Oct 2013 23:31:32 +0000 (16:31 -0700)]
Merge pull request #619 from francescolaffi/packages-cache

cache package downloads

10 years agoFixes readability
QWp6t [Sun, 20 Oct 2013 08:56:15 +0000 (01:56 -0700)]
Fixes readability

* two lines were indented with spaces, converted to tabs

10 years agoMakes extraction routine more readable / Fixes overwrite routine
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()

10 years agoFixes PharData extraction bugs
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

10 years agoescape abspath so paths with spaces work
Ryan Duff [Sat, 19 Oct 2013 14:20:34 +0000 (10:20 -0400)]
escape abspath so paths with spaces work

10 years agoUse PharData class to extract tarball
QWp6t [Sat, 19 Oct 2013 00:55:41 +0000 (17:55 -0700)]
Use PharData class to extract tarball

In some environments (read: mine), tar binary cannot access temp file because it is locked by php. This will resolve that issue.

10 years agoMerge pull request #836 from Automattic/fix-835
Cristi Burcă [Fri, 18 Oct 2013 23:14:29 +0000 (16:14 -0700)]
Merge pull request #836 from Automattic/fix-835

Conditionally load `wp-includes/date.php`

10 years agoConditionally load `wp-includes/date.php`
Nick Daugherty [Fri, 18 Oct 2013 21:34:52 +0000 (15:34 -0600)]
Conditionally load `wp-includes/date.php`

Add support for the new `WP_Date_Query` class, used internally by
`WP_Query`.

http://core.trac.wordpress.org/changeset/25139

10 years agoMerge pull request #784 from ctayloroomphinc/master
Cristi Burcă [Fri, 18 Oct 2013 01:35:36 +0000 (18:35 -0700)]
Merge pull request #784 from ctayloroomphinc/master

Adds --skip=image_resize to 'wp import' command.

10 years agolink to WPSE
scribu [Thu, 17 Oct 2013 19:02:06 +0000 (22:02 +0300)]
link to WPSE

10 years agoAdded newline to EOF.
Corey Taylor [Thu, 17 Oct 2013 15:56:30 +0000 (11:56 -0400)]
Added newline to EOF.

10 years agoFixed functional test (import requires --authors param to run correctly).
Corey Taylor [Thu, 17 Oct 2013 15:21:30 +0000 (11:21 -0400)]
Fixed functional test (import requires --authors param to run correctly).

10 years agoAdded functional test for new --skip=image_resize option. Also added option to comman...
Corey Taylor [Thu, 17 Oct 2013 15:02:27 +0000 (11:02 -0400)]
Added functional test for new --skip=image_resize option. Also added option to command doc output.

10 years agoRemoved thumbnail detection logic.
Corey Taylor [Thu, 17 Oct 2013 14:38:14 +0000 (10:38 -0400)]
Removed thumbnail detection logic.

10 years agocolorize only section headers
scribu [Wed, 16 Oct 2013 18:52:33 +0000 (21:52 +0300)]
colorize only section headers

fixes #832

10 years agofix missing EOF newline
Francesco Laffi [Tue, 15 Oct 2013 09:27:36 +0000 (11:27 +0200)]
fix missing EOF newline

10 years agoMerge branch 'master' into packages-cache
Francesco Laffi [Tue, 15 Oct 2013 09:22:39 +0000 (11:22 +0200)]
Merge branch 'master' into packages-cache

10 years agofix composer.json whitespace
Francesco Laffi [Mon, 14 Oct 2013 11:52:23 +0000 (13:52 +0200)]
fix composer.json whitespace

10 years agofix undefined index notice
Francesco Laffi [Mon, 14 Oct 2013 11:51:57 +0000 (13:51 +0200)]
fix undefined index notice

10 years agosimplify error message for --user= global parameter
scribu [Sun, 13 Oct 2013 14:29:40 +0000 (17:29 +0300)]
simplify error message for --user= global parameter

10 years agosplit overly long lines
scribu [Sun, 13 Oct 2013 14:28:05 +0000 (17:28 +0300)]
split overly long lines

10 years agoMerge pull request #818 from wp-cli/codesniffer
Cristi Burcă [Sun, 13 Oct 2013 14:23:01 +0000 (07:23 -0700)]
Merge pull request #818 from wp-cli/codesniffer

Run CodeSniffer in WP-CLI Travis builds

10 years agoenable EndFileNewline sniff
scribu [Sun, 13 Oct 2013 14:14:44 +0000 (17:14 +0300)]
enable EndFileNewline sniff

10 years agoenable DisallowSpaceIndent sniff
scribu [Sun, 13 Oct 2013 14:07:26 +0000 (17:07 +0300)]
enable DisallowSpaceIndent sniff

10 years agomove codesniffer parameters to ruleset.xml
scribu [Sun, 13 Oct 2013 13:51:38 +0000 (16:51 +0300)]
move codesniffer parameters to ruleset.xml

10 years agofix undefined variable warnings in user.php
scribu [Sun, 13 Oct 2013 13:07:20 +0000 (16:07 +0300)]
fix undefined variable warnings in user.php

10 years agoextract validate_role() helper method
scribu [Sun, 13 Oct 2013 13:02:39 +0000 (16:02 +0300)]
extract validate_role() helper method

10 years agoignore undefined variable warnings in Runner.php
scribu [Sun, 13 Oct 2013 13:15:58 +0000 (16:15 +0300)]
ignore undefined variable warnings in Runner.php

10 years agofix undefined variable warnings in wp-settings-cli.php
scribu [Sun, 13 Oct 2013 13:14:04 +0000 (16:14 +0300)]
fix undefined variable warnings in wp-settings-cli.php

10 years agoignore undefined variable warnings in post.php
scribu [Sun, 13 Oct 2013 13:11:29 +0000 (16:11 +0300)]
ignore undefined variable warnings in post.php

10 years agomake codesniffer ignore Spyc library
scribu [Sun, 13 Oct 2013 12:44:04 +0000 (15:44 +0300)]
make codesniffer ignore Spyc library

10 years agoignore codesniffer warnings in core.php
scribu [Sun, 13 Oct 2013 12:38:46 +0000 (15:38 +0300)]
ignore codesniffer warnings in core.php

some are caused by using variables defined in wp-includes/version.php

and some are caused by using extract(), which isn't that evil when used
with EXTR_SKIP

10 years agoMerge branch 'master' into codesniffer
scribu [Sun, 13 Oct 2013 12:26:52 +0000 (15:26 +0300)]
Merge branch 'master' into codesniffer

10 years agobump version to 0.13-alpha
scribu [Sun, 13 Oct 2013 12:19:12 +0000 (15:19 +0300)]
bump version to 0.13-alpha

10 years agofix undefined variables in site.php
scribu [Sun, 13 Oct 2013 12:14:31 +0000 (15:14 +0300)]
fix undefined variables in site.php

10 years agofix undefined variables in scaffold.php
scribu [Sun, 13 Oct 2013 12:13:20 +0000 (15:13 +0300)]
fix undefined variables in scaffold.php

10 years agofix undefined variables in Formatter.php
scribu [Sun, 13 Oct 2013 12:10:14 +0000 (15:10 +0300)]
fix undefined variables in Formatter.php

10 years agofix undefined variables in comment.php
scribu [Sun, 13 Oct 2013 12:08:20 +0000 (15:08 +0300)]
fix undefined variables in comment.php

10 years agoremove unused $wpdb variable
scribu [Sun, 13 Oct 2013 12:05:46 +0000 (15:05 +0300)]
remove unused $wpdb variable

10 years agoremove unused $silent parameter from when cURL was used directly
scribu [Sun, 13 Oct 2013 12:05:25 +0000 (15:05 +0300)]
remove unused $silent parameter from when cURL was used directly

10 years agoreset temporary $levs array on each iteration
scribu [Sun, 13 Oct 2013 12:03:49 +0000 (15:03 +0300)]
reset temporary $levs array on each iteration

also, use rsort(), since $levs isn't associative

10 years agorestrict codesniffer warnings to undefined variables
scribu [Sun, 13 Oct 2013 11:43:48 +0000 (14:43 +0300)]
restrict codesniffer warnings to undefined variables

10 years agotest the waters before diving in
scribu [Fri, 11 Oct 2013 19:49:15 +0000 (22:49 +0300)]
test the waters before diving in

10 years agoset version to 0.12.1 v0.12.1
scribu [Fri, 11 Oct 2013 12:36:09 +0000 (15:36 +0300)]
set version to 0.12.1

10 years agobranding
scribu [Fri, 11 Oct 2013 12:35:58 +0000 (15:35 +0300)]
branding

10 years agoupdate contributor list since 0.12.0
scribu [Fri, 11 Oct 2013 12:34:39 +0000 (15:34 +0300)]
update contributor list since 0.12.0

10 years agoMerge pull request #823 from wp-cli/fix-823
Cristi Burcă [Fri, 11 Oct 2013 12:06:50 +0000 (05:06 -0700)]
Merge pull request #823 from wp-cli/fix-823

Show warning if HTTPS request fails

10 years agoadd back warning message
scribu [Fri, 11 Oct 2013 12:03:33 +0000 (15:03 +0300)]
add back warning message

10 years agomake WP_CLI::get_cache more readable and private
Francesco Laffi [Fri, 11 Oct 2013 11:42:41 +0000 (13:42 +0200)]
make WP_CLI::get_cache more readable and private