diff --git a/files/squid/helpers/rules.d/office.forms.rules b/files/squid/helpers/rules.d/office.forms.rules new file mode 100644 index 0000000000000000000000000000000000000000..b64974cd51d230a9dec2de63f464f43e8ec0e31e --- /dev/null +++ b/files/squid/helpers/rules.d/office.forms.rules @@ -0,0 +1,18 @@ +// 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/.* 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://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 diff --git a/files/squid/helpers/rules.d/python.rules b/files/squid/helpers/rules.d/python.rules index 39c000d31415d28fa1351e36f3633c4924d7a47c..f64991056f0ecdf11baa5e0d3d9e0a97ea81f12b 100644 --- a/files/squid/helpers/rules.d/python.rules +++ b/files/squid/helpers/rules.d/python.rules @@ -34,3 +34,12 @@ ^https?://scikit-learn\.org/stable/modules/.* true ^https?://scikit-learn\.org/stable/_static/.* true ^https?://scikit-learn\.org/dev/_static/.* true + +// TDDE69 +^https://scikit-learn\.org/stable/user_guide.html true +^https://matplotlib\.org/stable/users/.* true +^https://matplotlib\.org/stable/api/.* true + +// TDDE69 Less important +^https://pandas\.pydata\.org/docs/.* true +^https://pytorch\.org/docs/stable/.* true diff --git a/files/squid/helpers/squid-url-rewrite.py b/files/squid/helpers/squid-url-rewrite.py index 241dea7eb3230a5e35cb70609ae765478bf49f26..292647a3d7b46085a4dcc807aed63da510065bcd 100755 --- a/files/squid/helpers/squid-url-rewrite.py +++ b/files/squid/helpers/squid-url-rewrite.py @@ -98,6 +98,7 @@ def main(): load_rules(ruleset, basedir + "/rules.d/ruby.rules") load_rules(ruleset, basedir + "/rules.d/sas.rules") load_rules(ruleset, basedir + "/rules.d/translate.rules") + load_rules(ruleset, basedir + "/rules.d/office.forms.rules") with open(filterlog, 'a') as log: try: