Skip to content

Commit

Permalink
Update DSFR to version 1.8.5 (#38)
Browse files Browse the repository at this point in the history
* Update version of the dsfr

* Update python deps

* update integrity checks

* details
  • Loading branch information
Ash-Crow authored Feb 6, 2023
1 parent 29fc309 commit f469aef
Show file tree
Hide file tree
Showing 391 changed files with 5,314 additions and 687 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Django-DSFR is a Django app to integrate the `French government Design System ("

This app was created as a part of `Open Collectivités <https://github.com/entrepreneur-interet-general/opencollectivites>`_ and is very much a work in progress. See the `documentation (in French) <https://entrepreneur-interet-general.github.io/django-dsfr/>`_ for details.

Django-DSFR (partly) implements the `version 1.7.2 of the DSFR <https://www.systeme-de-design.gouv.fr/a-propos/versions-du-dsfr/version-courante>`_.
Django-DSFR (partly) implements the `version 1.8.5 of the DSFR <https://www.systeme-de-design.gouv.fr/a-propos/versions-du-dsfr/version-courante>`_.

Requirements
------------
Tested with Python 3.7 to 3.10 and Django 3.2.5 to 3.2.13. Per `vermin <https://github.com/netromdk/vermin>`_, it should work with Python >= 3.0, and it should work with old versions of Django too.
Tested with Python 3.7 to 3.10 and Django 3.2.5 to 4.1.16. Per `vermin <https://github.com/netromdk/vermin>`_, it should work with Python >= 3.0, and it should work with old versions of Django too.

Quick start
-----------
Expand Down
22 changes: 15 additions & 7 deletions dsfr/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,40 @@
# Generated with the following command:
# openssl dgst -sha384 -binary path/to/file.min.css | openssl base64 -A

# JS
#### JS
# dsfr/dist/dsfr/dsfr.module.min.js
INTEGRITY_JS_MODULE = (
"sha384-S0rArPSbImK+pbCuenUI94sCELE0j2TcUqSauDNeTLZxL3HBr6ilBWCzU6605Lhc"
"sha384-hsT8G3ewRLMSn+hcsZeqdjIsqjqMh/pD8TTc8egEcN4MpeNQDZ+7EqVXDW0zVfYm"
)
# dsfr/dist/dsfr/dsfr.nomodule.min.js
INTEGRITY_JS_NOMODULE = (
"sha384-/Ki29nOlnayQ7/etxVpEaxmfMye/syzFZVrgkd93WGAi4/WlVvVLhLp9GMvtPP+y"
"sha384-z+nnc/m3glran4qVg9/2tnMN5v0yvtoXgW4djyCn8npkBhm8uQ90QGYeQ7oqf7Bt"
)

# CSS
#### CSS
# dsfr/dist/dsfr/dsfr.min.css
INTEGRITY_CSS = (
"sha384-C/tHGtxXFiwg9vEKg7jcH+8kQhlkUfq22JBeptJ8AqGHcArh9k/LdedUi42QQRRi"
"sha384-7z0V109kCjLc5JiwfCaR+gM7rwAw8pWsrgISPTlaD3B77TwopmDN3DQ20n36NMB2"
)
# dsfr/dist/utility/icons/icons.min.css
INTEGRITY_CSS_ICONS = (
"sha384-/chTXCOZpCTu7roNmemf+/rzzYwswg3UdqDqTYmx1sxYnJjDjvUWSfu+6lk02dHh"
"sha384-J7lCkOU9dOy1LLABqcy542lznn5TyxJnWuFXMse5v7POyQlh95Esaw7RtKwNAHIP"
)

# Favicon
#### Favicon
# dsfr/dist/favicon/apple-touch-icon.png
INTEGRITY_FAVICON_APPLE = (
"sha384-bE/sjT09LYXMMjd/7ovUY40XBU2WQoLkIRw4/eBcHdBVsJOhoomJuSSa+qEFGku/"
)
# dsfr/dist/favicon/favicon.svg
INTEGRITY_FAVICON_SVG = (
"sha384-z4gMU2V+U4skVvrlEwyCe+lUVDhliQY6Tg0az69xNkmyu4H84cy+uJZnWVkHfMrN"
)
# dsfr/dist/favicon/favicon.ico
INTEGRITY_FAVICON_ICO = (
"sha384-esZ1Wf54Wvb66vtrLBKzz2QEZciEIV9R+wc+w7C3e5mID8A1SgJpXXIc+3lY9YqP"
)
# dsfr/dist/favicon/manifest.webmanifest
INTEGRITY_FAVICON_MANIFEST = (
"sha384-9rQ8jBh6MztX7GlSBVwj2yJEUaxKTCy3pYRLq1Qu57zkdJ3P5ftf6GyfYJwFuR7j"
)
19 changes: 4 additions & 15 deletions dsfr/static/dsfr/dist/artwork/dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 4 additions & 15 deletions dsfr/static/dsfr/dist/artwork/light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f469aef

Please sign in to comment.