OSDN Git Service

wvm/wvm.git
11 years agohandle wpdb error ourselves, instead of waiting for dead_db()
scribu [Mon, 11 Mar 2013 16:32:38 +0000 (18:32 +0200)]
handle wpdb error ourselves, instead of waiting for dead_db()

11 years agodon't pretend we're in WP_ADMIN anymore
scribu [Sun, 10 Mar 2013 20:53:16 +0000 (22:53 +0200)]
don't pretend we're in WP_ADMIN anymore

11 years agotravis: latest = 3.5.1 at the moment
scribu [Mon, 11 Mar 2013 08:19:16 +0000 (10:19 +0200)]
travis: latest = 3.5.1 at the moment

11 years agodownload WP from wordpress.org
scribu [Mon, 11 Mar 2013 08:16:33 +0000 (10:16 +0200)]
download WP from wordpress.org

Hopefully, it's more reliable than Github's tarball service.

11 years agoclarify documentation for `role exists`. see #350
scribu [Mon, 11 Mar 2013 07:51:26 +0000 (09:51 +0200)]
clarify documentation for `role exists`. see #350

11 years agoMerge pull request #350 from leewillis77/role_command
Cristi Burcă [Mon, 11 Mar 2013 07:50:30 +0000 (00:50 -0700)]
Merge pull request #350 from leewillis77/role_command

Add new "roles" command.

11 years agos/_exists/exists
Lee Willis [Mon, 11 Mar 2013 07:36:57 +0000 (07:36 +0000)]
s/_exists/exists

11 years agoMake role exists produce no output
Lee Willis [Mon, 11 Mar 2013 07:36:31 +0000 (07:36 +0000)]
Make role exists produce no output

11 years agoConvert indents to be spaces consistently
Lee Willis [Mon, 11 Mar 2013 07:32:40 +0000 (07:32 +0000)]
Convert indents to be spaces consistently

11 years agoRegenerate man files
Lee Willis [Sun, 10 Mar 2013 22:40:04 +0000 (22:40 +0000)]
Regenerate man files

11 years agoAdd role exists comand
Lee Willis [Sun, 10 Mar 2013 22:39:07 +0000 (22:39 +0000)]
Add role exists comand

11 years agorole list just lists all roles, no args
Lee Willis [Sun, 10 Mar 2013 22:38:37 +0000 (22:38 +0000)]
role list just lists all roles, no args

11 years agoRemove old versions of generated man files
Lee Willis [Sun, 10 Mar 2013 22:37:27 +0000 (22:37 +0000)]
Remove old versions of generated man files

11 years agoWP_Theme was introduced in WP 3.4, but switch_theme() still requires two
scribu [Sun, 10 Mar 2013 22:11:02 +0000 (00:11 +0200)]
WP_Theme was introduced in WP 3.4, but switch_theme() still requires two
parameters until WP 3.5

11 years agoCorrect typo in docs
Lee Willis [Sun, 10 Mar 2013 22:07:43 +0000 (22:07 +0000)]
Correct typo in docs

11 years agoDoc fix
Lee Willis [Sun, 10 Mar 2013 21:57:13 +0000 (21:57 +0000)]
Doc fix

11 years agofunction rename, and remove unneeded @subcommand declarations
Lee Willis [Sun, 10 Mar 2013 21:56:38 +0000 (21:56 +0000)]
function rename, and remove unneeded @subcommand declarations

11 years agos/roles/role/
Lee Willis [Sun, 10 Mar 2013 21:55:52 +0000 (21:55 +0000)]
s/roles/role/

11 years agotravis: use pre-installed Composer binary
scribu [Sun, 10 Mar 2013 21:21:20 +0000 (23:21 +0200)]
travis: use pre-installed Composer binary

11 years agotravis: add --prefer-source, in the hope of not reaching the Github API limit
scribu [Sun, 10 Mar 2013 21:17:58 +0000 (23:17 +0200)]
travis: add --prefer-source, in the hope of not reaching the Github API limit

11 years agotests: switch to previous theme before deleting the current theme
scribu [Sun, 10 Mar 2013 20:49:56 +0000 (22:49 +0200)]
tests: switch to previous theme before deleting the current theme

11 years agoMerge pull request #349 from leewillis77/doc_fixes
Cristi Burcă [Sun, 10 Mar 2013 20:03:22 +0000 (13:03 -0700)]
Merge pull request #349 from leewillis77/doc_fixes

Correct documentation for capability removal function

11 years agoRegenerated man page
Lee Willis [Sat, 9 Mar 2013 20:37:40 +0000 (20:37 +0000)]
Regenerated man page

11 years agoGenerated man files
Lee Willis [Sat, 9 Mar 2013 20:34:40 +0000 (20:34 +0000)]
Generated man files

11 years agoAdd man src files
Lee Willis [Sat, 9 Mar 2013 20:33:55 +0000 (20:33 +0000)]
Add man src files

11 years agoRemove spaces before function calls
Lee Willis [Sat, 9 Mar 2013 20:25:58 +0000 (20:25 +0000)]
Remove spaces before function calls

11 years agoAdd new roles command. Implements list, create, delete
Lee Willis [Sat, 9 Mar 2013 16:18:01 +0000 (16:18 +0000)]
Add new roles command. Implements list, create, delete

11 years agoCorrect documentation for capability removal function
Lee Willis [Sat, 9 Mar 2013 15:31:08 +0000 (15:31 +0000)]
Correct documentation for capability removal function

11 years agoMerge pull request #323 from linepress/media
Cristi Burcă [Fri, 8 Mar 2013 22:58:02 +0000 (14:58 -0800)]
Merge pull request #323 from linepress/media

Media command regenerate all or one by ID

11 years agoRemoved obsolete check
jmslbam [Fri, 8 Mar 2013 21:25:26 +0000 (22:25 +0100)]
Removed obsolete check

11 years agoPut back the sprintf
jmslbam [Fri, 8 Mar 2013 21:22:24 +0000 (22:22 +0100)]
Put back the sprintf

11 years agodon't allow deletion of the current theme
scribu [Fri, 8 Mar 2013 20:44:29 +0000 (22:44 +0200)]
don't allow deletion of the current theme

WSODs are bad, mkay.

11 years agoRemoved future wp filesystem
jmslbam [Fri, 8 Mar 2013 20:44:14 +0000 (21:44 +0100)]
Removed future wp filesystem

11 years agoreplace 'Given WP install' with 'Given a WP install'
scribu [Fri, 8 Mar 2013 19:50:39 +0000 (21:50 +0200)]
replace 'Given WP install' with 'Given a WP install'

11 years agoreplace variables in expected output, not in current output
scribu [Fri, 8 Mar 2013 19:50:12 +0000 (21:50 +0200)]
replace variables in expected output, not in current output

11 years agofix indentation for feature files
scribu [Fri, 8 Mar 2013 19:39:17 +0000 (21:39 +0200)]
fix indentation for feature files

11 years agoMerge pull request #348 from wp-cli/fix-338
Cristi Burcă [Fri, 8 Mar 2013 19:14:37 +0000 (11:14 -0800)]
Merge pull request #348 from wp-cli/fix-338

Make use of WP_Theme

11 years agoadd theme updating scenario
scribu [Fri, 8 Mar 2013 19:13:01 +0000 (21:13 +0200)]
add theme updating scenario

11 years agouse WP_Theme objects, instead of messing with paths
scribu [Fri, 8 Mar 2013 14:47:50 +0000 (16:47 +0200)]
use WP_Theme objects, instead of messing with paths

11 years agoadd tests for `plugin status`
scribu [Fri, 8 Mar 2013 14:48:58 +0000 (16:48 +0200)]
add tests for `plugin status`

11 years agoswitch_theme() doesn't even accept a second parameter
scribu [Fri, 8 Mar 2013 13:53:49 +0000 (15:53 +0200)]
switch_theme() doesn't even accept a second parameter

11 years agouse wp_get_theme() instead of get_theme_data()
scribu [Fri, 8 Mar 2013 13:45:41 +0000 (15:45 +0200)]
use wp_get_theme() instead of get_theme_data()

11 years agoalways use wp_get_themes()
scribu [Fri, 8 Mar 2013 13:22:25 +0000 (15:22 +0200)]
always use wp_get_themes()

11 years agofirst pass at theme tests
scribu [Fri, 8 Mar 2013 14:48:47 +0000 (16:48 +0200)]
first pass at theme tests

11 years agobehat: unify and standardize output testing steps:
scribu [Fri, 8 Mar 2013 19:07:42 +0000 (21:07 +0200)]
behat: unify and standardize output testing steps:

* always run replace_variables() and restrict variable names
* add 'not contain' option

11 years agoMerge branch 'rewrite_notice'. closes #347
scribu [Fri, 8 Mar 2013 15:58:55 +0000 (17:58 +0200)]
Merge branch 'rewrite_notice'. closes #347

11 years agomove create_cmd() utility out of DB_Command
scribu [Fri, 8 Mar 2013 15:55:36 +0000 (17:55 +0200)]
move create_cmd() utility out of DB_Command

11 years ago.
Lee Willis [Fri, 8 Mar 2013 15:28:00 +0000 (15:28 +0000)]
.

11 years agoClean up logic
Lee Willis [Fri, 8 Mar 2013 15:17:30 +0000 (15:17 +0000)]
Clean up logic

11 years agoShow messages as warnings, and change JSON output to empty array, not string
Lee Willis [Fri, 8 Mar 2013 15:02:52 +0000 (15:02 +0000)]
Show messages as warnings, and change JSON output to empty array, not string

11 years agoAvoid warning if no rewrite rules exist
Lee Willis [Fri, 8 Mar 2013 11:15:08 +0000 (11:15 +0000)]
Avoid warning if no rewrite rules exist

11 years agomake `core upgrade` an alias of `core update`
scribu [Fri, 8 Mar 2013 13:14:28 +0000 (15:14 +0200)]
make `core upgrade` an alias of `core update`

11 years agoWhen populate_network() returns a wildcard DNS error, treat it as a warning, not...
Andrew Nacin [Thu, 7 Mar 2013 15:30:45 +0000 (10:30 -0500)]
When populate_network() returns a wildcard DNS error, treat it as a warning, not an error.

See http://core.trac.wordpress.org/ticket/23709.

11 years agoupdate-phar: make wp-cli revision linkable
scribu [Wed, 6 Mar 2013 13:21:46 +0000 (15:21 +0200)]
update-phar: make wp-cli revision linkable

11 years agoTypo
jmslbam [Tue, 5 Mar 2013 20:08:42 +0000 (21:08 +0100)]
Typo

11 years agoAdded man pages
jmslbam [Tue, 5 Mar 2013 20:07:18 +0000 (21:07 +0100)]
Added man pages

11 years agoRemoved print_r and finalized to generate man page
jmslbam [Tue, 5 Mar 2013 19:31:37 +0000 (20:31 +0100)]
Removed print_r and finalized to generate man page

11 years agoAdded @unlink and merged from upstream master
jmslbam [Tue, 5 Mar 2013 19:26:36 +0000 (20:26 +0100)]
Added @unlink and merged from upstream master

11 years agoMerge branch 'master' of git://github.com/wp-cli/wp-cli into media
jmslbam [Tue, 5 Mar 2013 19:25:02 +0000 (20:25 +0100)]
Merge branch 'master' of git://github.com/wp-cli/wp-cli into media

11 years agoplugin init-tests: always overwrite existing files
scribu [Mon, 4 Mar 2013 22:43:21 +0000 (00:43 +0200)]
plugin init-tests: always overwrite existing files

the assumption is that the plugin will already be under version control

11 years agodon't need to place the plugin directory inside the plugins folder anymore
scribu [Mon, 4 Mar 2013 22:33:08 +0000 (00:33 +0200)]
don't need to place the plugin directory inside the plugins folder anymore

see http://core.trac.wordpress.org/ticket/23690

11 years agoCleanup regenerating thumbnails and use more WP function
jmslbam [Mon, 4 Mar 2013 21:08:59 +0000 (22:08 +0100)]
Cleanup regenerating thumbnails and use more WP function

11 years agoRemoved query reset
jmslbam [Mon, 4 Mar 2013 20:19:47 +0000 (21:19 +0100)]
Removed query reset

11 years agouse tests_add_filter() in bootstrap.mustache
scribu [Mon, 4 Mar 2013 18:48:19 +0000 (20:48 +0200)]
use tests_add_filter() in bootstrap.mustache

see https://core.trac.wordpress.org/ticket/23690

11 years agoMerge pull request #343 from sebastiaandegeus/master
Cristi Burcă [Mon, 4 Mar 2013 16:19:06 +0000 (08:19 -0800)]
Merge pull request #343 from sebastiaandegeus/master

Small fixes for scaffold post-type

11 years agoadd utils/test-phar-download. see #340
scribu [Mon, 4 Mar 2013 15:57:06 +0000 (17:57 +0200)]
add utils/test-phar-download. see #340

11 years agoMerge pull request #344 from wp-cli/fix-phar
Cristi Burcă [Mon, 4 Mar 2013 15:58:49 +0000 (07:58 -0800)]
Merge pull request #344 from wp-cli/fix-phar

Phar archive broken

11 years agoadd missing Composer files to phar archive
scribu [Mon, 4 Mar 2013 15:38:01 +0000 (17:38 +0200)]
add missing Composer files to phar archive

11 years agoadd smoke test to utils/update-phar
scribu [Mon, 4 Mar 2013 15:35:35 +0000 (17:35 +0200)]
add smoke test to utils/update-phar

11 years agofixed escaped quotes that caused wrong urls on output
Sebastiaan de Geus [Mon, 4 Mar 2013 14:16:51 +0000 (15:16 +0100)]
fixed escaped quotes that caused wrong urls on output

11 years agoset default value for query_var to true, same as the codex
Sebastiaan de Geus [Mon, 4 Mar 2013 14:06:33 +0000 (15:06 +0100)]
set default value for query_var to true, same as the codex

11 years agoMerge pull request #340 from wp-cli/phar-checksum
Cristi Burcă [Mon, 4 Mar 2013 14:06:55 +0000 (06:06 -0800)]
Merge pull request #340 from wp-cli/phar-checksum

Publish checksum for Phar archive

11 years agoUse WP_Query instead of custom select
jmslbam [Mon, 4 Mar 2013 00:24:30 +0000 (01:24 +0100)]
Use WP_Query instead of custom select

11 years agorenamed parameter
jmslbam [Sun, 3 Mar 2013 22:16:44 +0000 (23:16 +0100)]
renamed parameter

11 years agoPolished message
jmslbam [Sun, 3 Mar 2013 22:00:57 +0000 (23:00 +0100)]
Polished message

11 years agoAdded position paramater `wp media regenerate 21 45 56` and better messages
jmslbam [Sun, 3 Mar 2013 21:59:18 +0000 (22:59 +0100)]
Added position paramater `wp media regenerate 21 45 56` and better messages

11 years agomake local-build embedable into .bashrc again
scribu [Sun, 3 Mar 2013 21:44:16 +0000 (23:44 +0200)]
make local-build embedable into .bashrc again

see #342

11 years agoinstall composer dependencies in local-build too
scribu [Sun, 3 Mar 2013 21:26:24 +0000 (23:26 +0200)]
install composer dependencies in local-build too

see #342

11 years agoFixed variable name so thumbnails get unlinked again
jmslbam [Sun, 3 Mar 2013 18:26:03 +0000 (19:26 +0100)]
Fixed variable name so thumbnails get unlinked again

11 years agoBetter grammar
jmslbam [Sun, 3 Mar 2013 17:40:23 +0000 (18:40 +0100)]
Better grammar

11 years agoCleaned up unused code
jmslbam [Sun, 3 Mar 2013 17:10:00 +0000 (18:10 +0100)]
Cleaned up unused code

11 years agoPolished some feedback messages
jmslbam [Sun, 3 Mar 2013 16:36:14 +0000 (17:36 +0100)]
Polished some feedback messages

11 years agoUsing WP_CLI::warning
jmslbam [Sun, 3 Mar 2013 16:20:12 +0000 (17:20 +0100)]
Using WP_CLI::warning

11 years agoUsing WP_CLI::warning
jmslbam [Sun, 3 Mar 2013 16:17:45 +0000 (17:17 +0100)]
Using WP_CLI::warning

11 years agoUse concate instead of sprintf
jmslbam [Sun, 3 Mar 2013 16:16:34 +0000 (17:16 +0100)]
Use concate instead of sprintf

11 years agoRemoved settings timeout
jmslbam [Sun, 3 Mar 2013 16:10:23 +0000 (17:10 +0100)]
Removed settings timeout

11 years agoRemoved use of $error
jmslbam [Sun, 3 Mar 2013 16:10:00 +0000 (17:10 +0100)]
Removed use of $error

11 years agomake update-phar generate a checksum
scribu [Sat, 2 Mar 2013 18:00:41 +0000 (20:00 +0200)]
make update-phar generate a checksum

[ci skip]

11 years agoMerge pull request #341 from wp-cli/fix-composer
Cristi Burcă [Sun, 3 Mar 2013 00:46:00 +0000 (16:46 -0800)]
Merge pull request #341 from wp-cli/fix-composer

require_once(Symfony/Component/Yaml/autoloader.php): failed to open stream

11 years agodon't check if the cache directory exists
scribu [Sun, 3 Mar 2013 00:39:22 +0000 (02:39 +0200)]
don't check if the cache directory exists

`core download` takes care of it

11 years agoremove unnecessary loading of PHPUnit/Autoload.php
scribu [Sun, 3 Mar 2013 00:28:38 +0000 (02:28 +0200)]
remove unnecessary loading of PHPUnit/Autoload.php

11 years agoleave minimum stability to stable
scribu [Sat, 2 Mar 2013 23:04:03 +0000 (01:04 +0200)]
leave minimum stability to stable

11 years agoshow error message when vendor directory is missing
scribu [Fri, 1 Mar 2013 11:21:39 +0000 (13:21 +0200)]
show error message when vendor directory is missing

see #336

11 years agoOptimizing looping and unlinking of the resized images
jmslbam [Fri, 1 Mar 2013 21:07:58 +0000 (22:07 +0100)]
Optimizing looping and unlinking of the resized images

11 years agoMerge pull request #336 from wp-cli/no-submodules
Cristi Burcă [Thu, 28 Feb 2013 20:20:51 +0000 (12:20 -0800)]
Merge pull request #336 from wp-cli/no-submodules

Replace git submodules with Composer dependencies

11 years agoupdate make-phar.php to use vendor dir
scribu [Thu, 28 Feb 2013 19:54:55 +0000 (21:54 +0200)]
update make-phar.php to use vendor dir

11 years agoremove loading from submodules
scribu [Thu, 28 Feb 2013 19:38:57 +0000 (21:38 +0200)]
remove loading from submodules

11 years agoinstall and use Composer in utils/dev-build
scribu [Thu, 28 Feb 2013 19:25:07 +0000 (21:25 +0200)]
install and use Composer in utils/dev-build

11 years agotravis: no more submodules to initialize
scribu [Thu, 28 Feb 2013 18:58:24 +0000 (20:58 +0200)]
travis: no more submodules to initialize

11 years agoadd composer.lock
scribu [Thu, 28 Feb 2013 18:38:01 +0000 (20:38 +0200)]
add composer.lock