From 054bf0846b78f474d7384a97f9c29d5c06082012 Mon Sep 17 00:00:00 2001 From: Klas Arvidsson <klas.arvidsson@liu.se> Date: Wed, 15 Jan 2025 16:40:21 +0100 Subject: [PATCH] Further rules for office forms (TDDC77) and new course (TDDE69). --- files/squid/helpers/rules.d/office.forms.rules | 9 ++++----- files/squid/helpers/rules.d/python.rules | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/files/squid/helpers/rules.d/office.forms.rules b/files/squid/helpers/rules.d/office.forms.rules index b64974c..93e42c2 100644 --- a/files/squid/helpers/rules.d/office.forms.rules +++ b/files/squid/helpers/rules.d/office.forms.rules @@ -1,18 +1,17 @@ // For TDDC77 DAT3 2025-01 - ^https://forms\.office\.com/pages/responsepage\.aspx\?id=7Bg_kSZ_X0yoFnhP6aWO3dxPk6SaoB1DvjOxHiii8UZUMExJR0pRWkMzOTYzWjRGNzJHTFJMNUhFSS4u&route=shorturl true ^https://forms\.office\.com/e/N8TBYTcMSD true -// https://forms\.office\.com/formapi/api/913f18ec-7f26-4c5f-a816-784fe9a58edd/users/a4934fdc-a09a-431d-be33-b11e28a2f146/light/runtimeFormsWithResponses('7Bg_kSZ_X0yoFnhP6aWO3dxPk6SaoB1D\ -vjOxHiii8UZUMExJR0pRWkMzOTYzWjRGNzJHTFJMNUhFSS4u')\?\$expand=questions(\$expand=choices)&\$top=1 +// https://forms\.office\.com/formapi/api/913f18ec-7f26-4c5f-a816-784fe9a58edd/users/a4934fdc-a09a-431d-be33-b11e28a2f146/light/runtimeFormsWithResponses('7Bg_kSZ_X0yoFnhP6aWO3dxPk6SaoB1DvjOxHiii8UZUMExJR0pRWkMzOTYzWjRGNzJHTFJMNUhFSS4u')\?\$expand=questions(\$expand=choices)&\$top=1 true ^https://forms\.office\.com/formapi/api/.* true // https://lists.office.com/Images/913f18ec-7f26-4c5f-a816-784fe9a58edd/a4934fdc-a09a-431d-be33-b11e28a2f146/T0LIGJQZC3963Z4F72GLRL5HEI/69d43e42-bad1-4343-a566-e274f56a5519 ^https://lists.office.com/Images/.* true -^https://eu-mobile\.events\.data\.microsoft\.com/OneCollector/1\.0/\?cors=true&content-type=application/x-json-stream&w=2 true - +^https://eu-mobile\.events\.data\.microsoft\.com/OneCollector/1\.0/\?.* true ^https://forms\.office\.com/pwa/en-gb/app\.webmanifest true ^https://cdn\.forms\.office\.net/scripts/dists/[-_.a-zA-Z0-9]*\.js true ^https://c\.office\.com/c\.gif true ^https://cdn\.forms\.office.net/images/.* true +^https://forms\.cloud\.microsoft/muid\.gif\?muid=.* true +^https://cdn\.forms\.office\.net/formsresources/eventcard/cover/reunion_people\.jpg true diff --git a/files/squid/helpers/rules.d/python.rules b/files/squid/helpers/rules.d/python.rules index f649910..dcca136 100644 --- a/files/squid/helpers/rules.d/python.rules +++ b/files/squid/helpers/rules.d/python.rules @@ -36,10 +36,23 @@ ^https?://scikit-learn\.org/dev/_static/.* true // TDDE69 -^https://scikit-learn\.org/stable/user_guide.html true +^https://views\.scientific-python\.org/js/script\.js true +^https://cdn\.jsdelivr\.net/npm/.*/fonts/.*\.woff2? true +^https://cdn\.jsdelivr\.net/npm/.*\.css true +^https://cdn\.datatables\.net/[.0-9]*/js/.*\.js true + +^https://scikit-learn\.org/stable/user_guide\.html true +^https://scikit-learn\.org/stable/_images/.* true + ^https://matplotlib\.org/stable/users/.* true ^https://matplotlib\.org/stable/api/.* true +^https://matplotlib\.org/stable/_static/.* true +^https://matplotlib\.org/stable/_images/.* true +^https://matplotlib\.org/cdn-cgi/scripts/.*\.js true // TDDE69 Less important ^https://pandas\.pydata\.org/docs/.* true +^https://pandas\.pydata\.org/static/.* true +^https://pandas\.pydata\.org/versions\.json true + ^https://pytorch\.org/docs/stable/.* true -- GitLab