OSDN Git Service

wvm/wvm.git
10 years agodisable HTML escaping when rendering Mustache templates
scribu [Fri, 29 Nov 2013 21:00:26 +0000 (23:00 +0200)]
disable HTML escaping when rendering Mustache templates

10 years agomake validate_args() always return an array
scribu [Fri, 29 Nov 2013 21:40:00 +0000 (23:40 +0200)]
make validate_args() always return an array

see #883

10 years agoreplace do_action() with do_hook() again; see #883
scribu [Fri, 29 Nov 2013 21:31:04 +0000 (23:31 +0200)]
replace do_action() with do_hook() again; see #883

10 years agoinclude extra args when checking required associative parameters; see #883
scribu [Fri, 29 Nov 2013 21:26:38 +0000 (23:26 +0200)]
include extra args when checking required associative parameters; see #883

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

10 years agoclarify inline docs for --format parameter; fixes #884
scribu [Fri, 29 Nov 2013 20:41:47 +0000 (22:41 +0200)]
clarify inline docs for --format parameter; fixes #884

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

10 years agocheck if plugin is network-only
scribu [Thu, 28 Nov 2013 19:42:44 +0000 (21:42 +0200)]
check if plugin is network-only

10 years agoadd test case for activating network-only plugins
scribu [Thu, 28 Nov 2013 19:31:41 +0000 (21:31 +0200)]
add test case for activating network-only plugins

10 years agobump version to 0.13-beta
scribu [Thu, 28 Nov 2013 19:19:09 +0000 (21:19 +0200)]
bump version to 0.13-beta

10 years agoMerge pull request #896 from leewillis77/user-role-fix
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

10 years agoFix spacing
Lee Willis [Thu, 28 Nov 2013 10:14:58 +0000 (10:14 +0000)]
Fix spacing

10 years agoAdd tests
Lee Willis [Wed, 27 Nov 2013 20:59:22 +0000 (20:59 +0000)]
Add tests

10 years agoMake validate_role() return a bool. Throw error at caller if required
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

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

10 years agoDeactivate only active plugins.
Tiago Hillebrandt [Wed, 27 Nov 2013 15:53:12 +0000 (09:53 -0600)]
Deactivate only active plugins.

10 years agos/action/hook
scribu [Tue, 26 Nov 2013 07:25:21 +0000 (09:25 +0200)]
s/action/hook

10 years agoImplements the 'wp plugin deactivate --all' function
Tiago Hillebrandt [Mon, 25 Nov 2013 11:05:09 +0000 (05:05 -0600)]
Implements the 'wp plugin deactivate --all' function

10 years agoImplements 'wp plugin deactivate --all' function
Tiago Hillebrandt [Mon, 25 Nov 2013 09:10:42 +0000 (03:10 -0600)]
Implements 'wp plugin deactivate --all' function

10 years agoplugin tests: use better backup extension
scribu [Mon, 25 Nov 2013 07:41:48 +0000 (09:41 +0200)]
plugin tests: use better backup extension

10 years agoMerge pull request #565 from wp-cli/default-tests-dir
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

10 years agomake WP_TESTS_DIR optional, by defaulting to a temporary path
scribu [Mon, 25 Nov 2013 06:50:38 +0000 (08:50 +0200)]
make WP_TESTS_DIR optional, by defaulting to a temporary path

10 years agoMerge pull request #885 from wp-cli/no-init-tests
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

10 years agoremove obsolete `wp core init-tests` command
scribu [Sun, 24 Nov 2013 18:55:58 +0000 (20:55 +0200)]
remove obsolete `wp core init-tests` command

10 years agoMerge pull request #679 from wp-cli/tests-suite
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

10 years agoinstall wp-mysqli, to avoid deprecation warnings, which cause PHPUnit to fail
scribu [Sun, 24 Nov 2013 18:09:54 +0000 (20:09 +0200)]
install wp-mysqli, to avoid deprecation warnings, which cause PHPUnit to fail

10 years agofix DB name replacement
scribu [Sun, 24 Nov 2013 18:03:56 +0000 (20:03 +0200)]
fix DB name replacement

10 years agorefactor install-wp-tests.sh into 3 functions
scribu [Sun, 24 Nov 2013 18:00:31 +0000 (20:00 +0200)]
refactor install-wp-tests.sh into 3 functions

10 years agouse $ioption for all sed invocations
scribu [Sun, 24 Nov 2013 17:54:22 +0000 (19:54 +0200)]
use $ioption for all sed invocations

10 years agoswitch to develop.svn and only download the test utilities
scribu [Fri, 30 Aug 2013 15:13:53 +0000 (18:13 +0300)]
switch to develop.svn and only download the test utilities

10 years agoMerge pull request #883 from wp-cli/extra-config
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

10 years agotest that CLI args overwrite config values
scribu [Sat, 23 Nov 2013 11:54:09 +0000 (13:54 +0200)]
test that CLI args overwrite config values

10 years agomerge command config values after validating positional parameters
scribu [Sat, 23 Nov 2013 11:43:57 +0000 (13:43 +0200)]
merge command config values after validating positional parameters

10 years agoadd test for command-specific configs
scribu [Sat, 23 Nov 2013 11:31:39 +0000 (13:31 +0200)]
add test for command-specific configs

10 years agopass config values to commands via $assoc_args
scribu [Sat, 23 Nov 2013 11:09:15 +0000 (13:09 +0200)]
pass config values to commands via $assoc_args

10 years agokeep unknown config values in memory
scribu [Sat, 23 Nov 2013 10:51:17 +0000 (12:51 +0200)]
keep unknown config values in memory

10 years agoruntime config can be set after file config
scribu [Sat, 23 Nov 2013 10:23:32 +0000 (12:23 +0200)]
runtime config can be set after file config

10 years agomove YAML loading to Configurator
scribu [Sat, 23 Nov 2013 10:02:05 +0000 (12:02 +0200)]
move YAML loading to Configurator

10 years agomake merge_config() work for runtime args too
scribu [Sat, 23 Nov 2013 09:39:26 +0000 (11:39 +0200)]
make merge_config() work for runtime args too

10 years agoMerge pull request #881 from wp-cli/list-filter
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

10 years agofix formatting and update examples
scribu [Fri, 22 Nov 2013 20:07:41 +0000 (22:07 +0200)]
fix formatting and update examples

10 years agoSkip the iterator entirely
Daniel Bachhuber [Fri, 22 Nov 2013 19:12:18 +0000 (11:12 -0800)]
Skip the iterator entirely

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

10 years agoTest filtering based on object attribute
Daniel Bachhuber [Fri, 22 Nov 2013 18:21:11 +0000 (10:21 -0800)]
Test filtering based on object attribute

10 years agomove parse_url() to utils.php, since it's a standalone utility
scribu [Fri, 22 Nov 2013 18:08:04 +0000 (20:08 +0200)]
move parse_url() to utils.php, since it's a standalone utility

10 years agoSupport for filtering plugin and theme lists based on object attributes.
Daniel Bachhuber [Fri, 22 Nov 2013 17:58:38 +0000 (09:58 -0800)]
Support for filtering plugin and theme lists based on object attributes.

10 years agoTest install via prompting
Daniel Bachhuber [Fri, 22 Nov 2013 16:26:34 +0000 (08:26 -0800)]
Test install via prompting

10 years agoMove these methods to where they should be
Daniel Bachhuber [Fri, 22 Nov 2013 16:26:15 +0000 (08:26 -0800)]
Move these methods to where they should be

10 years agoUse the new `set_url()` method introduced in ab45bfd
Daniel Bachhuber [Fri, 22 Nov 2013 16:21:19 +0000 (08:21 -0800)]
Use the new `set_url()` method introduced in ab45bfd

10 years agoIntroduce `\WP_CLI::set_url()`, which will set the URL context for the execution.
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.

10 years agoMerge branch 'master' into fix-global-prompt-805
Daniel Bachhuber [Fri, 22 Nov 2013 16:05:21 +0000 (08:05 -0800)]
Merge branch 'master' into fix-global-prompt-805

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

10 years agofix 'Warning: unknown --info parameter'
scribu [Thu, 21 Nov 2013 09:32:18 +0000 (11:32 +0200)]
fix 'Warning: unknown --info parameter'

10 years agoimplement `wp cli info --format=json`
scribu [Thu, 21 Nov 2013 09:12:55 +0000 (11:12 +0200)]
implement `wp cli info --format=json`

10 years agoavoid leaking private \WP_CLI\Runner properties and methods
scribu [Thu, 21 Nov 2013 09:12:44 +0000 (11:12 +0200)]
avoid leaking private \WP_CLI\Runner properties and methods

10 years agoUse new public methods of `\WP_CLI\Runner` to set the `url` if it was passed as an...
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.

10 years agoMerge pull request #869 from wp-cli/comment-meta-command
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`

10 years agoRestore the use of `--prompt` as a runtime argument.
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.

10 years agoCopy, meet paste. Introduce `wp comment-meta`, derived from `wp user-meta`
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`

10 years agoMerge pull request #834 from simonwheatley:fix-833
scribu [Sun, 17 Nov 2013 12:27:51 +0000 (14:27 +0200)]
Merge pull request #834 from simonwheatley:fix-833

10 years agomerge theme install and delete scenarios; see #874
scribu [Sun, 17 Nov 2013 12:15:08 +0000 (14:15 +0200)]
merge theme install and delete scenarios; see #874

10 years agoMerge pull request #874 from rodrigoprimo/fix-theme-delete-bug
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

10 years ago'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

10 years agofix --category synopsis for 'wp export'
scribu [Thu, 14 Nov 2013 20:17:56 +0000 (22:17 +0200)]
fix --category synopsis for 'wp export'

closes #872

10 years agoincrease timeout threshold for 'wp core download'. fixes #748
scribu [Wed, 13 Nov 2013 23:24:35 +0000 (01:24 +0200)]
increase timeout threshold for 'wp core download'. fixes #748

10 years agoremove label from add_new default and move it above add_new_item, to make the differe...
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

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

10 years agoUse consistent capitalization for "Add New" in post type scaffold to match WordPress...
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.

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

10 years agodon't pick up php files inside plugin subdirs
scribu [Mon, 11 Nov 2013 22:55:43 +0000 (00:55 +0200)]
don't pick up php files inside plugin subdirs

10 years agoMerge pull request #865 from wp-cli/skip-tests
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'

10 years agoadd behat test for --skip-tests
scribu [Mon, 11 Nov 2013 22:25:57 +0000 (00:25 +0200)]
add behat test for --skip-tests

10 years agointroduce --skip-tests flag for 'wp scaffold plugin'
scribu [Mon, 11 Nov 2013 22:21:29 +0000 (00:21 +0200)]
introduce --skip-tests flag for 'wp scaffold plugin'

10 years agoMerge pull request #864 from jonathanbardo/master
Cristi Burcă [Mon, 11 Nov 2013 14:21:09 +0000 (06:21 -0800)]
Merge pull request #864 from jonathanbardo/master

Minor typo

10 years agoMinor typo
Jonathan Bardo [Mon, 11 Nov 2013 14:15:33 +0000 (09:15 -0500)]
Minor typo

10 years agomove fetcher classes to their own directory; see #863
scribu [Sun, 10 Nov 2013 00:14:13 +0000 (02:14 +0200)]
move fetcher classes to their own directory; see #863

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

10 years agoextract FetcherPost class
scribu [Sat, 9 Nov 2013 23:14:08 +0000 (01:14 +0200)]
extract FetcherPost class

10 years agokeep 'not found' message in Fetcher child classes
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

10 years agoextract FetcherComment class
scribu [Sat, 9 Nov 2013 22:58:23 +0000 (00:58 +0200)]
extract FetcherComment class

10 years agoextract FetcherTheme class
scribu [Sat, 9 Nov 2013 22:50:14 +0000 (00:50 +0200)]
extract FetcherTheme class

10 years agoconvert Fetcher to abstract class
scribu [Sat, 9 Nov 2013 22:41:55 +0000 (00:41 +0200)]
convert Fetcher to abstract class

10 years agomove utilities for validating plugin names to FetcherPlugin class
scribu [Sat, 9 Nov 2013 22:15:47 +0000 (00:15 +0200)]
move utilities for validating plugin names to FetcherPlugin class

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