OSDN Git Service

wvm/wvm.git
10 years agotravis: install Behat in the local build dir
scribu [Mon, 12 Aug 2013 09:44:49 +0000 (12:44 +0300)]
travis: install Behat in the local build dir

10 years agotests: first pass at using global PHPUnit and Behat
scribu [Mon, 12 Aug 2013 09:40:17 +0000 (12:40 +0300)]
tests: first pass at using global PHPUnit and Behat

10 years agoMerge pull request #661 from wp-cli/site-list
Cristi Burcă [Sat, 10 Aug 2013 20:18:28 +0000 (13:18 -0700)]
Merge pull request #661 from wp-cli/site-list

Implement `wp site list` command

10 years agosite list: add --network parameter
scribu [Sat, 10 Aug 2013 19:52:50 +0000 (22:52 +0300)]
site list: add --network parameter

10 years agosite list: incorporate into site.feature tests
scribu [Sat, 10 Aug 2013 13:55:43 +0000 (16:55 +0300)]
site list: incorporate into site.feature tests

10 years agosite list: check for multisite before doing anything
scribu [Sat, 10 Aug 2013 13:55:22 +0000 (16:55 +0300)]
site list: check for multisite before doing anything

10 years agofirst pass at 'wp site list' command
scribu [Sat, 10 Aug 2013 01:39:02 +0000 (04:39 +0300)]
first pass at 'wp site list' command

10 years agomedia regenerate: remove erroneus timer and decrease verbosity
scribu [Fri, 9 Aug 2013 20:09:11 +0000 (23:09 +0300)]
media regenerate: remove erroneus timer and decrease verbosity

fixes #660

10 years agocore version: load only wp-includes/version.php
scribu [Fri, 9 Aug 2013 19:10:47 +0000 (22:10 +0300)]
core version: load only wp-includes/version.php

fixes #659

10 years agowhitespace fixes after #653
scribu [Fri, 9 Aug 2013 19:07:08 +0000 (22:07 +0300)]
whitespace fixes after #653

10 years agoadd Behat tests for `db export` and `db import`
scribu [Fri, 9 Aug 2013 18:57:27 +0000 (21:57 +0300)]
add Behat tests for `db export` and `db import`

10 years agoMerge pull request #653 from mpeshev/master
Cristi Burcă [Fri, 9 Aug 2013 14:37:25 +0000 (07:37 -0700)]
Merge pull request #653 from mpeshev/master

Comment commands enhancement and #652 updates

10 years agoFixed variables in comment feature
mpeshev [Fri, 9 Aug 2013 13:40:08 +0000 (16:40 +0300)]
Fixed variables in comment feature

10 years agoRole enhancements for exists function
mpeshev [Fri, 9 Aug 2013 13:20:12 +0000 (16:20 +0300)]
Role enhancements for exists function

10 years agoComment functions for exists and fetch helper
mpeshev [Fri, 9 Aug 2013 13:19:56 +0000 (16:19 +0300)]
Comment functions for exists and fetch helper

10 years agouse dev-master for rmccue/requests and remove minimum-stability flag
scribu [Fri, 9 Aug 2013 12:09:09 +0000 (15:09 +0300)]
use dev-master for rmccue/requests and remove minimum-stability flag

see #655

10 years agoMerge pull request #655 from mpeshev/mprequests
Cristi Burcă [Fri, 9 Aug 2013 11:54:24 +0000 (04:54 -0700)]
Merge pull request #655 from mpeshev/mprequests

Add requests support in composer and for core command

10 years agoMerge pull request #630 from jtsternberg/plugin-search
Cristi Burcă [Fri, 9 Aug 2013 11:49:27 +0000 (04:49 -0700)]
Merge pull request #630 from jtsternberg/plugin-search

Add wordpress api plugin search method.

10 years agoAdd a new test, "should end with a table containing rows:"
jtsternberg [Fri, 9 Aug 2013 06:21:51 +0000 (02:21 -0400)]
Add a new test, "should end with a table containing rows:"

10 years agoAdd a plugin/theme search behat test
jtsternberg [Fri, 9 Aug 2013 03:14:27 +0000 (23:14 -0400)]
Add a plugin/theme search behat test

10 years ago3rd parameter needs to be $assoc_args
jtsternberg [Fri, 9 Aug 2013 03:13:56 +0000 (23:13 -0400)]
3rd parameter needs to be $assoc_args

10 years agoRemove 'search=$key' helper text
jtsternberg [Fri, 9 Aug 2013 03:13:27 +0000 (23:13 -0400)]
Remove 'search=$key' helper text

10 years agoAdd Behat tests for comments (approve/unapprove/exists commands)
mpeshev [Fri, 9 Aug 2013 00:15:49 +0000 (03:15 +0300)]
Add Behat tests for comments (approve/unapprove/exists commands)

10 years agoAdd fallback to verify=false argument which works when certificate issues occur
mpeshev [Fri, 9 Aug 2013 00:13:32 +0000 (03:13 +0300)]
Add fallback to verify=false argument which works when certificate issues occur

10 years agoReturn minimum-stability due to https://github.com/rmccue/Requests/issues/43
mpeshev [Thu, 8 Aug 2013 23:53:17 +0000 (02:53 +0300)]
Return minimum-stability due to https://github.com/rmccue/Requests/issues/43

10 years agoRemove Requests: library/ from composer.json
mpeshev [Thu, 8 Aug 2013 23:46:58 +0000 (02:46 +0300)]
Remove Requests: library/ from composer.json

10 years agoRemove the minimum-stability argument
mpeshev [Thu, 8 Aug 2013 23:43:19 +0000 (02:43 +0300)]
Remove the minimum-stability argument

10 years agoAdd requests support in composer and for core command
mpeshev [Thu, 8 Aug 2013 23:24:14 +0000 (02:24 +0300)]
Add requests support in composer and for core command

10 years agomention where the test files are
scribu [Thu, 8 Aug 2013 18:33:50 +0000 (21:33 +0300)]
mention where the test files are

10 years agoadd more info about Behat
scribu [Thu, 8 Aug 2013 18:31:15 +0000 (21:31 +0300)]
add more info about Behat

10 years agoMerge pull request #636 from wp-cli/synopsis-warnings
Cristi Burcă [Thu, 8 Aug 2013 15:31:59 +0000 (08:31 -0700)]
Merge pull request #636 from wp-cli/synopsis-warnings

Show warnings for invalid tokens in synopsis

10 years agoremove success message from 'wp user list-caps'; fix coding standards; see #637
scribu [Thu, 8 Aug 2013 15:27:10 +0000 (18:27 +0300)]
remove success message from 'wp user list-caps'; fix coding standards; see #637

10 years agobump version to 0.12-alpha
scribu [Thu, 8 Aug 2013 15:23:50 +0000 (18:23 +0300)]
bump version to 0.12-alpha

10 years agoMerge pull request #637 from mpeshev/master
Cristi Burcă [Thu, 8 Aug 2013 15:22:56 +0000 (08:22 -0700)]
Merge pull request #637 from mpeshev/master

wp user functions proposal: add-cap, remove-cap and list-caps

10 years agoCheck for existing file when trying to import CSV
mpeshev [Thu, 8 Aug 2013 14:19:45 +0000 (17:19 +0300)]
Check for existing file when trying to import CSV

10 years agoAdding some checks for non-existing users
mpeshev [Thu, 8 Aug 2013 14:00:38 +0000 (17:00 +0300)]
Adding some checks for non-existing users

10 years agoMerge remote-tracking branch 'upstream/master'
mpeshev [Thu, 8 Aug 2013 13:34:51 +0000 (16:34 +0300)]
Merge remote-tracking branch 'upstream/master'

10 years agobump version to 0.11.1 v0.11.1
scribu [Thu, 8 Aug 2013 13:15:04 +0000 (16:15 +0300)]
bump version to 0.11.1

10 years agoupdate .mailmap
scribu [Thu, 8 Aug 2013 13:14:32 +0000 (16:14 +0300)]
update .mailmap

10 years agoWhoops! parse_error fixed.
jtsternberg [Wed, 7 Aug 2013 19:42:03 +0000 (15:42 -0400)]
Whoops! parse_error fixed.

10 years agomove column escaping down into the table iterator
scribu [Wed, 7 Aug 2013 00:16:50 +0000 (03:16 +0300)]
move column escaping down into the table iterator

see #641

10 years agoMerge pull request #641 from c10b10/master
Cristi Burcă [Wed, 7 Aug 2013 00:09:03 +0000 (17:09 -0700)]
Merge pull request #641 from c10b10/master

Fix search replace reserved column name issue

10 years agobump version to 0.11.1-alpha
scribu [Tue, 6 Aug 2013 23:55:27 +0000 (02:55 +0300)]
bump version to 0.11.1-alpha

10 years agoMerge pull request #634 from wp-cli/fix-634
Cristi Burcă [Tue, 6 Aug 2013 23:54:29 +0000 (16:54 -0700)]
Merge pull request #634 from wp-cli/fix-634

Bug: `wp option update blog_public` produces error

10 years agooption update: use non-strict comparison
scribu [Tue, 6 Aug 2013 23:26:41 +0000 (02:26 +0300)]
option update: use non-strict comparison

10 years agoadd test for #634
scribu [Tue, 6 Aug 2013 23:35:23 +0000 (02:35 +0300)]
add test for #634

10 years agoMerge pull request #645 from wp-cli/fix-645
Cristi Burcă [Tue, 6 Aug 2013 23:17:12 +0000 (16:17 -0700)]
Merge pull request #645 from wp-cli/fix-645

Commands added by plugins aren't listed in `wp help`

10 years agoshow commands defined in plugins when running 'wp help'
scribu [Tue, 6 Aug 2013 22:39:37 +0000 (01:39 +0300)]
show commands defined in plugins when running 'wp help'

10 years agoadd regression test for #645
scribu [Tue, 6 Aug 2013 21:47:19 +0000 (00:47 +0300)]
add regression test for #645

10 years agoFix search replace reserved column name issues.
Alex Ciobica [Tue, 6 Aug 2013 11:33:04 +0000 (14:33 +0300)]
Fix search replace reserved column name issues.

10 years agointroduce WP_CLI_PHP_ARGS environment variable
scribu [Tue, 6 Aug 2013 10:38:35 +0000 (13:38 +0300)]
introduce WP_CLI_PHP_ARGS environment variable

also, remove old Drush code for looking up php.ini files

fixes #631

10 years agoFirst test cases in Behat for capability management
mpeshev [Tue, 6 Aug 2013 01:03:37 +0000 (04:03 +0300)]
First test cases in Behat for capability management

10 years agocolorize update candidates. fixes #638
scribu [Tue, 6 Aug 2013 00:06:02 +0000 (03:06 +0300)]
colorize update candidates. fixes #638

10 years agoListing each cap on a separate line
mpeshev [Mon, 5 Aug 2013 23:22:10 +0000 (02:22 +0300)]
Listing each cap on a separate line

10 years agoAdd capabilities list function for users
mpeshev [Mon, 5 Aug 2013 23:08:18 +0000 (02:08 +0300)]
Add capabilities list function for users

10 years agoshow warning for invalid synopsis parts
scribu [Mon, 5 Aug 2013 23:04:13 +0000 (02:04 +0300)]
show warning for invalid synopsis parts

10 years agoadd array_column() polyfill for PHP<5.5
scribu [Mon, 5 Aug 2013 22:58:33 +0000 (01:58 +0300)]
add array_column() polyfill for PHP<5.5

10 years agoMerge pull request #632 from wp-cli/cpt-post-types-notices-fix
Cristi Burcă [Mon, 5 Aug 2013 22:38:48 +0000 (15:38 -0700)]
Merge pull request #632 from wp-cli/cpt-post-types-notices-fix

Fix notices undefined index post_types when scaffolding CPT

10 years agoMerge pull request #633 from wp-cli/fix-633
Cristi Burcă [Mon, 5 Aug 2013 22:33:07 +0000 (15:33 -0700)]
Merge pull request #633 from wp-cli/fix-633

Bug: `wp plugin install` installs a plugin when it shouldn't

10 years agoAdd/Remove capabilities for users
mpeshev [Mon, 5 Aug 2013 22:19:56 +0000 (01:19 +0300)]
Add/Remove capabilities for users

10 years agouse $p_value instead of $p_name for positional parameters
scribu [Mon, 5 Aug 2013 22:18:32 +0000 (01:18 +0300)]
use $p_value instead of $p_name for positional parameters

10 years agoMove `--post_types` to taxonomy function
jmslbam [Mon, 5 Aug 2013 21:54:35 +0000 (23:54 +0200)]
Move `--post_types` to taxonomy function

Because a CPT doesn't need this arg.

10 years agoadd unit test for #633
scribu [Mon, 5 Aug 2013 20:09:15 +0000 (23:09 +0300)]
add unit test for #633

It's better to test for the specific bug, when possible.

This reverts commit d6287f7622ec71653ec0d5b4e52a8b4992183e0c.

10 years agoadd regression test
scribu [Mon, 5 Aug 2013 19:59:21 +0000 (22:59 +0300)]
add regression test

10 years agoMake _search() a protected method and wrap 'key' field addition in a conditional...
jtsternberg [Mon, 5 Aug 2013 16:59:23 +0000 (12:59 -0400)]
Make _search() a protected method and wrap 'key' field addition in a conditional for 'interactive' (add a @TODO inline comment)
https://github.com/wp-cli/wp-cli/pull/630/files#r5583311

10 years agoTHe stars have aligned… https://github.com/wp-cli/wp-cli/pull/630/files#r5583311
jtsternberg [Mon, 5 Aug 2013 16:58:18 +0000 (12:58 -0400)]
THe stars have aligned… https://github.com/wp-cli/wp-cli/pull/630/files#r5583311

10 years agoRemove search=$key slug replacement method. :(
jtsternberg [Mon, 5 Aug 2013 15:57:10 +0000 (11:57 -0400)]
Remove search=$key slug replacement method. :(

10 years agoAllow formatting for search results.
jtsternberg [Mon, 5 Aug 2013 15:49:46 +0000 (11:49 -0400)]
Allow formatting for search results.

10 years agoFix notices undefined index post_types when scaffolding CPT
jmslbam [Mon, 5 Aug 2013 13:50:29 +0000 (15:50 +0200)]
Fix notices undefined index post_types when scaffolding CPT

Added post_type default value and use $control_args because it it won't be available in $vars

10 years agoLess is more. All that info won't display well on smaller terminal windows.
jtsternberg [Mon, 5 Aug 2013 13:31:48 +0000 (09:31 -0400)]
Less is more. All that info won't display well on smaller terminal windows.

10 years agoupdate search items found message. Now "Showing $count of $total '$plural."
jtsternberg [Mon, 5 Aug 2013 03:34:53 +0000 (23:34 -0400)]
update search items found message. Now "Showing $count of $total '$plural."

10 years agoclassify_token method doesn't like underscores and throws a "Warning: unknown --per_p...
jtsternberg [Mon, 5 Aug 2013 03:33:27 +0000 (23:33 -0400)]
classify_token method doesn't like underscores and throws a "Warning: unknown --per_page parameter" error.

10 years agoComply with PHP Strict Standards
jtsternberg [Mon, 5 Aug 2013 03:12:39 +0000 (23:12 -0400)]
Comply with PHP Strict Standards

10 years agoComply with PHP Strict Standards
jtsternberg [Mon, 5 Aug 2013 03:03:22 +0000 (23:03 -0400)]
Comply with PHP Strict Standards

10 years ago1) Move search method to CommandWithUpgrade parent class. 2) Add search method for...
jtsternberg [Mon, 5 Aug 2013 02:53:10 +0000 (22:53 -0400)]
1) Move search method to CommandWithUpgrade parent class. 2) Add search method for themes. 3) add search=key replacement for plugin and theme methods that take a slug.

10 years agocontrib-list: don't show names starting with upper-case before others
scribu [Mon, 5 Aug 2013 00:02:13 +0000 (03:02 +0300)]
contrib-list: don't show names starting with upper-case before others

10 years agocontrib-list: fix githubify function
scribu [Sun, 4 Aug 2013 23:59:46 +0000 (02:59 +0300)]
contrib-list: fix githubify function

10 years ago0.11.0 final v0.11.0
scribu [Sun, 4 Aug 2013 23:54:31 +0000 (02:54 +0300)]
0.11.0 final

10 years agomake Rewrite_Command::apache_modules() private
scribu [Sun, 4 Aug 2013 21:47:00 +0000 (00:47 +0300)]
make Rewrite_Command::apache_modules() private

other code has no business calling it

10 years agoUpdate per @danielbachhuber review.
jtsternberg [Sun, 4 Aug 2013 21:15:00 +0000 (17:15 -0400)]
Update per @danielbachhuber review.

10 years agoAdd wordpress api plugin search method. fixes #615
jtsternberg [Sun, 4 Aug 2013 21:04:28 +0000 (17:04 -0400)]
Add wordpress api plugin search method. fixes #615

10 years agoadd new contributors since 0.10
scribu [Sun, 4 Aug 2013 20:55:18 +0000 (23:55 +0300)]
add new contributors since 0.10

10 years agoadd shortdesc for 'wp cli' subcommands
scribu [Sun, 4 Aug 2013 20:31:46 +0000 (23:31 +0300)]
add shortdesc for 'wp cli' subcommands

10 years agoupdate to Mustache 2.4
scribu [Sun, 4 Aug 2013 19:37:12 +0000 (22:37 +0300)]
update to Mustache 2.4

10 years agobump version to 0.11.0-beta
scribu [Sun, 4 Aug 2013 19:14:15 +0000 (22:14 +0300)]
bump version to 0.11.0-beta

10 years agoMerge pull request #552 from wp-cli/help-pager
Cristi Burcă [Sun, 4 Aug 2013 19:11:36 +0000 (12:11 -0700)]
Merge pull request #552 from wp-cli/help-pager

Make `wp help` use a pager

10 years agohelp: remove unused find() utility
scribu [Sun, 4 Aug 2013 18:55:12 +0000 (21:55 +0300)]
help: remove unused find() utility

10 years agoalways pass docs through WP_CLI::colorize()
scribu [Sun, 4 Aug 2013 18:53:35 +0000 (21:53 +0300)]
always pass docs through WP_CLI::colorize()

10 years agoMerge branch 'master' into help-pager
scribu [Sun, 4 Aug 2013 18:50:17 +0000 (21:50 +0300)]
Merge branch 'master' into help-pager

(should fix unrelated build errors)

10 years agoremove buggy code that tries to use `more` for paging `wp help`
scribu [Sun, 4 Aug 2013 18:40:23 +0000 (21:40 +0300)]
remove buggy code that tries to use `more` for paging `wp help`

* Windows throws an unexpected exit status when trying to use `less`
* more doesn't have an '-r' flag

10 years agoMerge pull request #551 from wp-cli/inline-docs
Cristi Burcă [Sun, 4 Aug 2013 18:13:02 +0000 (11:13 -0700)]
Merge pull request #551 from wp-cli/inline-docs

Replace WP_CLI::add_man_dir() with something better

10 years agoescape "*/" sequence in media.php
scribu [Sun, 4 Aug 2013 15:16:14 +0000 (18:16 +0300)]
escape "*/" sequence in media.php

10 years agomove docs from man-src/ into PHPDoc comments
scribu [Sun, 4 Aug 2013 14:12:08 +0000 (17:12 +0300)]
move docs from man-src/ into PHPDoc comments

10 years agoconvert-docs.php: indentation fixes
scribu [Sun, 4 Aug 2013 13:45:28 +0000 (16:45 +0300)]
convert-docs.php: indentation fixes

10 years agoadd extra newline if longdesc exists
scribu [Sun, 4 Aug 2013 13:39:07 +0000 (16:39 +0300)]
add extra newline if longdesc exists

10 years agodeprecate WP_CLI::add_man_dir()
scribu [Sun, 4 Aug 2013 13:27:56 +0000 (16:27 +0300)]
deprecate WP_CLI::add_man_dir()

10 years agoMerge pull request #629 from johnbillion/plugin-feedback
Cristi Burcă [Sun, 4 Aug 2013 17:53:46 +0000 (10:53 -0700)]
Merge pull request #629 from johnbillion/plugin-feedback

Clearer confirmation message when network-activating plugins

10 years agoClearer confirmation message when network-activating plugins
John Blackbourn [Sun, 4 Aug 2013 15:11:14 +0000 (16:11 +0100)]
Clearer confirmation message when network-activating plugins

10 years agoconvert tabs to spaces only when displaying in the CLI
scribu [Sun, 4 Aug 2013 13:17:25 +0000 (16:17 +0300)]
convert tabs to spaces only when displaying in the CLI

10 years agoadd test for multiline excerpt. see #624
scribu [Thu, 1 Aug 2013 22:38:57 +0000 (01:38 +0300)]
add test for multiline excerpt. see #624