- Mar 27, 2017
-
-
Jesus Manuel Olivas authored
-
- Mar 25, 2017
-
-
- Mar 16, 2017
-
-
- Mar 15, 2017
- Mar 10, 2017
-
-
-
Export the entire config storage, in the same structure as used by the Drupal web interface. (#3182)
-
* [console] Validator: rename validateModuleDependencies to validateMachineNameList The new name describes better what the function does, and it's also more generic: it can be used to validate any kind of list of extensions names, not just dependencies (i.e. modules) but also a list of machine names of themes. * [console] return $this from ExtensionManager::discoverExtension() This allows to chain-call show* methods after discoverExtension(). * [console] refactor and generalize validating dependencies Some commands like ModuleCommand and ProfileCommand need to validate dependencies and are using the same exact code to do it, replicated per-command; refactor it and share the implementation between the two commands. While at it also make the checkDependencies() function more generic, do not validate "dependencies" (i.e. modules) but rather "extensions", taking a $type argument to restrict validation to certain extension types, for instance the new method can be used to validate themes. The new validating method is Validator::validateExtensions() which checks machine names and then calls the new method ExtensionManager::checkExtensions() which checks that the passed machine names are actually extensions of the given type. NOTE: since Validator::validateExtension() accepts a string argument add a default value as an empty string for the '--dependencies' option in ModuleCommand and ProfileCommand. The default value is the last argument of addOption() as specified on http://api.symfony.com/3.1/Symfony/Component/Console/Command/Command.html#method_addOption * [console] remove some class members which are now unused After the checkDependencies() refactoring, ModuleCommand and ProfileCommand do not need to depend on http_client and console.site anymore, because the code using them is now in ExtensionManager. * [console] adjust indentation for some comments Other instance of wrong indentation could be found with a command like: git grep "^\*\/" * [generate:profile] add a '--themes' option (Fixes #3092) When an installation profile imports configuration which refers to the installed themes it is necessary that the profile refers to these themes in the PROFILE.info.yml file too. Without this the installation can fail with a message like: Drupal\Core\Config\UnmetDependenciesException: ... PROFILE have unmet dependencies in .../web/core/lib/Drupal/Core/Config/UnmetDependenciesException.php:84 So add a '--themes' options to easily specify the enabled themes when generating a profile.
-
-
- Feb 23, 2017
-
-
* Prevent special characters in passwords and other args to mess up the command This should fix hechoendrupal/drupal-console#3189 * Might as well quote the pgsql driver command Adresses issue hechoendrupal/drupal-console#3189 * Debug should be false by default, fixing issue hechoendrupal/drupal-console#3179
-
-
- Feb 14, 2017
-
-
Jesus Manuel Olivas authored
-
- Feb 11, 2017
-
-
- Feb 09, 2017
-
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
-
- Feb 07, 2017
-
-
Jesus Manuel Olivas authored
* [console] Update extend command discovery. * [console] Remove dead code line.
-
- Feb 05, 2017
-
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
-
-
* Fix routes in Entity controller * No create revision_translation_affected for untranslatable entites * Fix routes in entity-content-route provider
-
-
* [update:execute] Fix a missing variable argument (#3108) * [update:execute] Fix updating logic (#3137) Only apply each pending update once. * Cancel update command on bad selection. * Abort update on failure, only run post-update on completion. Post-update functions may rely on any API, which requires all modules to have up-to-date schemas. * Remove update-n code from post-updates. Post-update functions have names instead of numbers; they can't be selected like this. * Make module argument optional, default to 'all'.
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
-
- Feb 04, 2017
-
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
-
- Feb 01, 2017
-
-
Jesus Manuel Olivas authored
* Add php_tag twig file. * Pass file_exists to update.php.twig * Relocate Twig fiels. * Add new line.
-
- Jan 31, 2017
-
-
- Jan 30, 2017
-
-
- Jan 28, 2017
-
-
- Jan 23, 2017
-
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
* [console] Tag 1.0.0-rc15 release. * [console] Force doctrine/collections version.
-
Jesus Manuel Olivas authored
-
Jesus Manuel Olivas authored
[generate:controller] Rename option module as extension.
-