OSDN Git Service

wvm/wvm.git
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 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

10 years agoextract duplicated request logic into a helper method
scribu [Fri, 11 Oct 2013 11:05:05 +0000 (14:05 +0300)]
extract duplicated request logic into a helper method

10 years agoinclude symfony finder in phar
Francesco Laffi [Fri, 11 Oct 2013 10:54:52 +0000 (12:54 +0200)]
include symfony finder in phar

… and remove duplicate dependency in composer.json from a rebase

10 years agoenable SSL verification by default
scribu [Fri, 11 Oct 2013 09:59:06 +0000 (12:59 +0300)]
enable SSL verification by default

10 years agoshow response exception message as a warning
scribu [Fri, 11 Oct 2013 09:38:06 +0000 (12:38 +0300)]
show response exception message as a warning

10 years agobetter validation of urls as cache key
Francesco Laffi [Thu, 10 Oct 2013 22:56:25 +0000 (00:56 +0200)]
better validation of urls as cache key

10 years agostricter update package from cache test
Francesco Laffi [Thu, 10 Oct 2013 20:52:14 +0000 (22:52 +0200)]
stricter update package from cache test

10 years agopackages cache behat tests
Francesco Laffi [Thu, 10 Oct 2013 19:09:41 +0000 (21:09 +0200)]
packages cache behat tests

10 years agopackages cache by caching wp http api
Francesco Laffi [Tue, 30 Jul 2013 08:14:17 +0000 (10:14 +0200)]
packages cache by caching wp http api

10 years agoMerge pull request #828 from wp-cli/fix-search
Cristi Burcă [Thu, 10 Oct 2013 19:21:44 +0000 (12:21 -0700)]
Merge pull request #828 from wp-cli/fix-search

Misc plugin/theme search improvements

10 years agocombine plugin/theme search code
scribu [Tue, 8 Oct 2013 21:51:35 +0000 (23:51 +0200)]
combine plugin/theme search code

besides reducing duplication, it also fixes an undefined $fields
variable notice

10 years agoadd <properties> tag to ruleset
scribu [Thu, 10 Oct 2013 18:01:40 +0000 (21:01 +0300)]
add <properties> tag to ruleset

10 years agoMerge pull request #826 from mattes/patch-1
Cristi Burcă [Thu, 10 Oct 2013 17:14:02 +0000 (10:14 -0700)]
Merge pull request #826 from mattes/patch-1

fix for issue #825

10 years agofix for issue #825
Matthias Kadenbach [Wed, 9 Oct 2013 14:59:18 +0000 (16:59 +0200)]
fix for issue #825

10 years agotravis: run CodeSniffer to detect undefined variable usage
scribu [Mon, 7 Oct 2013 14:58:05 +0000 (16:58 +0200)]
travis: run CodeSniffer to detect undefined variable usage

10 years agomove dev dependencies after regular dependencies
scribu [Mon, 7 Oct 2013 13:01:11 +0000 (15:01 +0200)]
move dev dependencies after regular dependencies

10 years agomove CI scripts out of the bin/ directory
scribu [Mon, 7 Oct 2013 15:17:47 +0000 (17:17 +0200)]
move CI scripts out of the bin/ directory

the idea is that the CI setup might contain other files besides
executables

10 years agofix delete logic after plugin refactoring
scribu [Mon, 7 Oct 2013 12:29:32 +0000 (14:29 +0200)]
fix delete logic after plugin refactoring

see c4f01fa50a40ab6624c84aeb9d1d9746f45f4118

props francescolaffi

10 years agoMerge pull request #777 from wp-cli/fix-777
Cristi Burcă [Sun, 6 Oct 2013 15:46:08 +0000 (08:46 -0700)]
Merge pull request #777 from wp-cli/fix-777

`wp post list --post__in=1,2,3` doesn't work

10 years agoMerge pull request #813 from wp-cli/improve-rewrite
Cristi Burcă [Sun, 6 Oct 2013 15:45:15 +0000 (08:45 -0700)]
Merge pull request #813 from wp-cli/improve-rewrite

Misc improvements to `wp rewrite`

10 years agoA more precise test
Daniel Bachhuber [Sun, 6 Oct 2013 15:33:18 +0000 (17:33 +0200)]
A more precise test

See https://github.com/wp-cli/wp-cli/pull/777#discussion_r6787013

10 years agoDrop pre-3.4 compat
Daniel Bachhuber [Sun, 6 Oct 2013 15:30:28 +0000 (17:30 +0200)]
Drop pre-3.4 compat

See https://github.com/wp-cli/wp-cli/pull/813#discussion_r6786977

10 years agoTest `post__in` scenario
Daniel Bachhuber [Sun, 6 Oct 2013 15:23:21 +0000 (17:23 +0200)]
Test `post__in` scenario

10 years agoSpecial treatment for `__` arguments (e.g. post__in, post__not_in)
Daniel Bachhuber [Sun, 6 Oct 2013 15:20:16 +0000 (17:20 +0200)]
Special treatment for `__` arguments (e.g. post__in, post__not_in)

10 years agoMerge pull request #815 from wp-cli/requests-stable
Cristi Burcă [Sun, 6 Oct 2013 15:10:56 +0000 (08:10 -0700)]
Merge pull request #815 from wp-cli/requests-stable

update to Requests 1.6

10 years agoSupport for displaying and filtering by the source of a given rewrite rule
Daniel Bachhuber [Sun, 6 Oct 2013 15:10:28 +0000 (17:10 +0200)]
Support for displaying and filtering by the source of a given rewrite rule

Mostly copied from Rewrite Rules Inspector.

10 years agoupdate to Requests 1.6
scribu [Sun, 6 Oct 2013 14:37:56 +0000 (16:37 +0200)]
update to Requests 1.6

10 years agobump version to 0.13.0-alpha
scribu [Sun, 6 Oct 2013 14:38:57 +0000 (16:38 +0200)]
bump version to 0.13.0-alpha

10 years agoSupport for `wp rewrite list --match=<url>`
Daniel Bachhuber [Sun, 6 Oct 2013 13:53:18 +0000 (15:53 +0200)]
Support for `wp rewrite list --match=<url>`

10 years agoFunctional tests for rewrite
Daniel Bachhuber [Sun, 6 Oct 2013 13:51:47 +0000 (15:51 +0200)]
Functional tests for rewrite

10 years agoVerbosity when the rewrite structure is set
Daniel Bachhuber [Sun, 6 Oct 2013 13:07:37 +0000 (13:07 +0000)]
Verbosity when the rewrite structure is set

10 years agobump version to 0.12.0 v0.12.0
scribu [Fri, 4 Oct 2013 13:54:34 +0000 (15:54 +0200)]
bump version to 0.12.0

10 years agocontrib-list: add newline
scribu [Fri, 4 Oct 2013 13:44:00 +0000 (15:44 +0200)]
contrib-list: add newline

10 years agoadd new contributors since the 0.11.2 release
scribu [Fri, 4 Oct 2013 13:41:39 +0000 (15:41 +0200)]
add new contributors since the 0.11.2 release

10 years agoMerge pull request #810 from wp-cli/theme-is-installed
Cristi Burcă [Fri, 4 Oct 2013 13:15:04 +0000 (06:15 -0700)]
Merge pull request #810 from wp-cli/theme-is-installed

Implement `wp theme is-installed`

10 years agoimplement 'wp theme is-installed'
scribu [Fri, 4 Oct 2013 12:46:26 +0000 (14:46 +0200)]
implement 'wp theme is-installed'

10 years agoMerge pull request #809 from wp-cli/plugin-get-validate
Cristi Burcă [Fri, 4 Oct 2013 12:45:32 +0000 (05:45 -0700)]
Merge pull request #809 from wp-cli/plugin-get-validate

`wp plugin get` doesn't validate the argument properly

10 years agocombine tests for plugin|theme get
scribu [Fri, 4 Oct 2013 12:28:39 +0000 (14:28 +0200)]
combine tests for plugin|theme get

10 years agocheck response from _parse_name()
scribu [Fri, 4 Oct 2013 12:24:37 +0000 (14:24 +0200)]
check response from _parse_name()

10 years agobump version to 0.12-beta
scribu [Thu, 3 Oct 2013 22:44:25 +0000 (00:44 +0200)]
bump version to 0.12-beta

10 years agopeg rmccue/requests to a specific revision
scribu [Thu, 3 Oct 2013 22:16:07 +0000 (00:16 +0200)]
peg rmccue/requests to a specific revision

still waiting for a stable tag: https://github.com/rmccue/Requests/issues/43

10 years agoMerge pull request #801 from goldenapples into master
scribu [Tue, 1 Oct 2013 23:04:48 +0000 (02:04 +0300)]
Merge pull request #801 from goldenapples into master

10 years agoAdd feature tests for `wp post edit`
goldenapples [Tue, 1 Oct 2013 20:59:46 +0000 (13:59 -0700)]
Add feature tests for `wp post edit`

Adds two new feature tests for wp post edit: one that simulates opening
an editor and quitting right out of it, and one that simulates chnaging
a word and then saving.

10 years agowp post edit should no longer call parent::update
goldenapples [Tue, 1 Oct 2013 20:58:23 +0000 (13:58 -0700)]
wp post edit should no longer call parent::update

This broke in f6285d3 when CommandWithDBObject::update was removed and
_update made protected. It should have been defined as $this->update
from the beginning.

10 years agoMerge pull request #802 from wp-cli/list-field
Cristi Burcă [Tue, 1 Oct 2013 20:18:04 +0000 (13:18 -0700)]
Merge pull request #802 from wp-cli/list-field

`list --field=` ignores `--format=json`

10 years agoset all_with_meta, for WP 3.4
scribu [Tue, 1 Oct 2013 19:32:06 +0000 (22:32 +0300)]
set all_with_meta, for WP 3.4

10 years agorespect --format=json when --field= is passed in list subcommands
scribu [Tue, 1 Oct 2013 17:38:00 +0000 (20:38 +0300)]
respect --format=json when --field= is passed in list subcommands

10 years agouse Formatter in CommandWithUpgrade->_list()
scribu [Tue, 1 Oct 2013 17:26:29 +0000 (20:26 +0300)]
use Formatter in CommandWithUpgrade->_list()

10 years agouse formatter in 'wp role list'
scribu [Tue, 1 Oct 2013 16:41:57 +0000 (19:41 +0300)]
use formatter in 'wp role list'

10 years agomove logic from format_items() into WP_CLI\Formatter class
scribu [Tue, 1 Oct 2013 16:24:34 +0000 (19:24 +0300)]
move logic from format_items() into WP_CLI\Formatter class

10 years agoextract find_item_key() method
scribu [Tue, 1 Oct 2013 16:12:52 +0000 (19:12 +0300)]
extract find_item_key() method

10 years agofix get_formatter()
scribu [Tue, 1 Oct 2013 16:09:11 +0000 (19:09 +0300)]
fix get_formatter()

10 years agolet format_items() handle case where fields aren't set, for now
scribu [Tue, 1 Oct 2013 15:42:18 +0000 (18:42 +0300)]
let format_items() handle case where fields aren't set, for now

10 years agomove disparate formatting utilities into the WP_CLI\Formatter class
scribu [Tue, 1 Oct 2013 15:39:35 +0000 (18:39 +0300)]
move disparate formatting utilities into the WP_CLI\Formatter class

10 years agointroduce WP_CLI\Formatter class
scribu [Tue, 1 Oct 2013 15:15:21 +0000 (18:15 +0300)]
introduce WP_CLI\Formatter class

10 years agowhitespace fixes
scribu [Tue, 1 Oct 2013 13:36:55 +0000 (16:36 +0300)]
whitespace fixes

10 years agoMerge pull request #795 from wp-cli/theme-get-field-795
Cristi Burcă [Tue, 1 Oct 2013 13:14:13 +0000 (06:14 -0700)]
Merge pull request #795 from wp-cli/theme-get-field-795

`wp theme get` should accept a `--field=` arg