From 75008be537e4b8f12a07080aa0690765f2abc367 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 18:32:13 +0000 Subject: [PATCH 1/2] chore(deps): bump actions/stale from 10.4.0 to 11.0.0 Bumps [actions/stale](https://github.com/actions/stale) from 10.4.0 to 11.0.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10.4.0...v11.0.0) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 11.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index aba8c5f191..e600c13481 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,7 +16,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v10.4.0 + - uses: actions/stale@v11.0.0 with: stale-issue-label: "stale" stale-pr-label: "stale" From b0036e022a99899963ff91b40b3daee97b91c8e1 Mon Sep 17 00:00:00 2001 From: lucs7 Date: Sun, 9 Aug 2026 15:50:45 +0200 Subject: [PATCH 2/2] fix(calendar): disable subscription link during loading --- Web/css/librebooking.css | 5 +++++ Web/scripts/calendar.js | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Web/css/librebooking.css b/Web/css/librebooking.css index b24eed65b2..aeaee91ae4 100644 --- a/Web/css/librebooking.css +++ b/Web/css/librebooking.css @@ -149,6 +149,11 @@ fieldset:disabled .btn { border-color: var(--primary-disabled); } +a.disabled { + pointer-events: none; + opacity: 0.5; +} + .link-primary { color: var(--primary) !important; text-decoration: none; diff --git a/Web/scripts/calendar.js b/Web/scripts/calendar.js index 64a8484ee1..2dadaab005 100644 --- a/Web/scripts/calendar.js +++ b/Web/scripts/calendar.js @@ -455,8 +455,20 @@ function Calendar(opts) { var url = _options.getSubscriptionUrl + '&rid=' + rid + '&sid=' + sid + '&gid=' + gid; ajaxGet( url, - function () {}, + function () { + // Disable the link while it may still reflect the previous filter selection. + // The href and inline onclick are dropped as well: pointer-events: none only + // blocks the mouse, so a focused link could otherwise still be activated with + // the keyboard and copy the stale subscription URL to the clipboard. + $('#subscribeToCalendar') + .addClass('disabled') + .attr('aria-disabled', 'true') + .removeAttr('onclick') + .removeAttr('href'); + }, function (response) { + // Re-enabling happens by replacement: the link lives inside #calendarSubscription + // and is rendered fresh, enabled, and carrying the current filter's URL. $('#calendarSubscription').html(response); } );