mirror of https://gitlab.crans.org/bde/nk20
Translate all fields, remove old CAS client configuration, remove packaged templates in source
This commit is contained in:
parent
705313edb6
commit
e42680997f
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-04-23 18:21+0200\n"
|
"POT-Creation-Date: 2020-04-25 15:52+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"
|
||||||
|
@ -275,7 +275,7 @@ msgstr ""
|
||||||
msgid "changelogs"
|
msgid "changelogs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/apps.py:14
|
#: apps/member/apps.py:14 apps/wei/tables.py:150 apps/wei/tables.py:181
|
||||||
msgid "member"
|
msgid "member"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -509,7 +509,7 @@ msgstr ""
|
||||||
msgid "fee"
|
msgid "fee"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/models.py:320 apps/member/views.py:505 apps/wei/views.py:738
|
#: apps/member/models.py:320 apps/member/views.py:505 apps/wei/views.py:768
|
||||||
msgid "User is not a member of the parent club"
|
msgid "User is not a member of the parent club"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -552,7 +552,7 @@ msgstr ""
|
||||||
msgid "Search user"
|
msgid "Search user"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/member/views.py:500 apps/wei/views.py:729
|
#: apps/member/views.py:500 apps/wei/views.py:759
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user don't have enough money to join this club, and can't have a "
|
"This user don't have enough money to join this club, and can't have a "
|
||||||
"negative balance."
|
"negative balance."
|
||||||
|
@ -806,7 +806,7 @@ msgstr ""
|
||||||
#: apps/note/tables.py:146 apps/wei/tables.py:42 apps/wei/tables.py:43
|
#: apps/note/tables.py:146 apps/wei/tables.py:42 apps/wei/tables.py:43
|
||||||
#: templates/member/club_info.html:67 templates/note/conso_form.html:121
|
#: templates/member/club_info.html:67 templates/note/conso_form.html:121
|
||||||
#: templates/wei/bus_tables.html:15 templates/wei/busteam_tables.html:15
|
#: templates/wei/bus_tables.html:15 templates/wei/busteam_tables.html:15
|
||||||
#: templates/wei/busteam_tables.html:33 templates/wei/weiclub_info.html:66
|
#: templates/wei/busteam_tables.html:33 templates/wei/weiclub_info.html:68
|
||||||
msgid "Edit"
|
msgid "Edit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -926,7 +926,6 @@ msgstr ""
|
||||||
#: apps/treasury/forms.py:85 apps/treasury/forms.py:133
|
#: apps/treasury/forms.py:85 apps/treasury/forms.py:133
|
||||||
#: templates/activity/activity_form.html:9
|
#: templates/activity/activity_form.html:9
|
||||||
#: templates/activity/activity_invite.html:8
|
#: templates/activity/activity_invite.html:8
|
||||||
#: templates/django_filters/rest_framework/form.html:5
|
|
||||||
#: templates/member/add_members.html:14 templates/member/club_form.html:9
|
#: templates/member/add_members.html:14 templates/member/club_form.html:9
|
||||||
#: templates/treasury/invoice_form.html:46 templates/wei/bus_form.html:13
|
#: templates/treasury/invoice_form.html:46 templates/wei/bus_form.html:13
|
||||||
#: templates/wei/busteam_form.html:13 templates/wei/weiclub_form.html:15
|
#: templates/wei/busteam_form.html:13 templates/wei/weiclub_form.html:15
|
||||||
|
@ -1316,61 +1315,54 @@ msgstr ""
|
||||||
msgid "Teams"
|
msgid "Teams"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/tables.py:143 apps/wei/tables.py:185
|
#: apps/wei/tables.py:143 apps/wei/tables.py:184
|
||||||
msgid "Members count"
|
msgid "Members count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/tables.py:150 apps/wei/tables.py:151 apps/wei/tables.py:182
|
#: apps/wei/tables.py:150 apps/wei/tables.py:181
|
||||||
msgid "members"
|
msgid "members"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:177
|
#: apps/wei/views.py:201
|
||||||
msgid "Find WEI Membership"
|
msgid "Find WEI Membership"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:212
|
#: apps/wei/views.py:236
|
||||||
msgid "Find WEI Registration"
|
msgid "Find WEI Registration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:421 templates/wei/weiclub_info.html:62
|
#: apps/wei/views.py:445 templates/wei/weiclub_info.html:62
|
||||||
msgid "Register 1A"
|
msgid "Register 1A"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:442 apps/wei/views.py:510
|
#: apps/wei/views.py:466 apps/wei/views.py:535
|
||||||
msgid "This user is already registered to this WEI."
|
msgid "This user is already registered to this WEI."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:447
|
#: apps/wei/views.py:471
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user can't be in her/his first year since he/she has already participed "
|
"This user can't be in her/his first year since he/she has already participed "
|
||||||
"to a WEI."
|
"to a WEI."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:475 templates/wei/weiclub_info.html:63
|
#: apps/wei/views.py:499 templates/wei/weiclub_info.html:65
|
||||||
msgid "Register 2A+"
|
msgid "Register 2A+"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:493 apps/wei/views.py:576
|
#: apps/wei/views.py:517 apps/wei/views.py:604
|
||||||
msgid "You already opened an account in the Société générale."
|
msgid "You already opened an account in the Société générale."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:733
|
#: apps/wei/views.py:763
|
||||||
msgid "This user didn't give her/his caution check."
|
msgid "This user didn't give her/his caution check."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: apps/wei/views.py:802 apps/wei/views.py:822 apps/wei/views.py:832
|
#: apps/wei/views.py:837 apps/wei/views.py:857 apps/wei/views.py:867
|
||||||
#: templates/wei/survey.html:12 templates/wei/survey_closed.html:12
|
#: templates/wei/survey.html:12 templates/wei/survey_closed.html:12
|
||||||
#: templates/wei/survey_end.html:12
|
#: templates/wei/survey_end.html:12
|
||||||
msgid "Survey WEI"
|
msgid "Survey WEI"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: note_kfet/settings/__init__.py:63
|
|
||||||
msgid ""
|
|
||||||
"The Central Authentication Service grants you access to most of our websites "
|
|
||||||
"by authenticating only once, so you don't need to type your credentials "
|
|
||||||
"again unless your session expires or you logout."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: note_kfet/settings/base.py:154
|
#: note_kfet/settings/base.py:154
|
||||||
msgid "German"
|
msgid "German"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1474,49 +1466,6 @@ msgid ""
|
||||||
"upgrading."
|
"upgrading."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:4
|
|
||||||
msgid ""
|
|
||||||
"<h3>Log In Successful</h3>You have successfully logged into the Central "
|
|
||||||
"Authentication Service.<br/>For security reasons, please Log Out and Exit "
|
|
||||||
"your web browser when you are done accessing services that require "
|
|
||||||
"authentication!"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:8
|
|
||||||
msgid "Log me out from all my sessions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:14
|
|
||||||
msgid "Forget the identity provider"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:18
|
|
||||||
msgid "Logout"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:6
|
|
||||||
msgid "Please log in"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:11
|
|
||||||
msgid ""
|
|
||||||
"If you don't have any Note Kfet account, please follow <a href='/accounts/"
|
|
||||||
"signup'>this link to sign up</a>."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:17
|
|
||||||
msgid "Login"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/warn.html:9
|
|
||||||
msgid "Connect to the service"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/django_filters/rest_framework/crispy_form.html:4
|
|
||||||
#: templates/django_filters/rest_framework/form.html:2
|
|
||||||
msgid "Field filters"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/member/alias_update.html:5
|
#: templates/member/alias_update.html:5
|
||||||
msgid "Add alias"
|
msgid "Add alias"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1763,7 +1712,7 @@ msgid "Log in again"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/registration/login.html:7 templates/registration/login.html:8
|
#: templates/registration/login.html:7 templates/registration/login.html:8
|
||||||
#: templates/registration/login.html:28
|
#: templates/registration/login.html:21
|
||||||
#: templates/registration/password_reset_complete.html:10
|
#: templates/registration/password_reset_complete.html:10
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -1776,14 +1725,6 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/registration/login.html:22
|
#: templates/registration/login.html:22
|
||||||
msgid "You can also register via the central authentification server "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/registration/login.html:23
|
|
||||||
msgid "using this link "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/registration/login.html:29
|
|
||||||
msgid "Forgotten your password or username?"
|
msgid "Forgotten your password or username?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -2051,11 +1992,11 @@ msgstr ""
|
||||||
msgid "WEI list"
|
msgid "WEI list"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/wei/weiclub_info.html:69
|
#: templates/wei/weiclub_info.html:71
|
||||||
msgid "Add bus"
|
msgid "Add bus"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/wei/weiclub_info.html:73
|
#: templates/wei/weiclub_info.html:75
|
||||||
msgid "View WEI"
|
msgid "View WEI"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,14 @@
|
||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2020-04-23 18:21+0200\n"
|
"POT-Creation-Date: 2020-04-25 15:52+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"
|
||||||
|
@ -265,13 +270,13 @@ msgstr "Les logs ne peuvent pas être détruits."
|
||||||
|
|
||||||
#: apps/logs/models.py:80
|
#: apps/logs/models.py:80
|
||||||
msgid "changelog"
|
msgid "changelog"
|
||||||
msgstr ""
|
msgstr "journal de modification"
|
||||||
|
|
||||||
#: apps/logs/models.py:81
|
#: apps/logs/models.py:81
|
||||||
msgid "changelogs"
|
msgid "changelogs"
|
||||||
msgstr ""
|
msgstr "journaux de modifications"
|
||||||
|
|
||||||
#: apps/member/apps.py:14
|
#: apps/member/apps.py:14 apps/wei/tables.py:150 apps/wei/tables.py:181
|
||||||
msgid "member"
|
msgid "member"
|
||||||
msgstr "adhérent"
|
msgstr "adhérent"
|
||||||
|
|
||||||
|
@ -509,7 +514,7 @@ msgstr "l'adhésion finit le"
|
||||||
msgid "fee"
|
msgid "fee"
|
||||||
msgstr "cotisation"
|
msgstr "cotisation"
|
||||||
|
|
||||||
#: apps/member/models.py:320 apps/member/views.py:505 apps/wei/views.py:738
|
#: apps/member/models.py:320 apps/member/views.py:505 apps/wei/views.py:768
|
||||||
msgid "User is not a member of the parent club"
|
msgid "User is not a member of the parent club"
|
||||||
msgstr "L'utilisateur n'est pas membre du club parent"
|
msgstr "L'utilisateur n'est pas membre du club parent"
|
||||||
|
|
||||||
|
@ -552,7 +557,7 @@ msgstr "Un alias avec un nom similaire existe déjà."
|
||||||
msgid "Search user"
|
msgid "Search user"
|
||||||
msgstr "Chercher un utilisateur"
|
msgstr "Chercher un utilisateur"
|
||||||
|
|
||||||
#: apps/member/views.py:500 apps/wei/views.py:729
|
#: apps/member/views.py:500 apps/wei/views.py:759
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user don't have enough money to join this club, and can't have a "
|
"This user don't have enough money to join this club, and can't have a "
|
||||||
"negative balance."
|
"negative balance."
|
||||||
|
@ -809,7 +814,7 @@ msgstr "Supprimer"
|
||||||
#: apps/note/tables.py:146 apps/wei/tables.py:42 apps/wei/tables.py:43
|
#: apps/note/tables.py:146 apps/wei/tables.py:42 apps/wei/tables.py:43
|
||||||
#: templates/member/club_info.html:67 templates/note/conso_form.html:121
|
#: templates/member/club_info.html:67 templates/note/conso_form.html:121
|
||||||
#: templates/wei/bus_tables.html:15 templates/wei/busteam_tables.html:15
|
#: templates/wei/bus_tables.html:15 templates/wei/busteam_tables.html:15
|
||||||
#: templates/wei/busteam_tables.html:33 templates/wei/weiclub_info.html:66
|
#: templates/wei/busteam_tables.html:33 templates/wei/weiclub_info.html:68
|
||||||
msgid "Edit"
|
msgid "Edit"
|
||||||
msgstr "Éditer"
|
msgstr "Éditer"
|
||||||
|
|
||||||
|
@ -824,12 +829,12 @@ msgstr "Consommations"
|
||||||
#: apps/permission/models.py:82
|
#: apps/permission/models.py:82
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Can {type} {model}.{field} in {query}"
|
msgid "Can {type} {model}.{field} in {query}"
|
||||||
msgstr ""
|
msgstr "Can {type} {model}.{field} in {query}"
|
||||||
|
|
||||||
#: apps/permission/models.py:84
|
#: apps/permission/models.py:84
|
||||||
#, python-brace-format
|
#, python-brace-format
|
||||||
msgid "Can {type} {model} in {query}"
|
msgid "Can {type} {model} in {query}"
|
||||||
msgstr ""
|
msgstr "Can {type} {model} in {query}"
|
||||||
|
|
||||||
#: apps/permission/models.py:97
|
#: apps/permission/models.py:97
|
||||||
msgid "rank"
|
msgid "rank"
|
||||||
|
@ -866,6 +871,8 @@ msgstr "permissions"
|
||||||
#: apps/permission/models.py:187
|
#: apps/permission/models.py:187
|
||||||
msgid "Specifying field applies only to view and change permission types."
|
msgid "Specifying field applies only to view and change permission types."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Spécifie le champ concerné, ne fonctionne que pour les permissions view et "
|
||||||
|
"change."
|
||||||
|
|
||||||
#: apps/permission/models.py:322 apps/permission/models.py:323
|
#: apps/permission/models.py:322 apps/permission/models.py:323
|
||||||
msgid "role permissions"
|
msgid "role permissions"
|
||||||
|
@ -934,7 +941,6 @@ msgstr "Trésorerie"
|
||||||
#: apps/treasury/forms.py:85 apps/treasury/forms.py:133
|
#: apps/treasury/forms.py:85 apps/treasury/forms.py:133
|
||||||
#: templates/activity/activity_form.html:9
|
#: templates/activity/activity_form.html:9
|
||||||
#: templates/activity/activity_invite.html:8
|
#: templates/activity/activity_invite.html:8
|
||||||
#: templates/django_filters/rest_framework/form.html:5
|
|
||||||
#: templates/member/add_members.html:14 templates/member/club_form.html:9
|
#: templates/member/add_members.html:14 templates/member/club_form.html:9
|
||||||
#: templates/treasury/invoice_form.html:46 templates/wei/bus_form.html:13
|
#: templates/treasury/invoice_form.html:46 templates/wei/bus_form.html:13
|
||||||
#: templates/wei/busteam_form.html:13 templates/wei/weiclub_form.html:15
|
#: templates/wei/busteam_form.html:13 templates/wei/weiclub_form.html:15
|
||||||
|
@ -1334,38 +1340,38 @@ msgstr "Valider"
|
||||||
|
|
||||||
#: apps/wei/tables.py:96
|
#: apps/wei/tables.py:96
|
||||||
msgid "Year"
|
msgid "Year"
|
||||||
msgstr ""
|
msgstr "Année"
|
||||||
|
|
||||||
#: apps/wei/tables.py:134 templates/wei/bus_tables.html:26
|
#: apps/wei/tables.py:134 templates/wei/bus_tables.html:26
|
||||||
#: templates/wei/busteam_tables.html:43
|
#: templates/wei/busteam_tables.html:43
|
||||||
msgid "Teams"
|
msgid "Teams"
|
||||||
msgstr "Équipes"
|
msgstr "Équipes"
|
||||||
|
|
||||||
#: apps/wei/tables.py:143 apps/wei/tables.py:185
|
#: apps/wei/tables.py:143 apps/wei/tables.py:184
|
||||||
msgid "Members count"
|
msgid "Members count"
|
||||||
msgstr "Nombre de membres"
|
msgstr "Nombre de membres"
|
||||||
|
|
||||||
#: apps/wei/tables.py:150 apps/wei/tables.py:151 apps/wei/tables.py:182
|
#: apps/wei/tables.py:150 apps/wei/tables.py:181
|
||||||
msgid "members"
|
msgid "members"
|
||||||
msgstr "adhérents"
|
msgstr "adhérents"
|
||||||
|
|
||||||
#: apps/wei/views.py:177
|
#: apps/wei/views.py:201
|
||||||
msgid "Find WEI Membership"
|
msgid "Find WEI Membership"
|
||||||
msgstr "Trouver une adhésion au WEI"
|
msgstr "Trouver une adhésion au WEI"
|
||||||
|
|
||||||
#: apps/wei/views.py:212
|
#: apps/wei/views.py:236
|
||||||
msgid "Find WEI Registration"
|
msgid "Find WEI Registration"
|
||||||
msgstr "Trouver une inscription au WEI"
|
msgstr "Trouver une inscription au WEI"
|
||||||
|
|
||||||
#: apps/wei/views.py:421 templates/wei/weiclub_info.html:62
|
#: apps/wei/views.py:445 templates/wei/weiclub_info.html:62
|
||||||
msgid "Register 1A"
|
msgid "Register 1A"
|
||||||
msgstr "Inscrire un 1A"
|
msgstr "Inscrire un 1A"
|
||||||
|
|
||||||
#: apps/wei/views.py:442 apps/wei/views.py:510
|
#: apps/wei/views.py:466 apps/wei/views.py:535
|
||||||
msgid "This user is already registered to this WEI."
|
msgid "This user is already registered to this WEI."
|
||||||
msgstr "Cette personne est déjà inscrite au WEI."
|
msgstr "Cette personne est déjà inscrite au WEI."
|
||||||
|
|
||||||
#: apps/wei/views.py:447
|
#: apps/wei/views.py:471
|
||||||
msgid ""
|
msgid ""
|
||||||
"This user can't be in her/his first year since he/she has already participed "
|
"This user can't be in her/his first year since he/she has already participed "
|
||||||
"to a WEI."
|
"to a WEI."
|
||||||
|
@ -1373,31 +1379,24 @@ msgstr ""
|
||||||
"Cet utilisateur ne peut pas être en première année puisqu'iel a déjà "
|
"Cet utilisateur ne peut pas être en première année puisqu'iel a déjà "
|
||||||
"participé à un WEI."
|
"participé à un WEI."
|
||||||
|
|
||||||
#: apps/wei/views.py:475 templates/wei/weiclub_info.html:63
|
#: apps/wei/views.py:499 templates/wei/weiclub_info.html:65
|
||||||
msgid "Register 2A+"
|
msgid "Register 2A+"
|
||||||
msgstr "Inscrire un 2A+"
|
msgstr "Inscrire un 2A+"
|
||||||
|
|
||||||
#: apps/wei/views.py:493 apps/wei/views.py:576
|
#: apps/wei/views.py:517 apps/wei/views.py:604
|
||||||
msgid "You already opened an account in the Société générale."
|
msgid "You already opened an account in the Société générale."
|
||||||
msgstr "Vous avez déjà ouvert un compte auprès de la société générale."
|
msgstr "Vous avez déjà ouvert un compte auprès de la société générale."
|
||||||
|
|
||||||
#: apps/wei/views.py:733
|
#: apps/wei/views.py:763
|
||||||
msgid "This user didn't give her/his caution check."
|
msgid "This user didn't give her/his caution check."
|
||||||
msgstr "Cet utilisateur n'a pas donné son chèque de caution."
|
msgstr "Cet utilisateur n'a pas donné son chèque de caution."
|
||||||
|
|
||||||
#: apps/wei/views.py:802 apps/wei/views.py:822 apps/wei/views.py:832
|
#: apps/wei/views.py:837 apps/wei/views.py:857 apps/wei/views.py:867
|
||||||
#: templates/wei/survey.html:12 templates/wei/survey_closed.html:12
|
#: templates/wei/survey.html:12 templates/wei/survey_closed.html:12
|
||||||
#: templates/wei/survey_end.html:12
|
#: templates/wei/survey_end.html:12
|
||||||
msgid "Survey WEI"
|
msgid "Survey WEI"
|
||||||
msgstr "Questionnaire WEI"
|
msgstr "Questionnaire WEI"
|
||||||
|
|
||||||
#: note_kfet/settings/__init__.py:63
|
|
||||||
msgid ""
|
|
||||||
"The Central Authentication Service grants you access to most of our websites "
|
|
||||||
"by authenticating only once, so you don't need to type your credentials "
|
|
||||||
"again unless your session expires or you logout."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: note_kfet/settings/base.py:154
|
#: note_kfet/settings/base.py:154
|
||||||
msgid "German"
|
msgid "German"
|
||||||
msgstr "Allemand"
|
msgstr "Allemand"
|
||||||
|
@ -1493,7 +1492,7 @@ msgstr ""
|
||||||
|
|
||||||
#: templates/cas_server/base.html:7
|
#: templates/cas_server/base.html:7
|
||||||
msgid "Central Authentication Service"
|
msgid "Central Authentication Service"
|
||||||
msgstr ""
|
msgstr "Service Central d'Authentification"
|
||||||
|
|
||||||
#: templates/cas_server/base.html:43
|
#: templates/cas_server/base.html:43
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -1502,51 +1501,9 @@ msgid ""
|
||||||
"%(VERSION)s and the last version is %(LAST_VERSION)s. Please consider "
|
"%(VERSION)s and the last version is %(LAST_VERSION)s. Please consider "
|
||||||
"upgrading."
|
"upgrading."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Une nouvelle version de l'application est disponible. Cette instance utilise "
|
||||||
#: templates/cas_server/logged.html:4
|
"la version %(VERSION)s et la dernière version est %(LAST_VERSION)s. Merci de "
|
||||||
msgid ""
|
"vous mettre à jour."
|
||||||
"<h3>Log In Successful</h3>You have successfully logged into the Central "
|
|
||||||
"Authentication Service.<br/>For security reasons, please Log Out and Exit "
|
|
||||||
"your web browser when you are done accessing services that require "
|
|
||||||
"authentication!"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:8
|
|
||||||
msgid "Log me out from all my sessions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:14
|
|
||||||
msgid "Forget the identity provider"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/logged.html:18
|
|
||||||
msgid "Logout"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:6
|
|
||||||
msgid "Please log in"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:11
|
|
||||||
msgid ""
|
|
||||||
"If you don't have any Note Kfet account, please follow <a href='/accounts/"
|
|
||||||
"signup'>this link to sign up</a>."
|
|
||||||
msgstr ""
|
|
||||||
"Si vous n'avez pas de compte Note Kfet, veuillez suivre <a href='/accounts/"
|
|
||||||
"signup'>ce lien pour vous inscrire</a>."
|
|
||||||
|
|
||||||
#: templates/cas_server/login.html:17
|
|
||||||
msgid "Login"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/cas_server/warn.html:9
|
|
||||||
msgid "Connect to the service"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/django_filters/rest_framework/crispy_form.html:4
|
|
||||||
#: templates/django_filters/rest_framework/form.html:2
|
|
||||||
msgid "Field filters"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/member/alias_update.html:5
|
#: templates/member/alias_update.html:5
|
||||||
msgid "Add alias"
|
msgid "Add alias"
|
||||||
|
@ -1791,17 +1748,17 @@ msgstr "Il n'y a pas d'inscription en attente avec cette entrée."
|
||||||
|
|
||||||
#: templates/registration/logged_out.html:8
|
#: templates/registration/logged_out.html:8
|
||||||
msgid "Thanks for spending some quality time with the Web site today."
|
msgid "Thanks for spending some quality time with the Web site today."
|
||||||
msgstr ""
|
msgstr "Merci d'avoir utilisé la Note Kfet."
|
||||||
|
|
||||||
#: templates/registration/logged_out.html:9
|
#: templates/registration/logged_out.html:9
|
||||||
msgid "Log in again"
|
msgid "Log in again"
|
||||||
msgstr ""
|
msgstr "Se connecter à nouveau"
|
||||||
|
|
||||||
#: templates/registration/login.html:7 templates/registration/login.html:8
|
#: templates/registration/login.html:7 templates/registration/login.html:8
|
||||||
#: templates/registration/login.html:28
|
#: templates/registration/login.html:21
|
||||||
#: templates/registration/password_reset_complete.html:10
|
#: templates/registration/password_reset_complete.html:10
|
||||||
msgid "Log in"
|
msgid "Log in"
|
||||||
msgstr ""
|
msgstr "Se connecter"
|
||||||
|
|
||||||
#: templates/registration/login.html:13
|
#: templates/registration/login.html:13
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -1809,18 +1766,12 @@ msgid ""
|
||||||
"You are authenticated as %(username)s, but are not authorized to access this "
|
"You are authenticated as %(username)s, but are not authorized to access this "
|
||||||
"page. Would you like to login to a different account?"
|
"page. Would you like to login to a different account?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Vous êtes connecté en tant que %(username)s, mais vous n'avez le droit "
|
||||||
|
"d'accéder à cette page. Voulez vous essayer avec un autre compte ?"
|
||||||
|
|
||||||
#: templates/registration/login.html:22
|
#: templates/registration/login.html:22
|
||||||
msgid "You can also register via the central authentification server "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/registration/login.html:23
|
|
||||||
msgid "using this link "
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/registration/login.html:29
|
|
||||||
msgid "Forgotten your password or username?"
|
msgid "Forgotten your password or username?"
|
||||||
msgstr ""
|
msgstr "Mot de passe ou pseudo oublié ?"
|
||||||
|
|
||||||
#: templates/registration/mails/email_validation_email.html:3
|
#: templates/registration/mails/email_validation_email.html:3
|
||||||
msgid "Hi"
|
msgid "Hi"
|
||||||
|
@ -1871,45 +1822,57 @@ msgstr ""
|
||||||
#: templates/registration/password_change_form.html:11
|
#: templates/registration/password_change_form.html:11
|
||||||
#: templates/registration/password_reset_confirm.html:12
|
#: templates/registration/password_reset_confirm.html:12
|
||||||
msgid "Change my password"
|
msgid "Change my password"
|
||||||
msgstr ""
|
msgstr "Changer mon mot de passe"
|
||||||
|
|
||||||
#: templates/registration/password_reset_complete.html:8
|
#: templates/registration/password_reset_complete.html:8
|
||||||
msgid "Your password has been set. You may go ahead and log in now."
|
msgid "Your password has been set. You may go ahead and log in now."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Votre mot de passe a été enregistré. Vous pouvez vous connecter dès à "
|
||||||
|
"présent."
|
||||||
|
|
||||||
#: templates/registration/password_reset_confirm.html:9
|
#: templates/registration/password_reset_confirm.html:9
|
||||||
msgid ""
|
msgid ""
|
||||||
"Please enter your new password twice so we can verify you typed it in "
|
"Please enter your new password twice so we can verify you typed it in "
|
||||||
"correctly."
|
"correctly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Entrer votre nouveau mot de passe, et le confirmer en le renseignant une "
|
||||||
|
"seconde fois."
|
||||||
|
|
||||||
#: templates/registration/password_reset_confirm.html:15
|
#: templates/registration/password_reset_confirm.html:15
|
||||||
msgid ""
|
msgid ""
|
||||||
"The password reset link was invalid, possibly because it has already been "
|
"The password reset link was invalid, possibly because it has already been "
|
||||||
"used. Please request a new password reset."
|
"used. Please request a new password reset."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Le lien de reinitialisation du mot de passe est invalide, il a peut-être été "
|
||||||
|
"déjà utilisé. Faites une nouvelle demande."
|
||||||
|
|
||||||
#: templates/registration/password_reset_done.html:8
|
#: templates/registration/password_reset_done.html:8
|
||||||
msgid ""
|
msgid ""
|
||||||
"We've emailed you instructions for setting your password, if an account "
|
"We've emailed you instructions for setting your password, if an account "
|
||||||
"exists with the email you entered. You should receive them shortly."
|
"exists with the email you entered. You should receive them shortly."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Nous vous avons envoyé par mail les instructions pour changer votre mot de "
|
||||||
|
"passe."
|
||||||
|
|
||||||
#: templates/registration/password_reset_done.html:9
|
#: templates/registration/password_reset_done.html:9
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you don't receive an email, please make sure you've entered the address "
|
"If you don't receive an email, please make sure you've entered the address "
|
||||||
"you registered with, and check your spam folder."
|
"you registered with, and check your spam folder."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Si vous ne recevez pas d'email, vérifiez que vous avez bien utilisé "
|
||||||
|
"l'adresse associé à votre compte, et regarder également le dossier spam."
|
||||||
|
|
||||||
#: templates/registration/password_reset_form.html:8
|
#: templates/registration/password_reset_form.html:8
|
||||||
msgid ""
|
msgid ""
|
||||||
"Forgotten your password? Enter your email address below, and we'll email "
|
"Forgotten your password? Enter your email address below, and we'll email "
|
||||||
"instructions for setting a new one."
|
"instructions for setting a new one."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
"Mot de passe oublié ? Entrez votre adresse mail ci-dessous, et vous recevrez "
|
||||||
|
"les instructions pour choisir un nouveau mot de passe."
|
||||||
|
|
||||||
#: templates/registration/password_reset_form.html:11
|
#: templates/registration/password_reset_form.html:11
|
||||||
msgid "Reset my password"
|
msgid "Reset my password"
|
||||||
msgstr ""
|
msgstr "Réinitialiser mon mot de passe"
|
||||||
|
|
||||||
#: templates/registration/signup.html:5 templates/registration/signup.html:8
|
#: templates/registration/signup.html:5 templates/registration/signup.html:8
|
||||||
#: templates/registration/signup.html:19
|
#: templates/registration/signup.html:19
|
||||||
|
@ -2111,11 +2074,11 @@ msgstr "Prix du WEI / incluant l'adhésion BDE/Kfet (étudiants)"
|
||||||
msgid "WEI list"
|
msgid "WEI list"
|
||||||
msgstr "Liste des WEI"
|
msgstr "Liste des WEI"
|
||||||
|
|
||||||
#: templates/wei/weiclub_info.html:69
|
#: templates/wei/weiclub_info.html:71
|
||||||
msgid "Add bus"
|
msgid "Add bus"
|
||||||
msgstr "Ajouter un bus"
|
msgstr "Ajouter un bus"
|
||||||
|
|
||||||
#: templates/wei/weiclub_info.html:73
|
#: templates/wei/weiclub_info.html:75
|
||||||
msgid "View WEI"
|
msgid "View WEI"
|
||||||
msgstr "Voir le WEI"
|
msgstr "Voir le WEI"
|
||||||
|
|
||||||
|
@ -2305,6 +2268,3 @@ msgstr "Il n'y a pas de pré-inscription en attente avec cette entrée."
|
||||||
#: templates/wei/weiregistration_list.html:24
|
#: templates/wei/weiregistration_list.html:24
|
||||||
msgid "View validated memberships..."
|
msgid "View validated memberships..."
|
||||||
msgstr "Voir les adhésions validées ..."
|
msgstr "Voir les adhésions validées ..."
|
||||||
|
|
||||||
#~ msgid "Attribute to each first year member a bus for the WEI"
|
|
||||||
#~ msgstr "Attribuer à chaque première année un bus pour le WEI"
|
|
||||||
|
|
|
@ -39,41 +39,20 @@ else:
|
||||||
from .development import *
|
from .development import *
|
||||||
|
|
||||||
try:
|
try:
|
||||||
#in secrets.py defines everything you want
|
# in secrets.py defines everything you want
|
||||||
from .secrets import *
|
from .secrets import *
|
||||||
|
|
||||||
INSTALLED_APPS += OPTIONAL_APPS
|
INSTALLED_APPS += OPTIONAL_APPS
|
||||||
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if "cas" in INSTALLED_APPS:
|
if "cas_server" in INSTALLED_APPS:
|
||||||
MIDDLEWARE += ['cas.middleware.CASMiddleware']
|
|
||||||
# CAS Settings
|
# CAS Settings
|
||||||
CAS_SERVER_URL = "https://" + os.getenv("NOTE_URL", "note.example.com") + "/cas/"
|
|
||||||
CAS_AUTO_CREATE_USER = False
|
CAS_AUTO_CREATE_USER = False
|
||||||
CAS_LOGO_URL = "/static/img/Saperlistpopette.png"
|
CAS_LOGO_URL = "/static/img/Saperlistpopette.png"
|
||||||
CAS_FAVICON_URL = "/static/favicon/favicon-32x32.png"
|
CAS_FAVICON_URL = "/static/favicon/favicon-32x32.png"
|
||||||
CAS_SHOW_SERVICE_MESSAGES = True
|
|
||||||
CAS_SHOW_POWERED = False
|
CAS_SHOW_POWERED = False
|
||||||
CAS_REDIRECT_TO_LOGIN_AFTER_LOGOUT = False
|
|
||||||
CAS_PROVIDE_URL_TO_LOGOUT = True
|
|
||||||
CAS_INFO_MESSAGES = {
|
|
||||||
"cas_explained": {
|
|
||||||
"message": _(
|
|
||||||
u"The Central Authentication Service grants you access to most of our websites by "
|
|
||||||
u"authenticating only once, so you don't need to type your credentials again unless "
|
|
||||||
u"your session expires or you logout."
|
|
||||||
),
|
|
||||||
"discardable": True,
|
|
||||||
"type": "info", # one of info, success, info, warning, danger
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
CAS_INFO_MESSAGES_ORDER = [
|
|
||||||
'cas_explained',
|
|
||||||
]
|
|
||||||
AUTHENTICATION_BACKENDS += ('cas.backends.CASBackend',)
|
|
||||||
|
|
||||||
|
|
||||||
if "logs" in INSTALLED_APPS:
|
if "logs" in INSTALLED_APPS:
|
||||||
MIDDLEWARE += ('note_kfet.middlewares.SessionMiddleware',)
|
MIDDLEWARE += ('note_kfet.middlewares.SessionMiddleware',)
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
django-cas-client==1.5.3
|
|
||||||
django-cas-server==1.1.0
|
django-cas-server==1.1.0
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
{% load cas_server %}
|
|
||||||
{% for error in form.non_field_errors %}
|
|
||||||
<div class="alert alert-danger alert-dismissable">
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
|
||||||
{{error}}
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% for field in form %}{% if not field|is_hidden %}
|
|
||||||
<div class="form-group
|
|
||||||
{% if not form.non_field_errors %}
|
|
||||||
{% if field.errors %} has-error
|
|
||||||
{% elif form.cleaned_data %} has-success
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}"
|
|
||||||
>{% spaceless %}
|
|
||||||
{% if field|is_checkbox %}
|
|
||||||
<div class="checkbox"><label for="{{field.auto_id}}">{{field}}{{field.label}}</label></div>
|
|
||||||
{% else %}
|
|
||||||
<label class="control-label" for="{{field.auto_id}}">{{field.label}}</label>
|
|
||||||
{{field}}
|
|
||||||
{% endif %}
|
|
||||||
{% for error in field.errors %}
|
|
||||||
<span class="help-block">{{error}}</span>
|
|
||||||
{% endfor %}
|
|
||||||
{% endspaceless %}</div>
|
|
||||||
{% else %}{{field}}{% endif %}{% endfor %}
|
|
|
@ -1,21 +0,0 @@
|
||||||
{% extends "cas_server/base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="alert alert-success" role="alert">{% blocktrans %}<h3>Log In Successful</h3>You have successfully logged into the Central Authentication Service.<br/>For security reasons, please Log Out and Exit your web browser when you are done accessing services that require authentication!{% endblocktrans %}</div>
|
|
||||||
<form class="form-signin" method="get" action="logout">
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="all" value="1">{% trans "Log me out from all my sessions" %}
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
{% if settings.CAS_FEDERATE and request.COOKIES.remember_provider %}
|
|
||||||
<div class="checkbox">
|
|
||||||
<label>
|
|
||||||
<input type="checkbox" name="forget_provider" value="1">{% trans "Forget the identity provider" %}
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<button class="btn btn-danger btn-block btn-lg" type="submit">{% trans "Logout" %}</button>
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
{% extends "cas_server/base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block ante_messages %}
|
|
||||||
{% if auto_submit %}<noscript>{% endif %}
|
|
||||||
<h2 class="form-signin-heading">{% trans "Please log in" %}</h2>
|
|
||||||
{% if auto_submit %}</noscript>{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="alert alert-warning">
|
|
||||||
{% trans "If you don't have any Note Kfet account, please follow <a href='/accounts/signup'>this link to sign up</a>." %}
|
|
||||||
</div>
|
|
||||||
<form class="form-signin" method="post" id="login_form"{% if post_url %} action="{{post_url}}"{% endif %}>
|
|
||||||
{% csrf_token %}
|
|
||||||
{% include "cas_server/form.html" %}
|
|
||||||
{% if auto_submit %}<noscript>{% endif %}
|
|
||||||
<button class="btn btn-primary btn-block btn-lg" type="submit">{% trans "Login" %}</button>
|
|
||||||
{% if auto_submit %}</noscript>{% endif %}
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
||||||
{% block javascript_inline %}
|
|
||||||
jQuery(function( $ ){
|
|
||||||
$("#id_warn").click(function(e){
|
|
||||||
if($("#id_warn").is(':checked')){
|
|
||||||
createCookie("warn", "on", 10 * 365);
|
|
||||||
} else {
|
|
||||||
eraseCookie("warn");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});{% if auto_submit %}
|
|
||||||
document.getElementById('login_form').submit(); // SUBMIT FORM{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{% extends "cas_server/base.html" %}
|
|
||||||
{% load static %}
|
|
||||||
{% load i18n %}
|
|
||||||
{% block content %}
|
|
||||||
<div class="alert alert-success" role="alert">{{logout_msg}}</div>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
|
|
||||||
<cas:proxySuccess>
|
|
||||||
<cas:proxyTicket>{{ticket}}</cas:proxyTicket>
|
|
||||||
</cas:proxySuccess>
|
|
||||||
</cas:serviceResponse>
|
|
|
@ -1,59 +0,0 @@
|
||||||
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
|
|
||||||
<SOAP-ENV:Header />
|
|
||||||
<SOAP-ENV:Body>
|
|
||||||
<Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
|
|
||||||
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
|
|
||||||
IssueInstant="{{ IssueInstant }}"
|
|
||||||
MajorVersion="1" MinorVersion="1" Recipient="{{ Recipient }}"
|
|
||||||
ResponseID="{{ ResponseID }}">
|
|
||||||
<Status>
|
|
||||||
<StatusCode Value="samlp:Success">
|
|
||||||
</StatusCode>
|
|
||||||
</Status>
|
|
||||||
<Assertion xmlns="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="{{ResponseID}}"
|
|
||||||
IssueInstant="{{IssueInstant}}" Issuer="localhost" MajorVersion="1"
|
|
||||||
MinorVersion="1">
|
|
||||||
<Conditions NotBefore="{{IssueInstant}}" NotOnOrAfter="{{expireInstant}}">
|
|
||||||
<AudienceRestrictionCondition>
|
|
||||||
<Audience>
|
|
||||||
{{Recipient}}
|
|
||||||
</Audience>
|
|
||||||
</AudienceRestrictionCondition>
|
|
||||||
</Conditions>
|
|
||||||
<AttributeStatement>
|
|
||||||
<Subject>
|
|
||||||
<NameIdentifier>{{username}}</NameIdentifier>
|
|
||||||
<SubjectConfirmation>
|
|
||||||
<ConfirmationMethod>
|
|
||||||
urn:oasis:names:tc:SAML:1.0:cm:artifact
|
|
||||||
</ConfirmationMethod>
|
|
||||||
</SubjectConfirmation>
|
|
||||||
</Subject>
|
|
||||||
<Attribute AttributeName="authenticationDate" AttributeNamespace="http://www.ja-sig.org/products/cas/">
|
|
||||||
<AttributeValue>{{auth_date}}</AttributeValue>
|
|
||||||
</Attribute>
|
|
||||||
<Attribute AttributeName="longTermAuthenticationRequestTokenUsed" AttributeNamespace="http://www.ja-sig.org/products/cas/">
|
|
||||||
<AttributeValue>false</AttributeValue>{# we do not support long-term (Remember-Me) auth #}
|
|
||||||
</Attribute>
|
|
||||||
<Attribute AttributeName="isFromNewLogin" AttributeNamespace="http://www.ja-sig.org/products/cas/">
|
|
||||||
<AttributeValue>{{is_new_login}}</AttributeValue>
|
|
||||||
</Attribute>
|
|
||||||
{% for name, value in attributes %} <Attribute AttributeName="{{name}}" AttributeNamespace="http://www.ja-sig.org/products/cas/">
|
|
||||||
<AttributeValue>{{value}}</AttributeValue>
|
|
||||||
</Attribute>
|
|
||||||
{% endfor %} </AttributeStatement>
|
|
||||||
<AuthenticationStatement AuthenticationInstant="{{IssueInstant}}"
|
|
||||||
AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
|
|
||||||
<Subject>
|
|
||||||
<NameIdentifier>{{username}}</NameIdentifier>
|
|
||||||
<SubjectConfirmation>
|
|
||||||
<ConfirmationMethod>
|
|
||||||
urn:oasis:names:tc:SAML:1.0:cm:artifact
|
|
||||||
</ConfirmationMethod>
|
|
||||||
</SubjectConfirmation>
|
|
||||||
</Subject>
|
|
||||||
</AuthenticationStatement>
|
|
||||||
</Assertion>
|
|
||||||
</Response>
|
|
||||||
</SOAP-ENV:Body>
|
|
||||||
</SOAP-ENV:Envelope>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
|
|
||||||
<SOAP-ENV:Header />
|
|
||||||
<SOAP-ENV:Body>
|
|
||||||
<Response xmlns="urn:oasis:names:tc:SAML:1.0:protocol"
|
|
||||||
xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol"
|
|
||||||
IssueInstant="{{ IssueInstant }}"
|
|
||||||
MajorVersion="1" MinorVersion="1" Recipient="{{ Recipient }}"
|
|
||||||
ResponseID="{{ ResponseID }}">
|
|
||||||
<Status>
|
|
||||||
<StatusCode Value="samlp:{{code}}">{{msg}}</StatusCode>
|
|
||||||
</Status>
|
|
||||||
</Response>
|
|
||||||
</SOAP-ENV:Body>
|
|
||||||
</SOAP-ENV:Envelope>
|
|
|
@ -1,19 +0,0 @@
|
||||||
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
|
|
||||||
<cas:authenticationSuccess>
|
|
||||||
<cas:user>{{username}}</cas:user>
|
|
||||||
<cas:attributes>
|
|
||||||
<cas:authenticationDate>{{auth_date}}</cas:authenticationDate>
|
|
||||||
<cas:longTermAuthenticationRequestTokenUsed>false</cas:longTermAuthenticationRequestTokenUsed>{# we do not support long-term (Remember-Me) auth #}
|
|
||||||
<cas:isFromNewLogin>{{is_new_login}}</cas:isFromNewLogin>
|
|
||||||
{% for key, value in attributes %} <cas:{{key}}>{{value}}</cas:{{key}}>
|
|
||||||
{% endfor %} </cas:attributes>
|
|
||||||
<cas:attribute name="authenticationDate" value="{{auth_date}}"/>
|
|
||||||
<cas:attribute name="longTermAuthenticationRequestTokenUsed" value="false"/>
|
|
||||||
<cas:attribute name="isFromNewLogin" value="{{is_new_login}}"/>
|
|
||||||
{% for key, value in attributes %} <cas:attribute name="{{key}}" value="{{value}}"/>
|
|
||||||
{% endfor %}{% if proxyGrantingTicket %} <cas:proxyGrantingTicket>{{proxyGrantingTicket}}</cas:proxyGrantingTicket>
|
|
||||||
{% endif %}{% if proxies %} <cas:proxies>
|
|
||||||
{% for proxy in proxies %} <cas:proxy>{{proxy}}</cas:proxy>
|
|
||||||
{% endfor %} </cas:proxies>
|
|
||||||
{% endif %} </cas:authenticationSuccess>
|
|
||||||
</cas:serviceResponse>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
|
|
||||||
<cas:authenticationFailure code="{{code}}">{{msg}}</cas:authenticationFailure>
|
|
||||||
</cas:serviceResponse>
|
|
|
@ -1,11 +0,0 @@
|
||||||
{% extends "cas_server/base.html" %}
|
|
||||||
{% load static %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<form class="form-signin" method="post">
|
|
||||||
{% csrf_token %}
|
|
||||||
{% include "cas_server/form.html" %}
|
|
||||||
<button class="btn btn-primary btn-block btn-lg" type="submit">{% trans "Connect to the service" %}</button>
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
|
@ -1,5 +0,0 @@
|
||||||
{% load crispy_forms_tags %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
<h2>{% trans "Field filters" %}</h2>
|
|
||||||
{% crispy filter.form %}
|
|
|
@ -1,6 +0,0 @@
|
||||||
{% load i18n %}
|
|
||||||
<h2>{% trans "Field filters" %}</h2>
|
|
||||||
<form class="form" action="" method="get">
|
|
||||||
{{ filter.form.as_p }}
|
|
||||||
<button type="submit" class="btn btn-primary">{% trans "Submit" %}</button>
|
|
||||||
</form>
|
|
|
@ -1 +0,0 @@
|
||||||
{% for widget in widget.subwidgets %}{% include widget.template_name %}{% if forloop.first %}-{% endif %}{% endfor %}
|
|
|
@ -16,13 +16,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%url 'cas_login' as cas_url %}
|
|
||||||
{% if cas_url %}
|
|
||||||
<div class="alert alert-info">
|
|
||||||
{% trans "You can also register via the central authentification server " %}
|
|
||||||
<a href="{{ cas_url }}"> {% trans "using this link "%}</a>
|
|
||||||
</div>
|
|
||||||
{%endif%}
|
|
||||||
<form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}
|
<form action="{{ app_path }}" method="post" id="login-form">{% csrf_token %}
|
||||||
{{ form | crispy }}
|
{{ form | crispy }}
|
||||||
<input type="submit" value="{% trans 'Log in' %}" class="btn btn-primary">
|
<input type="submit" value="{% trans 'Log in' %}" class="btn btn-primary">
|
||||||
|
|
Loading…
Reference in New Issue