Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024.50.0 #1850

Merged
merged 84 commits into from
Dec 10, 2024
Merged

Release 2024.50.0 #1850

merged 84 commits into from
Dec 10, 2024

Conversation

xendk
Copy link
Contributor

@xendk xendk commented Dec 10, 2024

No description provided.

rasben and others added 30 commits October 7, 2024 13:17
This also means that we add the date as a field in the data overview.
This has been cleared with DDF.
By exposing it as part of the service, we can look up more correctly in
different parts of the code, where we want to see if there are relevant
eventinstances.
We have some code that redirects to the instance, if you visit an
eventseries with only one eventinstance.
However, the existing code only looked at related instances, and not if
the instances are date-expired.
By using the ReoccuringDateFormat service, we can both simplify the
code, and also redirect if there is only one, non-expired instance
available.
The functionality that filters out expired events from the eventseries
view, can now be removed and replaced by the ReoccuranceDateFormatter
service.
This makes everything much simpler, whilst keeping the code easier to
maintain.
By wish of DDF, we want to never show expired events in various lists.
To avoid having to add the logic to every single view, which is both
hard to maintain and to implement, we rather send along the `expired`
value as part of the EventInstance preprocess.
Then, in the teaser templates, we wrap it all in an `if`.
The password policy module has it's own restrictions, and the core
password suggestions are very confusing.
Instead of running through every eventinstance, which can be quite
heavy, we instead do a simple entityquery look up.
All we're interested in is the count, not the actual contents.
Up until now, the editors can only choose whether or not eventinstances
should be unpublished after X time after expiration.
This also includes logic that automatically unpublishes the eventseries.

As part of a move to avoid having old content show up in lists, this
commit refactors the settings, and the scheduler:
- We introduce the recommended setting, that eventinstances get
unpublished after 1 hour
- We introduce the seperate (unrecommended) setting that when the last
eventinstance is unpublished, the series also get unpublished
- Updating the scheduler service, to respect the new options
- Port the existing library settings to the new format
xendk and others added 26 commits December 9, 2024 13:41
…nce-bundle-class

Make EventWrapper into a bundle class instead
Bumps the minor-composer-dependencies group with 1 update: [spatie/color](https://github.com/spatie/color).


Updates `spatie/color` from 1.6.1 to 1.6.2
- [Release notes](https://github.com/spatie/color/releases)
- [Changelog](https://github.com/spatie/color/blob/main/CHANGELOG.md)
- [Commits](spatie/color@1.6.1...1.6.2)

---
updated-dependencies:
- dependency-name: spatie/color
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-composer-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps drupal/upgrade_status from 4.3.5 to 4.3.6.

---
updated-dependencies:
- dependency-name: drupal/upgrade_status
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps drupal/config_translation_po from 1.0.0 to 1.0.1.

---
updated-dependencies:
- dependency-name: drupal/config_translation_po
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the minor-js-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.17.0` | `8.18.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.17.0` | `8.18.0` |
| [cypress](https://github.com/cypress-io/cypress) | `13.16.0` | `13.16.1` |
| [cypress-if](https://github.com/bahmutov/cypress-if) | `1.13.1` | `1.13.2` |
| [wiremock-rest-client](https://github.com/kwoding/wiremock-rest-client) | `1.10.0` | `1.11.0` |


Updates `@typescript-eslint/eslint-plugin` from 8.17.0 to 8.18.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.17.0 to 8.18.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.0/packages/parser)

Updates `cypress` from 13.16.0 to 13.16.1
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.16.0...v13.16.1)

Updates `cypress-if` from 1.13.1 to 1.13.2
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](bahmutov/cypress-if@v1.13.1...v1.13.2)

Updates `wiremock-rest-client` from 1.10.0 to 1.11.0
- [Commits](kwoding/wiremock-rest-client@v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-js-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-js-dependencies
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-js-dependencies
- dependency-name: cypress-if
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-js-dependencies
- dependency-name: wiremock-rest-client
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-js-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
…composer/minor-composer-dependencies-c2320785d2

Bump spatie/color from 1.6.1 to 1.6.2 in the minor-composer-dependencies group
…npm_and_yarn/minor-js-dependencies-61ec94eebf

Bump the minor-js-dependencies group with 5 updates
…composer/drupal/upgrade_status-4.3.6

Bump drupal/upgrade_status from 4.3.5 to 4.3.6
…composer/drupal/config_translation_po-1.0.1

Bump drupal/config_translation_po from 1.0.0 to 1.0.1
…password-tweaks

Clarifying password management forms. DDFHER-149
Bumps drupal/uuid_url from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: drupal/uuid_url
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps drupal/language_neutral_aliases from 3.1.1 to 3.2.0.

---
updated-dependencies:
- dependency-name: drupal/language_neutral_aliases
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…aragraphs-relevant

Re-factor how to treat and display expired events in frontend. DDFHER-88
…lishing-rehaul_DDFHER-88

Re-factor event scheduler setup. DDFHER-88
…composer/drupal/language_neutral_aliases-3.2.0

Bump drupal/language_neutral_aliases from 3.1.1 to 3.2.0
…composer/drupal/uuid_url-1.4.0

Bump drupal/uuid_url from 1.3.0 to 1.4.0
…4.50.0

Use release 2024.50.0 of design system and React components
@xendk xendk merged commit 2fba5a1 into main Dec 10, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants