From 0e210c0214046a8469970b909c06b1d443cc3530 Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Sat, 6 Jul 2019 19:26:36 +0300 Subject: [PATCH] Issue #3063627: Varbase 8.7.0: Update [CHANGELOG.md, README.md, drupal-org.make] files and filter the code for Drupal 8 Coding Standard --- CHANGELOG.md | 1242 +++-------------- README.md | 6 +- UPDATE.md | 89 +- behat.varbase-tools.yml | 2 +- composer.json | 36 +- configbit/development.tools.varbase.bit.yml | 2 +- css/admin-toolbar-tools.css | 4 +- drupal-org-core.make | 8 +- drupal-org.make | 108 +- src/Config/ConfigBit.php | 2 +- .../VarbaseEntityDefinitionUpdateManager.php | 5 +- src/Form/AssemblerForm.php | 16 +- src/Form/ConfigureMultilingualForm.php | 38 +- src/Form/DevelopmentToolsAssemblerForm.php | 10 +- src/FormBit/varbase_auth.formbit.php | 2 +- src/FormBit/varbase_development.formbit.php | 2 +- src/assets/development.services.yml | 2 +- src/composer/ScriptHandler.php | 29 +- varbase.info.yml | 2 +- varbase.install | 7 +- varbase.profile | 45 +- 21 files changed, 430 insertions(+), 1227 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 905c6afa..8088e39c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,1041 +1,201 @@ -# 8.6.10 - -### Highlighted important changes since Varbase 8.6.9: -* Issue [#3052218](https://www.drupal.org/node/3052218): - Updated [Drupal core] from ~8.6.0 to ~8.7.0 -* Issue [#3051422](https://www.drupal.org/node/3051422): - Have Vartheme BS4 as the default theme for Varbase and - disable Vartheme -* Issue [#3052293](https://www.drupal.org/node/3052293): - Changed and shifted Varbase Media responsive image styles - to work with the mapping of Bootstrap 3 breakpoints into - Bootstrap 4 breakpoints. - -This update works for any theme, whether you are using Bootstrap 3, - Bootstrap 4, or any theme. It adds new breakpoints provided from Varbase - Media module (based on Bootstrap 4 media queries) to unify the way responsive - images are displayed. - -Varbase Media Mapping Bootstrap 3 into Bootstrap 4: -* Switched BS3 XS max ( < 768px) to BS4 SM max ( <767.98px) -* Switched BS3 SM min ( >=768px) to BS4 MD min ( >=768px) -* Switched BS3 MD min ( >=992px) to BS4 LG min ( >=992px) -* Switched BS3 LG min ( >=1200px) to BS4 XL min ( >=1200px) - -### Added since Varbase 8.6.9: -* Issue [#3051878](https://www.drupal.org/node/3051878): - Added project: varbase to varbase.info.yml -* Issue [#3051417](https://www.drupal.org/node/3051417): - Added default Vartheme optional blocks in Vartheme BS4 - and VARTHEM_BS4_SUBTHEME -* Updated the create new vartheme BS4 sub-theme generator to - rename new block config files -* Issue [#3051709](https://www.drupal.org/node/3051709): - Added logo.png and logo-print.png files for default logo - and default print logo -* Issue [#3051285](https://www.drupal.org/node/3051285): - Added Max length (300) for the slide text in - [Varbase Media Hero Slider] -* Issue [#3051265](https://www.drupal.org/node/3051265) - by - [abu-zakham](https://www.drupal.org/u/abu-zakham) - : Added the 3032549-18.patch for [Password Policy] module to - fix the saving constraint issue -* Issue [#3052248](https://www.drupal.org/node/3052248) - by - [devkinetic](https://www.drupal.org/u/devkinetic) - : Added private flag to package.json for Vartheme BS4 - -### Changed since Varbase 8.6.9: -* Issue [#3051884](https://www.drupal.org/node/3051884): - Switched to use [Varbase Entity Definition Update Manager] - and remove deprecated - \Drupal::entityDefinitionUpdateManager()->applyUpdates() -* Issue [#3051483](https://www.drupal.org/node/3051483): - Changed the default Hero Slider instant block at the - home page to work with Vartheme BS4 theme as the - default theme -* Issue [#3051468](https://www.drupal.org/node/3051468): - Changed the default content and Varbase Welcome Message - to work with Vartheme BS4 -* Issue [#3052733](https://www.drupal.org/node/3052733): - Generated config updates for Varbase 8.6.9 in the update - helper checklist and optimized the config updates -* Issue [#3053039](https://www.drupal.org/node/3053039): - Marked all updates by the update helper checklist as - successful on install -* Issue [#3051248](https://www.drupal.org/node/3051248) - by - [Firass Ziedan](https://www.drupal.org/u/firass-ziedan) - : Removed the language code from base_url in - [Varbase Media Hero Slider] oembed base_path -* Issue [#3053436](https://www.drupal.org/node/3053436) - by - [waleedq](https://www.drupal.org/u/waleedq) - : Applied an update onsave for the [Update Helper] module, and - disable applied updates and updated the patch - to 3024165-31.patch -* Issue [#3055619](https://www.drupal.org/node/3055619) - by - [metalbote](https://www.drupal.org/u/metalbote) - : Changed Varbase Behat Context to use form element ids - instead of labels, so that tests run on non-english installs -* Issue [#3055719](https://www.drupal.org/node/3055719) - by - [YousefAnbar](https://www.drupal.org/u/yousefanbar) - : Removed .equal-height-xs from bootstrap 4 as it is not needed - -### Updates since Varbase 8.6.9: -* Issue [#3052578](https://www.drupal.org/node/3052578): - Updated [Default Content] module - from 8.1.0-alpha7 to 8.1.0-alpha8 -* Issue [#3052694](https://www.drupal.org/node/3052694): - Updated [Entity Embed] module from 8.1.0-beta2 to 8.1.0-beta3 -* Issue [#3052708](https://www.drupal.org/node/3052708): - Updated JavaScript/CSS libraries for Popper and Bootstrap - Barrio theme for new toast and alert library - -### Fixes since Varbase 8.x-6.9: -* Issue [#3052032](https://www.drupal.org/node/3052032) - by - [devkinetic](https://www.drupal.org/u/devkinetic) - : Fixed Main menu template dropdown settings applied - to all links -* Issue [#3051462](https://www.drupal.org/node/3051462) - by - [m.alhawwari](https://www.drupal.org/u/malhawwari) - : Fixed to return header media from default when no - translation is available -* Issue [#3053163](https://www.drupal.org/node/3053163): - Fixed Media grid view style after the update to - Drupal 8.7.0 stable -* Issue [#3055737](https://www.drupal.org/node/3055737) - by - [mohammad faqeh](https://www.drupal.org/u/mohammad-faqeh) - : Fixed card deck and space under card image on IE -* Issue [#3056083](https://www.drupal.org/node/3056083): - Fixed regression of responsive image styles when updating - to Bootstrap 4 breakpoints - --------------------------------------------------------------------------------- - -# 8.6.9 - -### Highlighted important changes since Varbase 8.6.8: -* Issue [#3053839](https://www.drupal.org/node/3053839): - Update [Drupal core] from 8.6.15 to 8.6.16 -* Drupal core - Moderately critical - Third-party libraries - - [SA-CORE-2019-007](https://www.drupal.org/SA-CORE-2019-007) -* Issue [#3053828](https://www.drupal.org/node/3053828): - Changed drupal/core ~8.6 to ~8.6.0 to let composer - update to 8.6.16 and more 8.6.x versions and - not to update to 8.7.x - --------------------------------------------------------------------------------- - -# 8.6.8 - -### Highlighted important changes since Varbase 8.6.7: -* Issue [#3048545](https://www.drupal.org/node/3048545): - Implement theme suggestions and JS behaviors in - Varbase Media for each video provider to support autoplay - for various video providers (YouTube, Vimeo, and Local video) -* Issue [#3048729](https://www.drupal.org/node/3048729): - Initialized the Varbase Media Header slider 8.x-7.x branch - structure and implement theme suggestions and JS behaviors - for each video provider to support autoplay for various video - providers (YouTube, Vimeo, and Local video) -* Issue [#3050202](https://www.drupal.org/node/3050202): - Implemented theme suggestions and JS behaviours in - Varbase Media Header for each video provider to support - autoplay for various video providers - (YouTube, Vimeo, and Local video) targeted for - the media header -* Issue [#3048206](https://www.drupal.org/node/3048206): - Added [Length Indicator] module 8.1.0-rc3 - length indicator with 15 50 10 - - Added [Length Indicator] to the form view config for - [Basic page] content type - - Added the checklist for optional updates over the - [Length Indicator] configs modules - - Added targeted modules with #dependency in the checklist - item and updated the Updated Helper for optional updates - -### Added since Varbase 8.6.7: -* Issue [#3049759](https://www.drupal.org/node/3049759): - Added [Length Indicator] to the form view config for - [Landing page] content type -* Issue [#3049760](https://www.drupal.org/node/3049760): - Added [Length Indicator] to the form view config for - [Blog post] content type -* Issue [#3049762](https://www.drupal.org/node/3049762): - Added [Length Indicator] to the form view config for - [Hero slider] content type - -### Changed since Varbase 8.6.7: -* Issue [#3049751](https://www.drupal.org/node/3049751): - Styled the one slide view and Full content hero slider page - to look like a preview for the slide -* Issue [#3049744](https://www.drupal.org/node/3049744): - Have the title element go to the end of the line, with the - Length Indicator and the title should have the same exact - width, on all responsive sizes -* Issue [#3050421](https://www.drupal.org/node/3050421) - by - [Mohammad Fayoumi](https://www.drupal.org/u/mohammad-fayoumi) - : Support multi-language media header - for the selected media field and content types -* Issue [#3045727](https://www.drupal.org/node/3045727) - by - [scoff](https://www.drupal.org/u/scoff) - : Changed VMH expects page_title and breadcrumbs - to be NOT only in (header) region and if disabled or - removed then costumed - -### Updates since Varbase 8.x-6.7: -* Issue [#3050503](https://www.drupal.org/node/3050503): - Varbase 8.6.8: Update [CHANGELOG.md, README.md, - drupal-org.make] files and filter the code for Drupal 8 - Coding Standard -* Updated [Drupal core] from 8.6.14 to 8.6.15 (Drush make) in composer - it's (~8.6.0) -* Updated [Entityqueue] from 1.0-beta1 to 1.0-beta2 (Drush make) in composer - it's (~1.0) -* Updated [dropzonejs] from 2.0-alpha3 to 2.0-alpha4 (Drush make) in composer - it's (~2.0) - -### Fixes since Varbase 8.x-6.7: -* Issue [#3048899](https://www.drupal.org/node/3048899): - Fixed module path in Varbase Media being passed to the - selected oembed ifreame twig template for the current active - library path to Varbase Media -* Issue [#3049750](https://www.drupal.org/node/3049750): - Fixed Vimeo view size issue in the Embed tab in Varbase - entity browsers -* Issue [#3050105](https://www.drupal.org/node/3050105) - by - [Mohammad Fayoumi](https://www.drupal.org/u/mohammad-fayoumi) - : Removed the duplicated line of - code (type: theme) in vartheme_bs4.info.yml -* Issue [#3047417](https://www.drupal.org/node/3047417) - by - [Firass Ziedan](https://www.drupal.org/u/firass-ziedan) - : Fixed fatal error after translating - tabs paragraph type -* Issue [#3050576](https://www.drupal.org/node/3050576) - by - [devkinetic](https://www.drupal.org/u/devkinetic) - : Fixed VMI text teaser css typo -* Issue [#3033781](https://www.drupal.org/node/3033781) - by - [stefan.korn](https://www.drupal.org/u/stefankorn) - : Fixed vartheme subtheme does not use - the toolbar top space issue as it was fixed from base theme - --------------------------------------------------------------------------------- - - -# 8.6.7 - -### Highlighted important changes since Varbase 8.6.6: -* Issue [#3046616](https://www.drupal.org/node/3046616): - Switched of using [Responsive image styles] only to use - [Blazy loading with responsive image styles] for most media - view mode sizes of ( Image, Video, Remote Video) media types -Test Varbase Blog and VMI Images and Videos with Blazy -* Issue [#3043881](https://www.drupal.org/node/3043881): - Added [Varbase Update Helper] to the List of default varbase - components, which they will be installed when we - install varbase -* Issue [#3043869](https://www.drupal.org/node/3043869): - Added [Varbase Email] module to the List of default varbase - components, which it will be installed when we - install varbase. -* Issue [#3047359](https://www.drupal.org/node/3047359): - Removed enabling the [smtp] module as we have switched to - use swiftmailer ~1.0 and Varbase emailing configs switched - to [Varbase Email] module. - -### Added since Varbase 8.6.6: -* Issue [#3044573](https://www.drupal.org/node/3044573): - Added a post Message play to oEmbed iframe for Remote - Youtube and Vimeo embedded videos -* Issue [#3047120](https://www.drupal.org/node/3047120): - Added spaceless twig filter for titles of Varbase Bootstrap - Paragraphs templates. -* Issue [#3040222](https://www.drupal.org/node/3040222): - Added a default style for the [Maintenance page] in - Vartheme BS4 and VARTHEME_BS4_SUBTHEME -* Issue [#3043841](https://www.drupal.org/node/3043841): - Added theme-settings.php and [Email Logo] settings to - [Vartheme Bootstrap 4 settings] to be used with - [Varbase Email] module -* Issue [#3043826](https://www.drupal.org/node/3043826): - Added [Email Logo] settings to [Vartheme settings] to be - used with [Varbase Email] module -* Issue [#3047326](https://www.drupal.org/node/3047326): - Added support for link_attributes in menus in Vartheme BS4 -* Issue [#3024168](https://www.drupal.org/node/3024168) - by - [waleedq](https://www.drupal.org/u/waleedq) - , [Mohammed J. Razem](https://www.drupal.org/u/mohammed-j-razem) - : Added the [Varbase Update Helper] module and - [update helper, checklist api] modules in the - [Varbase core] module. -* Issue [#3042113](https://www.drupal.org/node/3042113) - by - [waleedq](https://www.drupal.org/u/waleedq) - , [Mohammed J. Razem](https://www.drupal.org/u/mohammed-j-razem) - : Initialize the first structure for the [Varbase Email] module -* Issue [#3044588](https://www.drupal.org/node/3044588): - Added a replace for ajaxorg/ace-builds * library in the - composer as we are using npm-asset/ace-builds ~1.0 - -### Changed since Varbase 8.6.6: -* Issue [#3046906](https://www.drupal.org/node/3046906): - Changed default entity view display for Images in the - Carousels slick settings for the new - Slick ~2.0 and Blazy ~2.0 -* Issue [#3047144](https://www.drupal.org/node/3047144): - Changed all [Glyphicon] icons to [Font Awesome] icons - in [Vartheme BS4] and clean up of old bootstrap icons -* Issue [#3041041](https://www.drupal.org/node/3041041): - Removed .justify-content-center from [Vartheme BS4] as - Justify content centre is in the Bootstrap base library - only keep the RTL one -* Issue [#3043888](https://www.drupal.org/node/3043888): - Have a better CSS utility classes for [Vartheme BS4] - on the [.hidden-anonymous] to Hide for anonymous users - and [.visible-logged-in, .visible-admin] to Show only - for admin users -* Issue [#3029389](https://www.drupal.org/node/3029389) - by - [Mithun S](https://www.drupal.org/u/mithun-s) - : Changed [Vartheme] to use short array as per the - coding standards -* Issue [#3040036](https://www.drupal.org/node/3029389): - Changed a patch for [Drupal core 8.6.11] from - 2815221-109.patch to 2815221-116.patch which - add quickedit to the latest-revision route - -### Updates since Varbase 8.6.6: -* Issue [#3044552](https://www.drupal.org/node/3044552): - Updated [Entity Browser] module from 8.2.0 to 8.2.1 -* Issue [#3044558](https://www.drupal.org/node/3044558): - Updated [Focal Point] module from 8.1.0-beta6 to stable 8.1.0 -* Issue [#3046874](https://www.drupal.org/node/3046874): - Updated [Blazy] module from (~1.0) to (~2.0) -* Issue [#3046885](https://www.drupal.org/node/3046885): - Updated [Slick Carousel] module from (~1.0) to (~2.0) -* Issue [#3046886](https://www.drupal.org/node/3046886): - Updated [Slick Views] module from (~1.0) to (~2.0) -* Issue [#3044086](https://www.drupal.org/node/3044086): - Updated [Paragraphs] module from 8.1.6 to 8.1.8 -* Issue [#3044122](https://www.drupal.org/node/3044122): - Updated [Search API] module from 8.1.11 to 8.1.12 (~1.0) -* Issue [#3044561](https://www.drupal.org/node/3044561): - Updated [Panels] module from 8.4.3 to 8.4.4 (~4.0) - -### Fixes since Varbase 8.x-6.6: -* Issue [#3046417](https://www.drupal.org/node/3046417) - by - [Firass Ziedan](https://www.drupal.org/u/firass-ziedan) - : Fixed Vartheme BS4 fatal error when using - paragraph two column uneven -* Issue [#3047330](https://www.drupal.org/node/3047330): - Fixed typo from .sass to .scss in comments and tips for which - variable files to work on. -* Issue [#3035473](https://www.drupal.org/node/3035473) - by - [stefan.korn](https://www.drupal.org/u/stefankorn) - : Fixed less file syntax for [Media Hero Slider] -* Issue [#3039104](https://www.drupal.org/node/3039104): - Fixed VARTHEME_BS4_SUBTHEME .info file on the issue of - calling vbp-colors, and betterlogin, as it is a recursive - library override, will bring PHP Fatal error: Allowed memory - size on symfony yaml Parser on line 169 -* Issue [#3039160](https://www.drupal.org/node/3039160): - Fixed logo-print.png path for Vartheme BS4 and - VARTHEME_BS4_SUBTHEME a legacy issue from old vartheme -* Issue [#3039173](https://www.drupal.org/node/3039173): - Fixed old script token of VARTHEME_SUBTHEME to - VARTHEME_BS4_SUBTHEME in the sub theme -* Issue [#3039435](https://www.drupal.org/node/3039435): - Fixed betterlogin twig-VARTHEME_BS4_SUBTHEME and - system call of VARTHEME_BS4_SUBTHEME blocks and - libraries vartheme_bs4/global-styles -* Issue [#3039513](https://www.drupal.org/node/3039513): - Fixed bootstrap variables not been overridden in - Vartheme BS4 and VARTHEME_BS4_SUBTHEME - --------------------------------------------------------------------------------- - - -# 8.6.6 - -### Highlighted important changes since Varbase 8.6.5: -* Issue [#3038760](https://www.drupal.org/node/3038760): - Added [Vartheme (Bootstrap 4 - SASS)] theme (~6.0) -* Cleaned up all hash commits so that - [vardot/varbase-project](https://github.com/Vardot/varbase-project) - template and the - [composer.json](https://github.com/Vardot/varbase-project/blob/8.6.x/composer.json) - looks clean. - -### Added since Varbase 8.6.5: -* Issue [#3038760](https://www.drupal.org/node/3038760): - Added [Vartheme (Bootstrap 4 - SASS)] theme (~6.0) -* Issue [#3038760](https://www.drupal.org/node/3038760): - Added the create-new-vartheme-bs4.sh bash file to generate - Vartheme BS4 sub theme ( Bootstrap 4 ) SASS and updated the - [README.md](https://github.com/Vardot/varbase/blob/8.x-6.x/scripts/README.md) - for scripts -* Issue [#3035272](https://www.drupal.org/node/3035272): - Added 3023452-5.patch for [Drupal core] to fix the issue of - Views placeholder texts are not translatable - -### Changed since Varbase 8.6.5: -* Cleaned up all hash commits so that - [vardot/varbase](https://github.com/Vardot/varbase) - [composer.json](https://github.com/Vardot/varbase/blob/8.6.x/composer.json) and - [vardot/varbase-project](https://github.com/Vardot/varbase-project) - template and the - [composer.json](https://github.com/Vardot/varbase-project/blob/8.6.x/composer.json) - looks clean. -* Issue [#3036491](https://www.drupal.org/node/3036491): - Changed [Welcome to Varbase] block in [Varbase default content] - module to support Bootstrap 4 grid system -* Issue [#3037138](https://www.drupal.org/node/3037138): - Changed the patch to Fix fatal errors when we have missing - layouts, on an update after the update [Display suite] - module from 8.3.2 to 8.3.3 -* Issue [#3034793](https://www.drupal.org/node/3034793): - Removed a patch for [Views Bulk Operations (VBO)] as it was - applied in 8.25 and the serializable issues were fixed in - Drupal core 8.6.x -* Issue [#3035245](https://www.drupal.org/node/3035245): - Removed a patch for [Rabbit Hole] as it was applied in - 1.0-beta5 as we us (~1.0) -* Issue [#3037117](https://www.drupal.org/node/3037117): - Removed all patches for [Entity Clone] module after - 8.x-1.0-beta3 went out - -### Updates since Varbase 8.6.5: -* Issue [#3035483](https://www.drupal.org/node/3035483): - Update [Custom Permissions] module - from 2.0-beta1 (~2.0) to 2.0-beta2 (~2.0) -* Issue [#3037138](https://www.drupal.org/node/3037138): - Updated [Display suite] module from 8.3.2 to 8.3.3 -* Issue [#3033885](https://www.drupal.org/node/3033885): - Updated [Chaos Tool Suite (ctools)] module from 8.3.0 to 8.3.2 -* Issue [#3038019](https://www.drupal.org/node/3038019): - Updated [Login Destination] module - from 8.1.x-dev 54be8b to 8.1.0-alpha1 with (~1.0) -* Issue [#3037311](https://www.drupal.org/node/3037311): - Updated [Image Resize Filter] module and update - [Varbase Editor] to configure [Rich editor, Simple editor] - to use for local and remote images and not to use - for [HTML coder] - -### Fixes since Varbase 8.x-6.5: -* Issue [#3033885](https://www.drupal.org/node/3033885): - Fixed issues after ctools 3.2 with 3033057-13.patch - and 3031778-37.patch - --------------------------------------------------------------------------------- - -# 8.6.5 - -### Highlighted important changes since Varbase 8.6.4: -* Cleaned up number of modules with hash commits so that - [vardot/varbase-project](https://github.com/Vardot/varbase-project) - template and the - [composer.json](https://github.com/Vardot/varbase-project/blob/8.6.x/composer.json) - looks clean. -* Issue [#3033630](https://www.drupal.org/node/3033630): - Renamed Google+ to Google in installer. -* Issue [#3034471](https://www.drupal.org/node/3034471): - Updated [Google Analytics Reports] module - from 3.x-dev 2b6bb8e to (~3.0) as 8.x-3.0-beta2 went out. -* Issue [#3034567](https://www.drupal.org/node/3034567): - Changed [Social Auth Google] Google+ logo to Google accounts - as Google shutdown Google+ -* Issue [#3032661](https://www.drupal.org/node/3032661): - Changed [Varbase Internationalization] not to use the - [Localization client] module by disabling it for old sites - and not to install it in new Varbase installations. -* Issue [#3033768](https://www.drupal.org/node/3033768): - Fixed W3C standards for element div not allowed as child - of element h2. - -### Added since Varbase 8.6.4: -* Issue [#3034567](https://www.drupal.org/node/3034567): - Added the 3034353-2.patch for [Social Auth Google] to change - the Google+ logo to Google accounts as Google shutdown Google+ - -### Changed since Varbase 8.6.4: -* Issue [#3033630](https://www.drupal.org/node/3033630) - by [Mohammed J. Razem](https://www.drupal.org/u/mohammed-j-razem): - Renamed Google+ to Google in installer. -* Issue [#3032661](https://www.drupal.org/node/3032661): - Changed [Varbase Internationalization] not to use the - [Localization client] module by disabling it for old sites - and not to install it in new Varbase installations. -* Issue [#3032678](https://www.drupal.org/node/3032678): - Changed [Varbase Security] not to install the [Security Review] - module in new Varbase installations and require a * wild - card version. -* Issue [#3032690](https://www.drupal.org/node/3032690): - Changed [Varbase Admin] require [Mail Editor] module with a - * wild card version. -* Issue [#3034396](https://www.drupal.org/node/3034396): - Removed all patches for [Entity Clone] as they - all are already applied in 8.x-1.0-beta2. - -### Updates since Varbase 8.6.4: -* Issue [#3034582](https://www.drupal.org/node/3034582): - Update [Drupal core] from 8.6.7 to 8.6.10 -* Issue [#3034471](https://www.drupal.org/node/3034471): - Updated [Google Analytics Reports] module from - 3.x-dev 2b6bb8e to (~3.0) as 8.x-3.0-beta2 went out. -* Issue [#3034513](https://www.drupal.org/node/3034513): - Updated [Paragraphs] module from 8.1.5 to 8.1.6 -* Issue [#3034502](https://www.drupal.org/node/3034502): - Updated [Paragraphs Previewer] module from 8.1.2 to 8.1.4 -* Issue [#3032699](https://www.drupal.org/node/3032699): - Updated [Tour Builder] module - from 1.x-dev d70e898 to (~1.0) as 8.x-1.0-alpha1 went out -* Issue [#3032929](https://www.drupal.org/node/3032929): - Updated [Node Edit Protection] module - from 1.x-dev 902339c to (~1.0) as 8.x-1.0-alpha1 went out. - -### Fixes since Varbase 8.x-6.4: -* Issue [#3033768](https://www.drupal.org/node/3033768) - by [Mohammad Fayoumi](https://www.drupal.org/u/mohammad-fayoumi): - Fixed W3C standards for element div not allowed as child of element h2. -* Issue [#3033845](https://www.drupal.org/node/3033845) - by [m.alhawwari](https://www.drupal.org/u/malhawwari): - Fixed overflow of table input field on smaller screens. - --------------------------------------------------------------------------------- - -# 8.6.4 - -### Highlighted important changes since Varbase 8.6.3: -* Issue [#3024940](https://www.drupal.org/node/3024940): - Changed [Varbase Media Hero Slider] to have a fixed Image - max and min Height -* Issue [#3026247](https://www.drupal.org/node/3026247): - Added [vartheme/spacing] bootstrap spacing library to - support a back-ported spacing style borrowed from Bootstrap 4 -* Issue [#3023119](https://www.drupal.org/node/3023119): - Added VBO to admin/content and admin/people and changed - the batch size to 50 -* Issue [#3023181](https://www.drupal.org/node/3023181): - Added VBO to admin/media with [Created from, and Created to] - date filters to media table -* Issue [#3025036](https://www.drupal.org/node/3025036): - Added target bundle [text and image] to landing page - components * (landing page paragraphs field) without - changing old configurations - -### Added since Varbase 8.6.3: -* Issue [#3026046](https://www.drupal.org/node/3026046): - Added styling template for [Varbase Media Hero Slider] to - VARTHEME_SUBTHEM to let themers change Custom Varbase Hero - slider media variables -* Issue [#3026247](https://www.drupal.org/node/3026247): - Added [vartheme/spacing] bootstrap spacing library to - support a back-ported spacing style borrowed from Bootstrap 4 -* Issue [#3025783](https://www.drupal.org/node/3025783): - Added a default RTL Font [Droid Arabic Kufi ] to Vartheme - and VARTHEME_SUBTHEME -* Issue [#3023119](https://www.drupal.org/node/3023119): - Added VBO to admin/content and admin/people and changed - the batch size to 50 -* Issue [#3023181](https://www.drupal.org/node/3023181): - Added VBO to admin/media with [Created from, and Created to] - date filters to media table -* Issue [#3023087](https://www.drupal.org/node/3023087): - Added a default override for Views Infinite Scroll button - style to use Bootstrap btn -* Issue [#3023116](https://www.drupal.org/node/3023116): - Added Drupal Console ~1.0 to require-dev -* Issue [#3025036](https://www.drupal.org/node/3025036): - Added target bundle [text and image] to landing page - components * (landing page paragraphs field) without changing old configurations - -### Changed since Varbase 8.6.3: -* Issue [#3024940](https://www.drupal.org/node/3024940): - Changed [Varbase Media Hero Slider] to have a fixed Image - max and min Height -* Issue [#3027158](https://www.drupal.org/node/3027158): - Changed [Views Bootstrap] module from 3.1 to ~3.0 - -### Updates since Varbase 8.6.3: -* Issue [#3027176](https://www.drupal.org/node/3027176): - Updated [Adminimal] theme from 1.3 to ~1.0 (1.4) at the time -* Issue [#3023061](https://www.drupal.org/node/3023061): - Updated [Simple XML Sitemap] module from ^2.12 to ~3.0 -* Issue [#3024236](https://www.drupal.org/node/3024236): - Updated [Entity Clone] module from 1.x-dev 6d0ce05 to ~1.0 -* Issue [#3023647](https://www.drupal.org/node/3023647): - Updated [Menu position] module - from 1.x-dev d134276 to 8.1.0-alpha1 (~1.0) -* Issue [#3028740](https://www.drupal.org/node/3028740): - Updated [Vimeo api player.js] external remote player library - from version: 2.6.1 to open card for latest library version - -### Fixes since Varbase 8.x-6.3: -* Issue [#3025606](https://www.drupal.org/node/3025606) - by [Mohammed J. Razem](https://www.drupal.org/u/mohammed-j-razem): - Fixed description caret staying on its - own line when description has HTML -* Issue [#3023173](https://www.drupal.org/node/3023173): - Fixed [VBO) Fatal error with a patch when we execute simple - actions on [Adminimal] theme -* Issue [#3026336](https://www.drupal.org/node/3026336): - Fixed issue for [page manager] module with 2665328 87.patch - as variants take entity label not the variant title -* Issue [#3020311](https://www.drupal.org/node/3020311) - by [a.qala](https://www.drupal.org/u/aqala): - Fixed accordion issue with 2921228-3.patch for - [Field Group] module with accordion field groups (both on - form and view modes) -* Issue [#3028164](https://www.drupal.org/node/3028164): - Fixed a bug of not loading general metatag defaults configs - in active config on installation -* Issue [#3028739](https://www.drupal.org/node/3028739): - Fixed issue with single slide height on full content and - single slick slide and the center of video players - --------------------------------------------------------------------------------- - -# 8.6.3 - -### Highlighted important changes since Varbase 8.6.2: - -Now you can install most Varbase components with any Drupal 8 site. Even if - installed with the Minimal or Standard profile. - -However, using them with Varbase distro and Vartheme theme gives you way much - more cool stuff! - -For an example of how to require them in Drupal 8 site you can have a look at - - [Varbase Media](https://www.drupal.org/project/varbase_media/issues/3017553) - - [Varbase Editor](https://www.drupal.org/project/varbase_editor/issues/3017550) - -* Issue [#3017555](https://www.drupal.org/node/3017555): - Changed [Varbase 8.6.x] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3020808](https://www.drupal.org/node/3020808): - Updated scripts settings for [Create new vartheme subtheme] - generator command to use -[Bootstrap library 3.4.0](https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/) -* [varbase-project] template: Added Varbase Updater for Managing Varbase updates - [#43](https://github.com/Vardot/varbase-project/issues/43) -* [varbase-project] template: Added composer-patches to repositories type vcs - for vardot/composer-patches repository - [#44](https://github.com/Vardot/varbase-project/issues/44) - -**NOTICE:** We're now using composer patches from Vardot repository to suggest -several fixes and better handling of patches in your Drupal project. -You'll notice that we have included (https://github.com/vardot/composer-patches) -in the this composer.json repositories. This will replace the original -library (cweagans/composer-patches) with our own from (vardot/composer-patches). -See https://github.com/cweagans/composer-patches/pull/243 and more details -on our changes on the composer-patches package. Once our changes get merged, -we will revert to using (cweagans/composer-patches) without this override. - -To follow with the latest work on this subject you could -have a look at our Varbase Project template file: -https://github.com/Vardot/varbase-project/blob/8.6.x/composer.json - -### Added since Varbase 8.6.2: -* Issue [#3021486](https://www.drupal.org/node/3021486): - Added [webform analysis and Webform Views Integration] - to [Varbase core] and enable in [Varbase Webform] with - install: not dependency: -* Issue [#3019580](https://www.drupal.org/node/3019580): - Added an on install permission for [Varbase Search] to grant - anonymous and authenticated users a permission to - [search content] and removed that from Varbase on install. -* [varbase-project] template: Added patch Level for drupal/core project - with -p2 level using composer-patches 1.6.5 - [#42](https://github.com/Vardot/varbase-project/issues/42) -* [varbase-project] template: Added Varbase Updater for Managing Varbase updates - [#43](https://github.com/Vardot/varbase-project/issues/43) -* [varbase-project] template: Added composer-patches to repositories type vcs - for vardot/composer-patches repository - [#44](https://github.com/Vardot/varbase-project/issues/44) - -### Changed since Varbase 8.6.2: -* Issue [#3017555](https://www.drupal.org/node/3017555): - Changed [Varbase 8.6.x] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017554](https://www.drupal.org/node/3017554): - Changed [Varbase Core] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017553](https://www.drupal.org/node/3017553): - Changed [Varbase Media] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017550](https://www.drupal.org/node/3017550): - Changed [Varbase Editor] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017502](https://www.drupal.org/node/3017502): - Changed [Varbase Blog (Corporate Blog)] composer.json to have - tilde Version Range (~) -* Issue [#3017512](https://www.drupal.org/node/3017512): - Changed [Varbase Bootstrap Paragraphs] Components - dependencies on install: enable or dependencies: enable of - modules in the .info.yml and composer.json to have tilde - Version Range (~) -* Issue [#3017517](https://www.drupal.org/node/3017517): - Changed [Varbase Landing] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017509](https://www.drupal.org/node/3017509): - Changed [Varbase Media Hero Slider] Components dependencies - on install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017507](https://www.drupal.org/node/3017507): - Changed [Varbase Carousels] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017499](https://www.drupal.org/node/3017499): - Changed [Varbase Social Single Sign-On] Components - dependencies on install: enable or dependencies: enable - of modules in the .info.yml and composer.json to - have tilde Version Range (~) - and added support for stark, bartik, bootstrap, with Vartheme -* Issue [#3017506](https://www.drupal.org/node/3017506): - Changed [Varbase Search] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017546](https://www.drupal.org/node/3017506): - Changed [Varbase SEO] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017498](https://www.drupal.org/node/3017498): - Changed [Varbase Styleguide] Components dependencies on - install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) -* Issue [#3017515](https://www.drupal.org/node/3017515): - Changed [Varbase Total Control Dashboard] Components - dependencies on install: enable or dependencies: enable of - modules in the .info.yml and composer.json to have tilde - Version Range (~) -* Issue [#3018004](https://www.drupal.org/node/3018004): - Changed [Vartheme] composer.json to have tilde Version - Range (~) -* Issue [#3018134](https://www.drupal.org/node/3018134): - Changed [Vartheme Admin] composer.json to have tilde Version - Range (~) -* Issue [#3017494](https://www.drupal.org/node/3017494): - Changed [Varbase FAQs] Components dependencies - on install: enable or dependencies: enable of modules in the - .info.yml and composer.json to have tilde Version Range (~) - -### Updates since Varbase 8.6.2: -* Issue [#3020808](https://www.drupal.org/node/3020808): - Updated scripts settings for [Create new vartheme subtheme] - generator command to use -[Bootstrap library 3.4.0](https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/) -* Issue [#3018483](https://www.drupal.org/node/3018483): - Varbase 8.6.3: Updated [CHANGELOG.md, UPDATE.md, - drupal-org.make] files and filtered the code for - Drupal 8 Coding Standard: -``` - Updated [Bootstrap] theme from 8.3.13 to 8.3.16 - Updated [View Modes Inventory - Bootstrap Ready] module from 8.2.0 to 8.2.1 - Updated [Configuration Update Manager] module from 8.1.5 to 8.1.6 - Updated [Config Filter] module from 8.1.3 to 8.1.4 - Updated [Display Suite] module from 8.3.1 to 8.3.2 - Updated [Ace Code Editor] module from 8.1.0 to 8.1.1 - Updated [Admin Toolbar] module from 8.1.24 to 8.1.25 - Updated [Webform] module from 8.5.0-rc26 to 8.5.0 - Updated [Real-time SEO for Drupal] module from 8.1.4 to 8.1.5 - Updated [Search API] module from 8.1.10 to 8.1.11 - Updated [Blazy] module from 8.1.0-rc3 to 8.1.0-rc4 - Updated [Slick Carousel] module from 8.1.0 to 8.1.1 - Updated [Slick Media] module from 8.2.0-alpha2 to 8.2.0-alpha3 -``` - -* Issue [#3019722](https://www.drupal.org/node/3019722): - Updated [Display Suite] module from 3.1 to ~3 -* Issue [#3022251](https://www.drupal.org/node/3022251): - Updated [Taxonomy Menu] module from 3.x-dev 1103ad0 3.4 - with a patch -* Issue [#3019721](https://www.drupal.org/node/3019721): - Updated [Slick Carousel] module from 1.0 to ~1.0 - -### Fixes since Varbase 8.x-6.2: -* Issue [#3019686](https://www.drupal.org/node/3019686): - Fixed issue of media image default view mode of linking the - default image to the file image. -* Issue [#3017493](https://www.drupal.org/node/3017493) - by [Muath Khraisat](https://www.drupal.org/u/muath-khraisat) - : Fixed the appearing of the image in the - entity browser widget. -* Issue [#3019107](https://www.drupal.org/node/3019107) - by [mohammad faqeh](https://www.drupal.org/u/mohammad-faqeh) - : [IE] fixed the height space under the - card image appeared on IE. -* Issue [#3012888](https://www.drupal.org/node/3012888) - by [mhawwari](https://www.drupal.org/u/malhawwari) - : Fixed Syntax Error In Card Component. -* Issue [#3022562](https://www.drupal.org/node/3022562): - Fixed Broken/missing handler on bulk action field - in Media Library view. -* Issue [#3022669](https://www.drupal.org/node/3022669): - Fixed Issue with [Localization client] of User error: - 0 is an invalid render array key. - --------------------------------------------------------------------------------- - -# 8.6.2 - -### Highlighted important changes since Varbase 8.6.1: -* Issue [#3012231](https://www.drupal.org/node/3012231): - Updated [Drupal core] from 8.6.2 to 8.6.3 - -### Added since Varbase 8.6.1: -* No new features in this version, as it's only an update for Drupal core. - -### Changed since Varbase 8.6.1: -* No changes in this version, as it's only an update for Drupal core. - -### Updates since Varbase 8.6.1: -* Issue [#3012231](https://www.drupal.org/node/3012231): - Updated [Drupal core] from 8.6.2 to 8.6.3 -* Issue [#3012288](https://www.drupal.org/node/3012288): - Updated [Webform] module from ^8.5.0-rc24 to ^8.5.0-rc26 - -### Fixes since Varbase 8.x-6.1: -* No fixes in this version, as it's only an update for Drupal core. - --------------------------------------------------------------------------------- - -# 8.6.1 - -### Highlighted important changes since Varbase 8.6.0: -* Issue [#3009782](https://www.drupal.org/node/3009782): - Updated [Paragraphs] module from 8.1.3 to 8.1.5 - -Paragraphs - Moderately critical - Access Bypass - -[SA-CONTRIB-2018-073](https://www.drupal.org/sa-contrib-2018-073) - -* Issue [#3008794](https://www.drupal.org/node/3008794): - Changed the patch for [Drupal 8.6.x core] to Allow profiles - to define a base/parent profile and load them in the - correct order. -* Issue [#3009841](https://www.drupal.org/node/3009841): - Added exposed date filters to [Content, People] views in - [Varbase Admin] module, so that admins will be able list - content or users with the selected date range. - -### Added since Varbase 8.6.0: -* Issue [#3009841](https://www.drupal.org/node/3009841): - Added exposed date filters to [Content, People] views in - [Varbase Admin] module, so that admins will be able list - content or users with the selected date range. -* Issue [#3010819](https://www.drupal.org/node/3010819): - Styled a width for [Created content from, and to] date - filters and [Registered user from, and to] date filters. -* Issue [#3009957](https://www.drupal.org/node/3009957): - Added a default [Simple sitemap] settings with - [Skip non-existent translations] checked by default. - -### Change since Varbase 8.6.0: -* Issue [#3008794](https://www.drupal.org/node/3008794): - Changed the patch for [Drupal 8.6.x core] to Allow profiles - to define a base/parent profile and load them in the correct - order. - -### Updates since Varbase 8.6.0: -* Issue [#3009782](https://www.drupal.org/node/3009782): - Updated [Paragraphs] module from 8.1.3 to 8.1.5 -* Issue [#3009790](https://www.drupal.org/node/3009790): - Updated [Better Exposed Filters] module - from ^8.3.0-alpha4 to ^8.3.0-alpha5 -* Issue [#3010216](https://www.drupal.org/node/3010216): - Updated [Real-time SEO for Drupal] module - from ^1.3 to ^1.4 -* Issue [#3009794](https://www.drupal.org/node/3009794): - Updated [Charts] module from ^8.3.0-alpha9 to ^8.3.0-beta2 - -### Fixes since Varbase 8.6.0: -* Issue [#3010008](https://www.drupal.org/node/3010008): - Fixed [Varbase default content] homepage with H1 tag for - the website name. -* Issue [#3009983](https://www.drupal.org/node/3009983): - Fixed homepage, user/login, user/register, and - user/password having no H1 -* Issue [#3010485](https://www.drupal.org/node/3010485) - by sally_nader: Made blocks titles translatable -* Issue [#3010828](https://www.drupal.org/node/3010828) - by sally_nader: Removed translation function from - blocks views templates - - --------------------------------------------------------------------------------- - -# 8.6.0 - -### Highlighted important changes since Varbase 8.5.x: -* Issue [#3003340](https://www.drupal.org/node/3003340): - Switched [Varbase Media] to use [Remote Video] with oEmbed - from Drupal 8.6.x core. -* Issue [#3006742](https://www.drupal.org/node/3006742): - Added a hint description for which remote source we can - embed in the [Embed] tab in the Varbase Entity Browsers. -* Issue [#3005535](https://www.drupal.org/node/3005535): - Enabled an OPTIONAL [Layout Builder] configs to use with the - [Default] view mode for the [Basic page] content type by - default and allow each content item to have its layout - customized. -* Issue [#3008320](https://www.drupal.org/node/3008320): - Updated the Automated Functional Acceptance Testing to cover - the new media and media library and browser updates. - -### Added since Varbase 8.5.x: -* Issue [#2993499](https://www.drupal.org/node/2993499): - Started an 8.x-6.x new branch for [Varbase] version: - 8.x-6.x-dev and extra branch-alias - with dev-8.x-6.x to 8.6.x-dev -* Issue [#3006742](https://www.drupal.org/node/3006742): - Added a hint description for which remote source we can embed - in the [Embed] tab in the Varbase Entity Browsers. -* Issue [#2995503](https://www.drupal.org/node/2995503): - Added [Layout Builder Restrictions] module 8.1.0 - -### Change since Varbase 8.5.x: -* Issue [#3003340](https://www.drupal.org/node/3003340): - Switched [Varbase Media] to use [Remote Video] with oEmbed - from Drupal 8.6.x core. -* Issue [#3006742](https://www.drupal.org/node/3006742): - Added a hint description for which remote source we can - embed in the [Embed] tab in the Varbase Entity Browsers. -* Issue [#2995503](https://www.drupal.org/node/2995503): - Added [Layout Builder Restrictions] module 8.1.0 -* Issue [#3005535](https://www.drupal.org/node/3005535): - Enabled an OPTIONAL [Layout Builder] configs to use with - the [Default] view mode for the [Basic page] content type - by default and allow each content item to have its layout - customized. -* Issue [#3005123](https://www.drupal.org/node/3005123): - Switched [Vartheme admin] to use [Remote Video] with oEmbed - from Drupal 8.6.x core. -* Issue [#3003359](https://www.drupal.org/node/3003359): - Switched [Vartheme] to use [Remote Video] with oEmbed - from Drupal 8.6.x core. -* Issue [#2998212](https://www.drupal.org/node/2998212): - Switched to use [Remote Video] with oEmbed from Drupal - 8.6.x core -* Issue [#3003267](https://www.drupal.org/node/3003267): - Changed [Varbase] profile info.yml to project:module - syntax standard not to have a broken installation of - sub profiles. -* Issue [#3001196](https://www.drupal.org/node/3001196): - Enabled [BigPipe] Drupal core module by default. -* Issue [#3008320](https://www.drupal.org/node/3008320): - Updated the Automated Functional Acceptance Testing to - cover the new media and media library and browser updates. -* Issue [#3004239](https://www.drupal.org/node/3004239): - Changed the logic of which default image field name for - media entity should be used for the Social share image - styles and tokens. -* Issue [#3003332](https://www.drupal.org/node/3003332): - Switched [Varbase Blog (Corporate Blog)] to use - [Remote Video] with oEmbed from Drupal 8.6.x core. -* Issue [#2990617](https://www.drupal.org/node/2990617): - Removed required for the categories field, not to have - issues on Blog content creation, as the categories brings - a field error message not visible. -* Issue [#3003337](https://www.drupal.org/node/3003337): - Switched [Varbase Editor] to use [Remote Video] with oEmbed - from Drupal 8.6.x core. -* Issue [#3003438](https://www.drupal.org/node/3003438): - Changed [Varbase SEO] optional config for google analytics - settings. -* Issue [#3003435](https://www.drupal.org/node/3003435): - Changed [Varbase Search] Default database server config to - have matching partial. -* Issue [#2995535](https://www.drupal.org/node/2995535): - Made Google Analytics optional - Re-structure [Varbase SEO] - dependencies to suggested installs. -* Issue [#3003438](https://www.drupal.org/node/3003438): - Changed [Varbase SEO] optional config for google analytics - settings. -* Issue [#2995712](https://www.drupal.org/node/2995712) - by alonaoneill: Capitalize the name of the module and - dependency namespacing in .info.yml file. -* Issue [#2995476](https://www.drupal.org/node/2995476): - Removed [Vartheme Material Design] themes and related modules. - -### Updates since Varbase 8.5.x: -* Issue [#3007650](https://www.drupal.org/node/3007650): - Updated [Drupal core] from 8.6.1 to 8.6.2 -* Issue [#3008154](https://www.drupal.org/node/3008154): - Updated [Webform] module from ^8.5.0-rc21 to ^8.5.0-rc24 -* Issue [#2995114](https://www.drupal.org/node/2995114): - Updated [Image Optimize (or ImageAPI Optimize)] module - from 8.2.0-alpha3 to 8.2.0-alpha4 -* Issue [#2995117](https://www.drupal.org/node/2995117): - Updated [Metatag] module from 8.1.5 to ^8.1.7 and change to - open requirement and the Drupal.org make builder. -* Issue [#3000907](https://www.drupal.org/node/3000907): - Updated [Views Bootstrap] from 3.x-dev ec4e787 to ^3.1 - (Drush make) and automated test and removed the hash commit. -* Issue [#3000924](https://www.drupal.org/node/3000924): - Updated [Search API] module from 8.1.9 to 8.1.10 (Drush make) - and automated tests. -* Issue [#3000934](https://www.drupal.org/node/3000934): - Updated [Layout Builder Restrictions] module 8.1.1 to 8.1.2 - (Drush make) -* Issue [#3000945](https://www.drupal.org/node/3000945): - Updated [Media entity Instagram] module - from 8.2.0-alpha1 to 8.2.0-alpha2 (Drush make) and - automated tests -* Issue [#3000975](https://www.drupal.org/node/3000975): - Updated [Link Attributes widget] module from 8.1.3 to 8.1.5 - (Drush make) and automated tests. -* Issue [#3007525](https://www.drupal.org/node/3007525): - Updated [Blazy] module from 8.1.0-rc2 to ^8.1.0-rc3 -* Issue [#3007529](https://www.drupal.org/node/3007529): - Updated [Config Filter] module from ^8.1.2 to ^8.1.3 -* Issue [#3007537](https://www.drupal.org/node/3007537): - Updated [Entity API] module from 8.1.0-beta4 to 8.1.0-rc1 -* Issue [#3007550](https://www.drupal.org/node/3007550): - Updated [Entity Reference Revisions] module - from ^8.1.5 to ^8.1.6 -* Issue [#3007567](https://www.drupal.org/node/3007567): - Updated [Persistent Login] module from 8.1.0 to 8.1.1 -* Issue [#3007577](https://www.drupal.org/node/3007577): - Updated [Redirect] module from ^8.1.2 to ^8.1.3 -* Issue [#3007583](https://www.drupal.org/node/3007583): - Updated [Security Kit] module from ^8.1.0 to ^8.1.1 -* Issue [#3007585](https://www.drupal.org/node/3007585): - Updated [Token] module from ^8.1.4 to ^8.1.5 - -### Fixes since Varbase 8.5.x: -* Issue [#3004098](https://www.drupal.org/node/3004098): - Fixed [Vartheme admin] theme style to work with Seven theme - from Drupal 8.6.x core. -* Issue [#3001899](https://www.drupal.org/node/3001899): - by midobel: Fixed typo in the welcome page. -* Issue [#3000014](https://www.drupal.org/node/3000014): - by mhawwari: Fixed Better Login Input Label Alignment. -* Issue [#2990965](https://www.drupal.org/node/2990965): - Fixed issue of unable to edit menu items, which related to - entity clone patch. -* Issue [#2999427](https://www.drupal.org/node/2999427): - by JayBeeDutch, Mohammed J. Razem: Fixed typo in the text - between the installation and the redirection. +# 8.7.0 + + +### Highlighted important changes since Varbase 8.6.12: + +* Issue [#3057183](https://www.drupal.org/node/3057183): + Added [Varbase API] module and have it as an + (optional component) at the varbase install steps +* Issue [#3057152](https://www.drupal.org/node/3057152): + Enabled [Varbase Bootstrap Paragraphs Text and Image] in + [Varbase Landing] module +* Issue [#3057161](https://www.drupal.org/node/3057161): + Added and enable [Paragraphs edit] in [Varbase Bootstrap + Paragraphs ] with the hook for styling in the single paragraph edit page +* Issue [#3061425](https://www.drupal.org/node/3061425): + Upgraded [Views Bulk Operations (VBO)] from ~2.0 to ~3.0 + +### Added since Varbase 8.6.12: +* Issue [#3057533](https://www.drupal.org/node/3057533): + Added and enabled [Events log track] module in the + [Varbase admin] module and enabled all Events log track + modules except Workflows +* Issue [#3063924](https://www.drupal.org/node/3063924): + Added the Masonry, Images Loaded asset libraries +* Issue [#3057151](https://www.drupal.org/node/3057151): + Enabled [Redirect domain] module in the [Varbase seo] module +* Issue [#3060110](https://www.drupal.org/node/3060110) + by + alonaoneill + : Added Hook Help following module documentation guidelines +* Issue [#3056572](https://www.drupal.org/node/3056572): + Enabled [Inline Form Errors] in [Varbase core] module +* Issue [#3056574](https://www.drupal.org/node/3056574): + Enabled [Admin toolbar links access filter] in + [Varbase admin] module + +### Changed since Varbase 8.6.12: +* Issue [#3056256](https://www.drupal.org/node/3056256): + Started an 8.x-7.x new branch for [Varbase] version: + 8.x-7.x-dev and extra branch-alias with + dev-8.x-7.x to 8.7.x-dev +* Issue [#3052174](https://www.drupal.org/node/3052174): + Started an 8.x-7.x branch for [Varbase Core] module +* Issue [#3052181](https://www.drupal.org/node/3052181): + Started an 8.x-7.x branch for [Varbase Media] module +* Issue [#3052171](https://www.drupal.org/node/3052171): + Started an 8.x-7.x branch for [Varbase Bootstrap Paragraphs] module +* Issue [#3052180](https://www.drupal.org/node/3052180): + Started an 8.x-7.x branch for [Varbase Landing] module +* Issue [#3052176](https://www.drupal.org/node/3052176): + Started an 8.x-7.x branch for [Varbase Editor] module +* Issue [#3052172](https://www.drupal.org/node/3052172): + Started an 8.x-7.x branch for [Varbase Carousels] module +* Issue [#3052169](https://www.drupal.org/node/3052169): + Started an 8.x-7.x branch for [Varbase Blog + (Corporate Blog)] module +* Issue [#3062741](https://www.drupal.org/node/3062741): + Added two new responsive preview devices + iPhone XS and iPhone XS Max +* Issue [#3063538](https://www.drupal.org/node/3063538): + Changed default password policy with no expiry for the + password and better Policy Constraints +* Issue [#3062092](https://www.drupal.org/node/3062092): + Have [Varbase Update Helper] module as a dependency with + [Varbase Core] module +* Issue [#3062094](https://www.drupal.org/node/3062094): + Removed the [Search] menu link and box from the toolbar + as we use Coffee +* Issue [#3062296](https://www.drupal.org/node/3062296): + Removed password policy fields from the user form +* Issue [#3061425](https://www.drupal.org/node/3061425): + Have Forced configs import after the entity and + definitions updates +* Issue [#3062267](https://www.drupal.org/node/3062267): + Have default config settings for Content Lock +* Issue [#3062276](https://www.drupal.org/node/3062276): + Have default general settings for Diff +* Issue [#3059093](https://www.drupal.org/node/3059093): + Changed the patch for The Media library^s View and + View Mode should be configurable in the UI and removed + the Drupal core patch which allows the user to choose + a different view or view mode for the Media Library, + and removed the 2990664-24-option-b.patch as it was + applied in Drupal 8.7.4 +* Issue [#3062083](https://www.drupal.org/node/3062083): + Changed the display and filters for Media and Media Table + pages to integrate with the new Media Library, + and changed the Media Widget for Media Library and + Media Entity Browsers +* Issue [#3060892](https://www.drupal.org/node/3060892): + Changed image form view mode to use Image (Focal Point), + and manage the media library view mode for image and cover + image for videos +* Issue [#3062083](https://www.drupal.org/node/3062083): + Changed the display and filters for Media and Media Table + pages to integrate with the new Media Library, and changed + the Media Widget for Media Library and Media Entity Browsers +* Issue [#3059098](https://www.drupal.org/node/3059098): + Changed [Save to Library] checkbox label to + [Show in media library] +* Issue [#3062258](https://www.drupal.org/node/3062258): + Changed Varbase Dashboard to work with C3 Charts and without + warning +* Issue [#3060823](https://www.drupal.org/node/3060823): + Changed the Automated Functional Acceptance Testing to work + with changes in the 8.x-7.x branch +* Issue [#3062105](https://www.drupal.org/node/3062105): + Have the Files tab in the content and media admin menu + and page +* Issue [#3062094](https://www.drupal.org/node/3062094): + Remove the [Search] menu link and box from the toolbar + as we use Coffee +* Issue [#3062296](https://www.drupal.org/node/3062296): + Removed password policy fields from the user form +* Issue [#3062276](https://www.drupal.org/node/3062276): + Have default general settings for Diff +* Issue [#3062267](https://www.drupal.org/node/3062267): + Have default config settings for Content Lock +* Issue [#3062235](https://www.drupal.org/node/3062235): + Optimized permissions for default user roles +* Issue [#3062233](https://www.drupal.org/node/3062233): + Optimized for permissions for the SEO Admin user role +* Issue [#3013288](https://www.drupal.org/node/3013288) + by + [volkswagenchick](https://www.drupal.org/u/volkswagenchick) + : Changed [Varbase Media] README - formatting, configs + and useful links +* Issue [#3063917](https://www.drupal.org/node/3063917): + Removed all patches for the [Total Control] module and + keep using the ( ~2.0 ) in the composer +* Issue [#3056342](https://www.drupal.org/node/3056342): + Changed required for Varbase Media to let ~6.6 or ~7.0 + +### Updates since Varbase 8.6.12: +* Issue [#3056587](https://www.drupal.org/node/3056587): + Updated [Drupal core] from 8.7.1 to ( ~8.7.0 ) and + removed all patches for 8.7.1 +* Issue [#3057149](https://www.drupal.org/node/3057149): + Updated [Field Group] module from 8.3.0-beta1 + to ( ~8.0 ) 8.3.0-rc1 +* Issue [#3060637](https://www.drupal.org/node/3060637): + Updated [Password Policy] from 8.3.0-alpha4 + to 8.3.0-alpha5 (~3.0 ) +* Issue [#3060682](https://www.drupal.org/node/3060682): + Updated [Page Manager] module from 8.4.0-beta3 to 8.4.0-beta4 +* Issue [#3056717](https://www.drupal.org/node/3056717): + Updated [Views Bootstrap] from ( ~3.0 ) to ( ~4.0 ) +* Issue [#3063632](https://www.drupal.org/node/3063632): + Updated [OpenAPI] from 8.1.0-beta2 to 8.1.0-beta3 +* Issue [#3060661](https://www.drupal.org/node/3060661): + Updated [Entity Embed] module from 8.1.0-beta3 + to 8.1.0-rc1 ( ~1.0 ) +* Issue [#3061434](https://www.drupal.org/node/3061434): + Upgraded [Views Bulk Operations (VBO)] module from ~2.0 to ~3.0 + +### Fixes since Varbase 8.x-6.12: +* Issue [#3057533](https://www.drupal.org/node/3057533): + Fixed fatal error when we request password with non-existing + users/emails on the Events Log Track User Authentication +* Issue [#3061128](https://www.drupal.org/node/3061128): + Fixed the issue of oembed link does not pass the URL + parameter to the provider +* Issue [#3066186](https://www.drupal.org/node/3066186): + Fixed Drupal coding standard and practice +* Issue [#3061159](https://www.drupal.org/node/3061159): + Fixed Varbase API .info.yml for dev tracking +* Issue [#3059043](https://www.drupal.org/node/3059043): + Fixed paragraphs module to have it work with + field group version 3 +* Issue [#3063701](https://www.drupal.org/node/3063701): + Fixed issue of route openapi.docs does not exist. as it was + changed to openapi.documentation in OpenAPI module +* Issue [#3063703](https://www.drupal.org/node/3063703): + Fixed issue of NOT respecting disabled JSON:API resources by JSON:API Extras +* Issue [#3056662](https://www.drupal.org/node/3056662) + by + [YousefAnbar](https://www.drupal.org/u/yousefanbar) + , + [RajabNatshah](https://www.drupal.org/u/rajabnatshah) + : Fixed RTL style in Vartheme BS4 for the better login page +* Issue [#3065344](https://www.drupal.org/node/3065344) + by + [m.alhawwari](https://www.drupal.org/u/malhawwari) + , + [RajabNatshah](https://www.drupal.org/u/rajabnatshah) + : Fixed issue of swagger-ui package should be moved from + vendor to libraries +* Issue [#3058511](https://www.drupal.org/node/3058511) + by + [jedgar1mx](https://www.drupal.org/u/jedgar1mx) + : Fixed Uncaught TypeError: Cannot read property + 'querySelectorAll' of null +* Issue [#3059083](https://www.drupal.org/node/3059083) + by + [Omar Alahmed](https://www.drupal.org/u/omar-alahmed) + : Fixed fatal error when trying to translate a node + with accordion paragraph type +* Issue [#3048170](https://www.drupal.org/node/3048170) + by + [stefan.korn](https://www.drupal.org/u/stefankorn) + : Fixed issue of drush varbase-up not working with Drush 9.x diff --git a/README.md b/README.md index 06cdad50..818f854b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[](https://travis-ci.org/Vardot/varbase) Varbase 8.7.x +[](https://travis-ci.org/Vardot/varbase) Varbase 8.7.0 [](https://www.drupal.org/project/varbase) @@ -26,6 +26,10 @@ instructions. # Install with Composer +To install the most recent stable release of Varbase 8.7.x run this command: +``` +composer create-project Vardot/varbase-project:^8.7.0 PROJECT_DIR_NAME --no-dev --no-interaction +``` To install the dev version of Varbase 8.7.x run this command: ``` diff --git a/UPDATE.md b/UPDATE.md index 63371647..c4f6669d 100644 --- a/UPDATE.md +++ b/UPDATE.md @@ -1,53 +1,96 @@ -Visit https://docs.varbase.vardot.com/updating-varbase for an up-to-date and further detailed documentation process. +Visit https://docs.varbase.vardot.com/updating-varbase for an up-to-date and + further detailed documentation process. # Updating a Varbase Site ## Before You Update -Updating Varbase is best done through Composer. We will assume that you have [installed Varbase the recommended way](../getting-started/installing-varbase.md) through the Composer-based project template [varbase-project](https://github.com/Vardot/varbase-project) by running the command: `composer create-project Vardot/varbase-project:^8.6 YOUR_PROJECT --no-dev --no-interaction` +Updating Varbase is best done through Composer. We will assume that you have + [installed Varbase the recommended way](../getting-started/installing-varbase.md) through the Composer-based project template [varbase-project](https://github.com/Vardot/varbase-project) by running the command: `composer create-project Vardot/varbase-project:^8.6 YOUR_PROJECT --no-dev --no-interaction` -This will create the Varbase project directory that will look like this: `/path/to/YOUR_PROJECT` with the Drupal 8 codebase installed via Varbase installation profile in `/path/to/YOUR_PROJECT/docroot`. +This will create the Varbase project directory that will look like this: + `/path/to/YOUR_PROJECT` with the Drupal 8 codebase installed via Varbase + installation profile in `/path/to/YOUR_PROJECT/docroot`. ## The Update Process -There are two main update processes we will cover. 1\) Automated process using a tool we've developed to ease the update process for Varbase called [varbase-updater](https://github.com/Vardot/varbase-updater). 2\) Manual process if you wish to take matters into your own hands. +There are two main update processes we will cover. 1\) Automated process + using a tool we've developed to ease the update process for Varbase called + [varbase-updater](https://github.com/Vardot/varbase-updater). 2\) Manual + process if you wish to take matters into your own hands. ### OPTION 1: Automated Process — Using Varbase Updater -If you previously used our Composer-based project template to install Varbase [varbase-project](https://github.com/Vardot/varbase-project), complete the following steps to update your codebase’s installed version of Varbase: - -1. From a command prompt window, navigate to your project: `cd /path/to/YOUR_PROJECT` -2. If you're using Varbase 8.6.2 or older, install [varbase-updater](https://github.com/Vardot/varbase-updater) through Composer. `composer require vardot/varbase-updater` If you're using Varbase 8.6.3 or newer, skip this step; [varbase-updater](https://github.com/Vardot/varbase-updater) comes pre-installed with your Varbase project. +If you previously used our Composer-based project template to install + Varbase [varbase-project](https://github.com/Vardot/varbase-project), +complete the following steps to update your codebase’s installed version + of Varbase: + +1. From a command prompt window, navigate to your project: + `cd /path/to/YOUR_PROJECT` +2. If you're using Varbase 8.6.2 or older, install + [varbase-updater](https://github.com/Vardot/varbase-updater) through + Composer. `composer require vardot/varbase-updater` + If you're using Varbase 8.6.3 or newer, skip this step; + [varbase-updater](https://github.com/Vardot/varbase-updater) + comes pre-installed with your Varbase project. 3. Run the Varbase update tool. `./bin/update-varbase.sh` 4. Follow the wizard. _Curious?_ [_Learn more_ ](understanding-varbase-updater-package.md)_about what's going on in the Varbase Updater wizard._ 5. Buy yourself a drink! You're done. -6. After the update finishes and you get a success message, navigate to _http://my.varbase-site.local/admin/config/development/update-helper_ \(where my.varbase-site.local is the URL for your website\) to learn about the new changes and updates introduced in your Varbase site. +6. After the update finishes and you get a success message, navigate to + _http://my.varbase-site.local/admin/config/development/update-helper_ + \(where my.varbase-site.local is the URL for your website\) to learn about + the new changes and updates introduced in your Varbase site. -At the end of the update process, two log files are useful to troubleshoot your update: +At the end of the update process, two log files are useful to troubleshoot + your update: -* `varbase_update_error.log`: a log of all errors that occurred during the update process. -* `varbase_failed_patches.log`: a log of all patches that failed to apply during the update process. +* `varbase_update_error.log`: a log of all errors that occurred during the + update process. +* `varbase_failed_patches.log`: a log of all patches that failed to apply + during the update process. ### OPTION 2: Manual Process — Do it Yourself -1. From a command prompt window, navigate to your project: `cd /path/to/YOUR_PROJECT` +1. From a command prompt window, navigate to your project: + `cd /path/to/YOUR_PROJECT` 2. Edit your _composer.json_ file to be ready for updates. You have two choices. - 1. **The hard way:** Edit your _composer.json_ to include all the new updates made in [varbase-project](https://github.com/Vardot/varbase-project/blob/8.7.x/composer.json). This includes the new components required and its versions _"require"_, _"repositories"_, _"extra"_, and any other important config. You can use a diff tool such as [Meld](http://meldmerge.org/) or [DiffMerge](https://sourcegear.com/diffmerge/) to help you diff between your old _composer.json_ and the new one from [varbase-project](https://github.com/Vardot/varbase-project/blob/8.7.x/composer.json). + 1. **The hard way:** Edit your _composer.json_ to include + all the new updates made in + [varbase-project](https://github.com/Vardot/varbase-project/blob/8.7.x/composer.json). + This includes the new components required and its versions + _"require"_, _"repositories"_, _"extra"_, and any other important config. + You can use a diff tool such as [Meld](http://meldmerge.org/) or + [DiffMerge](https://sourcegear.com/diffmerge/) to help you diff between + your old _composer.json_ and the new one from + [varbase-project](https://github.com/Vardot/varbase-project/blob/8.7.x/composer.json). 2. **The easy way:** - 1. If you're using Varbase 8.6.2 or older, install [varbase-updater](https://github.com/Vardot/varbase-updater) through Composer. `composer require vardot/varbase-updater` If you're using Varbase 8.6.3 or newer, skip this step; [varbase-updater](https://github.com/Vardot/varbase-updater) comes pre-installed with your Varbase project. - 2. Then run: `composer varbase-refactor-composer composer.new.json docroot` where _docroot_ is your Drupal project codebase. - 3. Move your new Composer file _composer.new.json_ in place of the old one. `mv composer.json composer.json.b; \ mv composer.new.json composer.json` + 1. If you're using Varbase 8.6.2 or older, install + [varbase-updater](https://github.com/Vardot/varbase-updater) through Composer. + `composer require vardot/varbase-updater` + If you're using Varbase 8.6.3 or newer, skip this step; + [varbase-updater](https://github.com/Vardot/varbase-updater) + comes pre-installed with your Varbase project. + 2. Then run: + `composer varbase-refactor-composer composer.new.json docroot` + where _docroot_ is your Drupal project codebase. + 3. Move your new Composer file _composer.new.json_ in place of + the old one. `mv composer.json composer.json.b; \ mv composer.new.json composer.json` 3. Back up your code and database -4. Execute Composer update to download updates to modules and libraries. `composer update` -5. Run your database updates. `drush updatedb` or by navigating to _http://my.varbase-site.local/update.php_ \(where _my.varbase-site.local_ is the URL for your website\) and follow the on-screen instructions. -6. After the update finishes and you get a success message, navigate to _http://my.varbase-site.local/admin/config/development/update-helper_ \(where _my.varbase-site.local_ is the URL for your website\) to learn about the new changes and updates introduced in your Varbase site. - - - +4. Execute Composer update to download updates to modules and libraries. + `composer update` +5. Run your database updates. `drush updatedb` or by navigating + to _http://my.varbase-site.local/update.php_ +\(where _my.varbase-site.local_ is the URL for your website\) and + follow the on-screen instructions. +6. After the update finishes and you get a success message, navigate + to _http://my.varbase-site.local/admin/config/development/update-helper_ +\(where _my.varbase-site.local_ is the URL for your website\) to learn + about the new changes and updates introduced in your Varbase site. diff --git a/behat.varbase-tools.yml b/behat.varbase-tools.yml index f0147b94..dbaa7d52 100644 --- a/behat.varbase-tools.yml +++ b/behat.varbase-tools.yml @@ -5,4 +5,4 @@ default: suites: default: paths: - features: %paths.base%/tests/tools \ No newline at end of file + features: %paths.base%/tests/tools diff --git a/composer.json b/composer.json index cbea16ef..b37a188c 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "drupal": { "type": "composer", "url": "https://packages.drupal.org/8" - }, + }, "assets": { "type": "composer", "url": "https://asset-packagist.org" @@ -33,23 +33,23 @@ "drupal-composer/drupal-scaffold": "~2.0", "drupal/drupal-library-installer-plugin": "^0.3", "drupal/varbase_core": "7.x-dev", - "drupal/varbase_api": "7.x-dev", - "drupal/varbase_media": "7.x-dev", - "drupal/varbase_bootstrap_paragraphs": "7.x-dev", - "drupal/varbase_editor": "7.x-dev", - "drupal/varbase_landing": "7.x-dev", - "drupal/varbase_search": "6.x-dev", - "drupal/varbase_seo": "6.x-dev", - "drupal/varbase_heroslider_media": "7.x-dev", - "drupal/varbase_carousels": "7.x-dev", - "drupal/varbase_total_control": "6.x-dev", - "drupal/varbase_auth": "6.x-dev", - "drupal/varbase_blog": "7.x-dev", - "drupal/varbase_styleguide": "6.x-dev", - "drupal/varbase_email": "6.x-dev", - "drupal/vartheme": "6.x-dev", - "drupal/vartheme_bs4": "6.x-dev", - "drupal/vartheme_admin": "6.x-dev" + "drupal/varbase_api": "~7.0", + "drupal/varbase_media": "~7.0", + "drupal/varbase_bootstrap_paragraphs": "~7.0", + "drupal/varbase_editor": "~7.0", + "drupal/varbase_landing": "~7.0", + "drupal/varbase_heroslider_media": "~7.0", + "drupal/varbase_carousels": "~7.0", + "drupal/varbase_blog": "~7.0", + "drupal/varbase_search": "~6.0", + "drupal/varbase_seo": "~6.0", + "drupal/varbase_auth": "~6.0", + "drupal/varbase_total_control": "~6.0", + "drupal/varbase_styleguide": "~6.0", + "drupal/varbase_email": "~6.0", + "drupal/vartheme": "~6.0", + "drupal/vartheme_bs4": "~6.0", + "drupal/vartheme_admin": "~6.0" }, "require-dev": { "drupal/console": "~1.0", diff --git a/configbit/development.tools.varbase.bit.yml b/configbit/development.tools.varbase.bit.yml index 9bd9c3dc..52f6295e 100644 --- a/configbit/development.tools.varbase.bit.yml +++ b/configbit/development.tools.varbase.bit.yml @@ -19,4 +19,4 @@ config_bit: title: "Varbase Style guide" description: "Install Varbase custom styling guide if you want to have a full look for Varbase components, Bootstrap elements, and view mode style for content types. This will install several modules that help you on themeing and styling your site, such as <a href=\"https://www.drupal.org/project/styleguide\" target=\"_blank\">Style Guide</a>." selected: false - config_form: false \ No newline at end of file + config_form: false diff --git a/css/admin-toolbar-tools.css b/css/admin-toolbar-tools.css index 89c2e929..a2c79542 100644 --- a/css/admin-toolbar-tools.css +++ b/css/admin-toolbar-tools.css @@ -10,9 +10,9 @@ } span .cke_button__embed_icon { - background-image:url('../images/embed.png') !important; + background-image: url('../images/embed.png') !important; } span .cke_button__media_icon { - background-image:url('../images/embed-media.png') !important; + background-image: url('../images/embed-media.png') !important; } diff --git a/drupal-org-core.make b/drupal-org-core.make index 73f369b2..dca9fd83 100644 --- a/drupal-org-core.make +++ b/drupal-org-core.make @@ -3,7 +3,7 @@ core = 8.x ; Drupal Core projects[drupal][type] = "core" -projects[drupal][version] = "8.7.2" +projects[drupal][version] = "8.7.4" ;; Issue #2869592: Disabled update module shouldn't produce a status report warning projects[drupal][patch][] = https://www.drupal.org/files/issues/2869592-remove-update-warning-7.patch ;; Issue #2885441: EntityReferenceAutocompleteWidget should define its size setting as an integer @@ -16,3 +16,9 @@ projects[drupal][patch][] = https://www.drupal.org/files/issues/2018-10-12/13562 projects[drupal][patch][] = https://www.drupal.org/files/issues/2018-07-09/2914389-8-do-not-test.patch ;; Issue #2893892: Fixed Warning Invalid argument supplied for foreach() in Drupal projects[drupal][patch][] = https://www.drupal.org/files/issues/2018-12-10/core--getDerivatives-Invalid-argument-foreach--2893892-11-d8.patch +;; Issue #3044656: Add a helper method to strip subdirectories from URL paths +projects[drupal][patch][] = https://www.drupal.org/files/issues/2019-03-31/3044656-2.patch +;; Issue #2646744: Drupal Core Url does not accept root-relative (file) URLs, making it impossible to let LinkGenerator create root-relative file URL links +projects[drupal][patch][] = https://www.drupal.org/files/issues/2018-12-15/2646744-34.patch +;; Issue #3060550: oembed link does not pass the URL parameter to the provider +projects[drupal][patch][] = https://www.drupal.org/files/issues/2019-06-10/3060550-oembed-link-does-not-pass-url-parameter-to-provider-1.patch diff --git a/drupal-org.make b/drupal-org.make index 777345b1..bdb6ee7a 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -26,11 +26,9 @@ projects[token][type] = module projects[token][version] = 1.5 projects[page_manager][type] = module -projects[page_manager][version] = 4.0-beta3 +projects[page_manager][version] = 4.0-beta4 ;; Issue #2665328: Variants take entity label not the variant title projects[page_manager][patch][] = https://www.drupal.org/files/issues/2018-12-12/2665328-variants-take-entity-label-87.patch -;; Issue #3033057: Page Manager currently not working with CTools 3.1 -projects[page_manager][patch][] = https://www.drupal.org/files/issues/2019-02-23/3033057-13.patch projects[panels][type] = module projects[panels][version] = 4.4 @@ -47,12 +45,10 @@ projects[ds][version] = 3.3 projects[ds][patch][] = https://www.drupal.org/files/issues/2019-03-03/2920868-12.patch projects[views_bootstrap][type] = module -projects[views_bootstrap][version] = 3.1 +projects[views_bootstrap][version] = 4.1 projects[field_group][type] = module projects[field_group][version] = 3.0-beta1 -;; Issue #2921228: Accordion does not work -projects[field_group][patch][] = https://www.drupal.org/files/issues/field_group_accordion-2921228-3.patch projects[smart_trim][type] = module projects[smart_trim][version] = 1.1 @@ -76,21 +72,19 @@ projects[image_resize_filter][type] = module projects[image_resize_filter][version] = 1.0-beta1 projects[views_infinite_scroll][type] = module -projects[views_infinite_scroll][version] = 1.5 +projects[views_infinite_scroll][version] = 1.6 projects[embed][type] = module projects[embed][version] = 1.0 projects[entity][type] = module -projects[entity][version] = 1.0-rc2 +projects[entity][version] = 1.0-rc3 projects[entity_clone][type] = module projects[entity_clone][version] = 1.0-beta3 projects[entity_browser][type] = module -projects[entity_browser][version] = 2.1 -;; Issue #2865928: The View widget should filter based on field settings. -projects[entity_browser][patch][] = https://www.drupal.org/files/issues/entity-browser-view-context-2865928-14.patch +projects[entity_browser][version] = 2.2 ;; Issue #2877751: Inform users how many items they can add to a field that uses an entity browser. projects[entity_browser][patch][] = https://www.drupal.org/files/issues/2877751-27-8.x-2.x.patch @@ -98,11 +92,7 @@ projects[dropzonejs][type] = module projects[dropzonejs][version] = 2.0-alpha4 projects[entity_embed][type] = module -projects[entity_embed][version] = 1.0-beta3 -;; Issue #2832504: Send the CKEditor instance ID to the embed.preview route. -projects[entity_embed][patch][] = https://www.drupal.org/files/issues/2832504-2.patch -;; Issue #2511404: Image entities/fields embedded using Entity Embed cannot be linked in CKEditor. -projects[entity_embed][patch][] = https://www.drupal.org/files/issues/2018-04-23/25114040-47.patch +projects[entity_embed][version] = 1.0 projects[inline_entity_form][type] = module projects[inline_entity_form][version] = 1.0-rc1 @@ -113,9 +103,6 @@ projects[media_entity_instagram][version] = 2.0-alpha2 projects[media_entity_twitter][type] = module projects[media_entity_twitter][version] = 2.0-alpha3 -projects[media_entity_googledocs][type] = module -projects[media_entity_googledocs][version] = 4.0 - projects[crop][type] = module projects[crop][version] = 2.0-rc1 @@ -134,13 +121,13 @@ projects[ace_editor][type] = module projects[ace_editor][version] = 1.1 projects[entityqueue][type] = module -projects[entityqueue][version] = 1.0-beta2 +projects[entityqueue][version] = 1.0-beta5 projects[entityqueue_form_widget][type] = module -projects[entityqueue_form_widget][version] = 1.0-beta3 +projects[entityqueue_form_widget][version] = 1.0-rc1 projects[imagemagick][type] = module -projects[imagemagick][version] = 2.4 +projects[imagemagick][version] = 2.5 projects[imageapi_optimize][type] = module projects[imageapi_optimize][version] = 2.0-alpha4 @@ -163,7 +150,7 @@ projects[roleassign][type] = module projects[roleassign][version] = 1.0-alpha2 projects[admin_toolbar][type] = module -projects[admin_toolbar][version] = 1.26 +projects[admin_toolbar][version] = 1.27 projects[adminimal_admin_toolbar][type] = module projects[adminimal_admin_toolbar][version] = 1.9 @@ -255,7 +242,7 @@ projects[autocomplete_deluxe][type] = module projects[autocomplete_deluxe][version] = 1.0-beta1 projects[link_attributes][type] = module -projects[link_attributes][version] = 1.6 +projects[link_attributes][version] = 1.8 projects[paragraphs[type] = module projects[paragraphs][version] = 1.8 @@ -271,7 +258,7 @@ projects[paragraphs_features][type] = module projects[paragraphs_features][version] = 1.4 projects[paragraphs_asymmetric_translation_widgets][type] = module -projects[paragraphs_asymmetric_translation_widgets][version] = 1.0-beta1 +projects[paragraphs_asymmetric_translation_widgets][version] = 1.0-beta2 projects[color_field][type] = module projects[color_field][version] = 2.0 @@ -292,7 +279,7 @@ projects[charts][type] = module projects[charts][version] = 3.0-beta3 projects[google_analytics_reports][type] = module -projects[google_analytics_reports][version] = 3.0-beta2 +projects[google_analytics_reports][version] = 3.0-beta3 projects[login_destination][type] = module projects[login_destination][version] = 1.0-alpha2 @@ -321,7 +308,7 @@ projects[social_auth_linkedin][type] = module projects[social_auth_linkedin][version] = 2.0-beta3 projects[ckeditor_media_embed][type] = module -projects[ckeditor_media_embed][version] = 1.3 +projects[ckeditor_media_embed][version] = 1.6 ;; Issue #2900313: Add ability to embed tweets and other rich content in WYSIWYG projects[ckeditor_media_embed][patch][] = https://www.drupal.org/files/issues/embed_rich_content_in_WYSIWYG-2900313-2.patch @@ -332,7 +319,7 @@ projects[pathauto][type] = module projects[pathauto][version] = 1.4 projects[redirect][type] = module -projects[redirect][version] = 1.3 +projects[redirect][version] = 1.4 projects[metatag][type] = module projects[metatag][version] = 1.8 @@ -341,7 +328,7 @@ projects[schema_metatag][type] = module projects[schema_metatag][version] = 1.3 projects[simple_sitemap][type] = module -projects[simple_sitemap][version] = 3.1 +projects[simple_sitemap][version] = 3.2 projects[google_analytics][type] = module projects[google_analytics][version] = 2.4 @@ -356,12 +343,10 @@ projects[username_enumeration_prevention][type] = module projects[username_enumeration_prevention][version] = 1.0-beta2 projects[password_policy][type] = module -projects[password_policy][version] = 3.0-alpha4 -;; Issue #3032549: Fix Password policy module issue with saving constraint -projects[password_policy][patch][] = https://www.drupal.org/files/issues/2019-04-28/3032549-18.patch +projects[password_policy][version] = 3.0-alpha5 projects[seckit][type] = module -projects[seckit][version] = 1.1 +projects[seckit][version] = 1.2 projects[security_review][type] = module projects[security_review][version] = 1.x-dev @@ -437,13 +422,13 @@ projects[checklistapi][version] = 1.10 ;;;;;;;;;;;;;;;;;;;;; projects[bootstrap][type] = theme -projects[bootstrap][version] = 3.19 +projects[bootstrap][version] = 3.20 projects[bootstrap_barrio][type] = theme projects[bootstrap_barrio][version] = 4.22 projects[adminimal_theme][type] = theme -projects[adminimal_theme][version] = 1.4 +projects[adminimal_theme][version] = 1.5 ;;;;;;;;;;;;;;;;;;;;; ;; General Public contributed modules. @@ -459,68 +444,69 @@ projects[vmi][type] = module projects[vmi][version] = 2.2 projects[total_control][type] = module -projects[total_control][version] = 2.0-alpha4 -;; Issue #2935351: Fixed the issue when Enabled with multilingual of Translatable Markup for Invalid Argument Exception: $string (Array) must be a string. -projects[total_control][patch][] = https://www.drupal.org/files/issues/2935351-2.patch +projects[total_control][version] = 2.0-beta2 ;;;;;;;;;;;;;;;;;;;;; ;; Varbase public contributed modules. ;;;;;;;;;;;;;;;;;;;;; projects[varbase_core][type] = module -projects[varbase_core][version] = 7.x-dev +projects[varbase_core][version] = 7.0 + +projects[varbase_api][type] = module +projects[varbase_api][version] = 7.3 projects[varbase_media][type] = module -projects[varbase_media][version] = 7.x-dev +projects[varbase_media][version] = 7.1 projects[varbase_bootstrap_paragraphs][type] = module -projects[varbase_bootstrap_paragraphs][version] = 7.x-dev +projects[varbase_bootstrap_paragraphs][version] = 7.0 projects[varbase_editor][type] = module -projects[varbase_editor][version] = 7.x-dev +projects[varbase_editor][version] = 7.0 projects[varbase_landing][type] = module -projects[varbase_landing][version] = 7.x-dev - -projects[varbase_search][type] = module -projects[varbase_search][version] = 6.x-dev - -projects[varbase_seo][type] = module -projects[varbase_seo][version] = 6.x-dev +projects[varbase_landing][version] = 7.0 projects[varbase_heroslider_media][type] = module -projects[varbase_heroslider_media][version] = 7.x-dev +projects[varbase_heroslider_media][version] = 7.0 projects[varbase_carousels][type] = module -projects[varbase_carousels][version] = 7.x-dev +projects[varbase_carousels][version] = 7.0 + +projects[varbase_blog][type] = module +projects[varbase_blog][version] = 7.0 + +projects[varbase_search][type] = module +projects[varbase_search][version] = 6.2 + +projects[varbase_seo][type] = module +projects[varbase_seo][version] = 6.4 projects[varbase_total_control][type] = module -projects[varbase_total_control][version] = 6.x-dev +projects[varbase_total_control][version] = 6.5 projects[varbase_auth][type] = module -projects[varbase_auth][version] = 6.x-dev - -projects[varbase_blog][type] = module -projects[varbase_blog][version] = 7.x-dev +projects[varbase_auth][version] = 6.4 projects[varbase_styleguide][type] = module -projects[varbase_styleguide][version] = 6.x-dev +projects[varbase_styleguide][version] = 6.2 projects[varbase_email][type] = module -projects[varbase_email][version] = 6.x-dev +projects[varbase_email][version] = 6.0-alpha1 ;;;;;;;;;;;;;;;;;;;;; ;; Varbase public contributed themes. ;;;;;;;;;;;;;;;;;;;;; projects[vartheme][type] = theme -projects[vartheme][version] = 6.x-dev +projects[vartheme][version] = 6.6 projects[vartheme_bs4][type] = theme -projects[vartheme_bs4][version] = 6.x-dev +projects[vartheme_bs4][version] = 6.0-rc3 projects[vartheme_admin][type] = theme -projects[vartheme_admin][version] = 6.x-dev +projects[vartheme_admin][version] = 6.6 ;;;;;;;;;;;;;;;;;;;;; ;; Libraries diff --git a/src/Config/ConfigBit.php b/src/Config/ConfigBit.php index fdcdad25..c975c608 100644 --- a/src/Config/ConfigBit.php +++ b/src/Config/ConfigBit.php @@ -96,7 +96,7 @@ class ConfigBit { } } else { - return array(); + return []; } } diff --git a/src/Entity/VarbaseEntityDefinitionUpdateManager.php b/src/Entity/VarbaseEntityDefinitionUpdateManager.php index 82320bd6..b1c449e5 100644 --- a/src/Entity/VarbaseEntityDefinitionUpdateManager.php +++ b/src/Entity/VarbaseEntityDefinitionUpdateManager.php @@ -14,7 +14,8 @@ use Drupal\Core\Field\FieldStorageDefinitionListenerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Varbase Entity Definition Update Manager + * Varbase Entity Definition Update Manager. + * * Customized class from the Devel Entity Updates module * Development version of the entity definition update manager. */ @@ -184,7 +185,7 @@ final class VarbaseEntityDefinitionUpdateManager implements ContainerInjectionIn * The operation to perform, possible values are: * - EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED * - EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED - * - EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED + * - EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED. * @param \Drupal\Core\Field\FieldStorageDefinitionInterface|null $storage_definition * (optional) The new field storage definition. Defaults to none. * @param \Drupal\Core\Field\FieldStorageDefinitionInterface|null $original_storage_definition diff --git a/src/Form/AssemblerForm.php b/src/Form/AssemblerForm.php index 1db04597..d6dca837 100644 --- a/src/Form/AssemblerForm.php +++ b/src/Form/AssemblerForm.php @@ -40,9 +40,9 @@ class AssemblerForm extends FormBase { * * @param string $root * The Drupal application root. - * @param InfoParserInterface $info_parser + * @param \Drupal\Core\Extension\InfoParserInterface $info_parser * The info parser service. - * @param TranslationInterface $translator + * @param \Drupal\Core\StringTranslation\TranslationInterface $translator * The string translation service. * @param \Drupal\varbase\Form\FormHelper $form_helper * The form helper. @@ -144,10 +144,10 @@ class AssemblerForm extends FormBase { include_once $formbit_file_name; // Add configuration form element in the formbit position. call_user_func_array($extra_feature_key . "_build_formbit", - array(&$form['extra_features'][$extra_feature_key . '_config'], + [&$form['extra_features'][$extra_feature_key . '_config'], &$form_state, &$install_state, - ) + ] ); } } @@ -212,10 +212,10 @@ class AssemblerForm extends FormBase { include_once $formbit_file_name; // Add configuration form element in the formbit position. call_user_func_array($demo_content_key . "_build_formbit", - array(&$form['demo_content'][$demo_content_key . '_config'], + [&$form['demo_content'][$demo_content_key . '_config'], &$form_state, &$install_state, - ) + ] ); } } @@ -261,7 +261,7 @@ class AssemblerForm extends FormBase { if (file_exists($formbit_file_name)) { include_once $formbit_file_name; - $extra_features_editable_configs = call_user_func_array($extra_feature_key . "_get_editable_config_names", array()); + $extra_features_editable_configs = call_user_func_array($extra_feature_key . "_get_editable_config_names", []); if (count($extra_features_editable_configs)) { foreach ($extra_features_editable_configs as $extra_features_editable_config_key => $extra_features_editable_config) { @@ -299,7 +299,7 @@ class AssemblerForm extends FormBase { if (file_exists($formbit_file_name)) { include_once $formbit_file_name; - $demo_content_editable_configs = call_user_func_array($demo_content_key . "_get_editable_config_names", array()); + $demo_content_editable_configs = call_user_func_array($demo_content_key . "_get_editable_config_names", []); if (count($demo_content_editable_configs)) { foreach ($demo_content_editable_configs as $demo_content_editable_config_key => $demo_content_editable_config) { diff --git a/src/Form/ConfigureMultilingualForm.php b/src/Form/ConfigureMultilingualForm.php index ee5f05d7..d609ca54 100644 --- a/src/Form/ConfigureMultilingualForm.php +++ b/src/Form/ConfigureMultilingualForm.php @@ -40,9 +40,9 @@ class ConfigureMultilingualForm extends FormBase { * * @param string $root * The Drupal application root. - * @param InfoParserInterface $info_parser + * @param \Drupal\Core\Extension\InfoParserInterface $info_parser * The info parser service. - * @param TranslationInterface $translator + * @param \Drupal\Core\StringTranslation\TranslationInterface $translator * The string translation service. * @param \Drupal\varbase\Form\FormHelper $form_helper * The form helper. @@ -79,8 +79,8 @@ class ConfigureMultilingualForm extends FormBase { public function buildForm(array $form, FormStateInterface $form_state, array &$install_state = NULL) { $standard_languages = LanguageManager::getStandardLanguageList(); - $select_options = array(); - $browser_options = array(); + $select_options = []; + $browser_options = []; foreach ($standard_languages as $langcode => $language_names) { $select_options[$langcode] = $language_names[0]; @@ -103,37 +103,37 @@ class ConfigureMultilingualForm extends FormBase { } $form['#title'] = $this->t('Multilingual configuration'); - $form['multilingual_configuration_introduction'] = array( + $form['multilingual_configuration_introduction'] = [ '#weight' => -1, '#prefix' => '<p>', '#markup' => '<b>' . $default_language_name . '</b> ' . $this->t("is the default language."), '#suffix' => '</p>', - ); + ]; - $form['enable_multilingual'] = array( + $form['enable_multilingual'] = [ '#type' => 'checkbox', '#title' => $this->t('Enable multiple languages for this site'), '#description' => $this->t('This will enable the necessary modules for a multilingual website. These include: Language, Interface Translation, Content Translation, Configuration Translation, and its recommended configuration.'), '#default_value' => FALSE, - ); + ]; - $form['multilingual_languages'] = array( + $form['multilingual_languages'] = [ '#type' => 'select', '#title' => $this->t("Please select your site's other language(s)"), '#description' => $this->t('You can skip this and add languages later.'), '#options' => $select_options, '#multiple' => TRUE, '#size' => 8, - '#attributes' => array('style' => 'width:100%;'), - '#states' => array( - 'visible' => array( - ':input[name="enable_multilingual"]' => array('checked' => TRUE), - ), - 'invisible' => array( - ':input[name="enable_multilingual"]' => array('checked' => FALSE), - ), - ), - ); + '#attributes' => ['style' => 'width:100%;'], + '#states' => [ + 'visible' => [ + ':input[name="enable_multilingual"]' => ['checked' => TRUE], + ], + 'invisible' => [ + ':input[name="enable_multilingual"]' => ['checked' => FALSE], + ], + ], + ]; $form['actions'] = [ 'continue' => [ diff --git a/src/Form/DevelopmentToolsAssemblerForm.php b/src/Form/DevelopmentToolsAssemblerForm.php index 0efdee30..21521df8 100644 --- a/src/Form/DevelopmentToolsAssemblerForm.php +++ b/src/Form/DevelopmentToolsAssemblerForm.php @@ -40,9 +40,9 @@ class DevelopmentToolsAssemblerForm extends FormBase { * * @param string $root * The Drupal application root. - * @param InfoParserInterface $info_parser + * @param \Drupal\Core\Extension\InfoParserInterface $info_parser * The info parser service. - * @param TranslationInterface $translator + * @param \Drupal\Core\StringTranslation\TranslationInterface $translator * The string translation service. * @param \Drupal\varbase\Form\FormHelper $form_helper * The form helper. @@ -145,10 +145,10 @@ class DevelopmentToolsAssemblerForm extends FormBase { include_once $formbit_file_name; // Add configuration form element in the formbit position. call_user_func_array($development_tool_key . "_build_formbit", - array(&$form['development_tools'][$development_tool_key . '_config'], + [&$form['development_tools'][$development_tool_key . '_config'], &$form_state, &$install_state, - ) + ] ); } } @@ -192,7 +192,7 @@ class DevelopmentToolsAssemblerForm extends FormBase { if (file_exists($formbit_file_name)) { include_once $formbit_file_name; - $development_tools_editable_configs = call_user_func_array($development_tool_key . "_get_editable_config_names", array()); + $development_tools_editable_configs = call_user_func_array($development_tool_key . "_get_editable_config_names", []); if (count($development_tools_editable_configs)) { foreach ($development_tools_editable_configs as $development_tools_editable_config_key => $development_tools_editable_config) { diff --git a/src/FormBit/varbase_auth.formbit.php b/src/FormBit/varbase_auth.formbit.php index 401919fc..f19ae32d 100644 --- a/src/FormBit/varbase_auth.formbit.php +++ b/src/FormBit/varbase_auth.formbit.php @@ -64,7 +64,7 @@ function varbase_auth_submit_formbit(array $editable_config_values) { $auth_modules = $configFactory->get('social_auth_type'); if (isset($auth_modules) && is_array($auth_modules) && count($auth_modules) > 0) { - + $modules_to_install = []; foreach ($auth_modules as $auth_module_index => $auth_module) { if (is_string($auth_module)) { diff --git a/src/FormBit/varbase_development.formbit.php b/src/FormBit/varbase_development.formbit.php index b4d5b444..cac9e72b 100644 --- a/src/FormBit/varbase_development.formbit.php +++ b/src/FormBit/varbase_development.formbit.php @@ -28,7 +28,7 @@ function varbase_development_get_editable_config_names() { * * @param array $formbit * FormBit for the form. - * @param FormStateInterface $form_state + * @param \Drupal\Core\Form\FormStateInterface $form_state * Form status. * @param array $install_state * Install state. diff --git a/src/assets/development.services.yml b/src/assets/development.services.yml index 5b64f1c1..dd505403 100644 --- a/src/assets/development.services.yml +++ b/src/assets/development.services.yml @@ -9,4 +9,4 @@ parameters: http.response.debug_cacheability_headers: true services: cache.backend.null: - class: Drupal\Core\Cache\NullBackendFactory \ No newline at end of file + class: Drupal\Core\Cache\NullBackendFactory diff --git a/src/composer/ScriptHandler.php b/src/composer/ScriptHandler.php index 1b56310c..613e1e84 100644 --- a/src/composer/ScriptHandler.php +++ b/src/composer/ScriptHandler.php @@ -15,10 +15,10 @@ class ScriptHandler { * Get the Drupal root directory. * * @param string $project_root - * Project root. + * Project root. * * @return string - * Drupal root path. + * Drupal root path. */ protected static function getDrupalRoot($project_root) { return $project_root . '/docroot'; @@ -27,7 +27,7 @@ class ScriptHandler { /** * Create required files. * - * @param Event $event + * @param \Composer\EventDispatcher\Event $event * Event of creeate required files. */ public static function createRequiredFiles(Event $event) { @@ -112,7 +112,8 @@ class ScriptHandler { if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { self::removeWindowsGitDirectories($drupal_root); - } else { + } + else { exec("find " . $drupal_root . " -name '.git' | xargs rm -rf"); } } @@ -157,25 +158,28 @@ class ScriptHandler { } /** - * Find and return the path to .git repository in root folder + * Find and return the path to .git repository in root folder. + * * @param string $root */ private static function removeWindowsGitDirectories($root) { foreach (scandir($root) as $dirOrFile) { - if ('.' === $dirOrFile || '..' === $dirOrFile ) { + if ('.' === $dirOrFile || '..' === $dirOrFile) { continue; } - if ('.git' === $dirOrFile){ - self::rmdirWindows($root.'/.git'); - } elseif(!is_file($root.'/'.$dirOrFile)) { - self::removeWindowsGitDirectories($root.'/'.$dirOrFile); + if ('.git' === $dirOrFile) { + self::rmdirWindows($root . '/.git'); + } + elseif (!is_file($root . '/' . $dirOrFile)) { + self::removeWindowsGitDirectories($root . '/' . $dirOrFile); } } } /** - * Remove a directory on Windows + * Remove a directory on Windows. + * * @param string $dirname */ private static function rmdirWindows($dirname) { @@ -185,7 +189,7 @@ class ScriptHandler { } $dir = dir($dirname); - while (false !== $entry = $dir->read()) { + while (FALSE !== $entry = $dir->read()) { if ($entry === '.' || $entry === '..') { continue; } @@ -195,4 +199,5 @@ class ScriptHandler { $dir->close(); rmdir($dirname); } + } diff --git a/varbase.info.yml b/varbase.info.yml index b57b9e94..d8980382 100755 --- a/varbase.info.yml +++ b/varbase.info.yml @@ -7,7 +7,7 @@ distribution: name: Varbase install: theme: vartheme_admin -version: 8.x-7.x-dev +version: 8.x-7.0 install: - system - action diff --git a/varbase.install b/varbase.install index e5c3d960..bf90b170 100644 --- a/varbase.install +++ b/varbase.install @@ -5,13 +5,11 @@ * Install, update and uninstall functions for the Varbase installation profile. */ +use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\Yaml\Yaml; -use Drupal\Core\Config; use Drupal\Core\Config\InstallStorage; use Drupal\Core\Config\StorageInterface; use Drupal\Core\Config\FileStorage; -use Drupal\user\Entity\User; -use Drupal\user\RoleInterface; use Drupal\varbase\Entity\VarbaseEntityDefinitionUpdateManager; /** @@ -42,7 +40,6 @@ function varbase_install() { } } // --------------------------------------------------------------------------- - // Set front page to "node". \Drupal::configFactory()->getEditable('system.site')->set('page.front', '/node')->save(TRUE); @@ -56,7 +53,7 @@ function varbase_install() { if (isset($GLOBALS['homepage_with_varbase_tour']) && $GLOBALS['homepage_with_varbase_tour'] == TRUE) { $homepage_with_tour = "/?tour"; - $response = new Symfony\Component\HttpFoundation\RedirectResponse($homepage_with_tour); + $response = new RedirectResponse($homepage_with_tour); $response->send(); exit; diff --git a/varbase.profile b/varbase.profile index 00db5ee8..b6b57096 100644 --- a/varbase.profile +++ b/varbase.profile @@ -31,7 +31,7 @@ function varbase_form_install_configure_form_alter(&$form, FormStateInterface $f $form['admin_account']['account']['name']['#default_value'] = 'webmaster'; $form['admin_account']['account']['name']['#attributes']['disabled'] = TRUE; $form['admin_account']['account']['mail']['#default_value'] = 'webmaster@vardot.com'; - $form['admin_account']['account']['mail']['#description'] = t('In most case, and for <a target="_blank" href="@link">Vardot</a> specific use, we recommend this to always be <em>webmaster@vardot.com</em>.', array('@link' => 'http://vardot.com')); + $form['admin_account']['account']['mail']['#description'] = t('In most case, and for <a target="_blank" href="@link">Vardot</a> specific use, we recommend this to always be <em>webmaster@vardot.com</em>.', ['@link' => 'http://vardot.com']); } /** @@ -42,41 +42,41 @@ function varbase_install_tasks(&$install_state) { // Multilingual configuration task. $needs_configure_multilingual = (isset($install_state['varbase']['enable_multilingual']) && $install_state['varbase']['enable_multilingual'] == TRUE); - return array( - 'varbase_multilingual_configuration_form' => array( + return [ + 'varbase_multilingual_configuration_form' => [ 'display_name' => t('Multilingual configuration'), 'display' => TRUE, 'type' => 'form', 'function' => ConfigureMultilingualForm::class, - ), - 'varbase_configure_multilingual' => array( + ], + 'varbase_configure_multilingual' => [ 'display_name' => t('Configure multilingual'), 'display' => $needs_configure_multilingual, 'type' => 'batch', - ), - 'varbase_extra_components' => array( + ], + 'varbase_extra_components' => [ 'display_name' => t('Extra components'), 'display' => TRUE, 'type' => 'form', 'function' => AssemblerForm::class, - ), - 'varbase_assemble_extra_components' => array( + ], + 'varbase_assemble_extra_components' => [ 'display_name' => t('Assemble extra components'), 'display' => TRUE, 'type' => 'batch', - ), - 'varbase_development_tools' => array( + ], + 'varbase_development_tools' => [ 'display_name' => t('Development tools'), 'display' => TRUE, 'type' => 'form', 'function' => DevelopmentToolsAssemblerForm::class, - ), - 'varbase_assemble_development_tools' => array( + ], + 'varbase_assemble_development_tools' => [ 'display_name' => t('Assemble development tools'), 'display' => TRUE, 'type' => 'batch', - ), - ); + ], + ]; } /** @@ -221,16 +221,15 @@ function varbase_assemble_extra_components(array &$install_state) { } - // Uninstall list of not needed modules after the config had been loaded. // To be loaded from a ConfigBit yml file. $uninstall_components = ['varbase_default_content']; if (count($uninstall_components) > 0) { - foreach ($uninstall_components as $uninstall_component) - $batch['operations'][] = ['varbase_uninstall_component', (array) $uninstall_component]; + foreach ($uninstall_components as $uninstall_component) { + $batch['operations'][] = ['varbase_uninstall_component', (array) $uninstall_component]; + } } - return $batch; } @@ -316,7 +315,7 @@ function varbase_assemble_development_tools(array &$install_state) { * The batch job definition. */ function varbase_configure_multilingual(array &$install_state) { - $batch = array(); + $batch = []; // If the multiligual config checkbox were checked. if (isset($install_state['varbase']['enable_multilingual']) @@ -374,7 +373,7 @@ function varbase_assemble_extra_component_then_install($extra_component) { */ function varbase_save_editable_config_values($extra_component_machine_name, $formbit_file_name, $editable_config_values) { include_once $formbit_file_name; - call_user_func_array($extra_component_machine_name . "_submit_formbit", array($editable_config_values)); + call_user_func_array($extra_component_machine_name . "_submit_formbit", [$editable_config_values]); } /** @@ -417,7 +416,9 @@ function varbase_config_bit_for_multilingual($enable_multilingual) { } /** - * Batch function to Uninstall list of not needed modules after the config had been loaded. + * Batch function to Uninstall list of not needed modules. + * + * After the config had been loaded. * * @param string|array $uninstall_component * Name of the extra component. -- GitLab