User application request has an Authorization header so an Authorization
instance is returned but it can not be used for login.
Closes#12312
(grafted from 0a4e13728c0a9bb24536cb1033d95ca6749a2b9d)
--HG--
branch : 6.0
Since Werkzeug >= 2.3, it always tries to parse the Authorization header as a
digest. If the session value which is encoded in base64 needs padding, the
trailing `=` are interpreted as header values and the token attribute is not
filled.
In this case we must parse ourself the Authorization header to decode the
base64 value as session.
Closes#12259
(grafted from 0bd0b8a0e20ad8d2f3d13cc8d879c78717817b7a)
--HG--
branch : 6.0
As the cache is rollback to avoid dead lock, the transaction commit could
restore cache version that is no more valid.
For example the language cache of `ir.translation` which is filled initially
with only English and then reset when other languages are created by the `ir`
module. So at the end of `ir` module load, the cache is reset to contain only
English as it was the content before the first cache reset. This prevents to
load any other language from other modules.
So to ensure the next module is loaded using a fresh cache, all the caches are
cleared.
Closes#12246
(grafted from 5f14ca66744e53cd1d6200dfd569c2dca19f99c6)
--HG--
branch : 6.0
Without proper type, browsers do not render SVG image from Blob.
So we try to guess if it is an SVG image by trying to parse it as XML.
For other types, browsers render them without type.
Closes#12201
(grafted from b4bc4a5f10c503c99a0e7d8bd8df76a8881a4c0d)
--HG--
branch : 6.0
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.
Closes#12239
(grafted from 8557c57f05896c8e976d88d68500ec8d5ab6f255)
--HG--
branch : 6.0
When the scroll is at the bottom (and a footer is present), when new rows are
added the scroll stay at the bottom which trigger again to load more rows.
This continue until reaching the end of the tree.
To prevent this behavior we restore the position of the scroll using the
height from the top.
Closes#12223
(grafted from 6bcec872fdb13b1f3222c0a08757b44c5877d79c)
--HG--
branch : 6.0