Ajout du thème Halloween + fix CVE

This commit is contained in:
François Pelletier 2024-10-15 23:42:02 -04:00
parent 495d027220
commit 04adf81bd9
35 changed files with 426 additions and 144 deletions

View file

@ -57,13 +57,13 @@
-->
<policymap>
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
<policy domain="resource" name="memory" value="256MiB"/>
<policy domain="resource" name="map" value="512MiB"/>
<policy domain="resource" name="memory" value="1024MiB"/>
<policy domain="resource" name="map" value="2048MiB"/>
<policy domain="resource" name="width" value="16KP"/>
<policy domain="resource" name="height" value="16KP"/>
<!-- <policy domain="resource" name="list-length" value="128"/> -->
<policy domain="resource" name="area" value="128MP"/>
<policy domain="resource" name="disk" value="1GiB"/>
<policy domain="resource" name="disk" value="8GiB"/>
<!-- <policy domain="resource" name="file" value="768"/> -->
<!-- <policy domain="resource" name="thread" value="4"/> -->
<!-- <policy domain="resource" name="throttle" value="0"/> -->

12
requirements.in Normal file
View file

@ -0,0 +1,12 @@
emoji
fastapi
opencv_python
passlib
pydantic
PyJWT
pypandoc
starlette
uvicorn
Wand
httpx
python-multipart

View file

@ -1,12 +1,69 @@
emoji==2.12.1
fastapi==0.112.1
opencv_python==4.10.0.84
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile requirements.in
#
annotated-types==0.7.0
# via pydantic
anyio==4.6.2.post1
# via
# httpx
# starlette
certifi==2024.8.30
# via
# httpcore
# httpx
click==8.1.7
# via uvicorn
emoji==2.14.0
# via -r requirements.in
fastapi==0.115.2
# via -r requirements.in
h11==0.14.0
# via
# httpcore
# uvicorn
httpcore==1.0.6
# via httpx
httpx==0.27.2
# via -r requirements.in
idna==3.10
# via
# anyio
# httpx
numpy==2.1.2
# via opencv-python
opencv-python==4.10.0.84
# via -r requirements.in
passlib==1.7.4
pydantic==2.8.2
PyJWT==2.9.0
pypandoc==1.13
# via -r requirements.in
pydantic==2.9.2
# via
# -r requirements.in
# fastapi
pydantic-core==2.23.4
# via pydantic
pyjwt==2.9.0
# via -r requirements.in
pypandoc==1.14
# via -r requirements.in
python-multipart==0.0.12
# via -r requirements.in
sniffio==1.3.1
# via
# anyio
# httpx
starlette==0.40.0
uvicorn==0.30.6
Wand==0.6.13
httpx==0.27.0
python-multipart==0.0.9
# via
# -r requirements.in
# fastapi
typing-extensions==4.12.2
# via
# fastapi
# pydantic
# pydantic-core
uvicorn==0.32.0
# via -r requirements.in
wand==0.6.13
# via -r requirements.in

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 252 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -55,3 +54,28 @@
\fancyhf{}
\fancyhf[rh]{\thepage}
\renewcommand\headrulewidth{0pt}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,021 KiB

After

Width:  |  Height:  |  Size: 252 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.1 MiB

After

Width:  |  Height:  |  Size: 314 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -55,3 +54,32 @@
\fancyhf{}
\fancyhf[rh]{\thepage}
\renewcommand\headrulewidth{0pt}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -58,4 +57,33 @@
\newcommand{\emoji}[1]{
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}
}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 KiB

After

Width:  |  Height:  |  Size: 947 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 332 KiB

After

Width:  |  Height:  |  Size: 332 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -58,4 +57,32 @@
\newcommand{\emoji}[1]{
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}
}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 333 KiB

After

Width:  |  Height:  |  Size: 333 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -60,4 +59,33 @@
\newcommand{\emoji}[1]{
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}
}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 329 KiB

After

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 759 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 349 KiB

After

Width:  |  Height:  |  Size: 349 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -55,3 +54,32 @@
\fancyhf{}
\fancyhf[rh]{\thepage}
\renewcommand\headrulewidth{0pt}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 759 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 349 KiB

After

Width:  |  Height:  |  Size: 349 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -55,3 +54,32 @@
\fancyhf{}
\fancyhf[rh]{\thepage}
\renewcommand\headrulewidth{0pt}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 293 KiB

View file

@ -1,4 +1,3 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
@ -57,3 +56,31 @@
\newcommand{\emoji}[1]{
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}
% Désactiver la justification et les césures pour tout le document
\usepackage{ragged2e}
\RaggedRight
\setlength{\RaggedRightParindent}{0pt}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
% Désactiver les césures globalement
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\exhyphenpenalty=10000
% S'assurer que les titres ne sont pas justifiés
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering\RaggedRight}
{\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titleformat{\section}{\normalfont\Large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsection}{\normalfont\large\bfseries\centering\RaggedRight}{}{0em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries\centering\RaggedRight}{}{0em}{}
% Désactiver les césures dans la table des matières
\usepackage{tocloft}
\renewcommand{\cftsecfont}{\RaggedRight}
\renewcommand{\cftsubsecfont}{\RaggedRight}
\renewcommand{\cftsubsubsecfont}{\RaggedRight}