Merge branch 'release_24.0' into dev

This commit is contained in:
mvdbeek
2024-04-18 17:13:04 +02:00
3 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ import { mergeObjectListsById } from "@/utils/utils";
import { useBroadcastsStore } from "./broadcastsStore";
const ACTIVE_POLLING_INTERVAL = 5000;
const INACTIVE_POLLING_INTERVAL = 30000;
const ACTIVE_POLLING_INTERVAL = 30000; // 30 seconds
const INACTIVE_POLLING_INTERVAL = ACTIVE_POLLING_INTERVAL * 20; // 10 minutes
export const useNotificationsStore = defineStore("notificationsStore", () => {
const { startWatchingResource: startWatchingNotifications } = useResourceWatcher(getNotificationStatus, {
@@ -140,8 +140,6 @@ def __new_history_upload(trans, uploaded_dataset, history=None, state=None):
hda.state = state
else:
hda.state = hda.states.QUEUED
with transaction(trans.sa_session):
trans.sa_session.commit()
history.add_dataset(hda, genome_build=uploaded_dataset.dbkey, quota=False)
permissions = trans.app.security_agent.history_get_default_permissions(history)
trans.app.security_agent.set_all_dataset_permissions(hda.dataset, permissions, new=True, flush=False)
+1 -2
View File
@@ -2652,8 +2652,7 @@ class RulesListToolParameter(BaseJsonToolParameter):
def to_dict(self, trans, other_values=None):
other_values = other_values or {}
d = ToolParameter.to_dict(self, trans)
if (target_name := self.data_ref) in other_values:
target = other_values[target_name]
if target := other_values.get(self.data_ref):
if not is_runtime_value(target):
d["target"] = {
"src": "hdca" if hasattr(target, "collection") else "hda",