diff --git a/CHANGELOG.md b/CHANGELOG.md index e24c495f89d4916a8532673cab03f620fed5bfc8..07486a837136a696d400d34f2632bb6c79920b6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ +## 3.11.0 +* Added support for Drupal core 8.8.x. + ## 3.10.0 * Changes to internal testing infrastructure, but nothing that should affect users of Lightning Workflow. - + ## 3.9.0 * Added the Autosave Form and Conflict modules as soft dependencies to Lightning Workflow. (Issue #3060244) diff --git a/logs/8.x-1.0-rc1.md b/logs/8.x-1.0-rc1.md new file mode 100644 index 0000000000000000000000000000000000000000..bf6cacb068b30129ebe75d21b90182dc6488dd2a --- /dev/null +++ b/logs/8.x-1.0-rc1.md @@ -0,0 +1,3 @@ +## 1.0.0-rc1 +* Loosen the tight coupling between Lightning Workflow and Views. + (Issue #2938769) diff --git a/logs/8.x-1.0-rc2.md b/logs/8.x-1.0-rc2.md new file mode 100644 index 0000000000000000000000000000000000000000..9b39ea01270ebc6e7c574ec7d660186df61ff521 --- /dev/null +++ b/logs/8.x-1.0-rc2.md @@ -0,0 +1,2 @@ +## 1.0.0-rc2 +* Remove legacy update code. diff --git a/logs/8.x-1.0.md b/logs/8.x-1.0.md new file mode 100644 index 0000000000000000000000000000000000000000..543d07c0a23ca1b92220844f120b4d489e927934 --- /dev/null +++ b/logs/8.x-1.0.md @@ -0,0 +1,2 @@ +## 1.0.0 +* No changes since last release. diff --git a/logs/8.x-1.1.md b/logs/8.x-1.1.md new file mode 100644 index 0000000000000000000000000000000000000000..665527329223672bdcea97170aa61907e869e4ec --- /dev/null +++ b/logs/8.x-1.1.md @@ -0,0 +1,3 @@ +## 1.1.0 +* Behat contexts used for testing were moved into the + `Acquia\LightningExtension\Context` namespace. diff --git a/logs/8.x-1.2.md b/logs/8.x-1.2.md new file mode 100644 index 0000000000000000000000000000000000000000..407014999bb40b748fdbfbbae533919997cfce4c --- /dev/null +++ b/logs/8.x-1.2.md @@ -0,0 +1,5 @@ +## 1.2.0 +* If you have Lightning Roles + (part of [Lightning Core](https://drupal.org/project/lightning_core)) + installed, the "reviewer" roles will now receive permission to view + unpublished content and revisions. diff --git a/logs/8.x-2.0-rc1.md b/logs/8.x-2.0-rc1.md new file mode 100644 index 0000000000000000000000000000000000000000..f59d12c1c00de63dd7b2f0f42ef330f56991b8c6 --- /dev/null +++ b/logs/8.x-2.0-rc1.md @@ -0,0 +1,10 @@ +## 2.0.0-rc1 +* Lightning Scheduler has been completely rewritten and has a new UI. Users + with permission to schedule various workflow state transitions will be able + to schedule transitions to take place at any date and time they want. They + can also schedule several transitions at once. Transition data is now stored + in fields called scheduled_transition_date and scheduled_transition_state, + which replace the old scheduled_moderation_state and scheduled_publication + fields. A UI is also provided so you can migrate scheduled transition data + from the old fields into the new ones. You will see a link to this UI once + you complete the update path. (Issues #2935715, #2935198, #2935105, #2936757, #2954329, and #2954348) diff --git a/logs/8.x-2.0-rc2.md b/logs/8.x-2.0-rc2.md new file mode 100644 index 0000000000000000000000000000000000000000..55a1309075f7a9a58742bd142e5a0c765775f947 --- /dev/null +++ b/logs/8.x-2.0-rc2.md @@ -0,0 +1,4 @@ +## 2.0.0-rc2 +* Lightning Scheduler now clears cached state data (site state, not + moderation states) during cron runs, in order to fix a bug where + scheduled transitions in the past would not display correctly. (GitHub #30) diff --git a/logs/8.x-2.0.md b/logs/8.x-2.0.md new file mode 100644 index 0000000000000000000000000000000000000000..6908662fabe895360e4f5a9c4831b448ef929407 --- /dev/null +++ b/logs/8.x-2.0.md @@ -0,0 +1,3 @@ +## 2.0.0 +* Scheduler UI is now compatible with Internet Explorer. +* Remove duplicate step definitions. diff --git a/logs/8.x-2.2.md b/logs/8.x-2.2.md new file mode 100644 index 0000000000000000000000000000000000000000..1de2c94ae6005915bae6bb14717b40e6c189ab57 --- /dev/null +++ b/logs/8.x-2.2.md @@ -0,0 +1,7 @@ +## 2.2.0 +* Fixed a bug where Lightning Scheduler would not correctly handle "AM/PM" in + its input fields. (Issue #2981807) +* Fixed a fatal error caused by old code that was not removed during the shift + to Content Moderation. (Issue #2973811) +* Renamed Lightning Scheduler's ECMAScript 6 files to .es6.js, and provided a + source map to help community developers debug and file patches. (#50, #51) diff --git a/logs/8.x-2.3.md b/logs/8.x-2.3.md new file mode 100644 index 0000000000000000000000000000000000000000..53cbeca8a201645713edac3e1a0901063d2e280c --- /dev/null +++ b/logs/8.x-2.3.md @@ -0,0 +1,5 @@ +## 2.3.0 +* Moderation Sidebar is now included with Lightning Workflow. (#62) +* The editorial workflow transitions have changed. "Review" is now "Send to + review", "Restore" is now "Restore from archive", and the "Restore to Draft" + transition has been merged into the "Create new draft" transition. (#64) diff --git a/logs/8.x-2.4.md b/logs/8.x-2.4.md new file mode 100644 index 0000000000000000000000000000000000000000..ee8fecbedbe1aba9adca3c4e2ab1245f6daa85a7 --- /dev/null +++ b/logs/8.x-2.4.md @@ -0,0 +1,3 @@ +## 2.4.0 +* Fixed an incompatibility between Lightning Scheduler and Inline Entity Form + (Issue #2993137) diff --git a/logs/8.x-3.0.md b/logs/8.x-3.0.md new file mode 100644 index 0000000000000000000000000000000000000000..f82891e25f7814e12c48da23c927b065eba248f2 --- /dev/null +++ b/logs/8.x-3.0.md @@ -0,0 +1,7 @@ +## 3.0.0 +* Updated Lightning Core to 3.0, which requires Drupal core 8.6.0. +* The Editorial workflow has been added to this module as it is no longer + provided by Content Moderation. (CR #2958726) +* Fixed a bug where Lightning Scheduler would keep publishing content. + (Issue #2981817) +* Added a return value to hook_requirements implementation. (Issue #2984734) diff --git a/logs/8.x-3.1.md b/logs/8.x-3.1.md new file mode 100644 index 0000000000000000000000000000000000000000..b08dd154f9696617b43cad8ab15ab00dde1b7645 --- /dev/null +++ b/logs/8.x-3.1.md @@ -0,0 +1,2 @@ +## 3.1.0 +* Lightning Workflow now includes the Moderation Dashboard module. (#70) diff --git a/logs/8.x-3.10.md b/logs/8.x-3.10.md new file mode 100644 index 0000000000000000000000000000000000000000..2135af103bd894c0eeae6342a988b25839b41433 --- /dev/null +++ b/logs/8.x-3.10.md @@ -0,0 +1,3 @@ +## 3.10.0 +* Changes to internal testing infrastructure, but nothing that should + affect users of Lightning Workflow. diff --git a/logs/8.x-3.11.md b/logs/8.x-3.11.md new file mode 100644 index 0000000000000000000000000000000000000000..8ec812186959c3179dac316c826c9933a0abc4ac --- /dev/null +++ b/logs/8.x-3.11.md @@ -0,0 +1,2 @@ +## 3.11.0 +* Added support for Drupal core 8.8.x. diff --git a/logs/8.x-3.2.md b/logs/8.x-3.2.md new file mode 100644 index 0000000000000000000000000000000000000000..c3619a84db1f798b9f250012df511d1db24bf6a6 --- /dev/null +++ b/logs/8.x-3.2.md @@ -0,0 +1,3 @@ +## 3.2.0 +* Many changes to internal testing code and infrastructure, but nothing that + affects users of Lightning Workflow. diff --git a/logs/8.x-3.3.md b/logs/8.x-3.3.md new file mode 100644 index 0000000000000000000000000000000000000000..8b9d9dd8f66368e36e5b0182ad15ad90863c32ed --- /dev/null +++ b/logs/8.x-3.3.md @@ -0,0 +1,10 @@ +## 3.3.0 +* Updated Lightning Core to 3.5, which security updates Drupal core to 8.6.6. +* Made the time steps in Lightning Scheduler's UI configurable. (Issue #2981050) +* Fixed a bug in the Moderation History where the users and timestamps didn't + correctly correspond to the actual revisions. (Issue #3022898) +* Updated Moderation Dashboard to its latest stable version. +* Refactored underlying scheduler UI code to be less sensitive to time zones. +* Added project namespaces to all stated dependencies. (Issue #2999322) +* Changes were made to the internal testing infrastructure, but nothing that + will affect users of Lightning Workflow. diff --git a/logs/8.x-3.4.md b/logs/8.x-3.4.md new file mode 100644 index 0000000000000000000000000000000000000000..e1c85d4ed525e1b7219feb0331d3e7d1210e6872 --- /dev/null +++ b/logs/8.x-3.4.md @@ -0,0 +1,3 @@ +## 3.4.0 +* Changes were made to internal testing infrastructure, but nothing that will + affect users of Lightning Workflow. diff --git a/logs/8.x-3.5.md b/logs/8.x-3.5.md new file mode 100644 index 0000000000000000000000000000000000000000..318487658438e04db1785183b19d1a5df5c589ad --- /dev/null +++ b/logs/8.x-3.5.md @@ -0,0 +1,8 @@ +## 3.5.0 +* Lightning Workflow is now compatible with Lighting Core 4.x + (Drupal core 8.7.x). +* Fixed missing configure button for Lightning Scheduler module in list page. + (Issue #3034047) +* Replaced entity_load() calls with entity load(). (Issue #3033637) +* Added missing description in Lightning Scheduler module in links.menu.yml + file. (Issue #3034048) diff --git a/logs/8.x-3.6.md b/logs/8.x-3.6.md new file mode 100644 index 0000000000000000000000000000000000000000..64e9d88c32508fa56498cc4cfa86d5d584142cd2 --- /dev/null +++ b/logs/8.x-3.6.md @@ -0,0 +1,3 @@ +## 3.6.0 +* Fixed a bug that could occur with Drupal 8.7 when installing the + moderation_history view. diff --git a/logs/8.x-3.7.md b/logs/8.x-3.7.md new file mode 100644 index 0000000000000000000000000000000000000000..4bf01fa190fb484a0ddc355fa5e7368ce781b267 --- /dev/null +++ b/logs/8.x-3.7.md @@ -0,0 +1,3 @@ +## 3.7.0 +* Many changes to internal testing infrastructure, but nothing that + should affect users of Lightning Workflow. diff --git a/logs/8.x-3.8.md b/logs/8.x-3.8.md new file mode 100644 index 0000000000000000000000000000000000000000..f029bd9c36e2e96ed0cef7c348a49ee17f2a48bb --- /dev/null +++ b/logs/8.x-3.8.md @@ -0,0 +1,3 @@ +## 3.8.0 +* Internal changes to testing infrastructure, but nothing that + should affect users of Lightning Workflow. diff --git a/logs/8.x-3.9.md b/logs/8.x-3.9.md new file mode 100644 index 0000000000000000000000000000000000000000..ab5dd3285ffc4641c3ae74a43d854ddae097d3a5 --- /dev/null +++ b/logs/8.x-3.9.md @@ -0,0 +1,6 @@ +## 3.9.0 +* Added the Autosave Form and Conflict modules as soft dependencies to + Lightning Workflow. (Issue #3060244) +* Updated Moderation Sidebar to 1.2. +* Added labels to the base fields created by Lightning Scheduler + (Issues #3070984 and #3031460) diff --git a/logs/generate.sh b/logs/generate.sh new file mode 100755 index 0000000000000000000000000000000000000000..c38615742ea78d7af3fcadfd77be73123d6f1374 --- /dev/null +++ b/logs/generate.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +for file in $(ls *.md); do + # Strip the .md extension off to determine the git tag. + tag="${file%.*}" + + # Get the touch-compatible time that the tag was created. + time=$(git tag --list $tag --format="%(creatordate:format:%Y%m%d%H%M.%S)") + + if [ $time ]; then + # Update the file's modification time. + touch -t $time $file + else + # Use the current time. + touch $file + fi +done + +# List all the .md files, ordered by modification time, and +# cat each one, followed by an empty line. Finally, delete +# the last line of the output, since it's blank. +ls -t *.md | xargs -I{} sh -c "cat {}; echo" | sed '$ d' diff --git a/tests/fixtures/3.11.0.php.gz b/tests/fixtures/3.11.0.php.gz new file mode 100644 index 0000000000000000000000000000000000000000..4e6f068388d3fb1e431f41a4d35a261a58b7b5f0 Binary files /dev/null and b/tests/fixtures/3.11.0.php.gz differ