Giter VIP home page Giter VIP logo

bear's Introduction

Bear

Bear is a Drupal 8 Starter Kit, not a full Drupal 8 distribution. It was originally created as a bootstrapped starting point for Zivtech Drupal development projects, with helpful pre-configured modules and mission critical patches. There should be no need for you to ever update the Bear project itself once it has been installed. Individual contributed modules, libraries, and the Bear Skin theme can be updated as you normally would any other contributed projects after install is complete. You should also feel free to update or disable any included features as needed. Out of the box Bear is ready to create new features as needed to suit your project.

Bear is what we wish Drupal core was out of the box. It contains enhancements and fixes to core. Everything that we use on 80-90% of the sites we build we want to have in Bear so that we have it out of the box when we start a new project.

Bear is not precious! When you start a new site on Bear you are encouraged to hack Bear, to treat it like your own custom code rather than something you will do updates of from upstream. Update core and contrib, but don’t update Bear.

Installing Bear

The preferred way to install Bear is using our [Composer-based project template][template]. It's easy!

$ composer create-project zivtech/bear-project:8.2.x-dev MYPROJECT

If you don't want to use Composer, you can install Bear the traditional way by downloading a tarball from our drupal.org project page. (Please note that the tarball does not contain any experimental features.)

You can customize your installation by creating a [sub-profile which uses Bear as its base profile][sub-profile documentation]. Bear includes a Drupal Console command (bear:subprofile) which will generate a sub-profile for you.

bear's People

Contributors

grndlvl avatar jessica-zivtech avatar jkaeser avatar jodyhamilton avatar ryanissamson avatar sheise avatar sixty7ss avatar sk33lz avatar timplunkett avatar tortillaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bear's Issues

ckeditor_media_embed removed from sandbox

The 8.x branch build will fail unless the ckeditor_media_embed source url is adjusted.

projects[ckeditor_media_embed][type] = module
projects[ckeditor_media_embed][download][type] = git
projects[ckeditor_media_embed][download][url] = http://git.drupal.org/project/ckeditor_media_embed.git 
projects[ckeditor_media_embed][download][branch] = 8.x-1.x 

Fix multiple field widget so certain field types are orderable

Background:
There is a patch applied to Bear 7 and 8 that allows site builders the option of making multiple field (unlimited) widgets unorderable. This is controlled with an "Orderable" checkbox on the add new field form. It is checked by default, allowing content creators the ability to drag and drop fields as such:
image
If it is unchecked, then the fields would look like this:
image

When the paragraphs module is enabled, I can make a new field using the paragraphs widget type, and in non-Bear drupal 8 sites, I can add as many paragraph types to the content and they are all orderable. Please note that the Entity reference revision module is a dependency of the paragraphs module in D8.
image

However in D8 Bear, when I do the same, I am unable to reorder, even when the "Orderable" checkbox is checked.
image

I am also unable to reorder multiple field widgets for field types Image and File.

Issue to be addressed:
All field types with an unlimited number of values should be orderable (drag and drop) when the "Orderable" checkbox is marked.

Missing the "View | Edit | Delete | Devel" tabs when viewing content in admin panel

Issue:
When I am logged in the admin panel and I view published content, I should see the tabs above the content preview for "View", "Edit", "Delete" and "Devel" (I believe this module is enabled by default). Currently they are missing in D8 Bear installations on the view page, but are present on the edit form. These should be visible when viewing created nodes and users.

Example of tabs (taken from a non-bear sandbox site):
image

Missing tabs in Bear D8:
image

Prevent inline styling when copying and pasting text into WYSIWYG

If I copy and paste text from a document or website into a drupal WYSIWYG field set on Filtered HTML, it includes the styling from the original text source. Please modify the WYSIWYG to prevent external styling from being included in the code.

Also add <div> to the allowed HTML tags in Filtered.

Note: This is definitely happening on D7, and D8 is also a little wonky as well. Please use your discretion to fix if you think this is an issue on D8 as well.

Compare 'require to publish' modules

When forms are long, required fields are a problem because they make it impossible for a user to save their data until they complete all required fields. We often have use cases when we want the user to be able to save an unpublished incomplete node form, and then later when publishing it have the validation happen to ensure all required fields are complete.

I found some D7 modules that allow this. Please try each one in a separate bear 7 PR and configure so we can compare and see which works best.

'Save draft' module supposedly contains this feature: https://www.drupal.org/node/1786442

This module seems possibly most promising: https://github.com/chapter-three/require-to-publish

And this one sounds similar: https://www.drupal.org/sandbox/abhishek_pareek/2549931

Add pause/wait step to FeatureContext.php

Our Behat tests are sometimes running a step faster than Drupal can load a page. When this happens, Behat checks for something that hasn't yet loaded and consequently the test fails. We can prevent this from happening on problem-steps by inserting a step that tells Behat to wait for a second.

We need to add this functionality in Bear's FeatureContext.php file, then use the new step in ContentCreation.feature to prevent the "add a Menu Item" scenario from failing.

Run drush command at the end of install

We have a module that has a library dependency that can't make it to the drupal package white list.

So on install the module files and library files are both missing. We'd like to explore the option to have the install script run the drush command at the end of the install: pm-enable semantic_ui_api

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.