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
Argh... GitLab is broken again (regex/named capture groups) #45
Comments
They used both |
What the good students are they? |
This comment was marked as off-topic.
This comment was marked as off-topic.
Here is a dirty error bypass hack: 1.2.13b3. |
|
An example URL. plz. |
I checked some GitLab addresses and it works fine on ST52 |
I restart my browser, and it work. May caused by my network. |
Haha I knew GL being the second worst won't stay out of this browser war for long! And their timing strongly suggests M$ insidership. But that's enough. Where would you guys suggest I should move my projects? Codeberg? |
Once again, thank you very much, @JustOff !!! Another small victory in this endless cat-and-very-shiny-mouse chase. Can confirm that Gitlab works again on SeaMonkey. Ironically, when you open the console there, you get a welcoming message to "make GitLab more lovable" (complete with emojis, ON A CONSOLE). Sure, right, "lovable". As long as you love Chrome®™, of course! |
in https://foss.heptapod.net/seamonkey/mozilla-release it shows this error:
|
on ST52
|
Instances may not be updated: #45 (comment)
github-wc-polyfill-1.2.17b1 |
😡 ; "main" GitLab is again BROKEN here (202203170045 UTC), due to them using unsupported (in UXP) regex syntax... 👎 😠 Latest St52+ Error Console log: Timestamp: 17/03/2022 02:57:00
Error: SyntaxError: invalid regexp group
Source File: https://gitlab.com/assets/webpack/commons-pages.admin.topics.edit-pages.admin.topics.new-pages.groups.epics.new-pages.groups.epics.sho-59a8e774.e7c29e61.chunk.js
Line: 1, Column: 285
Source Code:
,i=n.n(o),r=n("79X9"),s=n("oj/M");const a="[{text}](url)",l=/^(?<indent>\s*)(?<leader>((?<isUl>[*+-])|(?<isOl>\d+\.))( \ ... Seems there's no end to this ordeal 😭 ; one day is GH, the next GL, and so on... 😞 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Both the beta github-wc-polyfill-1.2.17b2 and latest release github-wc-polyfill-1.2.17 mitigate the GitLab breakage I reported, so many thanks for the speedy fix! 🥇
Thanks a lot! 😄 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This is better. |
gitlab doesn't work for me even with the latest update |
@l29ah The site app is outdated, you should ask the manager to update, or use old add-on. |
on ST52 + 1.2.17
😕 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
it happens again:
which is: |
... Can also confirm (04/04/2022, ca. 16:50 UTC) 😞 ; Timestamp: 04/04/2022 19:51:23
Error: SyntaxError: invalid regexp group
Source File: https://gitlab.com/assets/webpack/commons-pages.admin.topics.edit-pages.admin.topics.new-pages.groups.epics.new-pages.groups.epics.sho-59a8e774.e3a8a1a8.chunk.js
Line: 1, Column: 1627
Source Code:
,o=n.n(r),i=n("79X9"),s=n("oj/M");const a="[{text}](url)",l=/^(?<indent>\s*)(?<leader>((?<isUl>[*+-])|(?<isOl>\d+\.))( \ FWIW, after my recent exchange with this extension's current maintainer, perhaps it would be better to open a new issue for this latest GL breakage 😉 ; though, to be fair, this issue has remained in an |
I don't want to sound ominous, but GitLab are announcing currently the release of their next major milestone, |
Still getting this after update
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10525 (any MR) |
See previous comments in this thread: 1, 2, 3; IOW:
|
Yep, just wait an update by them. Or take a rollback of addon. |
that seems impractical tbh. maybe there's a way (checksum of script) to detect which fix needs to be rolled out ? |
It is a pity that this is not applicable to our framework of the addon. |
Theoretically, this should still be possible, but I'm not a coder myself; github-wc-polyfill/bootstrap.js Line 352 in 1414868
and is then "treated" (unsuccessfully 😞) with whatever GL-targeting code exists in latest |
indeed, it would be much nicer to detect that it needs the old fix by checksumming (or checking filesize) of the js script in question. btw it seems salsa.debian.org also uses an older version of gitlab. |
It's Debian, what do you expect :^) |
Confirmed 😞 (like in the case of https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/292 ) |
github-wc-polyfill-1.2.18.2.xpi |
that's great! i'm a bit amazed that i can't find a corresponding commit in the commit history. i'm curious how you implemented it. |
It will be commited later. And now, view it in xpi package. |
please increase the version number in |
Yep, it in the plan, but isn't pressing. |
Today must be a horrible day for everybody using source hosting sites which are hellbent on making life miserable to anyone not using Chrome®™ or a Chrome®™-compatible browser. Now GitLab is breaking again because they decided it was a good idea to deploy named capture groups on their regexes for no good reason at all.
Apparently the polyfills injected by the addon cause GitLab to load one of their scripts... which breaks because it now contains unsupported regexes. The error console logs this:
Since SeaMonkey doesn't support named capture groups (yet), the entire tower of cards falls down there, and GitLab goes back to its usual behavior for anyone not using A Blessed Browser™ (i.e. everything broken, can't read anything but the first post on a issue, etc.)
When will the madness stop!? Maybe it's time to declare JavaScript and Google war criminals against mankind at the United Nations :/
The text was updated successfully, but these errors were encountered: