Skip to content

Commit

Permalink
Merge pull request #365 from ppfeufer/integrity-hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeufer authored Nov 8, 2024
2 parents 7b1f1f6 + 8055e87 commit 30cb4f6
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 37 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Section Order:
### Added

- Optional doctrine field to FAT link creation forms
- Integrity hashes to CSS and JavaScript

## \[3.3.0\] - 2024-11-06

Expand Down
23 changes: 0 additions & 23 deletions afat/static/afat/javascript/afat-datatables-common.js

This file was deleted.

2 changes: 0 additions & 2 deletions afat/static/afat/javascript/afat-datatables-common.min.js

This file was deleted.

This file was deleted.

7 changes: 6 additions & 1 deletion afat/templates/afat/bundles/afat-css.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% load afat %}

<link rel="stylesheet" href="{% afat_static 'afat/css/afat.min.css' %}">
<link
rel="stylesheet"
href="{% afat_static 'afat/css/afat.min.css' %}"
integrity="sha512-fFbU9+kshMRsPpHxK5YlGOMUFVh/o9OjKBlKbJw5PBzMYj4qH0GsL1AqaH3TfvgPig7cMHEUAa6LTXRINHF9CQ=="
crossorigin="anonymous"
>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-dashboard-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat-dashboard.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat-dashboard.min.js' %}"
integrity="sha512-Dvc5wFexjA8qBLmxyc87/dXVdIyjs4piXunHHpJ77Z6Wh6OQBygo4Z5RiS+Dc2Vac/AphLp9h/oFOKtHzjx4gw=="
crossorigin="anonymous"
></script>
3 changes: 0 additions & 3 deletions afat/templates/afat/bundles/afat-datatables-common-js.html

This file was deleted.

7 changes: 6 additions & 1 deletion afat/templates/afat/bundles/afat-fatlink-add-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{% load afat %}

<script type="module" src="{% afat_static 'afat/javascript/afat-fatlink-add.min.js' %}"></script>
<script
type="module"
src="{% afat_static 'afat/javascript/afat-fatlink-add.min.js' %}"
integrity="sha512-CtsCwKfzxZQq3XRsXS2q0ARjhri2hkfxnzenjedEaSPx0SkyzuJIQB3ZQz7h0JfM75dIC2zS+9WUrGw0yCmeTA=="
crossorigin="anonymous"
></script>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-fatlink-details-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat-fatlink-details.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat-fatlink-details.min.js' %}"
integrity="sha512-qHpd4uyLu4fw9dNcR4tSVawUU2YtrnB9MwE0AbXuqjYuP+Qgm0N3ZGWFNM7Vf6A1zDf4bTcLKcndsTglhc5KrQ=="
crossorigin="anonymous"
></script>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-fatlist-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat-fatlist.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat-fatlist.min.js' %}"
integrity="sha512-0g9M0p3VXnJncYK7PSVyNJNzo+Obrje1SSfTVuDm1Wj60LISgNaSW71SZuM5eVdGpr5MZuFZR3wH8L6izsdvzg=="
crossorigin="anonymous"
></script>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat.min.js' %}"
integrity="sha512-C2W8M+eJm/HsHseNtLCJ/kbGHJpyBJxm+tGy6AzZxI04WjfKfm6vHnDkOeYfjhgT9+1oabQGRvTz4SX2SkLMHQ=="
crossorigin="anonymous"
></script>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-logs-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat-logs.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat-logs.min.js' %}"
integrity="sha512-EbxdJu+l2geNWA0+tOUujotEfWUnnlSrbjMVpxpOXrRP1HwujLAlyyIQgDw2smurCKWh+lpgS6+f2FxmVO8qFw=="
crossorigin="anonymous"
></script>
6 changes: 5 additions & 1 deletion afat/templates/afat/bundles/afat-statistics-js.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{% load afat %}

<script src="{% afat_static 'afat/javascript/afat-statistics.min.js' %}"></script>
<script
src="{% afat_static 'afat/javascript/afat-statistics.min.js' %}"
integrity="sha512-3lOwv/H+HlAspcYVOfUIqF5ovqnQqMh4ACWmj3Z4aXnmyK6iJNMYqbf41gjT8b5CwXAl+eCOgKGt1BoS9BH0+Q=="
crossorigin="anonymous"
></script>

0 comments on commit 30cb4f6

Please sign in to comment.