From 3b423ca49292dfe383086081e4a3c88ecd0fffb1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Wed, 17 Jul 2024 13:24:12 -0400 Subject: v0.13.5.4stackprms, fix globalVisibleCalDAVCollections --- README-stackrpms.md | 3 +++ infcloud.spec | 5 ++++- radicale_infcloud/web/main.js | 2 +- radicale_infcloud/web/webdav_protocol.js | 6 ++++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README-stackrpms.md b/README-stackrpms.md index 0a208a8..c8a0997 100644 --- a/README-stackrpms.md +++ b/README-stackrpms.md @@ -93,3 +93,6 @@ To accomplish autologin in your browser, use developer tools to run a few javasc * Fri Nov 10 2023 B. Stack - 0.13.5.3stackrpms-1 - Add desktop notifications + +* Wed Jul 17 2024 B. Stack - 0.13.5.4stackrpms-1 +- Fix globalVisibleCalDAVCollections getting broken diff --git a/infcloud.spec b/infcloud.spec index 4268e5c..3660abc 100644 --- a/infcloud.spec +++ b/infcloud.spec @@ -1,7 +1,7 @@ %define branch stackrpms %define pname RadicaleInfCloud Name: infcloud -Version: 0.13.5.3stackrpms +Version: 0.13.5.4stackrpms Release: 1%{?dist} Summary: Rich web client for carddav and caldav BuildArch: noarch @@ -46,6 +46,9 @@ ln -s %{_sysconfdir}/%{name}/cache.manifest %{buildroot}%{_datadir}/%{name}/radi %doc README-stackrpms.md %changelog +* Wed Jul 17 2024 B. Stack - 0.13.5.4stackrpms-1 +- Fix globalVisibleCalDAVCollections getting broken + * Fri Nov 10 2023 B. Stack - 0.13.5.3stackrpms-1 - Add desktop notifications diff --git a/radicale_infcloud/web/main.js b/radicale_infcloud/web/main.js index a677c6f..e638c39 100644 --- a/radicale_infcloud/web/main.js +++ b/radicale_infcloud/web/main.js @@ -180,7 +180,7 @@ var globalActiveApp=''; var globalAvailableAppsArray=new Array(); var globalEnableAppSwitch=true; var globalAppName='Calendar'; -var globalVersion='0.13.5.3stackrpms' +var globalVersion='0.13.5.4stackrpms' var globalBuildNo=1660329731; var globalXMLCache=null; var globalVersionCheckURL=(location.protocol=='file:' ? 'http:' : location.protocol)+'//www.inf-it.com/versioncheck/'+globalAppName+'/?v='+globalVersion; diff --git a/radicale_infcloud/web/webdav_protocol.js b/radicale_infcloud/web/webdav_protocol.js index 285c0b7..8c10a7e 100644 --- a/radicale_infcloud/web/webdav_protocol.js +++ b/radicale_infcloud/web/webdav_protocol.js @@ -771,8 +771,10 @@ function netFindResource(inputResource, inputResourceIndex, forceLoad, indexR, l if(globalSettings.activecalendarcollections.value.length>0 && globalVisibleCalDAVCollections.length==0) globalDefaultCalendarCollectionActiveAll=true; } - // stackrpms,2 This forces all calendars to turn on at initial load - globalDefaultCalendarCollectionActiveAll=true; + // stackrpms,4 This forces all calendars to turn on at initial load + // This breaks globalVisibleCalDAVCollections subtly over time when + // the web page stays open for a while. Do not run this here like this. + //globalDefaultCalendarCollectionActiveAll=true; if(globalDefaultCalendarCollectionActiveAll) for(var i=0; i