- 🇧🇪Belgium herved
Ok I need to revert back to 1.x for other unrelated reasons, here is a reroll for 1.x if needed.
- 🇷🇴Romania vitalie
many thanks @herved! The javascript code was already in debt, breaking a few coding standards, but after the patch there are even more complaints. Would you have capacity to fix them?
- last update
over 1 year ago 1 pass - 🇧🇪Belgium herved
Ok I'm not sure why my prettier output is different than the one from CI...
I use the config from drupal core (/core/.eslintrc.json) though.
Let's try this. - last update
over 1 year ago 1 pass - Assigned to Grevil
- Status changed to Needs review
over 1 year ago 7:48am 10 July 2023 - 🇩🇪Germany Anybody Porta Westfalica
Thank you for the fixes and tests here. @Grevil could you check this?
- First commit to issue fork.
- 🇩🇪Germany Grevil
Switching to an issue fork workflow, for easier reviewability and general ease of use.
- last update
over 1 year ago 1 pass - @grevil opened merge request.
- last update
over 1 year ago 1 pass - last update
over 1 year ago 1 pass - last update
over 1 year ago 1 pass - Status changed to Needs work
over 1 year ago 2:31pm 10 July 2023 - 🇩🇪Germany Grevil
The js part LGTM, the php part needs some further refactoring. I generally feel like "filterTagContents" just simply filters way too much. I understand filtering the content for XSS stuff, but for this to work properly, we should adjust the method. "output()" shouldn't have this weird filter behavior based on whether the email is part of the content or not. "filterTagContents" should simply leave the mail in. Although I understand the conflict from #305464: Something broken? → , but we need further work on this.
- Issue was unassigned.
- Status changed to Postponed
over 1 year ago 2:35pm 10 July 2023 - 🇩🇪Germany Anybody Porta Westfalica
Thanks for your investigations and work on this @Grevil!
I think we should first implement tests in
📌 Test & ensure attributes and complex HTML within the mailto link doesn't break Fixed
📌 Write basic install / uninstall tests Fixed
and ensure 🐛 Test input filtering to be idempotent Fixed works as expected, as they're far more important and prove the module works as expected by tests in large parts.
Setting this postponed for now, until these are solved. - Status changed to Active
over 1 year ago 7:29am 11 July 2023 - 🇩🇪Germany Grevil
I'd really like this to be in, before we touch the JavaScript code anywhere else. I'll only postpone this on 📌 Write basic install / uninstall tests Fixed and 📌 Write functional javascript tests for the base functionality and some major issues Fixed . And afterward, we'll take a look at this again.
- 🇩🇪Germany Grevil
Alright, 📌 Write functional javascript tests for the base functionality and some major issues Fixed is fixed! Let's rebase this fork and see, if it breaks any existing functionality or even fixes some of it!
- last update
over 1 year ago 6 pass, 2 fail - 🇩🇪Germany Grevil
Damn, I messed up... pressed the rebase button one too many times and now it is merged.
- Status changed to Needs work
over 1 year ago 3:09pm 11 July 2023 - 🇩🇪Germany Anybody Porta Westfalica
@Grevil: Are you planning to finish this? Or how do we proceed here?
- 🇩🇪Germany Grevil
No, not really, probably wasn't the best issue to start with here...
But if anyone else would like to take a go, feel free to! (Although the code needs quite the rebase).
- last update
over 1 year ago 6 pass, 2 fail - @grevil opened merge request.
- 🇩🇪Germany Grevil
Created a new MR for anyone, wanting to tackle this issue. Unfortunately, I can not close "MR !7", as I accidentally merged it earlier.
- 🇩🇪Germany Anybody Porta Westfalica
Ok let's finally make this major, as it's one of the two last important bugs known here... A space shouldn't break spamspan.