on firefox, whenever we were navigating away from the main page, it
would trigger the error handling code that would show the message: "Service unavailable, if the problem persist, contact your administrator" before the page change. This is only hapenning in Firefox but as a precautionary measure we're trying to detect those cases upfront so we wait instead of triggering the error handling
a couple months ago, we had to disabled the selection
of elements because this was opening the door to tons of bugs I didn't
wanted to deal with at the time but we finally came to the end of those,
hence we can reenable that
quote from go jwt lib: "WithPaddingAllowed will enable the codec used
for decoding JWTs to allow padding. Note that the JWS RFC7515 states
that the tokens will utilize a Base64url encoding with no padding.
Unfortunately, some implementations of JWT are producing non-standard
tokens, and thus require support for decoding."
cognito is one of those...
I've seen someone who mistakenly had updated their config secret key,
not sure if it was done by a weird password manager or a manual action
but that did corrupt their entire setup.
We now make sure value like secret key get validated before saving.
Didn't realise this would be necessary to start with as the appraoch has
always been "with great power come great responsability" but if it can
prevent catastrophic failure mode hapening by mistake, then we will be
making an exception to the moto
if selecting something and deselecting it, we'd
see the selection to be 0 which is a bit meh ...
while fixing it, we've share the cost of the selection length as it can
be potentially expensive to calculate if the user has selected tons of
stuff manually + shift selection + ctrl, etc...
whenever clicking on the download link, there were issue with
target=_blank + the download attribute. Effectively the download
attribute remove the effect of target blank, hence this workaround to
make sure the files that are downloaded are correctly named + open up in
a new tab. The issue without target blank is if the user starts the
download, he doesn't see a direct feedback telling him that something is
working under the hood, hence the target blank