mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge branch 'release_23.2' into release_24.0
This commit is contained in:
@@ -665,7 +665,8 @@ class GalaxyWebTransaction(base.DefaultWebTransaction, context.ProvidesHistoryCo
|
||||
galaxy_session = self.__create_new_session(prev_galaxy_session, user_for_new_session)
|
||||
galaxy_session_requires_flush = True
|
||||
self.galaxy_session = galaxy_session
|
||||
self.get_or_create_default_history()
|
||||
if self.webapp.name == "galaxy":
|
||||
self.get_or_create_default_history()
|
||||
self.__update_session_cookie(name=session_cookie)
|
||||
else:
|
||||
self.galaxy_session = galaxy_session
|
||||
|
||||
@@ -37,6 +37,10 @@ class ToolShedGalaxyWebTransaction(GalaxyWebTransaction):
|
||||
def repositories_hostname(self) -> str:
|
||||
return url_for("/", qualified=True).rstrip("/")
|
||||
|
||||
def get_or_create_default_history(self):
|
||||
# tool shed has no concept of histories
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class CommunityWebApplication(galaxy.webapps.base.webapp.WebApplication):
|
||||
injection_aware: bool = True
|
||||
|
||||
Reference in New Issue
Block a user