Docs - update and fix
This commit is contained in:
parent
a32c8a1925
commit
86d3e5756c
@ -1023,7 +1023,7 @@ fallback to ‘en’ (english))</p></li>
|
|||||||
<dt class="sig sig-object http" id="post--api-auth-password-reset-request">
|
<dt class="sig sig-object http" id="post--api-auth-password-reset-request">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/password/reset-request</span></span><a class="headerlink" href="#post--api-auth-password-reset-request" title="Permalink to this definition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/password/reset-request</span></span><a class="headerlink" href="#post--api-auth-password-reset-request" title="Permalink to this definition">#</a></dt>
|
||||||
<dd><p>Handle password reset request.</p>
|
<dd><p>Handle password reset request.</p>
|
||||||
<p>If email sending is disabled, this endpoint is not available</p>
|
<p>If email sending is disabled, this endpoint is not available.</p>
|
||||||
<p><strong>Example request</strong>:</p>
|
<p><strong>Example request</strong>:</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/password/reset-request</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/password/reset-request</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
|
@ -241,7 +241,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -372,14 +372,14 @@
|
|||||||
<dl class="http post">
|
<dl class="http post">
|
||||||
<dt class="sig sig-object http" id="post--api-auth-login">
|
<dt class="sig sig-object http" id="post--api-auth-login">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/login</span></span><a class="headerlink" href="#post--api-auth-login" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/login</span></span><a class="headerlink" href="#post--api-auth-login" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Connexion de l’utilisateur</p>
|
<dd><p>Connexion de l’utilisateur.</p>
|
||||||
<p>Seuls les utilisateurs disposant d’un compte actif peuvent se connecter.</p>
|
<p>Seuls les utilisateurs disposant d’un compte actif peuvent se connecter.</p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/login</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/login</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>connexion avec succès :</p></li>
|
<li><p>connexion avec succès :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -646,7 +646,7 @@
|
|||||||
<dt class="field-odd">Objet JSON de requête<span class="colon">:</span></dt>
|
<dt class="field-odd">Objet JSON de requête<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><ul class="simple">
|
<dd class="field-odd"><ul class="simple">
|
||||||
<li><p><strong>first_name</strong> (<em>string</em>) – prénom de l’utilisateur</p></li>
|
<li><p><strong>first_name</strong> (<em>string</em>) – prénom de l’utilisateur</p></li>
|
||||||
<li><p><strong>last_name</strong> (<em>string</em>) – nom de l’utilisateur</p></li>
|
<li><p><strong>last_name</strong> (<em>string</em>) – nom de famille de l’utilisateur</p></li>
|
||||||
<li><p><strong>location</strong> (<em>string</em>) – localisation de l’utilisateur</p></li>
|
<li><p><strong>location</strong> (<em>string</em>) – localisation de l’utilisateur</p></li>
|
||||||
<li><p><strong>bio</strong> (<em>string</em>) – biographie de l’utilisateur</p></li>
|
<li><p><strong>bio</strong> (<em>string</em>) – biographie de l’utilisateur</p></li>
|
||||||
<li><p><strong>birth_date</strong> (<em>string</em>) – date de naissance de l’utilisateur (format : <code class="docutils literal notranslate"><span class="pre">%Y-%m-%d</span></code>)</p></li>
|
<li><p><strong>birth_date</strong> (<em>string</em>) – date de naissance de l’utilisateur (format : <code class="docutils literal notranslate"><span class="pre">%Y-%m-%d</span></code>)</p></li>
|
||||||
@ -1021,7 +1021,7 @@
|
|||||||
<dt class="sig sig-object http" id="post--api-auth-password-reset-request">
|
<dt class="sig sig-object http" id="post--api-auth-password-reset-request">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/password/reset-request</span></span><a class="headerlink" href="#post--api-auth-password-reset-request" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/auth/password/reset-request</span></span><a class="headerlink" href="#post--api-auth-password-reset-request" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Traiter les demandes de réinitialisation de mot de passe.</p>
|
<dd><p>Traiter les demandes de réinitialisation de mot de passe.</p>
|
||||||
<p>Si l’envoi de courriels est désactivé, ce point d’accès n’est pas disponible.</p>
|
<p>Si l’envoi des courriels est désactivé, ce point d’accès n’est pas disponible.</p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/password/reset-request</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/auth/password/reset-request</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
@ -1060,7 +1060,7 @@
|
|||||||
<p>Les courriels suivants sont envoyés si l’envoi est activé :</p>
|
<p>Les courriels suivants sont envoyés si l’envoi est activé :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Modification de mot de passe</p></li>
|
<li><p>Modification de mot de passe</p></li>
|
||||||
<li><p>Changement d’adresse électronique</p>
|
<li><p>Changement d’adresse électronique :</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>un à l’adresse actuelle pour informer l’utilisateur</p></li>
|
<li><p>un à l’adresse actuelle pour informer l’utilisateur</p></li>
|
||||||
<li><p>un autre à la nouvelle adresse pour la confirmer.</p></li>
|
<li><p>un autre à la nouvelle adresse pour la confirmer.</p></li>
|
||||||
@ -1282,7 +1282,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>déconnexion avec succès :</p></li>
|
<li><p>déconnexion avec succès :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -1390,7 +1390,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong> :</p>
|
<p><strong>Exemple de réponse</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>si une requête existe</p></li>
|
<li><p>si une requête existe :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
|
@ -278,7 +278,7 @@
|
|||||||
<dt class="sig sig-object http" id="patch--api-config">
|
<dt class="sig sig-object http" id="patch--api-config">
|
||||||
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/config</span></span><a class="headerlink" href="#patch--api-config" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/config</span></span><a class="headerlink" href="#patch--api-config" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Mettre à jour de la configuration de l’application.</p>
|
<dd><p>Mettre à jour de la configuration de l’application.</p>
|
||||||
<p>L’utilisateur authentifié doit avoir des droits d’administration</p>
|
<p>L’utilisateur authentifié doit avoir des droits d’administration.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">application:write</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">application:write</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/config</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/config</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
|
@ -232,7 +232,7 @@
|
|||||||
<section id="api-documentation">
|
<section id="api-documentation">
|
||||||
<h1>Documentation de l’API<a class="headerlink" href="#api-documentation" title="Lien permanent vers cette rubrique">#</a></h1>
|
<h1>Documentation de l’API<a class="headerlink" href="#api-documentation" title="Lien permanent vers cette rubrique">#</a></h1>
|
||||||
<div class="toctree-wrapper compound">
|
<div class="toctree-wrapper compound">
|
||||||
<p class="caption" role="heading"><span class="caption-text">Points d'accès</span></p>
|
<p class="caption" role="heading"><span class="caption-text">Points d'accès :</span></p>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="toctree-l1"><a class="reference internal" href="auth.html">Authentification et compte</a></li>
|
<li class="toctree-l1"><a class="reference internal" href="auth.html">Authentification et compte</a></li>
|
||||||
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
|
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
|
||||||
|
@ -382,7 +382,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -456,7 +456,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -564,7 +564,7 @@
|
|||||||
<dl class="http post">
|
<dl class="http post">
|
||||||
<dt class="sig sig-object http" id="post--api-oauth-apps-(int-client_id)-revoke">
|
<dt class="sig sig-object http" id="post--api-oauth-apps-(int-client_id)-revoke">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/apps/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">client_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/revoke</span></span><a class="headerlink" href="#post--api-oauth-apps-(int-client_id)-revoke" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/apps/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">client_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/revoke</span></span><a class="headerlink" href="#post--api-oauth-apps-(int-client_id)-revoke" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Révoquer tous les tokens associés à un client OAuth2</p>
|
<dd><p>Révoquer tous les tokens associés à un client OAuth2.</p>
|
||||||
<p>Ce point d’accès n’est accessible que par le client web FitTrackee client.</p>
|
<p>Ce point d’accès n’est accessible que par le client web FitTrackee client.</p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/apps/1/revoke</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/apps/1/revoke</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
@ -664,7 +664,7 @@
|
|||||||
<dl class="http post">
|
<dl class="http post">
|
||||||
<dt class="sig sig-object http" id="post--api-oauth-token">
|
<dt class="sig sig-object http" id="post--api-oauth-token">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/token</span></span><a class="headerlink" href="#post--api-oauth-token" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/token</span></span><a class="headerlink" href="#post--api-oauth-token" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Délivrer ou rafraîchir un jeton pour un client OAuth2 donné</p>
|
<dd><p>Délivrer ou rafraîchir un jeton pour un client OAuth2 donné.</p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/token</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/token</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">multipart/form-data</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">multipart/form-data</span>
|
||||||
@ -713,7 +713,7 @@
|
|||||||
<dl class="http post">
|
<dl class="http post">
|
||||||
<dt class="sig sig-object http" id="post--api-oauth-revoke">
|
<dt class="sig sig-object http" id="post--api-oauth-revoke">
|
||||||
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/revoke</span></span><a class="headerlink" href="#post--api-oauth-revoke" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">POST</span> </span><span class="sig-name descname"><span class="pre">/api/oauth/revoke</span></span><a class="headerlink" href="#post--api-oauth-revoke" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Révoquer un jeton pour un client OAuth2 donné</p>
|
<dd><p>Révoquer un jeton pour un client OAuth2 donné.</p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/revoke</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">POST</span> <span class="nn">/api/oauth/revoke</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">multipart/form-data</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">multipart/form-data</span>
|
||||||
|
@ -251,7 +251,7 @@
|
|||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>retournant des records</p></li>
|
<li><p>retournant des records</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -243,7 +243,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong> :</p>
|
<p><strong>Exemple de réponse</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>pour un utilisateur non admin</p></li>
|
<li><p>pour un utilisateur non admin :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
@ -306,7 +306,7 @@
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>pour un administrateur</p></li>
|
<li><p>pour un administrateur :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
@ -429,7 +429,7 @@
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>succès pour un administrateur</p></li>
|
<li><p>succès pour un administrateur :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
@ -495,15 +495,15 @@
|
|||||||
<dl class="http patch">
|
<dl class="http patch">
|
||||||
<dt class="sig sig-object http" id="patch--api-sports-(int-sport_id)">
|
<dt class="sig sig-object http" id="patch--api-sports-(int-sport_id)">
|
||||||
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/sports/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">sport_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#patch--api-sports-(int-sport_id)" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/sports/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">sport_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#patch--api-sports-(int-sport_id)" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Modifier un sport</p>
|
<dd><p>Modifier un sport.</p>
|
||||||
<p>L’utilisateur authentifié doit avoir des droits d’administration</p>
|
<p>L’utilisateur authentifié doit avoir des droits d’administration.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">PATCH</span> <span class="nn">/api/sports/1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">PATCH</span> <span class="nn">/api/sports/1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -234,7 +234,7 @@
|
|||||||
<dl class="http get">
|
<dl class="http get">
|
||||||
<dt class="sig sig-object http" id="get--api-stats-(user_name)-by_time">
|
<dt class="sig sig-object http" id="get--api-stats-(user_name)-by_time">
|
||||||
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/stats/</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">user_name</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/by_time</span></span><a class="headerlink" href="#get--api-stats-(user_name)-by_time" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/stats/</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="pre">user_name</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/by_time</span></span><a class="headerlink" href="#get--api-stats-(user_name)-by_time" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Obtenir des statistiques sur les séances d’entraînement pour un utilisateur par durée</p>
|
<dd><p>Obtenir des statistiques sur les séances d’entraînement pour un utilisateur par durée.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
||||||
<p><strong>Exemple de requêtes</strong> :</p>
|
<p><strong>Exemple de requêtes</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
@ -244,13 +244,13 @@
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>avec des paramètres</p></li>
|
<li><p>avec des paramètres :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/admin/by_time?from=2018-01-01&to=2018-06-30&time=week</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/admin/by_time?from=2018-01-01&to=2018-06-30&time=week</span>
|
||||||
<span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -354,12 +354,12 @@
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>avec l’identifiant du sport</p></li>
|
<li><p>avec l’identifiant du sport :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/admin/by_sport?sport_id=1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/admin/by_sport?sport_id=1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -457,7 +457,7 @@
|
|||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/all</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/stats/all</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
|
||||||
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
<span class="na">Content-Type</span><span class="o">:</span> <span class="l">application/json</span>
|
||||||
|
|
||||||
|
@ -653,7 +653,7 @@
|
|||||||
<dt class="field-even">Objet JSON de requête<span class="colon">:</span></dt>
|
<dt class="field-even">Objet JSON de requête<span class="colon">:</span></dt>
|
||||||
<dd class="field-even"><ul class="simple">
|
<dd class="field-even"><ul class="simple">
|
||||||
<li><p><strong>activate</strong> (<em>boolean</em>) – activer le compte utilisateur</p></li>
|
<li><p><strong>activate</strong> (<em>boolean</em>) – activer le compte utilisateur</p></li>
|
||||||
<li><p><strong>admin</strong> (<em>boolean</em>) – l’utilisateur dispose-t-il de droits d’administration ?</p></li>
|
<li><p><strong>admin</strong> (<em>boolean</em>) – l’utilisateur dispose-t-il de droits d’administration</p></li>
|
||||||
<li><p><strong>new_email</strong> (<em>boolean</em>) – nouvelle adresse électronique de l’utilisateur</p></li>
|
<li><p><strong>new_email</strong> (<em>boolean</em>) – nouvelle adresse électronique de l’utilisateur</p></li>
|
||||||
<li><p><strong>reset_password</strong> (<em>boolean</em>) – réinitialiser le mot de passe de l’utilisateur</p></li>
|
<li><p><strong>reset_password</strong> (<em>boolean</em>) – réinitialiser le mot de passe de l’utilisateur</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -249,7 +249,7 @@
|
|||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts?from=2019-07-02&to=2019-07-31&sport_id=1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts?from=2019-07-02&to=2019-07-31&sport_id=1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>renvoyant au moins une séance :</p></li>
|
<li><p>renvoyant au moins une séance :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -406,7 +406,7 @@
|
|||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p><strong>Exemple de réponse</strong>:</p>
|
<p><strong>Exemple de réponses</strong> :</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>success:</p></li>
|
<li><p>success:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -549,7 +549,7 @@
|
|||||||
<dl class="http get">
|
<dl class="http get">
|
||||||
<dt class="sig sig-object http" id="get--api-workouts-(string-workout_short_id)-chart_data">
|
<dt class="sig sig-object http" id="get--api-workouts-(string-workout_short_id)-chart_data">
|
||||||
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/chart_data</span></span><a class="headerlink" href="#get--api-workouts-(string-workout_short_id)-chart_data" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/chart_data</span></span><a class="headerlink" href="#get--api-workouts-(string-workout_short_id)-chart_data" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Récupérer les données d’une séance avec gpx pour les afficher avec Chart.js</p>
|
<dd><p>Récupérer les données d’une séance avec gpx pour les afficher avec Chart.js.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF/chart</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF/chart</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
@ -622,7 +622,7 @@
|
|||||||
<dl class="http get">
|
<dl class="http get">
|
||||||
<dt class="sig sig-object http" id="get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)">
|
<dt class="sig sig-object http" id="get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)">
|
||||||
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/chart_data/segment/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">segment_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">GET</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><span class="sig-name descname"><span class="pre">/chart_data/segment/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">int:</span> </em><em class="sig-param"><span class="pre">segment_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Récupérer les données d’une séance avec gpx pour les afficher avec Chart.js</p>
|
<dd><p>Récupérer les données d’une séance avec gpx pour les afficher avec Chart.js.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:read</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF/chart/segment/0</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">GET</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF/chart/segment/0</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
@ -801,7 +801,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<p>Les codes d’état sont des codes d’état renvoyés par le serveur de tuiles.</p>
|
<p>Les codes d’état sont des codes d’état renvoyés par le serveur de tuiles</p>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
|
|
||||||
<dl class="http get">
|
<dl class="http get">
|
||||||
@ -936,7 +936,7 @@
|
|||||||
<dt class="field-odd">Paramètres de la forme<span class="colon">:</span></dt>
|
<dt class="field-odd">Paramètres de la forme<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><ul class="simple">
|
<dd class="field-odd"><ul class="simple">
|
||||||
<li><p><strong>file</strong> – fichier gpx (extensions autorisées : .gpx, .zip)</p></li>
|
<li><p><strong>file</strong> – fichier gpx (extensions autorisées : .gpx, .zip)</p></li>
|
||||||
<li><p><strong>data</strong> – l’identifiant du sport et les notes (exemple : <code class="docutils literal notranslate"><span class="pre">{"sport_id":</span> <span class="pre">1,</span> <span class="pre">"notes":</span> <span class="pre">""}</span></code>). Les guillemets doubles dans les notes doivent être échappés.</p></li>
|
<li><p><strong>data</strong> – identifiant du sport et notes (exemple : <code class="docutils literal notranslate"><span class="pre">{"sport_id":</span> <span class="pre">1,</span> <span class="pre">"notes":</span> <span class="pre">""}</span></code>). Les guillemets doubles dans les notes doivent être échappés.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="field-even">En-têtes de requête<span class="colon">:</span></dt>
|
<dt class="field-even">En-têtes de requête<span class="colon">:</span></dt>
|
||||||
@ -1094,7 +1094,7 @@ must be provided with descent)</p></li>
|
|||||||
<dl class="http patch">
|
<dl class="http patch">
|
||||||
<dt class="sig sig-object http" id="patch--api-workouts-(string-workout_short_id)">
|
<dt class="sig sig-object http" id="patch--api-workouts-(string-workout_short_id)">
|
||||||
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#patch--api-workouts-(string-workout_short_id)" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">PATCH</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#patch--api-workouts-(string-workout_short_id)" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Mettre à jour une séance</p>
|
<dd><p>Mettre à jour une séance.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">PATCH</span> <span class="nn">/api/workouts/1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">PATCH</span> <span class="nn">/api/workouts/1</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
@ -1223,7 +1223,7 @@ must be provided with descent)</p></li>
|
|||||||
<dl class="http delete">
|
<dl class="http delete">
|
||||||
<dt class="sig sig-object http" id="delete--api-workouts-(string-workout_short_id)">
|
<dt class="sig sig-object http" id="delete--api-workouts-(string-workout_short_id)">
|
||||||
<span class="sig-name descname"><span class="pre">DELETE</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#delete--api-workouts-(string-workout_short_id)" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">DELETE</span> </span><span class="sig-name descname"><span class="pre">/api/workouts/</span></span><span class="sig-paren">(</span><em class="property"><span class="pre">string:</span> </em><em class="sig-param"><span class="pre">workout_short_id</span></em><span class="sig-paren">)</span><a class="headerlink" href="#delete--api-workouts-(string-workout_short_id)" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Supprimer la séance</p>
|
<dd><p>Supprimer la séance.</p>
|
||||||
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
<p><strong>Scope</strong> : <code class="docutils literal notranslate"><span class="pre">workouts:write</span></code></p>
|
||||||
<p><strong>Exemple de requête</strong> :</p>
|
<p><strong>Exemple de requête</strong> :</p>
|
||||||
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">DELETE</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
<div class="highlight-http notranslate"><div class="highlight"><pre><span></span><span class="nf">DELETE</span> <span class="nn">/api/workouts/kjxavSTUrJvoAh2wvCeGEF</span> <span class="kr">HTTP</span><span class="o">/</span><span class="m">1.1</span>
|
||||||
|
@ -269,7 +269,7 @@ Commands:
|
|||||||
<div class="versionadded">
|
<div class="versionadded">
|
||||||
<p><span class="versionmodified added">Nouveau dans la version 0.6.5.</span></p>
|
<p><span class="versionmodified added">Nouveau dans la version 0.6.5.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p>Appliquer les migrations</p>
|
<p>Appliquer les migrations.</p>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="oauth2">
|
<section id="oauth2">
|
||||||
@ -378,7 +378,7 @@ Commands:
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></p></td>
|
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></p></td>
|
||||||
<td><p>Nom de l’utilisateur</p></td>
|
<td><p>Nom de l’utilisateur.</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">--email</span> <span class="pre">EMAIL</span></code></p></td>
|
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">--email</span> <span class="pre">EMAIL</span></code></p></td>
|
||||||
<td><p>Adresse électronique de l’utilisateur (obligatoire).</p></td>
|
<td><p>Adresse électronique de l’utilisateur (obligatoire).</p></td>
|
||||||
@ -434,7 +434,7 @@ Commands:
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></p></td>
|
<tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">USERNAME</span></code></p></td>
|
||||||
<td><p>Nom de l’utilisateur</p></td>
|
<td><p>Nom de l’utilisateur.</p></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">--set-admin</span> <span class="pre">BOOLEAN</span></code></p></td>
|
<tr class="row-odd"><td><p><code class="docutils literal notranslate"><span class="pre">--set-admin</span> <span class="pre">BOOLEAN</span></code></p></td>
|
||||||
<td><p>Ajouter/supprimer des droits d’administration (lors de l’ajout de droits d’administration, le compte de l’utilisateur est également activé s’il ne l’est pas.</p></td>
|
<td><p>Ajouter/supprimer des droits d’administration (lors de l’ajout de droits d’administration, le compte de l’utilisateur est également activé s’il ne l’est pas.</p></td>
|
||||||
|
@ -284,7 +284,7 @@
|
|||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
<div class="line-block">
|
<div class="line-block">
|
||||||
<div class="line">Seuls les fichiers gpx avec l’heure sont pris en charge</div>
|
<div class="line">Seuls les fichiers gpx avec l’heure sont pris en charge.</div>
|
||||||
<div class="line">Les valeurs calculées peuvent différer de celles calculées par l’application qui a généré les fichiers gpx à l’origine, en particulier la vitesse maximale.</div>
|
<div class="line">Les valeurs calculées peuvent différer de celles calculées par l’application qui a généré les fichiers gpx à l’origine, en particulier la vitesse maximale.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -387,7 +387,7 @@
|
|||||||
<li><p>L’utilisateur peut définir la langue, le fuseau horaire et le premier jour de la semaine.</p></li>
|
<li><p>L’utilisateur peut définir la langue, le fuseau horaire et le premier jour de la semaine.</p></li>
|
||||||
<li><p>L’utilisateur peut réinitialiser son mot de passe (<em>nouveau dans la version in 0.3.0</em>)</p></li>
|
<li><p>L’utilisateur peut réinitialiser son mot de passe (<em>nouveau dans la version in 0.3.0</em>)</p></li>
|
||||||
<li><p>Un utilisateur peut modifier son adresse électronique (<em>nouveau dans la version 0.6.0</em>)</p></li>
|
<li><p>Un utilisateur peut modifier son adresse électronique (<em>nouveau dans la version 0.6.0</em>)</p></li>
|
||||||
<li><p>L’utilisateur peut choisir entre le système métrique et le système impérial pour la distance, l’affichage de l’altitude et de la vitesse (<em>nouveau dans la version 0.5.0</em>).</p></li>
|
<li><p>L’utilisateur peut choisir entre le système métrique et le système impérial pour la distance, l’affichage de l’altitude et de la vitesse (<em>nouveau dans la version 0.5.0</em>)</p></li>
|
||||||
<li><p>Un utilisateur peut choisir d’afficher ou cacher les records et le total de dénivelé positif sur le tableau de bord (<em>nouveau dans la version 0.6.11</em>)</p></li>
|
<li><p>Un utilisateur peut choisir d’afficher ou cacher les records et le total de dénivelé positif sur le tableau de bord (<em>nouveau dans la version 0.6.11</em>)</p></li>
|
||||||
<li><p>L’utilisateur peut choisir le format d’affichage des dates (<em>nouveau dans la version 0.7.3</em>)</p></li>
|
<li><p>L’utilisateur peut choisir le format d’affichage des dates (<em>nouveau dans la version 0.7.3</em>)</p></li>
|
||||||
<li><p>L’utilisateur peut choisir le point de départ de l’axe du graphique d’altitude : altitude zéro ou minimale. (<em>nouveau dans la version 0.7.15</em>)</p></li>
|
<li><p>L’utilisateur peut choisir le point de départ de l’axe du graphique d’altitude : altitude zéro ou minimale. (<em>nouveau dans la version 0.7.15</em>)</p></li>
|
||||||
@ -508,7 +508,7 @@
|
|||||||
<img alt="https://hosted.weblate.org/widgets/fittrackee/-/multi-auto.svg" src="https://hosted.weblate.org/widgets/fittrackee/-/multi-auto.svg" /></figure>
|
<img alt="https://hosted.weblate.org/widgets/fittrackee/-/multi-auto.svg" src="https://hosted.weblate.org/widgets/fittrackee/-/multi-auto.svg" /></figure>
|
||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
<p>Le polonais n’est pas encore disponible dans l’interface de <strong>FitTrackee</strong></p>
|
<p>Le Polonais n’est pas encore disponible dans l’interface de <strong>FitTrackee</strong>.</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="screenshots">
|
<section id="screenshots">
|
||||||
|
@ -286,7 +286,7 @@
|
|||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
<div class="line-block">
|
<div class="line-block">
|
||||||
<div class="line">Si l’inscription des utilisateurs est activé, il est recommandé de configurer un fournisseur SMTP pour l’envoi des courriels et les demandes d’export de données</div>
|
<div class="line">Si l’inscription des utilisateurs est activé, il est recommandé de configurer un fournisseur SMTP pour l’envoi des courriels et les demandes d’export de données.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
@ -310,7 +310,7 @@
|
|||||||
<dt class="sig sig-object std" id="envvar-FLASK_APP">
|
<dt class="sig sig-object std" id="envvar-FLASK_APP">
|
||||||
<span class="sig-name descname"><span class="pre">FLASK_APP</span></span><a class="headerlink" href="#envvar-FLASK_APP" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">FLASK_APP</span></span><a class="headerlink" href="#envvar-FLASK_APP" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><div class="line-block">
|
<dd><div class="line-block">
|
||||||
<div class="line">Nom du module à importer au démarrage de Flask</div>
|
<div class="line">Nom du module à importer au démarrage de Flask.</div>
|
||||||
<div class="line"><code class="docutils literal notranslate"><span class="pre">FLASK_APP</span></code> doit contenir <code class="docutils literal notranslate"><span class="pre">$(PWD)/fittrackee/__main__.py</span></code> dans le cas de l’installation à partir des sources, sinon <code class="docutils literal notranslate"><span class="pre">fittrackee</span></code>.</div>
|
<div class="line"><code class="docutils literal notranslate"><span class="pre">FLASK_APP</span></code> doit contenir <code class="docutils literal notranslate"><span class="pre">$(PWD)/fittrackee/__main__.py</span></code> dans le cas de l’installation à partir des sources, sinon <code class="docutils literal notranslate"><span class="pre">fittrackee</span></code>.</div>
|
||||||
</div>
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
@ -318,7 +318,7 @@
|
|||||||
<dl class="std envvar">
|
<dl class="std envvar">
|
||||||
<dt class="sig sig-object std" id="envvar-HOST">
|
<dt class="sig sig-object std" id="envvar-HOST">
|
||||||
<span class="sig-name descname"><span class="pre">HOST</span></span><a class="headerlink" href="#envvar-HOST" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">HOST</span></span><a class="headerlink" href="#envvar-HOST" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Hôte <strong>FitTrackee</strong></p>
|
<dd><p>Hôte <strong>FitTrackee</strong>.</p>
|
||||||
<dl class="field-list simple">
|
<dl class="field-list simple">
|
||||||
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><p>127.0.0.1</p>
|
<dd class="field-odd"><p>127.0.0.1</p>
|
||||||
@ -329,7 +329,7 @@
|
|||||||
<dl class="std envvar">
|
<dl class="std envvar">
|
||||||
<dt class="sig sig-object std" id="envvar-PORT">
|
<dt class="sig sig-object std" id="envvar-PORT">
|
||||||
<span class="sig-name descname"><span class="pre">PORT</span></span><a class="headerlink" href="#envvar-PORT" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">PORT</span></span><a class="headerlink" href="#envvar-PORT" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Port de l’application web <strong>FitTrackee</strong></p>
|
<dd><p>Port de l’application web <strong>FitTrackee</strong>.</p>
|
||||||
<dl class="field-list simple">
|
<dl class="field-list simple">
|
||||||
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><p>5000</p>
|
<dd class="field-odd"><p>5000</p>
|
||||||
@ -340,7 +340,7 @@
|
|||||||
<dl class="std envvar">
|
<dl class="std envvar">
|
||||||
<dt class="sig sig-object std" id="envvar-APP_SETTINGS">
|
<dt class="sig sig-object std" id="envvar-APP_SETTINGS">
|
||||||
<span class="sig-name descname"><span class="pre">APP_SETTINGS</span></span><a class="headerlink" href="#envvar-APP_SETTINGS" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">APP_SETTINGS</span></span><a class="headerlink" href="#envvar-APP_SETTINGS" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Configuration de <strong>FitTrackee</strong></p>
|
<dd><p>Configuration de <strong>FitTrackee</strong>.</p>
|
||||||
<dl class="field-list simple">
|
<dl class="field-list simple">
|
||||||
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><p>fittrackee.config.ProductionConfig</p>
|
<dd class="field-odd"><p>fittrackee.config.ProductionConfig</p>
|
||||||
@ -354,14 +354,14 @@
|
|||||||
<dd><p>clé secrète de <strong>FitTrackee</strong>, doit être initialisé sur un environnement de production.</p>
|
<dd><p>clé secrète de <strong>FitTrackee</strong>, doit être initialisé sur un environnement de production.</p>
|
||||||
<div class="admonition warning">
|
<div class="admonition warning">
|
||||||
<p class="admonition-title">Avertissement</p>
|
<p class="admonition-title">Avertissement</p>
|
||||||
<p>Utiliser une clé secrète forte. Cette clé est utilisée pour la génération des jetons JWT</p>
|
<p>Utiliser une clé secrète forte. Cette clé est utilisée pour la génération des jetons JWT.</p>
|
||||||
</div>
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
|
|
||||||
<dl class="std envvar">
|
<dl class="std envvar">
|
||||||
<dt class="sig sig-object std" id="envvar-APP_WORKERS">
|
<dt class="sig sig-object std" id="envvar-APP_WORKERS">
|
||||||
<span class="sig-name descname"><span class="pre">APP_WORKERS</span></span><a class="headerlink" href="#envvar-APP_WORKERS" title="Lien permanent vers cette définition">#</a></dt>
|
<span class="sig-name descname"><span class="pre">APP_WORKERS</span></span><a class="headerlink" href="#envvar-APP_WORKERS" title="Lien permanent vers cette définition">#</a></dt>
|
||||||
<dd><p>Nombre de _workers_ lancés par <strong>Gunicorn</strong></p>
|
<dd><p>Nombre de _workers_ lancés par <strong>Gunicorn</strong>.</p>
|
||||||
<dl class="field-list simple">
|
<dl class="field-list simple">
|
||||||
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
<dt class="field-odd">défaut<span class="colon">:</span></dt>
|
||||||
<dd class="field-odd"><p>1</p>
|
<dd class="field-odd"><p>1</p>
|
||||||
@ -393,7 +393,7 @@
|
|||||||
<div class="admonition danger">
|
<div class="admonition danger">
|
||||||
<p class="admonition-title">Danger</p>
|
<p class="admonition-title">Danger</p>
|
||||||
<div class="line-block">
|
<div class="line-block">
|
||||||
<div class="line">Dans le cas d’une installation avec PyPI, le répertoire sera localisé dans le répertoire de l’environnement virtuel Python si la variable n’est pas initialisée</div>
|
<div class="line">Dans le cas d’une installation avec PyPI, le répertoire sera localisé dans le répertoire de l’environnement virtuel Python si la variable n’est pas initialisée.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
@ -745,7 +745,7 @@ Commands:
|
|||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
<div class="line-block">
|
<div class="line-block">
|
||||||
<div class="line">Méthode recommandée en production</div>
|
<div class="line">Méthode recommandée en production.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
@ -773,7 +773,7 @@ Commands:
|
|||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Initialiser les variables d’environnement, cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a></p></li>
|
<li><p>Initialiser les variables d’environnement, cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a></p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Par exemple, copier et coller le fichier <code class="docutils literal notranslate"><span class="pre">.env</span></code> à partir de <code class="docutils literal notranslate"><span class="pre">.env.example</span></code> et activer le fichier</p>
|
<p>Par exemple, copier et coller le fichier <code class="docutils literal notranslate"><span class="pre">.env</span></code> à partir de <code class="docutils literal notranslate"><span class="pre">.env.example</span></code> et activer le fichier.</p>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>nano<span class="w"> </span>.env
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>nano<span class="w"> </span>.env
|
||||||
$<span class="w"> </span><span class="nb">source</span><span class="w"> </span>.env
|
$<span class="w"> </span><span class="nb">source</span><span class="w"> </span>.env
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -791,7 +791,7 @@ $<span class="w"> </span><span class="nb">source</span><span class="w"> </span>.
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Démarrer les <em>workers</em> de la file d’attente des tâches si l’envoi des courriels est activé, avec l’interface de ligne de commandes de flask-dramatiq</p></li>
|
<li><p>Démarrer les <em>workers</em> de la file d’attente des tâches si l’envoi des courriels est activé, avec l’interface de ligne de commandes de flask-dramatiq :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>flask<span class="w"> </span>worker<span class="w"> </span>--processes<span class="w"> </span><span class="m">2</span>
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>flask<span class="w"> </span>worker<span class="w"> </span>--processes<span class="w"> </span><span class="m">2</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -856,7 +856,7 @@ $<span class="w"> </span>make<span class="w"> </span>install-db
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Démarrer les <em>workers</em> dramatiq</p></li>
|
<li><p>Démarrer les <em>workers</em> dramatiq :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>run-workers
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>run-workers
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -954,7 +954,7 @@ $<span class="w"> </span><span class="nb">source</span><span class="w"> </span>.
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations)</p></li>
|
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations) :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>ftcli<span class="w"> </span>db<span class="w"> </span>upgrade
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>ftcli<span class="w"> </span>db<span class="w"> </span>upgrade
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -975,25 +975,25 @@ $<span class="w"> </span><span class="nb">source</span><span class="w"> </span>.
|
|||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Mettre à jour le fichier <strong>.env</strong> si nécessaire (cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a>).</p></li>
|
<li><p>Mettre à jour le fichier <strong>.env</strong> si nécessaire (cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a>).</p></li>
|
||||||
<li><p>Mettre à jour les paquets</p></li>
|
<li><p>Mettre à jour les paquets :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>install-dev
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>install-dev
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations)</p></li>
|
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations) :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>upgrade-db
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>upgrade-db
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Redémarrer le serveur</p></li>
|
<li><p>Redémarrer le serveur :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>serve
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>serve
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Démarrer les <em>workers</em> dramatiq</p></li>
|
<li><p>Démarrer les <em>workers</em> dramatiq :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>run-workers
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>run-workers
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -1014,13 +1014,13 @@ $<span class="w"> </span><span class="nb">cd</span><span class="w"> </span>FitTr
|
|||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Mettre à jour le fichier <strong>.env</strong> si nécessaire (cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a>).</p></li>
|
<li><p>Mettre à jour le fichier <strong>.env</strong> si nécessaire (cf. <a class="reference external" href="installation.html#environment-variables">Variables d’environnement</a>).</p></li>
|
||||||
<li><p>Mettre à jour les paquets</p></li>
|
<li><p>Mettre à jour les paquets :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>install-dev
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>install-dev
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations)</p></li>
|
<li><p>Mettre à jour la base de données si nécessaire (voir le journal des changements pour les migrations) :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>upgrade-db
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>make<span class="w"> </span>upgrade-db
|
||||||
</pre></div>
|
</pre></div>
|
||||||
@ -1172,7 +1172,7 @@ server {
|
|||||||
<div class="versionadded">
|
<div class="versionadded">
|
||||||
<p><span class="versionmodified added">Nouveau dans la version 0.4.4.</span></p>
|
<p><span class="versionmodified added">Nouveau dans la version 0.4.4.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<p>A des fins d’évaluation, des fichiers Docker sont disponible, installant <strong>FitTrackee</strong> à partir des sources <strong>sources</strong>.</p>
|
<p>A des fins d’évaluation, des fichiers Docker sont disponible, installant <strong>FitTrackee</strong> à partir des <strong>sources</strong>.</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Pour installer <strong>FitTrackee</strong> :</p></li>
|
<li><p>Pour installer <strong>FitTrackee</strong> :</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -249,7 +249,7 @@
|
|||||||
<li><p><code class="docutils literal notranslate"><span class="pre">users:read</span></code> : accorde un accès en lecture aux points d’entrée des utilisateurs,</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">users:read</span></code> : accorde un accès en lecture aux points d’entrée des utilisateurs,</p></li>
|
||||||
<li><p><code class="docutils literal notranslate"><span class="pre">users:write</span></code> : accorde un accès en écriture aux points d’entrée des utilisateurs,</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">users:write</span></code> : accorde un accès en écriture aux points d’entrée des utilisateurs,</p></li>
|
||||||
<li><p><code class="docutils literal notranslate"><span class="pre">workouts:read</span></code> : accorde un accès en lecture aux points d’entrée associés aux séances,</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">workouts:read</span></code> : accorde un accès en lecture aux points d’entrée associés aux séances,</p></li>
|
||||||
<li><p><code class="docutils literal notranslate"><span class="pre">workouts:write</span></code>: accorde un accès en écriture aux points d’entrée associés aux séances,</p></li>
|
<li><p><code class="docutils literal notranslate"><span class="pre">workouts:write</span></code> : accorde un accès en écriture aux points d’entrée associés aux séances.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="flow">
|
<section id="flow">
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -9,7 +9,7 @@ msgstr ""
|
|||||||
"Project-Id-Version: FitTrackee 0.7.17\n"
|
"Project-Id-Version: FitTrackee 0.7.17\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 19:44+0200\n"
|
"POT-Creation-Date: 2023-06-24 08:20+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -425,10 +425,6 @@ msgstr ""
|
|||||||
msgid "Handle password reset request."
|
msgid "Handle password reset request."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
|
||||||
msgid "If email sending is disabled, this endpoint is not available"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "``password reset request processed``"
|
msgid "``password reset request processed``"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: FitTrackee 0.7.17\n"
|
"Project-Id-Version: FitTrackee 0.7.17\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2023-06-21 19:44+0200\n"
|
"POT-Creation-Date: 2023-06-24 08:20+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: en\n"
|
"Language: en\n"
|
||||||
@ -445,10 +445,6 @@ msgstr ""
|
|||||||
msgid "Handle password reset request."
|
msgid "Handle password reset request."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
|
||||||
msgid "If email sending is disabled, this endpoint is not available"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "``password reset request processed``"
|
msgid "``password reset request processed``"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5318,3 +5314,6 @@ msgstr ""
|
|||||||
#~ msgid "``workout created``"
|
#~ msgid "``workout created``"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "If email sending is disabled, this endpoint is not available"
|
||||||
|
#~ msgstr ""
|
||||||
|
|
||||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: FitTrackee 0.7.17\n"
|
"Project-Id-Version: FitTrackee 0.7.17\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2023-06-21 19:44+0200\n"
|
"POT-Creation-Date: 2023-06-24 08:20+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
@ -41,7 +41,7 @@ msgstr "**Exemple de requête**:"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "**Example responses**:"
|
msgid "**Example responses**:"
|
||||||
msgstr "**Exemple de réponse**:"
|
msgstr "**Exemple de réponses** :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@ -174,7 +174,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "User login."
|
msgid "User login."
|
||||||
msgstr "Connexion de l'utilisateur"
|
msgstr "Connexion de l'utilisateur."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Only user with an active account can log in."
|
msgid "Only user with an active account can log in."
|
||||||
@ -250,7 +250,7 @@ msgstr "prénom de l'utilisateur"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "user last name"
|
msgid "user last name"
|
||||||
msgstr "nom de l'utilisateur"
|
msgstr "nom de famille de l'utilisateur"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "user location"
|
msgid "user location"
|
||||||
@ -459,12 +459,6 @@ msgstr ""
|
|||||||
msgid "Handle password reset request."
|
msgid "Handle password reset request."
|
||||||
msgstr "Traiter les demandes de réinitialisation de mot de passe."
|
msgstr "Traiter les demandes de réinitialisation de mot de passe."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
|
||||||
msgid "If email sending is disabled, this endpoint is not available"
|
|
||||||
msgstr ""
|
|
||||||
"Si l'envoi de courriels est désactivé, ce point d'accès n'est pas "
|
|
||||||
"disponible."
|
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "``password reset request processed``"
|
msgid "``password reset request processed``"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -483,7 +477,7 @@ msgstr "Modification de mot de passe"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Email change:"
|
msgid "Email change:"
|
||||||
msgstr "Changement d'adresse électronique"
|
msgstr "Changement d'adresse électronique :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "one to the current address to inform user"
|
msgid "one to the current address to inform user"
|
||||||
@ -619,7 +613,7 @@ msgstr "nom du fichier et sa taille (en octets) lorsque l'export est réussi"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "if a request exists:"
|
msgid "if a request exists:"
|
||||||
msgstr "si une requête existe"
|
msgstr "si une requête existe :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@ -672,7 +666,7 @@ msgstr "Mettre à jour de la configuration de l'application."
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Authenticated user must be an admin."
|
msgid "Authenticated user must be an admin."
|
||||||
msgstr "L'utilisateur authentifié doit avoir des droits d'administration"
|
msgstr "L'utilisateur authentifié doit avoir des droits d'administration."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "**Scope**: ``application:write``"
|
msgid "**Scope**: ``application:write``"
|
||||||
@ -735,7 +729,7 @@ msgstr "point d'accès de contrôle"
|
|||||||
|
|
||||||
#: ../source/api/index.rst:4
|
#: ../source/api/index.rst:4
|
||||||
msgid "Endpoints:"
|
msgid "Endpoints:"
|
||||||
msgstr "Points d'accès"
|
msgstr "Points d'accès :"
|
||||||
|
|
||||||
#: ../source/api/index.rst:2
|
#: ../source/api/index.rst:2
|
||||||
msgid "API documentation"
|
msgid "API documentation"
|
||||||
@ -837,7 +831,7 @@ msgstr "Supprimer un client OAuth2"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Revoke all tokens associated to an OAuth2 client (app)."
|
msgid "Revoke all tokens associated to an OAuth2 client (app)."
|
||||||
msgstr "Révoquer tous les tokens associés à un client OAuth2 "
|
msgstr "Révoquer tous les tokens associés à un client OAuth2."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -897,7 +891,7 @@ msgstr "erreurs renvoyées par la librairie Authlib"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Issue or refresh token for a given OAuth2 client (app)."
|
msgid "Issue or refresh token for a given OAuth2 client (app)."
|
||||||
msgstr "Délivrer ou rafraîchir un jeton pour un client OAuth2 donné"
|
msgstr "Délivrer ou rafraîchir un jeton pour un client OAuth2 donné."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "OAuth2 client secret"
|
msgid "OAuth2 client secret"
|
||||||
@ -928,7 +922,7 @@ msgstr "jeton de rafraîchissement (pour le rafraîchissement du jeton)"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Revoke a token for a given OAuth2 client (app)."
|
msgid "Revoke a token for a given OAuth2 client (app)."
|
||||||
msgstr "Révoquer un jeton pour un client OAuth2 donné"
|
msgstr "Révoquer un jeton pour un client OAuth2 donné."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "access token to revoke"
|
msgid "access token to revoke"
|
||||||
@ -988,11 +982,11 @@ msgstr "Obtenir tous les sports"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "for non admin user:"
|
msgid "for non admin user:"
|
||||||
msgstr "pour un utilisateur non admin"
|
msgstr "pour un utilisateur non admin :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "for admin user:"
|
msgid "for admin user:"
|
||||||
msgstr "pour un administrateur"
|
msgstr "pour un administrateur :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Get a sport"
|
msgid "Get a sport"
|
||||||
@ -1004,7 +998,7 @@ msgstr "succès pour un utilisateur non admin:"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "success for admin user:"
|
msgid "success for admin user:"
|
||||||
msgstr "succès pour un administrateur"
|
msgstr "succès pour un administrateur :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "sport not found:"
|
msgid "sport not found:"
|
||||||
@ -1016,7 +1010,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Update a sport."
|
msgid "Update a sport."
|
||||||
msgstr "Modifier un sport"
|
msgstr "Modifier un sport."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "**Scope**: ``workouts:write``"
|
msgid "**Scope**: ``workouts:write``"
|
||||||
@ -1038,7 +1032,7 @@ msgstr "Statistiques"
|
|||||||
msgid "Get workouts statistics for a user by time."
|
msgid "Get workouts statistics for a user by time."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Obtenir des statistiques sur les séances d'entraînement pour un "
|
"Obtenir des statistiques sur les séances d'entraînement pour un "
|
||||||
"utilisateur par durée"
|
"utilisateur par durée."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "**Example requests**:"
|
msgid "**Example requests**:"
|
||||||
@ -1046,7 +1040,7 @@ msgstr "**Exemple de requêtes**:"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "with parameters:"
|
msgid "with parameters:"
|
||||||
msgstr "avec des paramètres"
|
msgstr "avec des paramètres :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "no workouts:"
|
msgid "no workouts:"
|
||||||
@ -1112,7 +1106,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "with sport id:"
|
msgid "with sport id:"
|
||||||
msgstr "avec l'identifiant du sport"
|
msgstr "avec l'identifiant du sport :"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "- ``user does not exist`` - ``sport does not exist``"
|
msgid "- ``user does not exist`` - ``sport does not exist``"
|
||||||
@ -1246,7 +1240,7 @@ msgstr "activer le compte utilisateur"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "does the user have administrator rights"
|
msgid "does the user have administrator rights"
|
||||||
msgstr "l'utilisateur dispose-t-il de droits d'administration ?"
|
msgstr "l'utilisateur dispose-t-il de droits d'administration"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "new user email"
|
msgid "new user email"
|
||||||
@ -1402,7 +1396,7 @@ msgstr ""
|
|||||||
msgid "Get chart data from a workout gpx file, to display it with Chart.js."
|
msgid "Get chart data from a workout gpx file, to display it with Chart.js."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Récupérer les données d'une séance avec gpx pour les afficher avec "
|
"Récupérer les données d'une séance avec gpx pour les afficher avec "
|
||||||
"Chart.js"
|
"Chart.js."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "segment id"
|
msgid "segment id"
|
||||||
@ -1448,7 +1442,7 @@ msgstr "index de la tuile sur l'axe y de la carte"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Status codes are status codes returned by tile server"
|
msgid "Status codes are status codes returned by tile server"
|
||||||
msgstr "Les codes d'état sont des codes d'état renvoyés par le serveur de tuiles."
|
msgstr "Les codes d'état sont des codes d'état renvoyés par le serveur de tuiles"
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Download gpx file."
|
msgid "Download gpx file."
|
||||||
@ -1475,9 +1469,8 @@ msgid ""
|
|||||||
"sport id and notes (example: ``{\"sport_id\": 1, \"notes\": \"\"}``). "
|
"sport id and notes (example: ``{\"sport_id\": 1, \"notes\": \"\"}``). "
|
||||||
"Double quotes in notes must be escaped."
|
"Double quotes in notes must be escaped."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"l'identifiant du sport et les notes (exemple : ``{\"sport_id\": 1, "
|
"identifiant du sport et notes (exemple : ``{\"sport_id\": 1, \"notes\": "
|
||||||
"\"notes\": \"\"}``). Les guillemets doubles dans les notes doivent être "
|
"\"\"}``). Les guillemets doubles dans les notes doivent être échappés."
|
||||||
"échappés."
|
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "workout created"
|
msgid "workout created"
|
||||||
@ -1525,7 +1518,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Update a workout."
|
msgid "Update a workout."
|
||||||
msgstr "Mettre à jour une séance"
|
msgstr "Mettre à jour une séance."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -1574,7 +1567,7 @@ msgstr "séance mise à jour"
|
|||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "Delete a workout."
|
msgid "Delete a workout."
|
||||||
msgstr "Supprimer la séance"
|
msgstr "Supprimer la séance."
|
||||||
|
|
||||||
#: ../../<autoflask>:1
|
#: ../../<autoflask>:1
|
||||||
msgid "workout deleted"
|
msgid "workout deleted"
|
||||||
@ -3296,7 +3289,7 @@ msgstr "``ftcli db upgrade``"
|
|||||||
|
|
||||||
#: ../source/cli.rst:42
|
#: ../source/cli.rst:42
|
||||||
msgid "Apply migrations."
|
msgid "Apply migrations."
|
||||||
msgstr "Appliquer les migrations"
|
msgstr "Appliquer les migrations."
|
||||||
|
|
||||||
#: ../source/cli.rst:49
|
#: ../source/cli.rst:49
|
||||||
msgid "``ftcli oauth2 clean``"
|
msgid "``ftcli oauth2 clean``"
|
||||||
@ -3374,7 +3367,7 @@ msgstr "``USERNAME``"
|
|||||||
|
|
||||||
#: ../source/cli.rst:122 ../source/cli.rst:162
|
#: ../source/cli.rst:122 ../source/cli.rst:162
|
||||||
msgid "Username."
|
msgid "Username."
|
||||||
msgstr "Nom de l'utilisateur"
|
msgstr "Nom de l'utilisateur."
|
||||||
|
|
||||||
#: ../source/cli.rst:123
|
#: ../source/cli.rst:123
|
||||||
msgid "``--email EMAIL``"
|
msgid "``--email EMAIL``"
|
||||||
@ -3587,7 +3580,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../source/features.rst
|
#: ../source/features.rst
|
||||||
msgid "Only gpx files with time are supported."
|
msgid "Only gpx files with time are supported."
|
||||||
msgstr "Seuls les fichiers gpx avec l'heure sont pris en charge"
|
msgstr "Seuls les fichiers gpx avec l'heure sont pris en charge."
|
||||||
|
|
||||||
#: ../source/features.rst
|
#: ../source/features.rst
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -3820,7 +3813,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"L'utilisateur peut choisir entre le système métrique et le système "
|
"L'utilisateur peut choisir entre le système métrique et le système "
|
||||||
"impérial pour la distance, l'affichage de l'altitude et de la vitesse "
|
"impérial pour la distance, l'affichage de l'altitude et de la vitesse "
|
||||||
"(*nouveau dans la version 0.5.0*)."
|
"(*nouveau dans la version 0.5.0*)"
|
||||||
|
|
||||||
#: ../source/features.rst:107
|
#: ../source/features.rst:107
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -4155,7 +4148,9 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../source/features.rst:211
|
#: ../source/features.rst:211
|
||||||
msgid "Polish is not yet available in **FitTrackee** interface."
|
msgid "Polish is not yet available in **FitTrackee** interface."
|
||||||
msgstr "Le polonais n'est pas encore disponible dans l'interface de **FitTrackee**"
|
msgstr ""
|
||||||
|
"Le Polonais n'est pas encore disponible dans l'interface de "
|
||||||
|
"**FitTrackee**."
|
||||||
|
|
||||||
#: ../source/features.rst:214
|
#: ../source/features.rst:214
|
||||||
msgid "Screenshots"
|
msgid "Screenshots"
|
||||||
@ -4434,7 +4429,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Si l'inscription des utilisateurs est activé, il est recommandé de "
|
"Si l'inscription des utilisateurs est activé, il est recommandé de "
|
||||||
"configurer un fournisseur SMTP pour l'envoi des courriels et les demandes"
|
"configurer un fournisseur SMTP pour l'envoi des courriels et les demandes"
|
||||||
" d'export de données"
|
" d'export de données."
|
||||||
|
|
||||||
#: ../source/installation.rst
|
#: ../source/installation.rst
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -4475,7 +4470,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../source/installation.rst:57
|
#: ../source/installation.rst:57
|
||||||
msgid "Name of the module to import at flask run."
|
msgid "Name of the module to import at flask run."
|
||||||
msgstr "Nom du module à importer au démarrage de Flask"
|
msgstr "Nom du module à importer au démarrage de Flask."
|
||||||
|
|
||||||
#: ../source/installation.rst:58
|
#: ../source/installation.rst:58
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -4487,7 +4482,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../source/installation.rst:63
|
#: ../source/installation.rst:63
|
||||||
msgid "**FitTrackee** host."
|
msgid "**FitTrackee** host."
|
||||||
msgstr "Hôte **FitTrackee** "
|
msgstr "Hôte **FitTrackee**."
|
||||||
|
|
||||||
#: ../source/installation.rst
|
#: ../source/installation.rst
|
||||||
msgid "default"
|
msgid "default"
|
||||||
@ -4499,7 +4494,7 @@ msgstr "127.0.0.1"
|
|||||||
|
|
||||||
#: ../source/installation.rst:70
|
#: ../source/installation.rst:70
|
||||||
msgid "**FitTrackee** port."
|
msgid "**FitTrackee** port."
|
||||||
msgstr "Port de l'application web **FitTrackee**"
|
msgstr "Port de l'application web **FitTrackee**."
|
||||||
|
|
||||||
#: ../source/installation.rst:72
|
#: ../source/installation.rst:72
|
||||||
msgid "5000"
|
msgid "5000"
|
||||||
@ -4507,7 +4502,7 @@ msgstr "5000"
|
|||||||
|
|
||||||
#: ../source/installation.rst:77
|
#: ../source/installation.rst:77
|
||||||
msgid "**FitTrackee** configuration."
|
msgid "**FitTrackee** configuration."
|
||||||
msgstr "Configuration de **FitTrackee**"
|
msgstr "Configuration de **FitTrackee**."
|
||||||
|
|
||||||
#: ../source/installation.rst:79
|
#: ../source/installation.rst:79
|
||||||
msgid "fittrackee.config.ProductionConfig"
|
msgid "fittrackee.config.ProductionConfig"
|
||||||
@ -4523,11 +4518,11 @@ msgstr ""
|
|||||||
msgid "Use a strong secret key. This key is used in JWT generation."
|
msgid "Use a strong secret key. This key is used in JWT generation."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Utiliser une clé secrète forte. Cette clé est utilisée pour la génération"
|
"Utiliser une clé secrète forte. Cette clé est utilisée pour la génération"
|
||||||
" des jetons JWT"
|
" des jetons JWT."
|
||||||
|
|
||||||
#: ../source/installation.rst:91
|
#: ../source/installation.rst:91
|
||||||
msgid "Number of workers spawned by **Gunicorn**."
|
msgid "Number of workers spawned by **Gunicorn**."
|
||||||
msgstr "Nombre de _workers_ lancés par **Gunicorn**"
|
msgstr "Nombre de _workers_ lancés par **Gunicorn**."
|
||||||
|
|
||||||
#: ../source/installation.rst:93
|
#: ../source/installation.rst:93
|
||||||
msgid "1"
|
msgid "1"
|
||||||
@ -4556,7 +4551,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Dans le cas d'une installation avec PyPI, le répertoire sera localisé "
|
"Dans le cas d'une installation avec PyPI, le répertoire sera localisé "
|
||||||
"dans le répertoire de l'environnement virtuel Python si la variable n'est"
|
"dans le répertoire de l'environnement virtuel Python si la variable n'est"
|
||||||
" pas initialisée"
|
" pas initialisée."
|
||||||
|
|
||||||
#: ../source/installation.rst:117
|
#: ../source/installation.rst:117
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -4787,7 +4782,9 @@ msgstr "avec SSL: ``smtp://username:password@smtp.example.com:465/?ssl=True``"
|
|||||||
|
|
||||||
#: ../source/installation.rst:258
|
#: ../source/installation.rst:258
|
||||||
msgid "with STARTTLS: ``smtp://username:password@smtp.example.com:587/?tls=True``"
|
msgid "with STARTTLS: ``smtp://username:password@smtp.example.com:587/?tls=True``"
|
||||||
msgstr "avec STARTTLS: ``smtp://username:password@smtp.example.com:587/?tls=True``"
|
msgstr ""
|
||||||
|
"avec STARTTLS : "
|
||||||
|
"``smtp://username:password@smtp.example.com:587/?tls=True``"
|
||||||
|
|
||||||
#: ../source/installation.rst
|
#: ../source/installation.rst
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
@ -5063,7 +5060,7 @@ msgstr "A partir de PyPI"
|
|||||||
|
|
||||||
#: ../source/installation.rst
|
#: ../source/installation.rst
|
||||||
msgid "Recommended way on production."
|
msgid "Recommended way on production."
|
||||||
msgstr "Méthode recommandée en production"
|
msgstr "Méthode recommandée en production."
|
||||||
|
|
||||||
#: ../source/installation.rst:382
|
#: ../source/installation.rst:382
|
||||||
msgid "Create and activate a virtualenv"
|
msgid "Create and activate a virtualenv"
|
||||||
@ -5103,7 +5100,7 @@ msgid ""
|
|||||||
"source the file."
|
"source the file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Par exemple, copier et coller le fichier ``.env`` à partir de "
|
"Par exemple, copier et coller le fichier ``.env`` à partir de "
|
||||||
"``.env.example`` et activer le fichier"
|
"``.env.example`` et activer le fichier."
|
||||||
|
|
||||||
#: ../source/installation.rst:412
|
#: ../source/installation.rst:412
|
||||||
msgid "Initialize database schema"
|
msgid "Initialize database schema"
|
||||||
@ -5120,7 +5117,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Démarrer les *workers* de la file d'attente des tâches si l'envoi des "
|
"Démarrer les *workers* de la file d'attente des tâches si l'envoi des "
|
||||||
"courriels est activé, avec l'interface de ligne de commandes de flask-"
|
"courriels est activé, avec l'interface de ligne de commandes de flask-"
|
||||||
"dramatiq"
|
"dramatiq :"
|
||||||
|
|
||||||
#: ../source/installation.rst
|
#: ../source/installation.rst
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -5202,7 +5199,7 @@ msgstr "Démarrer le serveur et le client :"
|
|||||||
|
|
||||||
#: ../source/installation.rst:485 ../source/installation.rst:621
|
#: ../source/installation.rst:485 ../source/installation.rst:621
|
||||||
msgid "Run dramatiq workers:"
|
msgid "Run dramatiq workers:"
|
||||||
msgstr "Démarrer les *workers* dramatiq"
|
msgstr "Démarrer les *workers* dramatiq :"
|
||||||
|
|
||||||
#: ../source/installation.rst:491
|
#: ../source/installation.rst:491
|
||||||
msgid "Open http://localhost:3000 and register"
|
msgid "Open http://localhost:3000 and register"
|
||||||
@ -5288,7 +5285,7 @@ msgstr "Mettre à jour les variables d'environnements si nécessaire et les acti
|
|||||||
msgid "Upgrade database if needed (see changelog for migrations):"
|
msgid "Upgrade database if needed (see changelog for migrations):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Mettre à jour la base de données si nécessaire (voir le journal des "
|
"Mettre à jour la base de données si nécessaire (voir le journal des "
|
||||||
"changements pour les migrations)"
|
"changements pour les migrations) :"
|
||||||
|
|
||||||
#: ../source/installation.rst:586
|
#: ../source/installation.rst:586
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -5312,11 +5309,11 @@ msgstr ""
|
|||||||
|
|
||||||
#: ../source/installation.rst:603 ../source/installation.rst:645
|
#: ../source/installation.rst:603 ../source/installation.rst:645
|
||||||
msgid "Upgrade packages:"
|
msgid "Upgrade packages:"
|
||||||
msgstr "Mettre à jour les paquets"
|
msgstr "Mettre à jour les paquets :"
|
||||||
|
|
||||||
#: ../source/installation.rst:615
|
#: ../source/installation.rst:615
|
||||||
msgid "Restart the server:"
|
msgid "Restart the server:"
|
||||||
msgstr "Redémarrer le serveur"
|
msgstr "Redémarrer le serveur :"
|
||||||
|
|
||||||
#: ../source/installation.rst:628
|
#: ../source/installation.rst:628
|
||||||
msgid "Prod environment"
|
msgid "Prod environment"
|
||||||
@ -5416,7 +5413,7 @@ msgid ""
|
|||||||
"**FitTrackee** from **sources**."
|
"**FitTrackee** from **sources**."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"A des fins d'évaluation, des fichiers Docker sont disponible, installant "
|
"A des fins d'évaluation, des fichiers Docker sont disponible, installant "
|
||||||
"**FitTrackee** à partir des sources **sources**."
|
"**FitTrackee** à partir des **sources**."
|
||||||
|
|
||||||
#: ../source/installation.rst:806
|
#: ../source/installation.rst:806
|
||||||
msgid "To install **FitTrackee**:"
|
msgid "To install **FitTrackee**:"
|
||||||
@ -5594,7 +5591,7 @@ msgstr ""
|
|||||||
msgid "``workouts:write``: grants write access to workouts-related endpoints."
|
msgid "``workouts:write``: grants write access to workouts-related endpoints."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"``workouts:write`` : accorde un accès en écriture aux points d'entrée "
|
"``workouts:write`` : accorde un accès en écriture aux points d'entrée "
|
||||||
"associés aux séances,"
|
"associés aux séances."
|
||||||
|
|
||||||
#: ../source/oauth.rst:38
|
#: ../source/oauth.rst:38
|
||||||
msgid "Flow"
|
msgid "Flow"
|
||||||
@ -5916,3 +5913,9 @@ msgstr "Dépannage"
|
|||||||
#~ msgid "``workout created``"
|
#~ msgid "``workout created``"
|
||||||
#~ msgstr "séance créée"
|
#~ msgstr "séance créée"
|
||||||
|
|
||||||
|
#~ msgid "If email sending is disabled, this endpoint is not available"
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Si l'envoi de courriels est désactivé,"
|
||||||
|
#~ " ce point d'accès n'est pas "
|
||||||
|
#~ "disponible."
|
||||||
|
|
||||||
|
@ -1253,7 +1253,7 @@ def request_password_reset() -> Union[Dict, HttpResponse]:
|
|||||||
"""
|
"""
|
||||||
Handle password reset request.
|
Handle password reset request.
|
||||||
|
|
||||||
If email sending is disabled, this endpoint is not available
|
If email sending is disabled, this endpoint is not available.
|
||||||
|
|
||||||
**Example request**:
|
**Example request**:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user