Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
3.2.6 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
phenaproxima committed Feb 20, 2019
1 parent f64d0ef commit 9c06f1d
Show file tree
Hide file tree
Showing 13 changed files with 283 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,7 @@ php:
- 7.0
env:
- VERSION=HEAD
- VERSION=3.2.5
- VERSION=3.2.6
# The final CI slot should be used to test the update path from the oldest
# available database fixture.
- VERSION=3.0.0
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,27 @@
## 3.2.6
* Updated Lightning Core to 3.7, which:
* Security updated Drupal core to 8.6.10 (SA-CORE-2019-003).
* Security updated Metatag to 1.8 (SA-CONTRIB-2019-021).
* Now supports attaching pictures to user accounts, and includes a Compact
display which displays the user's picture and name, both optionally linked
to the user's profile. (Issue #3026959)
* Now includes a "Long (12-hour)" date format, which formats dates and times
like "April 1, 2019 at 4:20 PM".
* Fixed a bug where Lightning's utility to convert descendant profiles to the
Drupal 8.6-compatible format would fail if the active profile was itself a
descendant profile. (Issue #2997990)
* Fixed an "undefined index" bug that could happen when processing form elements
which can have legends. (Issue #3018499)
* Namespaced all declared dependencies. (Issue #2995711)
* Updated Lightning API to 3.4, which:
* Security updated JSON API to 2.3 (SA-CONTRIB-2019-019).
* Updated Lightning Media to 3.6, which has the following changes:
* The media browser is now displayed in a modal dialog by default, which
is activated by pressing the "Add media" button. When embedding media in
the WYSIWYG editor, the media browser is unchanged (the entity browser
used for WYSIWYG has been split out into a completely separate entity
browser configuration in order to facilitate this). (GitHub #80)

## 3.2.5
* Security updated Acquia Connector to 1.16 (SA-CONTRIB-2019-014)
* Updated Consumers to 1.8.
Expand Down
36 changes: 36 additions & 0 deletions UPDATE.md
Expand Up @@ -170,6 +170,42 @@ are currently running 2.2.0 and are trying to update to 2.2.6, you will need to
follow the instructions for updating from 2.2.0 to 2.2.1, then from 2.2.1 to
2.2.2, in that order.

### 3.2.5 to 3.2.6
* If you would like to enable support for user account pictures (avatars):
1. Create a new image field on user accounts. In Lightning Core, this field
is called "Picture" by default and its machine name is user_picture.
2. Set the file default-avatar.png, contained in the `images` directory
of Lightning Core, to be the default image for the field.
2. Customize the display of the "Compact" view mode for user accounts, and
ensure that the new image field is displayed using the Thumbnail image
style.
* If you would like to display the media browser in a modal window, rather than
in an iFrame, follow these instructions:
1. Create a clone of the media browser which will only be used when embedding
media using the WYSIWYG editor. There is no easy way to duplicate the media
browser from the administrative backend, but you can run a bit of PHP code
at the command line with Drush (or, if you have Devel installed, at the
`/devel/php` path) to do it:
```
drush php:eval "entity_load('entity_browser', 'media_browser')->createDuplicate()->setName('ckeditor_media_browser')
>setLabel('Media browser (CKEditor)')->save();"
```
2. Configure the "Media browser" embed button to use the duplicate you just
created.
3. Grant permissions to use the duplicate entity browser to the "Media
creator" and "Media manager" user roles.
4. If you have Lightning Roles installed, you'll also need to grant access to
the duplicate by executing this PHP code (again, this can be done at the
command line with Drush, as in this example, or at `/devel/php` if you have
Devel installed):
```
drush php:eval "Drupal::service('lightning.content_roles')->grantPermissions('creator', 'use ckeditor_media_browser entity browser pages');"
```
5. Edit the pre-existing media browser -- _not_ the duplicate -- to use the
Modal display plugin. Leave the "Width" and "Height" options empty to make
the modal dialog responsive, set the link text to "Add media", and disable
auto-open. Save the changes to the media browser.

### 3.2.4 to 3.2.5
There are no manual update steps for this version.

Expand Down
2 changes: 1 addition & 1 deletion build-lightning.make
Expand Up @@ -4,4 +4,4 @@ includes[] = drupal-org-core.make
projects[lightning][type] = profile
projects[lightning][download][type] = git
projects[lightning][download][branch] = 8.x-3.x
projects[lightning][download][tag] = 8.x-3.x-dev
projects[lightning][download][tag] = 8.x-3.206
13 changes: 7 additions & 6 deletions composer.json
Expand Up @@ -6,12 +6,13 @@
"require": {
"cweagans/composer-patches": "^1.6.4",
"drupal-composer/drupal-scaffold": "^2.0.0",
"drupal/lightning_api": "3.x-dev",
"drupal/lightning_core": "3.x-dev",
"drupal/lightning_layout": "1.x-dev",
"drupal/lightning_media": "3.x-dev",
"drupal/lightning_workflow": "3.x-dev",
"oomphinc/composer-installers-extender": "^1.1"
"drupal/lightning_api": "^3.4",
"drupal/lightning_core": "^3.7",
"drupal/lightning_layout": "^1.6",
"drupal/lightning_media": "^3.6",
"drupal/lightning_workflow": "^3.4",
"oomphinc/composer-installers-extender": "^1.1",
"drupal/ctools": "3.0"
},
"require-dev": {
"acquia/lightning_dev": "dev-8.x-1.x",
Expand Down

0 comments on commit 9c06f1d

Please sign in to comment.