Barcelona
Account created on 23 December 2008, over 16 years ago
#

Merge Requests

More

Recent comments

🇪🇸Spain rodrigoaguilera Barcelona

This would be a change in one of the files of the repository, reame.md, so anyone can propose that change with a merge request.

https://www.drupal.org/community/contributor-guide/task/create-a-merge-r...

Once the merge request is merged I can edit the description of the module page and use that readme markdown file to transform it into HTML.

🇪🇸Spain rodrigoaguilera Barcelona

I faced similar issues with the new route so I can confirm this is the proper fix

🇪🇸Spain rodrigoaguilera Barcelona

I gave it a read and it improves on the current description.
Made a small edit removing the version.

Next step would be to convert this into the readme.md for the module
I would keep the: "Recommended modules" and "other modules" section.

Thanks for the effort

🇪🇸Spain rodrigoaguilera Barcelona

Great cleanup :)

Thanks for the contribution.
I will roll a release to avoid the warning.

🇪🇸Spain rodrigoaguilera Barcelona

Indeed it makes sense to remove it. I think it comes from a time were the src folder of themes was not autoloaded.

Do you see why the pipeline is failing?

🇪🇸Spain rodrigoaguilera Barcelona

All layouts have a schema now + some schema fixes revealed by the functional test.
For the test to pass the Drupal 11 compatibility needs to be merged first
https://www.drupal.org/project/rocketship_core/issues/3536132 🐛 Compatibility with Drupal 11.2.2 Active

Locally the tests pass with dozens of deprecation warnings but we can work on those later and having them listed will ease the work.

🇪🇸Spain rodrigoaguilera Barcelona

I committed the suggested change to the 1.x branch from my phone.
Can you confirm it works?

Thanks for the detailed bug report and solution.

🇪🇸Spain rodrigoaguilera Barcelona

Hi
The code looks good except for the mix usage of [] and array. Can you use the short version in the new code? I wouldn't mind if you also convert some arrays around the code changed like $defaults.
Thanks for the contribution!

🇪🇸Spain rodrigoaguilera Barcelona

So when you uninstall this module your are able to see the unpublished content again?

🇪🇸Spain rodrigoaguilera Barcelona

I updated the patch for 6.0.x

As said before, there must be a better way to store the nonce

🇪🇸Spain rodrigoaguilera Barcelona

Added just the schema for rs_one_col in the MR.

🇪🇸Spain rodrigoaguilera Barcelona

Yes, totally a duplicate. Adding it as related issue.

I think RTBC might get more attention from a core maintainer to assign credit

🇪🇸Spain rodrigoaguilera Barcelona

Rebased the branch and moved the tests. Not sure why tests are failing.

Attached also you can fin the patch for Drupal 11.2.2 for composer

🇪🇸Spain rodrigoaguilera Barcelona

Just rebased the #22 patch and created an MR so it applies to Drupal 11.2.2
IS still needs updating.

🇪🇸Spain rodrigoaguilera Barcelona

In the context of OpenID Connect when using RS256 a "kid" is required on the JWKS endpoint and the header of the token.

If you try to pass the playground test with simple_oauth and this patch https://git.drupalcode.org/project/simple_oauth/-/merge_requests/171
It will complain about the "kid" being missing
https://openidconnect.net/

So the same kid needs to be in the JWKS endpoint and in the OpenIdConnectIdTokenResponse. I added one line there

    // Add required id_token claims.
     $builder = $this->getBuilder($accessToken, $userEntity);

     $builder = $builder->withHeader('kid', 'singlekey');
  

And I was able to go through all the steps in the playground

🇪🇸Spain rodrigoaguilera Barcelona

I have no issue using proper relative paths that start with ".."
Only absolute paths should start with /

I only tried on 6.0.0 not 5.2.x but seems that part hasn't changed much.
Closing because in case is not posible on the 5.2.x branch I doubt it will be added as a feature when is already present in 6.0.x.

Please reopen if you think the help text needs better guidance

🇪🇸Spain rodrigoaguilera Barcelona

Tested manually and it works great. Fixed some more phpcs issues

Thanks for the contribution!

🇪🇸Spain rodrigoaguilera Barcelona

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

🇪🇸Spain rodrigoaguilera Barcelona

I tested the latest MR and one thing I found weird is that the in the header array the indices for the rows can't be numeric.
Also when using multilevel the issues of having attributes in the headers cells is also solved, hence adding it as a related issue

🇪🇸Spain rodrigoaguilera Barcelona

Ok, then I guess that config is needed if it is in the template and I imagine that since JS sniffing is deprecated in phpcs it won't be needed to exclude JS explictly as those files will be ignored by default by phpcs.

Thanks!

🇪🇸Spain rodrigoaguilera Barcelona

I deleted the gitlab CI file as it was not correct and introduced in another issue.
There is a missing schema for the new settings as is indicated by the failing test

🇪🇸Spain rodrigoaguilera Barcelona

Thanks. Bear in mind that you should let others mark the issue as reviewed if you create the code

🇪🇸Spain rodrigoaguilera Barcelona

I don't know why I wasn't receiving notifications about this issue. I opted for keeping compatibility with 3.x of field_group
Thanks for the contribution

🇪🇸Spain rodrigoaguilera Barcelona

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

🇪🇸Spain rodrigoaguilera Barcelona

rodrigoaguilera changed the visibility of the branch symfony_mailer-3388651-3388651-allow-customize-sender-2.x to hidden.

🇪🇸Spain rodrigoaguilera Barcelona

rodrigoaguilera changed the visibility of the branch 3388651-allow-customize-sender-2.x to active.

🇪🇸Spain rodrigoaguilera Barcelona

rodrigoaguilera changed the visibility of the branch 3388651-allow-customize-sender-2.x to hidden.

🇪🇸Spain rodrigoaguilera Barcelona

rodrigoaguilera changed the visibility of the branch 3388651-allow-customize-sender to hidden.

🇪🇸Spain rodrigoaguilera Barcelona

Much clear now

I rebased the branch and committed the refactoring following your guidance. Thanks!

🇪🇸Spain rodrigoaguilera Barcelona

I checked out fa24d4c6407eb0bacaf08099be868b938717e6e6 and succesfully created a transport with the interface.
The code look good. I don't really use the architecture with the tagged services but I guess is important for flexibility opening the door for things like decorating.

🇪🇸Spain rodrigoaguilera Barcelona

Makes sense

Thanks for the contribution

🇪🇸Spain rodrigoaguilera Barcelona

I think your solution is better keeping all transports as tagged services. It is always great to have maintainer around. Thanks for you work on the module

🇪🇸Spain rodrigoaguilera Barcelona

Fixed all phpcs, phpstan and cspell issues.

Thanks!

🇪🇸Spain rodrigoaguilera Barcelona

Totally agree. I think this code was a copy of what devel was doing back then for inspecting entities

Don't know why the Merge button in gitlab is not working :(

Thanks for the contribution :)

🇪🇸Spain rodrigoaguilera Barcelona

Not sure 100% of use cases would want the date unchanged but I do believe is the correct default behaviour. I'm open to changes that would make this configurable.

Thanks for the contribution!

🇪🇸Spain rodrigoaguilera Barcelona

Indeed, I agree the tab title is too long.

Thanks for the contribution

🇪🇸Spain rodrigoaguilera Barcelona

Applied the patch and the import worked. I believe that patch is the same as the MR. Setting it to RTBC.

Being one additional argument I guess it keeps compatibility with Drupal 10

🇪🇸Spain rodrigoaguilera Barcelona

I also fixed a bug with the emails to admins not being sent due to this line

    if($this->apply_for_role_config->get('send_user_approval_email')){

The idea would be to only use tokens in the future instead of the custom replacements logic but I think this is a small step in the right direction.

Please review

🇪🇸Spain rodrigoaguilera Barcelona

I ran the upgrade status scan on D10 and it reported the issues that I include in the MR.
I will perform more manual testing now with the module installed on Drupal 11.1.6 but usually upgrade_status catches all the issues so setting it to NR

🇪🇸Spain rodrigoaguilera Barcelona

Tests are failing because of the new default of FALSE for hide_untranslated_menu_links in the menu block.

I think the upgrade path is now ready so removing that tag

I won't be working on this in the near future

🇪🇸Spain rodrigoaguilera Barcelona

Merged 11.x into the branch.

I agree with @catch so I applied the idea of the

OnlyShowTranslatedMenuLinksInterface

instead of checking for a specific class.

If the pipelines return green then I will make $context optional and default to null when not passed. I see no reason for making it mandatory

🇪🇸Spain rodrigoaguilera Barcelona

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

🇪🇸Spain rodrigoaguilera Barcelona

Since the underlying data is an image field I think what is happening here is that the "Remove" is not triggered when clearing the canvas.

Not sure if that would be a viable solution or the button for removing the image should be exposed as some way of starting a fresh canvas deleting the previous image. Saving at this "clean" state will delete the image.

Let's discuss what should be the correct behavior

🇪🇸Spain rodrigoaguilera Barcelona

Thanks for the contribution

🇪🇸Spain rodrigoaguilera Barcelona

I tested with Drupal 11 with Drush 13 and Drupal 10 with Drush 12 both with the 3.x branch and the generators are not detected but the error is gone.
I think some PHP attributes are needed for recent version of the generators
https://github.com/Chi-teck/drupal-code-generator/blob/4.x/src/Command/P...

🇪🇸Spain rodrigoaguilera Barcelona

I adjusted the code for 2.x. Added the description text copied from Drupal core and tests.

I don't understand point 2 from comment #14. Can you explain more what is needed?

🇪🇸Spain rodrigoaguilera Barcelona

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

🇪🇸Spain rodrigoaguilera Barcelona

I understand but for that purpose you have other modules like
https://www.drupal.org/project/view_unpublished

Or core issues that try to include that into Drupal
https://www.drupal.org/project/drupal/issues/3160748 🐛 Support "View any unpublished [entity_type]" and "Administer [entity_type]" permissions Postponed

🇪🇸Spain rodrigoaguilera Barcelona

With that information I think I can roll a new release

🇪🇸Spain rodrigoaguilera Barcelona

Sure, don't forget to make the 3.x the default branch to signify better the new direction of the module

🇪🇸Spain rodrigoaguilera Barcelona

Hello Nick

Thank you for your offer to maintain but I would like to see some initiative in the form of MRs or ideas on how to improve the module from you.
I admit the module doesn't receive the timely updates it deserves but it is just because I don't use in any of my active projects and I haven't receive any request for updates. I'll try to make it compatible with D11 this weekend.

Please don't feel discouraged to continue contributing, if the aspects I mention above change I am more than happy to share the maintainer role just like the person before me did for me.

🇪🇸Spain rodrigoaguilera Barcelona

For people arriving here from a search: the key is how Drupal core change session ID generation
https://www.drupal.org/node/3006306

Production build 0.71.5 2024