Auckland, NZ
Account created on 19 September 2011, over 13 years ago
#

Merge Requests

Recent comments

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks everyone, I did miss this ticket and made a few more commits that I will resolve when I have some time. At this early stage there are some bits of undergoing very large refactors so I had been a bit sloppy. Will check this and put PHPCS into my workflow.

Should be ready with an alpha release and stable database definitions by the end of the year.

🇳🇿New Zealand dieuwe Auckland, NZ

I'm afraid that I have no experience with Backdrop or any plans to use it. Happy for someone to port it though, and that might be as simple as changing a few function names - perhaps there are some automated tools to help?

🇳🇿New Zealand dieuwe Auckland, NZ

I couldn't repeat the crash in a follow up test, but the notice to set a key would still be good as would having the settings link in the module list.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe created an issue.

🇳🇿New Zealand dieuwe Auckland, NZ

This somewhat restricts the checks to make sure that arrays exist before they are modified, and also removes the '_none' option from any required option lists.

🇳🇿New Zealand dieuwe Auckland, NZ

That part wasn't missing and resulted in a duplicate key.

Someone else just reported the module broken due to that last commit: 🐛 Duplicate key "views.argument.menu_children" in schema Fixed

Have merged in a revert already, and am tagging rc4 right away so the module doesn't whitescreen people's builds.

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks for the easy fix there, have merged it right away to get your builds working again.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe made their first commit to this issue’s fork.

🇳🇿New Zealand dieuwe Auckland, NZ

The 2.x branch was clashing with an abandoned D7 rework, so we are switching to 3.0.x

Some work on the basic entities and importers is done, along with views integration.

Ability to navigate the Bible entities by books and chapters out-of-the-box, CKEditor verse embeds, and BLS filter (inline JS popups of verses) are coming soon, and then notes will be tackled.

🇳🇿New Zealand dieuwe Auckland, NZ

I've managed to extract all the old BC files (including strongs and tools) from the old drupalbible.org website using the Wayback Machine. These are now more easily accessible from this Github repository which can be integrated into the module in a completely configurable way so that the module is no longer dependent on any one 3rd party: https://github.com/dieuwedeboer/bible-context

🇳🇿New Zealand dieuwe Auckland, NZ

After many years, no D8 port ever happened, but a Drupal 10 rebuild will be underway in a new issue: 📌 [META] Bible module Drupal 10 rebuild Active

🇳🇿New Zealand dieuwe Auckland, NZ
🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe created an issue.

🇳🇿New Zealand dieuwe Auckland, NZ

Patch #19 with the access check change is working very well for us.

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks, this applies and runs well against the latest dev. Would be nice to get this committed after all these years.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe changed the visibility of the branch 10.0.x to hidden.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe changed the visibility of the branch 10.0.x to active.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe changed the visibility of the branch 10.0.x to hidden.

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks for the report. Drupal doesn't support manual downloads of distributions packages, they have to be installed via composer.

If you did do that and still got an error, could you provide us with some logs for the specific error?

🇳🇿New Zealand dieuwe Auckland, NZ

This bug applies to all modals inside modals.

There is an open issue against the old namespace for this module: It is not possible to have the embedded content modal open another modal. Needs review

I've rerolled Lee's patch for this module and attached it.

You also need a patch from 🐛 Nested modals don't work: opening a modal from a modal closes the original Needs work where I found that #199 🐛 Nested modals don't work: opening a modal from a modal closes the original Needs work is the one that actually works with core 10.1.6 (and maybe 7).

This fixed up media modals, however I found that the modal to change text formats still save changes with this setup. But it is an improvement.

🇳🇿New Zealand dieuwe Auckland, NZ

In case anyone comes here and tries to implement a fix to reduce log noise (especially on a busy site that still uses db logging), I had a lot of trouble trying to override the service in a way that held.

You can adapt the code from comment #4 in a custom module, noting that there has been a change to the log method definition:

  public function log($level, string|\Stringable $message, array $context = []): void {

Then in your custom module's services file:

services:
  logger.channel.search_api_opensearch_no_debug:
    decorates: logger.channel.search_api_opensearch_client
    class: Drupal\my_module\OpenSearchNoDebugLogger
    arguments: [ 'search_api_opensearch_client', '@request_stack', '@current_user' ]

I've never had to use Symfony's decorates parameter before but it is really cool. (I struggled to find any Drupal-specific documentation on overriding services that really pointed me in the right direction.)

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks for the investigation on this drumm, very much appreciated.

A good lesson on the importance of namespacing for the team here :)

🇳🇿New Zealand dieuwe Auckland, NZ

Yes, this works fine for all other project, but the drupal/sector package is still broken.

Here is an example (assuming no one hit auto-update before you see it):

Latest tag on Packagist is "10.0.0-alpha3" (https://packagist.org/packages/drupal/sector)

Latest tag on Drupalcode is "10.0.0-alpha4" (https://git.drupalcode.org/project/sector/-/tags), pushed 4 days ago.

Packagist will pick it up if someone manually pushes "Update Now".

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks for that, and I have fixed the error in that old branch.

Packagist still reports: "This package is not auto-updated" and we have to do it manually every time we tag a new release.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe made their first commit to this issue’s fork.

🇳🇿New Zealand dieuwe Auckland, NZ

Thanks for this - I made a few changes to bring the composer.json into line as well. Hopefully good, but since we're in dev any issues can be picked up in pre-release testing.

🇳🇿New Zealand dieuwe Auckland, NZ

I believe this and other config issues are going to be fixed here: 🐛 Update views config to work sector's required VBO version Active

🇳🇿New Zealand dieuwe Auckland, NZ

This is good - we won't be going to 10.0 because Sector 10 already requires 10.1 at a minumum.

🇳🇿New Zealand dieuwe Auckland, NZ

If I had used the Gitlab UI that might have been avoidable... lesson for next time

🇳🇿New Zealand dieuwe Auckland, NZ

These 3 legacy modules are now gone from Sector 10 and only available via the Sectory Legacy package.

🇳🇿New Zealand dieuwe Auckland, NZ

Cheers, this should be done and dusted now - but any further issues and we can follow up next week. Adding a reference to the Sector issue that removes these from the 10.0.x branch.

🇳🇿New Zealand dieuwe Auckland, NZ

Add related issue which adds these modules to sector_legacy while preserving git history.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe made their first commit to this issue’s fork.

🇳🇿New Zealand dieuwe Auckland, NZ

Ah, I've just checked one of my other general projects and it auto-updates. So must be an issue with a converted project that requires more action?

🇳🇿New Zealand dieuwe Auckland, NZ

One more question that I can't find an easy answer to: how do we set up packagist auto-update on general projects?

🇳🇿New Zealand dieuwe Auckland, NZ

The module needs quite a bit of work to be completely up to scratch, so I think a followup ticket will be needed.

But for now:

  • Remove the optional workflow that came from core's default install profile.
  • Rename the helper class from WorkflowExtrasBase to simply SectorWorkflow (todo: convert this to a proper container class).
  • Check that the node from the route has a moderation state before modifying local menu tabs.
  • Refactor a few bits and pieces, like the use of string translations, a var_dump, and other simple cleanup.
🇳🇿New Zealand dieuwe Auckland, NZ

This is no longer relevant with the switch to CKEditor 5.

🇳🇿New Zealand dieuwe Auckland, NZ

Namespace change has been confirmed, likely nothing else to do on the Sector end, other than to include this change in all future release notes.

🇳🇿New Zealand dieuwe Auckland, NZ

I'm not sure about those commits referencing this ticket, they are not related. I have gone through and updated the namespace manually in the 10.0.x branch and forgot to reference this ticket, so it is done.

I have opened an infra ticket in the composer queue to have us moved to a general project: https://www.drupal.org/project/project_composer/issues/3388717 📌 Convert the Sector Distribution to a general project Fixed

Once that has been approved we can update all the documentation, READMEs, and composer requires.

Namespace for the template is: drupal/sector_project_template

Namespace for the profile is: drupal/sector

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe created an issue.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe made their first commit to this issue’s fork.

🇳🇿New Zealand dieuwe Auckland, NZ

dieuwe made their first commit to this issue’s fork.

🇳🇿New Zealand dieuwe Auckland, NZ

The problem is that the requirement for guzzle/guzzle7 is a hard requirement through the league/omnipay package. Drupal core 9.5 does have the multiple version ranges allowed (6 and 7).

I think with D9 EOL so close and jumps to D10 needing to happen in the next few months this is probably a fine caveat.

We could probably do "league/omnipay": "^3.0 || ^3.2", in commerce_dps to allow for both D9+D10 and PHP7+PHP8 support to co-exist for a bit longer.

🇳🇿New Zealand dieuwe Auckland, NZ

Switching to needs review instead of RTBC for now, and will come back to this once I have done more testing.

I wonder if the dependencies for this module should be more permissive or is that a separate issue? (use ^ instead of ~)

Production build 0.71.5 2024