diff --git a/kb.json b/kb.json index 8f5ebd7..6a36987 100644 --- a/kb.json +++ b/kb.json @@ -37,7 +37,7 @@ "fields": { "category": 1, "language": "fr", - "name": "G\u00e9n\u00e9ral" + "name": "Général" } }, { @@ -263,6 +263,26 @@ "internal": false } }, +{ + "model": "kb.kbentry", + "pk": 17, + "fields": { + "create_date": "2021-06-02T14:29:20.320Z", + "category": 5, + "title": "Windows - \"netsh command failed\"", + "internal": false + } +}, +{ + "model": "kb.kbentry", + "pk": 18, + "fields": { + "create_date": "2021-06-02T14:31:46.705Z", + "category": 5, + "title": "Windows - \"Multiple TAP-Windows adapters\"", + "internal": false + } +}, { "model": "kb.kbentryquestion", "pk": 1, @@ -278,7 +298,7 @@ "fields": { "entry": 1, "language": "fr", - "question": "Qu'est-ce qu'un VPN ? Comment \u00e7a marche ?" + "question": "Qu'est-ce qu'un VPN ? Comment ça marche ?" } }, { @@ -296,7 +316,7 @@ "fields": { "entry": 2, "language": "fr", - "question": "Quelles sont les diff\u00e9rences avec tor ?" + "question": "Quelles sont les différences avec tor ?" } }, { @@ -332,7 +352,7 @@ "fields": { "entry": 4, "language": "fr", - "question": "Est-ce que le P2P est autoris\u00e9 ?" + "question": "Est-ce que le P2P est autorisé ?" } }, { @@ -350,7 +370,7 @@ "fields": { "entry": 5, "language": "fr", - "question": "Puis-je avoir une adresse d\u00e9di\u00e9e ?" + "question": "Puis-je avoir une adresse dédiée ?" } }, { @@ -422,7 +442,7 @@ "fields": { "entry": 9, "language": "fr", - "question": "Quelles m\u00e9thodes de payement sont disponibles ?" + "question": "Quelles méthodes de payement sont disponibles ?" } }, { @@ -512,7 +532,7 @@ "fields": { "entry": 14, "language": "fr", - "question": "Quel chiffrement est utilis\u00e9 ?" + "question": "Quel chiffrement est utilisé ?" } }, { @@ -530,7 +550,7 @@ "fields": { "entry": 15, "language": "fr", - "question": "Est-ce que l'IPv6 est support\u00e9 ?" + "question": "Est-ce que l'IPv6 est supporté ?" } }, { @@ -551,6 +571,42 @@ "question": "Est-ce vraiment anonyme ?" } }, +{ + "model": "kb.kbentryquestion", + "pk": 33, + "fields": { + "entry": 17, + "language": "fr", + "question": "Windows - \"netsh command failed\"" + } +}, +{ + "model": "kb.kbentryquestion", + "pk": 34, + "fields": { + "entry": 17, + "language": "en", + "question": "Windows - \"netsh command failed\"" + } +}, +{ + "model": "kb.kbentryquestion", + "pk": 35, + "fields": { + "entry": 18, + "language": "en", + "question": "Windows - \"Multiple TAP-Windows adapters\"" + } +}, +{ + "model": "kb.kbentryquestion", + "pk": 36, + "fields": { + "entry": 18, + "language": "fr", + "question": "Windows - \"Multiple TAP-Windows adapters\"" + } +}, { "model": "kb.kbentryanswer", "pk": 1, @@ -838,5 +894,41 @@ "language": "fr", "answer": "

Nous ne vous demanderons pas votre nom et nous acceptons les paiements anonymes.

\r\n

Le VPN cachera votre identité lors de communications sur Internet, et peut vous aider à atteindre un niveau d'anonymat en évitant de laisser filtrer des informations via votre adresse IP.

\r\n

Cela ne vous rendra pas pour autant intraçable et ne permet pas d'échapper à la loi.

" } +}, +{ + "model": "kb.kbentryanswer", + "pk": 33, + "fields": { + "entry": 17, + "language": "en", + "answer": "

If you find lines like those in your OpenVPN log:

\r\n

NETSH: C:\\Windows\\system32\\netsh.exe interface ipv6 set address Local Area Network
ERROR: netsh command failed: returned error code 1

\r\n

This error is really frequent on Windows and seem to happen because of a OpenVPN problem with netsh.exe and IPv6.
To fix it, rename your network connection to avoid spaces, for example \"Local Area Network\" to \"lan\".

\r\n

Windows: Rename a network connection

" + } +}, +{ + "model": "kb.kbentryanswer", + "pk": 34, + "fields": { + "entry": 17, + "language": "fr", + "answer": "

Si vous trouvez ces lignes dans votre historique OpenVPN:

\r\n

NETSH: C:\\Windows\\system32\\netsh.exe interface ipv6 set address Connexion au réseau local
ERROR: netsh command failed: returned error code 1

\r\n

Cette erreur est fréquente sous windows et semble arriver à cause d'un problème d'OpenVPN avec netsh.exe et l'IPv6. Pour le résoudre, renommez votre connection réseau pour éviter les espaces. Par exemple « Connexion au réseau local » en « lan ».

\r\n

Windows: Renommer une connexion réseau

" + } +}, +{ + "model": "kb.kbentryanswer", + "pk": 35, + "fields": { + "entry": 18, + "language": "en", + "answer": "

Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node
Exiting due to fatal error

\r\n

That one can happen when you have multiple TAP-Windows adapters, most of the time because of another software using TAP. To fix it, open a command prompt (Shift+Right click) in your OpenVPN directory (where openvpn.exe is), and run:

\r\n

\r\n

\r\n

openvpn.exe --show-adapters

\r\n

\r\n

This will list your TAP adapters. Then, open your ccrypto.ovpn configuration file with notepad and add this on a new line:

\r\n

\r\n

dev-node [name]

\r\n

\r\n

Replace [name] by your TAP adapter name.

\r\n

" + } +}, +{ + "model": "kb.kbentryanswer", + "pk": 36, + "fields": { + "entry": 18, + "language": "fr", + "answer": "

Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node
Exiting due to fatal error

\r\n

Cette erreur pourra apparaitre si vous avec de multiples interfaces TAP, la plupart du temps à cause d'un autre logiciel utilisant TAP. Pour le résoudre, ouvrez un interpréteur de commandes (Shift + Clic droit) dans votre répertoire OpenVPN (là où openvpn.exe se situe) et lancez :

\r\n

\r\n

openvpn.exe --show-adapters

\r\n

\r\n

Cela va lister vos interfaces TAP. Puis, ouvrez votre fichier de configuration ccrypto.ovpn avec un éditeur de texte et ajoutez ceci sur une nouvelle ligne :

\r\n

\r\n

dev-node [nom]

\r\n

\r\n

Remplacez [nom] par le nom de votre interface TAP.

\r\n

" + } } ] diff --git a/static/css/style.css b/static/css/style.css index c7a9ec2..c660b50 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -272,7 +272,6 @@ header .site-menu a{ float: none; width: 200px; position: relative; - margin-left: 1em; flex-shrink: 0; } @@ -309,7 +308,7 @@ box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.21); .content-box h3 { font-weight: bold; font-size: 1.2em; - margin: 1em 0 0.25em 0; + margin: 0.75em 0; } .content-box h4 { font-weight: bold; @@ -331,6 +330,10 @@ box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.21); margin: 1.5em 0; } +.content-box a { + color: #1c619a; +} + /*.kb-question-list { list-style-type: circle; @@ -409,6 +412,15 @@ table.admin-list tbody tr td:last-child { border-right: 0; } table.admin-list tbody tr:last-child td { border-bottom: 0; } table.admin-list tbody tr:nth-child(even) { background: #eee; } +.table-header { + display: flex; + flex-direction: row; + align-items: center; +} +.table-header > *:first-child { + flex-grow: 1; +} + /***************************************************/ /********************* Account Pages */ @@ -529,6 +541,7 @@ ul.errorlist { .install-guides li a { line-height: 2.2em; text-decoration: none; + display: block; } .install-guides li i { display: block; @@ -1139,6 +1152,16 @@ div.ticket-message-private { position: relative; bottom: -1px; } +.icon-wireguard.large { + height: 3em; + color: #88171a; +} + +.fa.external-link { + font-size: 0.7em; + position: relative; + top: -1px; +} @media screen and (max-width: 64em) { .content { diff --git a/templates/base_help.html b/templates/base_help.html index 3c0c87f..326e5a7 100644 --- a/templates/base_help.html +++ b/templates/base_help.html @@ -13,7 +13,7 @@
  •   - {% trans 'Support' %} + {% trans 'Guides & Support' %}
  • @@ -22,15 +22,26 @@ {% trans 'Knowledge Base' %}
  • -
  • - -   - {% trans 'Self-Diagnosis' %} - -
  • -
  • -   - {% trans 'Privacy' %} +
  • +   + {% trans 'Tickets' %} + {% if n_open_tickets > 0 %}({{n_open_tickets}}){% endif %} +
  • + {% if perms.tickets.view_any_ticket %} +
  • +   + {% trans 'All Tickets' %} + {% if n_all_tickets > 0 %}({{all_open_n}}){% endif %} +
  • + {% endif %} + + + diff --git a/templates/layout.html b/templates/layout.html index 6aa8b3d..fbf60d8 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -49,9 +49,6 @@
  • {% trans "VPN" %}
  • {% trans "Servers" %}
  • {% trans "Guides & Support" %}
  • - {% if user.is_authenticated %} -
  • {% trans "Tickets" %}
  • - {% endif %} {% if user.is_staff %}
  • {% trans "Admin" %}
  • {% endif %} @@ -79,6 +76,7 @@