OSDN Git Service
Eugene Ware [Wed, 26 Jun 2013 06:37:16 +0000 (16:37 +1000)]
Make wp rewrite (flush|structure) generate .htaccess files properly for apache.
Cristi Burcă [Tue, 25 Jun 2013 10:58:39 +0000 (03:58 -0700)]
Merge pull request #539 from wp-cli/absolutize-require
Absolutize 'require:' paths read from wp-cli.yml
scribu [Tue, 25 Jun 2013 10:38:54 +0000 (13:38 +0300)]
absolutize 'require:'
scribu [Tue, 25 Jun 2013 10:21:28 +0000 (13:21 +0300)]
move 'path:' absolutization logic to Configurator
scribu [Tue, 25 Jun 2013 10:20:44 +0000 (13:20 +0300)]
behat: add test for relative 'require:' path in wp-cli.yml
scribu [Mon, 24 Jun 2013 11:26:38 +0000 (14:26 +0300)]
show warning if --url doesn't receive a value
scribu [Mon, 24 Jun 2013 11:25:22 +0000 (14:25 +0300)]
don't mention deprecated --blog option in synopsis
scribu [Mon, 24 Jun 2013 11:24:03 +0000 (14:24 +0300)]
s/blog-wide/site-wide/g
Cristi Burcă [Tue, 25 Jun 2013 08:39:16 +0000 (01:39 -0700)]
Merge pull request #553 from wp-cli/fix-553
Fix Behat tests
scribu [Tue, 25 Jun 2013 08:30:01 +0000 (11:30 +0300)]
behat: don't check DB error message, since it's sometimes encoded and sometimes not.
scribu [Tue, 25 Jun 2013 08:20:20 +0000 (11:20 +0300)]
behat: always invoke `wp` with a command
scribu [Mon, 24 Jun 2013 16:40:22 +0000 (19:40 +0300)]
behat: use `@when` flag for testing --require
see #453
scribu [Mon, 24 Jun 2013 15:23:50 +0000 (18:23 +0300)]
Merge pull request #548 from wp-cli/inline-help
scribu [Mon, 24 Jun 2013 14:12:55 +0000 (17:12 +0300)]
remove man/ dir
Cristi Burcă [Mon, 24 Jun 2013 14:10:08 +0000 (07:10 -0700)]
Merge pull request #536 from wp-cli/before_invoke
Add optional 'before_invoke' parameter to WP_CLI::add_command()
scribu [Mon, 24 Jun 2013 13:50:54 +0000 (16:50 +0300)]
ignore first parameter to WP_CLI::add_man_dir()
scribu [Mon, 24 Jun 2013 13:40:27 +0000 (16:40 +0300)]
rename '_sys' to 'cli'
scribu [Mon, 24 Jun 2013 13:20:34 +0000 (16:20 +0300)]
Make `wp` show the same output as `wp help`.
scribu [Mon, 24 Jun 2013 12:23:42 +0000 (15:23 +0300)]
fix indentation for options
scribu [Mon, 24 Jun 2013 12:00:25 +0000 (15:00 +0300)]
more cleanup of option listing
Cristi Burcă [Mon, 24 Jun 2013 11:28:30 +0000 (04:28 -0700)]
Merge pull request #550 from wp-cli/empty-clarity
Docs improvements for `wp site empty`
Daniel Bachhuber [Mon, 24 Jun 2013 11:16:58 +0000 (11:16 +0000)]
Drop the example entirely. Basic usage is covered in the synopsis
Daniel Bachhuber [Mon, 24 Jun 2013 11:07:04 +0000 (11:07 +0000)]
Fix reference to command
Daniel Bachhuber [Mon, 24 Jun 2013 11:06:09 +0000 (11:06 +0000)]
Manual for the `--yes` prompt
Daniel Bachhuber [Mon, 24 Jun 2013 11:02:49 +0000 (11:02 +0000)]
Clarity the `site empty` command doesn't do anything to the options table or users.
scribu [Sun, 23 Jun 2013 11:39:51 +0000 (14:39 +0300)]
partial cleanup of option listing
scribu [Sun, 23 Jun 2013 11:10:25 +0000 (14:10 +0300)]
prettify subcommand listing
scribu [Sun, 23 Jun 2013 10:53:53 +0000 (13:53 +0300)]
make help headings bright
scribu [Sat, 22 Jun 2013 20:31:14 +0000 (23:31 +0300)]
output help markdown directly, instead of going through man
scribu [Sun, 23 Jun 2013 11:45:44 +0000 (14:45 +0300)]
ignore composer.lock
Facts:
1. When WP-CLI isn't installed as the root package, composer.lock is
ignored.
2. The wp-cli.org installer doesn't install WP-CLI as the root package,
but as a dependency.
1. + 2. => Having composer.lock under version control gives a false
sense of security. Instead, we should take more care with how we define
dependencies in composer.json
scribu [Sun, 23 Jun 2013 11:44:11 +0000 (14:44 +0300)]
update Composer dependencies
scribu [Sun, 23 Jun 2013 09:46:34 +0000 (12:46 +0300)]
remove empty line
scribu [Sat, 22 Jun 2013 19:28:49 +0000 (22:28 +0300)]
misc man fixes
[ci skip]
scribu [Sat, 22 Jun 2013 18:53:13 +0000 (21:53 +0300)]
various man page updates
scribu [Sat, 22 Jun 2013 18:52:52 +0000 (21:52 +0300)]
fix synopsis for `wp media import`
scribu [Sat, 22 Jun 2013 18:08:28 +0000 (21:08 +0300)]
fix man page for `wp core is-installed`
scribu [Fri, 21 Jun 2013 23:24:31 +0000 (02:24 +0300)]
colorize plugin/theme status legend. see #517
Cristi Burcă [Fri, 21 Jun 2013 10:12:10 +0000 (03:12 -0700)]
Merge pull request #537 from wp-cli/cli-root
Fix WP_CLI_ROOT
scribu [Fri, 21 Jun 2013 09:34:38 +0000 (12:34 +0300)]
define WP_CLI_ROOT to be the root directory, with no trailing slash
Cristi Burcă [Fri, 21 Jun 2013 09:49:43 +0000 (02:49 -0700)]
Merge pull request #439 from wp-cli/phar-away
Remove support for Phar archives
scribu [Wed, 8 May 2013 21:08:37 +0000 (00:08 +0300)]
remove support for Phar archive
scribu [Thu, 20 Jun 2013 21:22:49 +0000 (00:22 +0300)]
--info: make WP-CLI root be the root folder, not php/
scribu [Thu, 20 Jun 2013 19:44:34 +0000 (22:44 +0300)]
behat: add test for `post create` reading content from STDIN
scribu [Thu, 20 Jun 2013 19:38:06 +0000 (22:38 +0300)]
post create: balance brackets
scribu [Thu, 20 Jun 2013 18:30:07 +0000 (21:30 +0300)]
option update: show success message even if the value has not changed
see #531
Cristi Burcă [Thu, 20 Jun 2013 16:18:29 +0000 (09:18 -0700)]
Merge pull request #534 from wp-cli/search-replace-tables
search-replace: query tables instead of relying on what's in wpdb
scribu [Thu, 20 Jun 2013 16:04:20 +0000 (19:04 +0300)]
search-replace: always do a SHOW TABLES query
scribu [Thu, 20 Jun 2013 09:44:28 +0000 (12:44 +0300)]
core install-network: flags don't need a value; update man page
see #532
Cristi Burcă [Thu, 20 Jun 2013 09:42:23 +0000 (02:42 -0700)]
Merge pull request #532 from MiteshShah/patch-1
Support Subdomains
Mitesh Shah [Thu, 20 Jun 2013 09:35:30 +0000 (15:05 +0530)]
Support Subdomains
scribu [Thu, 20 Jun 2013 01:27:56 +0000 (04:27 +0300)]
add optional 'before_invoke' parameter to WP_CLI::add_command()
this avoids repeating the command name and makes it clearer when the
callback is fired
Cristi Burcă [Wed, 19 Jun 2013 17:57:47 +0000 (10:57 -0700)]
Merge pull request #453 from wp-cli/doctag-when
Command phpdoc or other flag to allow third-party commands to run before WordPress is present
scribu [Wed, 19 Jun 2013 17:47:33 +0000 (20:47 +0300)]
show error on invalid json. closes #531
scribu [Mon, 17 Jun 2013 22:28:56 +0000 (01:28 +0300)]
fix network-meta man page. see #529
scribu [Mon, 17 Jun 2013 02:04:38 +0000 (05:04 +0300)]
calculate path for early commands only once
scribu [Mon, 17 Jun 2013 01:21:58 +0000 (04:21 +0300)]
implement '@when' docblock tag
Works on both commands and subcommands.
scribu [Mon, 17 Jun 2013 01:37:53 +0000 (04:37 +0300)]
move setting $_SERVER['DOCUMENT_ROOT'] to set_wp_root() method
It was first defined in
390e7dbbabee7398527c3a1552e849f5c87053aa and
then sort of drifted away from where paths are handled.
scribu [Mon, 17 Jun 2013 00:17:02 +0000 (03:17 +0300)]
move command instance creation to a separate class
Keep the disabled_commands logic inside the WP_CLI class; show an
explicit error, instead of pretending the command doesn't exist.
Cristi Burcă [Sun, 16 Jun 2013 17:36:35 +0000 (10:36 -0700)]
Merge pull request #471 from wp-cli/psr-3
Switch from WP_CLI::line() to WP_CLI::log() where appropriate
scribu [Sun, 16 Jun 2013 17:28:29 +0000 (20:28 +0300)]
remove redundant arg check in Theme_Command::parse_name()
it's already handled by the synopsis parser
scribu [Sun, 16 Jun 2013 17:22:00 +0000 (20:22 +0300)]
convert from WP_CLI::line() to WP_CLI::log() where appropriate
scribu [Sun, 16 Jun 2013 16:54:42 +0000 (19:54 +0300)]
introduce WP_CLI::log()
WP_CLI::line() is for spitting something to STDOUT.
WP_CLI::log() is for sending a message to the logger, which could do
various things with it.
closes #465
scribu [Sat, 15 Jun 2013 15:50:14 +0000 (18:50 +0300)]
help: move duplicated function_exists() check to __invoke()
scribu [Sat, 15 Jun 2013 15:26:09 +0000 (18:26 +0300)]
rename _hook() to _action()
scribu [Sun, 9 Jun 2013 15:36:15 +0000 (18:36 +0300)]
behat: try running the install-network command again
Daniel Bachhuber [Sat, 8 Jun 2013 22:19:13 +0000 (15:19 -0700)]
A basic test for converting an install to multisite.
Cristi Burcă [Sat, 15 Jun 2013 11:31:13 +0000 (04:31 -0700)]
Merge pull request #523 from wp-cli/blog-site-network
Rename `blog` to `site` and `site-meta` to `network`
scribu [Sat, 15 Jun 2013 11:24:06 +0000 (14:24 +0300)]
site create: alias --site_id= to --network_id=
scribu [Sat, 15 Jun 2013 11:11:43 +0000 (14:11 +0300)]
site create: rename --site_id= to --network_id=
scribu [Sat, 15 Jun 2013 10:47:15 +0000 (13:47 +0300)]
behat: fix help --gen test
scribu [Sat, 15 Jun 2013 10:28:49 +0000 (13:28 +0300)]
alias `wp blog` to `wp site`
scribu [Sat, 15 Jun 2013 10:11:14 +0000 (13:11 +0300)]
rename `wp blog` to `wp site`
scribu [Sat, 15 Jun 2013 10:02:50 +0000 (13:02 +0300)]
rename `wp site-meta` to `wp network-meta`
Cristi Burcă [Sat, 15 Jun 2013 09:56:20 +0000 (02:56 -0700)]
Merge pull request #507 from wp-cli/hooks
Implement a hook system and implement site-meta command.
closes #498
scribu [Sat, 15 Jun 2013 09:52:41 +0000 (12:52 +0300)]
add man page for site-meta
[ci skip]
scribu [Fri, 31 May 2013 14:35:38 +0000 (17:35 +0300)]
introduce 'before_invoke:{cmd}' hook and use it for site-meta command
Tomasz Ratajczak [Fri, 7 Jun 2013 14:26:54 +0000 (16:26 +0200)]
add site meta commands
scribu [Sat, 15 Jun 2013 08:49:38 +0000 (11:49 +0300)]
Merge changes from 0.10.1 into master
scribu [Sat, 15 Jun 2013 08:46:01 +0000 (11:46 +0300)]
set version to 0.10.1
scribu [Fri, 14 Jun 2013 18:55:02 +0000 (21:55 +0300)]
add URL redirect warning (for 0.10.1 branch)
see #521
Cristi Burcă [Fri, 14 Jun 2013 19:38:53 +0000 (12:38 -0700)]
Merge pull request #521 from wp-cli/redirect-warning
Add warning when a URL redirection is attempted
scribu [Fri, 14 Jun 2013 18:55:02 +0000 (21:55 +0300)]
add URL redirect warning
Cristi Burcă [Thu, 13 Jun 2013 03:39:01 +0000 (20:39 -0700)]
Merge pull request #517 from wp-cli/colorization
Keep color handling out of WP_CLI::line()
scribu [Thu, 13 Jun 2013 03:30:37 +0000 (06:30 +0300)]
behat: partially delete quiet run test
output from WP_CLI::line() is no longer suppressed, since we can't be
sure it's not the essential output (think `wp core version`)
scribu [Thu, 13 Jun 2013 03:13:35 +0000 (06:13 +0300)]
move line() method from loggers back to the WP_CLI class
scribu [Thu, 13 Jun 2013 03:03:02 +0000 (06:03 +0300)]
use WP_CLI::colorize() in CommandWithUpgrade
scribu [Thu, 13 Jun 2013 02:50:08 +0000 (05:50 +0300)]
refresh `core version` output
* remove manifest version (absent from recent WP releases)
* remove redundant stability label for core versions
* use Mustache template and replace tabs with spaces
scribu [Thu, 13 Jun 2013 02:30:44 +0000 (05:30 +0300)]
use Mustache templates to display plugin/theme details
scribu [Thu, 13 Jun 2013 02:22:55 +0000 (05:22 +0300)]
introduce WP_CLI::colorize() utility
scribu [Wed, 12 Jun 2013 16:41:48 +0000 (19:41 +0300)]
update Composer dependencies
make version requirements less strict
Cristi Burcă [Wed, 12 Jun 2013 16:23:36 +0000 (09:23 -0700)]
Merge pull request #468 from wp-cli/eager-require
load path from --require before WP is loaded
scribu [Sun, 9 Jun 2013 14:09:26 +0000 (17:09 +0300)]
behat: test that --require works without a WP install
scribu [Sun, 9 Jun 2013 13:44:51 +0000 (16:44 +0300)]
attempt to load built-in command early
scribu [Thu, 23 May 2013 11:25:45 +0000 (14:25 +0300)]
load path from --require before WP is loaded
Cristi Burcă [Wed, 12 Jun 2013 15:50:54 +0000 (08:50 -0700)]
Merge pull request #514 from wp-cli/multiple-require
Allow passing --require multiple times
scribu [Wed, 12 Jun 2013 15:41:55 +0000 (18:41 +0300)]
mention that --require can be used more than once
scribu [Wed, 12 Jun 2013 15:09:28 +0000 (18:09 +0300)]
fix boolean flag handling
scribu [Wed, 12 Jun 2013 03:39:01 +0000 (06:39 +0300)]
support passing --require multiple times
scribu [Wed, 12 Jun 2013 03:51:18 +0000 (06:51 +0300)]
behat: add -run- to temporary directory names
this makes it easy to delete them, without deleting
wp-cli-test-download-cache
scribu [Wed, 12 Jun 2013 02:50:43 +0000 (05:50 +0300)]
merge split_special() into parse_args()
this gives us two clear variables to work with: $runtime_config and $local_config