mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-02-25 03:06:32 +00:00
Compare commits
4 Commits
da1d7a83fa
...
cce5e7c33c
Author | SHA1 | Date | |
---|---|---|---|
cce5e7c33c | |||
f9e85dd63e | |||
cb86fd43ac | |||
be0662420d |
@ -3,13 +3,14 @@
|
||||
|
||||
import re
|
||||
|
||||
from bootstrap_datepicker_plus import DatePickerInput, DateTimePickerInput
|
||||
from bootstrap_datepicker_plus.widgets import DatePickerInput, DateTimePickerInput
|
||||
from django import forms
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.utils import formats
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from PyPDF3 import PdfFileReader
|
||||
|
||||
from registration.models import VolunteerRegistration
|
||||
from .models import Note, Participation, Passage, Pool, Solution, Synthesis, Team, Tournament
|
||||
|
||||
|
||||
@ -136,6 +137,7 @@ class TournamentForm(forms.ModelForm):
|
||||
self.fields["syntheses_second_phase_limit"].widget = DateTimePickerInput(
|
||||
format=formats.get_format_lazy(format_type="DATETIME_INPUT_FORMATS", use_l10n=True)[0])
|
||||
self.fields["organizers"].widget = forms.CheckboxSelectMultiple()
|
||||
self.fields["organizers"].queryset = VolunteerRegistration.objects.all()
|
||||
|
||||
class Meta:
|
||||
model = Tournament
|
||||
|
@ -22,7 +22,7 @@ class Command(BaseCommand):
|
||||
token = response['access_token']
|
||||
|
||||
organization = "animath"
|
||||
form_slug = "tfjm-2021"
|
||||
form_slug = "tfjm-2022"
|
||||
from_date = "2000-01-01"
|
||||
url = f"https://api.helloasso.com/v5/organizations/{organization}/forms/Event/{form_slug}/payments" \
|
||||
f"?from={from_date}&pageIndex=1&pageSize=10000&retrieveOfflineDonations=false"
|
||||
|
@ -66,7 +66,7 @@ class Command(BaseCommand):
|
||||
visibility=RoomVisibility.public,
|
||||
alias="bienvenue",
|
||||
name="Bienvenue",
|
||||
topic="Bienvenue au TFJM² 2021 !",
|
||||
topic="Bienvenue au TFJM² 2022 !",
|
||||
federate=False,
|
||||
preset=RoomPreset.public_chat,
|
||||
)
|
||||
|
@ -1536,7 +1536,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Vous pouvez payer par carte bancaire sur <a class=\"alert-link\" href="
|
||||
"\"https://www.helloasso.com/associations/animath/evenements/"
|
||||
"tfjm-2021\">notre page Hello Asso</a>. Pour rendre la validation du paiement "
|
||||
"tfjm-2022\">notre page Hello Asso</a>. Pour rendre la validation du paiement "
|
||||
"plus facile, <span class=\"text-danger\">merci d'utiliser la même adresse e-"
|
||||
"mail que vous utilisez sur cette plateforme.</span> La vérification du "
|
||||
"paiement sera faite automatiquement sous 10 minutes, vous n'avez pas "
|
||||
|
@ -1,24 +1,24 @@
|
||||
Django~=3.1
|
||||
Django>=3.2,<4.0
|
||||
django-address~=0.2
|
||||
django-bootstrap-datepicker-plus~=3.0
|
||||
git+https://gitlab.crans.org/ynerant/django-cas-server.git
|
||||
django-bootstrap-datepicker-plus~=4.0
|
||||
django-cas-server~=1.3
|
||||
django-crispy-forms~=1.9
|
||||
django-extensions~=3.0
|
||||
django-filter~=2.3
|
||||
django-filter~=2.4
|
||||
django-haystack~=3.0
|
||||
django-mailer~=2.0
|
||||
django-mailer~=2.1
|
||||
django-phonenumber-field~=5.0.0
|
||||
django-polymorphic~=3.0
|
||||
django-tables2~=2.3
|
||||
django-tables2~=2.4
|
||||
djangorestframework~=3.12
|
||||
django-rest-polymorphic~=0.1
|
||||
gunicorn~=20.0
|
||||
matrix-nio~=0.15
|
||||
gunicorn~=20.1
|
||||
matrix-nio~=0.16
|
||||
phonenumbers~=8.9.10
|
||||
psycopg2-binary~=2.8
|
||||
PyPDF3~=1.0.2
|
||||
ipython~=7.19.0
|
||||
python-magic>=0.4.22
|
||||
requests~=2.25.0
|
||||
requests~=2.25.1
|
||||
sympasoap~=1.0
|
||||
whoosh~=2.7
|
@ -7,7 +7,7 @@
|
||||
{% block content %}
|
||||
<div class="text-justify">
|
||||
<p>
|
||||
La plateforme d'inscription du TFJM² a été développée entre 2019 et 2021
|
||||
La plateforme d'inscription du TFJM² a été développée entre 2019 et 2022
|
||||
par Yohann D'ANELLO, bénévole pour l'association Animath. Elle est vouée à être utilisée par les participants
|
||||
pour intéragir avec les organisateurs et les autres participants.
|
||||
</p>
|
||||
|
9
tox.ini
9
tox.ini
@ -2,6 +2,7 @@
|
||||
envlist =
|
||||
py38
|
||||
py39
|
||||
py310
|
||||
|
||||
linters
|
||||
skipsdist = True
|
||||
@ -10,15 +11,15 @@ skipsdist = True
|
||||
sitepackages = False
|
||||
deps =
|
||||
coverage
|
||||
Django~=3.1
|
||||
Django>=3.2,<4.0
|
||||
django-address~=0.2
|
||||
django-bootstrap-datepicker-plus~=3.0
|
||||
django-bootstrap-datepicker-plus~=4.0
|
||||
django-crispy-forms~=1.9
|
||||
django-filter~=2.3
|
||||
django-filter~=2.4
|
||||
django-haystack~=3.0
|
||||
django-phonenumber-field~=5.0.0
|
||||
django-polymorphic~=3.0
|
||||
django-tables2~=2.3
|
||||
django-tables2~=2.4
|
||||
djangorestframework~=3.12
|
||||
django-rest-polymorphic~=0.1
|
||||
phonenumbers~=8.9.10
|
||||
|
Loading…
x
Reference in New Issue
Block a user