It appears that we can't combine the WSGI middleware with the ASGI
middleware in the same app. We're currently not sending events that
occur in the WSGI portion of the app. With this change they're logged
again, though we do lose the WSGI request context (which contains,
browser, route, etc.) It's usually pretty clear from the traceback what
went wrong though, so I think this is much better than what's happening
now.
with manual fixes to 3 files to make them compatible with black 22.12.0 .
We need to keep black pinned at `<23` until we vendorise `packaging`, since
the new version of black depends on `packaging >=22.0` which is the version
where `LegacyVersion` (which we use for tool lineages) was removed.
Fixes#15278
```
Traceback (most recent call last):
File "lib/galaxy/web/framework/middleware/error.py", line 154, in __call__
app_iter = self.application(environ, sr_checker)
File "lib/galaxy/web/framework/middleware/xforwardedhost.py", line 23, in __call__
return self.app(environ, start_response)
File "/galaxy/.venv/lib/python3.6/site-packages/paste/translogger.py", line 69, in __call__
return self.application(environ, replacement_start_response)
File "/galaxy/.venv/lib/python3.6/site-packages/paste/recursive.py", line 85, in __call__
return self.application(environ, start_response)
File "/galaxy/.venv/lib/python3.6/site-packages/routes/middleware.py", line 153, in __call__
response = self.app(environ, start_response)
File "/galaxy/.venv/lib/python3.6/site-packages/paste/httpexceptions.py", line 640, in __call__
return self.application(environ, start_response)
File "lib/galaxy/web/framework/base.py", line 138, in __call__
return self.handle_request(environ, start_response)
File "lib/galaxy/web/framework/base.py", line 217, in handle_request
body = method(trans, **kwargs)
File "lib/tool_shed/webapp/controllers/user.py", line 68, in login
response = self.__validate_login(trans, **kwd)
File "lib/galaxy/webapps/galaxy/controllers/user.py", line 139, in __validate_login
message, user = self.__autoregistration(trans, login, password)
File "lib/galaxy/webapps/galaxy/controllers/user.py", line 97, in __autoregistration
user = self.user_manager.create(email=email, username=username, password="")
File "lib/galaxy/managers/users.py", line 116, in create
user.set_random_password()
AttributeError: 'User' object has no attribute 'set_random_password'
```
goes down from 16kb to 9kb and preserves all details
add padding to masthead logo
it now has no padding in the image itself
Add margin to svg
drop padding
since we decided to include it in logos
Slightly increase margin further