Alphen aan den Rijn
Account created on 18 April 2008, almost 17 years ago
  • Senior Drupal developer at Finalist 
#

Merge Requests

Recent comments

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

The target branch has now changed to the 6.0.x branch.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

@bramtenhove the new 6.0.x branch has been created. Can you point your MR to this branch? See https://git.drupalcode.org/project/o365/-/tree/6.0.x

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Looks good! Marking it as reviewed and tested

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now merged in the dev branch. Thanks for the work.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

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

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks for the patches. However I am marking this as "Closed (won't fix)". Fortytwo is a base theme without any extended styling. As far as we are concerned the styling of the mini pager (and the full pager as well) should be done in a sub theme of fortytwo and doesn't have it's place in the base theme.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks for the patch, I've tested it and everything works. I've also changed the error message so it shows how a GTM ID should look like.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

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

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Oops, added the credit to the users

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks for the good work. The MR is now merged and will be added in the new release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

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

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

So, it took some time, but in the new 2.0.x version there is a autocomplete function that allows users to search for photos and select those. It is not as extended as yours, however, it is a good start. Marking this as fixed, so we can continue on the new version and add stuff there.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now fixed in the new 2.0.x branch. A new release will be created soon!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've merged the latest changes. Setting the status back to "Active" so the bot can pickup the issue further.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

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

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This patch seems to work great! Thanks.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've noticed this as well and released a fix for this issue. You can use the 5.0.18 version of the module. That will contain the fix.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now fixed and will be available in the upcoming release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've just released the 5.0.14 release with this fix in it

🇳🇱Netherlands fabianderijk Alphen aan den Rijn
🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I didn't think about that. I reverted the change on the 4 controllers used to login/logout a user. Thos are probably the ones that are being extended in one way or another.

It's already available in the dev branch. I will create a new release soon.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Renamed Office 365 to Microsoft 365

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

The patch has been added to the repo. The fix will become available in the next release

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Updated the patch for the new version of the module

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've just tested this again with Drupal 10.3.6 and the dev branch of the module. I don't see the error message anymore with the provided steps. Can anyone confirm that is is now (somehow) fixed?

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now fixed in the dev branch and will be available in the upcoming release

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is fixed in the main branch

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Hi @mandclu, for both modules it would be great to integrate with the Microsoft 365 Connector.. If you are willing, you can start on the Smart Date module.

I will take a look at the full calender module and see if I can come up with some ideas.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I have committed the changes from the MR (and some other fixes). I will create a D11 release soon.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Marking as fixed because of D11

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I agree with the exits. All seems to work like it should, so I've committed the code. Thanks for the work!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

For me the MR works. I've asked @batigolix to have a check as well.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've created a fix for this issue. We now pass all e-mail addresses through the lowercase function so we only check, or add lowercase e-mail addresses.

This is now in the dev release and will be in the upcoming tagged release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

We have chosen to use the groups a user belongs to for mapping with Drupal roles. However, it is pretty easy to implement something like this yourself.

You can take a look at \Drupal\o365\EventSubscriber\RoleEventSubscriber and \Drupal\o365\RolesService::handleRoles to see how it is implemented now. If you would like to use the app roles you can use this endpoint: '/me/appRoleAssignments' for the logged in user. These are the docs in the Microsoft API reference: https://learn.microsoft.com/en-us/graph/api/user-list-approleassignments....

If you have any more questions, let me know!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've checked the fork, and adjusted the code to make it work. All works now like it should. The code has been pushed in the dev release and will be added in the upcoming tagged release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've just testen the MR. Everything seems to be working fine, so for me, it is ready to be committed.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I will test the patch this week!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've just created a new release. It was time to, I agree ;-)

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

@fgarciap that sounds great! Happy to be able to help!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now fixed and added as a setting on the SSO settings form

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Mmm, I think that happens because it only uses this setting on creation of the user. For now it doesn't update existing users.

To fix this, I've created Update username on login Active that I will look into today.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is fixed in the 5.0.11 release version. On the admin page (/admin/config/system/o365/settings/sso) you can now enter the correct attribute to use for the username. The issue of the screenshot is something different, but it is fixed in the new release as well.

The release is created, it may take some time before it is actually available.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

At this moment we cannot map the attribute. But I will see if I can create a new release with this feature. I can imagine this will happen more often.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Great, I'll create the release ASAP.

About the always login. The o365 module won't fix that for you. The module can redirect your users to Microsoft if you want without interference of the Drupal login form, but it won't handle the permissions as you would like.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

@fgarciap i've just updated the dev version of the module. Could you check this version? I can't reproduce this error anymore.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I would say that deleting their passwords is the most safe way to do this. Otherwise they might still be able to login for instance when using the basic_auth module.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Hi Zach, I've taken a look at your code, and everything seems to be promising. I will make you a maintainer on the module! Thanks for everything!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks, I've applied the patch and created a new 5.0.2 release

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This issue has been inactive, so closing it. All issues should be fixed by now

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

You are welcome. I've just created a new 5.0.4 version.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This should be fixed in the dev branch. Can you confirm?

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I will take a look at this asap!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I totally forgot about this. We now have a setting to log users out of office when logging out of Drupal. This is also set as default in a update hook for security reasons.

You can use release 5.0.3 for this.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn
🇳🇱Netherlands fabianderijk Alphen aan den Rijn

You should use the 5.x version like you said. I've just set that the 3.x version is not supported anymore.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've reviewed everything on a working intranet we use the module on. Everything is working when using the code in de MR.

I will create a 6.0.x branch to merge this into and start writing documentation on how to upgrade.

Great work everyone!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I will do a check on this code today.

When this works we will have to come up with a strategy on how to release this because this is a major change and may (better yet, will) break working sites. So we probably need to make a 6.0.x branch first before so we can merge this MR into that branch, write documentation on how to upgrade, etcetera.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks for the patch. I've applied it and changed it a bit. This is now available in the dev release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Thanks for testing nomisgnos! I've just committed a fix for this issue. When the auto redirect option is enabled a non-existing user will be redirected to the frontpage.

Keep in mind, in some use cases this can still create a infinite loop. For instance when the frontpage itself is a page a user need to be logged in for. Maybe this is something we can improve even more in the future (like a special page that is always accessible).

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This was related to a local patch we add to the module....

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Drupal 10 release is already there. Marking this issue as fixed

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This fixed is now added to the dev branch of the 5.0.x release.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

I've just added this option to the dev branch. You now have a checkbox in the SSO settings. When enabled, only user that already have an account on the website can login with SSO. Other users will be shown a error.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

Hi @vnech, yes i would like to have this added to the module. I just haven't had a lot of time to check this.

In the meantime, the 5.0.x branch has been created, and I think this should be added there as well as all new features will be added there. I've c opied all changes from the MR to a MR for the 5.0.x branch. Everything seems to be working there. I've tested it, and I can login using multiple Azure apps.

Can someone check as well: https://git.drupalcode.org/project/o365/-/merge_requests/33

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now fixed in the 5.0.x branch. And will be added to the new tagged release coming soon.

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This has now been added to the 3.0.x branch dev release, and is added to the new 5.0.0 release tag

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now merged. Thank you!

🇳🇱Netherlands fabianderijk Alphen aan den Rijn

This is now merged. Thank you!

Production build 0.71.5 2024